/* ============================================
   WMBusiness99 Company Profile - Premium CSS
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #6366f1;
    --primary-soft: #eef2ff;
    
    --secondary: #7c3aed;
    --secondary-light: #a78bfa;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #ffffff;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-2);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 11px;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-menu a {
    padding: 8px 16px;
    color: var(--gray);
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.navbar-menu a:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.navbar-menu a.active {
    color: var(--primary);
    background: var(--primary-soft);
    font-weight: 600;
}

.btn-wa-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 100px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: all 0.3s;
}

.btn-wa-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    color: white;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.45);
    color: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    color: var(--dark);
    border: 2px solid var(--border);
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.3);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-image-wrapper i {
    font-size: 180px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.hero-floating-card {
    position: absolute;
    background: white;
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 13px;
    color: var(--dark);
}

.hero-card-1 {
    top: 10%;
    right: -10%;
    animation: float 3s ease-in-out infinite;
}

.hero-card-2 {
    bottom: 15%;
    left: -10%;
    animation: float 3s ease-in-out infinite reverse;
}

.hero-floating-card i {
    color: var(--primary);
    font-size: 20px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-soft);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   PRODUK
   ============================================ */
.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.produk-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
}

.produk-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.produk-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-soft), #f0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
    overflow: hidden;
}

.produk-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 70%);
}

.produk-image i {
    position: relative;
    z-index: 1;
    color: var(--primary);
    opacity: 0.8;
}

.produk-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.produk-body {
    padding: 20px;
}

.produk-kategori {
    display: inline-block;
    padding: 4px 10px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.produk-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 45px;
}

.produk-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.produk-price span {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.produk-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}

.produk-btn:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   STATS
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--bg);
}

.cta-card {
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-card .btn-primary {
    background: white;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.cta-card .btn-primary:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h5 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand h4 {
    color: white;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}

.footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 18px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
    font-size: 13.5px;
}

.footer-links a {
    color: var(--gray-light);
    transition: all 0.2s;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--primary-light);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--gray-light);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.footer-bottom strong {
    color: white;
}

.footer-tagline {
    color: var(--gray);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse-wa 2s infinite;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
    color: white;
}

@keyframes pulse-wa {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 
                    0 0 0 12px rgba(37, 211, 102, 0.1);
    }
}

.wa-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--dark);
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
    right: 76px;
}

/* ============================================
   SCROLL TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    transition: all 0.3s;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .navbar-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s;
        align-items: stretch;
    }
    
    .navbar-menu.show {
        transform: translateX(0);
    }
    
    .navbar-menu a {
        padding: 12px 16px;
        border-radius: 8px;
    }
    
    .btn-wa-nav span {
        display: none;
    }
    
    .btn-wa-nav {
        padding: 10px 14px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 350px;
    }
    
    .hero-image-wrapper i {
        font-size: 140px;
    }
    
    .hero-card-1 {
        right: 0;
    }
    
    .hero-card-2 {
        left: 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-card {
        padding: 40px 30px;
    }
    
    .cta-card h2 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        text-align: center;
        flex-direction: column;
    }
    
    .wa-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
    
    .wa-tooltip {
        display: none;
    }
    
    .scroll-top {
        width: 42px;
        height: 42px;
        font-size: 18px;
        bottom: 20px;
        left: 20px;
    }
}