/* =========================================
   CSS RESET & VARIABLES
   ========================================= */
   :root {
    /* Colors - Dark Premium Palette */
    --bg-dark: #050505;
    --bg-surface: #0a0a0a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* WhatsApp / Tech Accents */
    --accent-primary: #10b981; /* Emerald */
    --accent-secondary: #059669; /* Darker emerald */
    --accent-glow: rgba(16, 185, 129, 0.4);
    
    /* Semantic Warning/Danger for problems */
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.2);
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.2);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-strong: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-light: rgba(255, 255, 255, 0.15);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6, .font-outfit {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.title-lg {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-sm);
}

.subheadline {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin-bottom: var(--spacing-lg);
}

.text-gradient {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-muted { color: var(--text-muted); }
.text-muted-sm { color: var(--text-muted); font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* =========================================
   UTILITIES
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 6rem 0; }
.section-padding-sm { padding: 1.5rem 0; }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mt-xs { margin-top: var(--spacing-xs); }

.d-block { display: block; }
.d-inline-block { display: inline-block; }
.w-full { width: 100%; }
.text-left { text-align: left; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 600px; }

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-sm { gap: 1rem; }
.gap-md { gap: 2rem; }
.gap-lg { gap: 3rem; }

/* Icons size */
.size-sm { font-size: 1.25rem; }
.size-md { font-size: 1.5rem; }
.size-lg { font-size: 2.5rem; }

/* =========================================
   GLASSMORPHISM & GLOWS
   ========================================= */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-light);
}

.glass-card-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-light);
    border-radius: 24px;
}

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Ambient Background Glows */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.glow-top-left {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(0,0,0,0) 70%);
}

.glow-center-right {
    top: 40%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(0,0,0,0) 70%);
}

.glow-bottom-left {
    bottom: -10%;
    left: 10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(0,0,0,0) 70%);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1.25rem 2.5rem; font-size: 1.125rem; border-radius: 12px;}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
}

.glow-btn {
    box-shadow: 0 0 20px var(--accent-glow);
}

.glow-btn:hover {
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary.glass-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary.glass-btn:hover {
    background: var(--glass-bg-strong);
    border-color: var(--glass-border-light);
}


/* =========================================
   COMPONENTS / SECTIONS
   ========================================= */
/* Nav */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}
.logo-text { font-family: 'Outfit', sans-serif; font-weight: 700; letter-spacing: -0.02em;}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover { color: var(--text-main); }

@media (min-width: 768px) {
    .desktop-nav { display: flex; }
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 5rem;
    min-height: 85vh;
}

.hero-content {
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .hero { grid-template-columns: 1.2fr 0.8fr; }
}

.stat-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.float-anim-1 { animation: float 6s ease-in-out infinite; }
.float-anim-2 { animation: float 7s ease-in-out infinite reverse; margin-left: 2rem;}

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

/* Process / Problem */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.warning-box { background: var(--warning-glow); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.2); }
.danger-box { background: var(--danger-glow); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); }


/* Solution Asymmetric */
.asymmetric-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .asymmetric-layout { grid-template-columns: 1fr 1fr; }
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: transparent;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: var(--glass-bg);
}

.feature-item i {
    font-size: 1.5rem;
    margin-top: 0.15rem;
}

/* Phone Mockup (WhatsApp UI) */
.solution-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-glow {
    box-shadow: 0 0 80px rgba(16, 185, 129, 0.15);
}

.phone-mockup {
    width: 100%;
    max-width: 320px;
    height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.phone-header {
    background: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-user-info { display: flex; align-items: center; gap: 0.75rem;}
.phone-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: white;
}
.phone-contact { display: flex; flex-direction: column; }
.phone-contact strong { font-size: 0.9rem; }
.phone-contact span { font-size: 0.75rem; color: var(--accent-primary); }

.phone-chat-area {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: linear-gradient(to bottom, rgba(5,5,5,0.4), rgba(5,5,5,0.8));
}
.phone-chat-area::-webkit-scrollbar { width: 4px; }
.phone-chat-area::-webkit-scrollbar-thumb { background: var(--glass-border-light); border-radius: 4px;}

.chat-date { text-align: center; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.5rem;}

.chat-msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.4;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: msg-appear 0.4s ease forwards;
}

@keyframes msg-appear {
    to { opacity: 1; transform: translateY(0); }
}

.msg-in {
    background: var(--glass-bg-strong);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg-out {
    background: var(--accent-secondary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.msg-typing {
    display: flex;
    gap: 4px;
    padding: 1rem;
    align-items: center;
}
.dot {
    width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}
.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}


.phone-input-area {
    padding: 1rem;
    background: rgba(10,10,10,0.8);
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-input-fake {
    flex: 1;
    background: var(--glass-bg-strong);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.chat-mic { margin-bottom: 0; padding: 0.4rem; border-radius: 50%; border-color: var(--accent-primary); width: 36px; height: 36px; display: flex; justify-content: center; align-items:center; }


/* Benefits */
.section-center-header { text-align: center; margin-bottom: 3rem; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card { text-align: center; padding: 2.5rem 2rem; }

/* Action / Pricing Teaser */
.glow-wrapper { position: relative; overflow: hidden; padding: 4rem 2rem;}
.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(0,0,0,0) 80%);
    z-index: 1; pointer-events: none;
}
.pricing-teaser { flex-wrap: wrap; }
.price-divider { width: 1px; height: 50px; background: var(--glass-border-light); }

/* Footer */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    margin-top: 4rem;
}

/* =========================================
   ANIMATIONS (SCROLL REVEAL)
   ========================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* =========================================
   TESTIMONIALS CAROUSEL
   ========================================= */
.testimonials {
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.testimonial-card {
    min-width: 340px;
    max-width: 380px;
    flex-shrink: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    font-size: 1rem;
}

.testimonial-stars i {
    color: #fbbf24;
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--glass-bg-strong);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 8px var(--accent-glow);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .testimonial-card {
        min-width: 280px;
        max-width: 300px;
    }
}

/* =========================================
   NEW FEATURES (LOGO STRIP, FAQ, FLOATING BTN)
   ========================================= */

/* Logo Marquee Strip */
.logo-strip {
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(90deg, rgba(5,5,5,1) 0%, rgba(10,10,10,0.8) 50%, rgba(5,5,5,1) 100%);
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    justify-content: space-around;
    min-width: 100%;
    gap: 3rem;
    padding: 0 1.5rem;
    animation: scroll 30s linear infinite;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    color: var(--text-main);
}

.logo-item i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--text-muted), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-item:hover i {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 1.5rem)); }
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 1.5rem;
    cursor: pointer;
    overflow: hidden;
}

.faq-question {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    outline: none;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--accent-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding-top: 1rem;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem 0.75rem 1rem;
    border-radius: 999px;
    z-index: 1000;
    text-decoration: none;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: float-btn 4s ease-in-out infinite;
}

.floating-wa-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

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

@media (max-width: 600px) {
    .floating-wa-btn {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    .floating-wa-btn span {
        display: none; /* Icon only on mobile */
    }
    .floating-wa-btn {
        padding: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .pricing-teaser { flex-direction: column; gap: 1rem; }
    .price-divider { height: 1px; width: 100px; }
}
