/* Premium Global UI Expert CSS Design System */
:root {
    --bg-dark: #030303;
    --bg-card: rgba(255, 255, 255, 0.015);
    --border-card: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 255, 255, 0.12);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-indigo: #6366f1;
    --accent-violet: #8b5cf6;
    --accent-green: #10b981;
    --accent-green-hover: #059669;
    --accent-gold: #e2b714;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1); /* Apple-standard system fluid transition */
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Ambient Backdrop Glows */
.stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 90px 10px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 150px 140px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 250px 50px, rgba(255,255,255,0.4), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 550px 550px;
    opacity: 0.15;
    z-index: -3;
    pointer-events: none;
}

.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.07;
    z-index: -2;
    pointer-events: none;
}

.glow-1 {
    top: 10%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-violet) 0%, transparent 80%);
    animation: float-glow-1 20s ease-in-out infinite;
}

.glow-2 {
    top: 50%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 80%);
    animation: float-glow-2 25s ease-in-out infinite;
}

@keyframes float-glow-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 40px) scale(1.15); }
}

@keyframes float-glow-2 {
    0%, 100% { transform: translate(0, 0) scale(1.1); }
    50% { transform: translate(80px, -50px) scale(0.9); }
}

/* Header Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s ease;
}

.header-container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--accent-indigo);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s var(--ease-fluid);
}

.nav-link:hover {
    color: var(--text-primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s var(--ease-fluid);
}

.header-cta:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 180px 0 100px 0;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-indigo);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-badge span:last-child {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #a5b4fc;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.6;
}

.primary-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
    transition: all 0.4s var(--ease-fluid);
}

.primary-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.35);
}

.hero-metrics {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 36px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-lbl {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* iPhone Mockup Frame */
.hero-visual {
    display: flex;
    justify-content: center;
}

.iphone-mockup {
    width: 310px;
    height: 630px;
    position: relative;
    z-index: 10;
}

.iphone-border {
    width: 100%;
    height: 100%;
    background: #09090b;
    border: 11px solid #27272a;
    border-radius: 46px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.iphone-island {
    width: 85px;
    height: 25px;
    background: #000000;
    border-radius: 20px;
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.iphone-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 30%);
    pointer-events: none;
    z-index: 15;
}

.iphone-screen {
    flex: 1;
    width: 100%;
    background-color: #0b141a;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* WhatsApp Client Interface CSS */
.wa-header {
    background-color: #1f2c34;
    padding: 30px 14px 8px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #ffffff;
    font-weight: 500;
}

.wa-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-avatar-glow {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-violet) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.wa-user-details {
    display: flex;
    flex-direction: column;
}

.wa-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.82rem;
}

.wa-subtitle {
    color: var(--accent-green);
    font-size: 0.68rem;
    transition: color 0.2s ease;
}

.wa-subtitle.typing {
    color: #94a3b8;
}

.wa-chat-body {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: hidden;
    background-color: #0b141a;
    position: relative;
}

.wa-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.76rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(8px);
    animation: fade-in-bubble 0.4s var(--ease-fluid) forwards;
}

@keyframes fade-in-bubble {
    to { opacity: 1; transform: translateY(0); }
}

.wa-msg-user {
    background-color: #005c4b;
    color: #e9edef;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.wa-msg-bot {
    background-color: #202c33;
    color: #e9edef;
    align-self: flex-start;
    border-top-left-radius: 0;
    white-space: pre-line;
}

/* Styling inside Chat Card */
.wa-caution-box {
    border: 1px solid rgba(226, 183, 20, 0.3);
    background: rgba(226, 183, 20, 0.05);
    border-radius: 6px;
    padding: 6px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wa-caution-tag {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.7rem;
}

.wa-typing-indicator {
    align-self: flex-start;
    background-color: #202c33;
    padding: 8px 14px;
    border-radius: 10px;
    border-top-left-radius: 0;
    display: flex;
    align-items: center;
    gap: 3px;
}

.dot {
    width: 5px;
    height: 5px;
    background: #8696a0;
    border-radius: 50%;
    animation: wave 1.2s infinite;
}

.dot:nth-child(2) { animation-delay: 0.15s; }
.dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes wave {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-3px); }
}

.wa-input-footer {
    background-color: #1f2c34;
    padding: 10px 12px 22px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-plus {
    font-size: 1.3rem;
    color: #00a884;
}

.footer-input-box {
    flex: 1;
    background-color: #2a3942;
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.76rem;
    color: #8696a0;
}

.footer-icon {
    font-size: 0.95rem;
    color: #00a884;
}

.home-indicator {
    width: 90px;
    height: 4px;
    background-color: #7f8c8d;
    border-radius: 10px;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}

/* Sections Structure */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 70px auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-indigo);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 12px;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Features Cards */
.features {
    background: rgba(4, 4, 6, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s var(--ease-fluid);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
}

.card-border-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.feature-card:hover .card-border-glow {
    opacity: 1;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Flow Steps Section */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-circle {
    width: 56px;
    height: 56px;
    background: rgba(139, 92, 246, 0.04);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c084fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.05);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* FAQ Section */
.faq {
    background: rgba(4, 4, 6, 0.2);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Call to Action Section */
.cta-banner {
    max-width: 960px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(17, 12, 34, 0.9) 0%, rgba(3, 3, 3, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 36px;
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.cta-mesh {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    background: var(--accent-green);
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
    transition: all 0.3s var(--ease-fluid);
}

.cta-whatsapp-btn:hover {
    transform: translateY(-2px);
    background: var(--accent-green-hover);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.45);
}

.cta-phone-no {
    display: block;
    margin-top: 24px;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

/* Footer styling */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px 0;
    background-color: rgba(3, 3, 3, 0.95);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-logo span {
    color: var(--accent-indigo);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-metrics {
        justify-content: center;
    }
    .flow-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .nav {
        display: none; /* Mobile header simplicity */
    }
    .cta-title {
        font-size: 2rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
