:root {
    --bg-darker: #0f111a;
    --bg-dark: #161b22;
    --bg-card: rgba(30, 41, 59, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(16, 185, 129, 0.4) 0%, rgba(59, 130, 246, 0.4) 100%);
    
    --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
}

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

body.dark-theme {
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── Typography ── */
h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; color: #fff; }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ── Layout ── */
.nav-container, .hero-container, .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section { padding: 6rem 0; }

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(15, 17, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img { height: 32px; width: auto; }
.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    letter-spacing: -0.5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    display: flex;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 4px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--bg-card);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
}

.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; border-radius: 12px; }
.btn-xl { padding: 1.2rem 2.5rem; font-size: 1.2rem; border-radius: 12px; }

/* ── Hero ── */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

/* Background Glow */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: var(--gradient-glow);
    filter: blur(120px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-new {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta-group { margin-bottom: 1.5rem; }

.cta-note {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-audience {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
}

.glass-mockup {
    background: rgba(20, 25, 35, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
}

.mockup-header {
    background: rgba(0,0,0,0.3);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dots span {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #475569;
    margin-right: 6px;
}

.mockup-body {
    position: relative;
    padding: 0;
}

.mockup-img {
    width: 100%;
    display: block;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.ai-icon { font-size: 24px; }
.ai-text strong { display: block; font-size: 14px; color: #fff; }
.ai-text span { font-size: 12px; color: var(--accent-green); }

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

/* ── Features ── */
.features-section { background: var(--bg-dark); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.feature-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }

.feature-icon {
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
.icon-blue { background: rgba(59,130,246,0.1); color: #60a5fa; }
.icon-green { background: rgba(16,185,129,0.1); color: #34d399; }
.icon-purple { background: rgba(168,85,247,0.1); color: #c084fc; }

.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── Split Layout (Mobile First) ── */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list { list-style: none; margin-top: 2rem; }
.check-list li {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 1rem; color: #e2e8f0; font-size: 1.05rem;
}
.check-icon {
    background: var(--accent-green);
    color: #fff;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: bold; flex-shrink: 0;
}

.perspective-panel {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    box-shadow: -20px 20px 40px rgba(0,0,0,0.6);
    transition: transform 0.5s ease;
}
.perspective-panel:hover { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); }

/* ── Gallery ── */
.gallery-section { background: var(--bg-darker); overflow: hidden;}
.app-gallery {
    display: flex; gap: 1.5rem; justify-content: center; align-items: center;
    flex-wrap: wrap; margin-top: 2rem;
}
.app-gallery img {
    height: 480px; width: auto; border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); border: 4px solid #1e293b;
    transition: transform 0.3s ease;
}
.app-gallery img:hover { transform: translateY(-10px); }

/* ── Pricing ── */
.pricing-section { background: var(--bg-dark); }

.billing-toggle {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    margin: 2rem 0 3rem; color: var(--text-secondary); font-weight: 500;
}
.billing-toggle span.active { color: #fff; }

.badge-save {
    background: rgba(16, 185, 129, 0.2); color: #34d399; font-size: 0.65rem;
    padding: 2px 8px; border-radius: 12px; margin-left: 6px; position:relative; top:-2px;
}

/* Switch Styles */
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #334155; transition: .4s;
}
.slider:before {
    position: absolute; content: ""; height: 20px; width: 20px;
    left: 3px; bottom: 3px; background-color: white; transition: .4s;
}
input:checked + .slider { background-color: var(--accent-blue); }
input:checked + .slider:before { transform: translateX(24px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.pricing-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    max-width: 1100px; margin: 0 auto;
}

.pricing-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    display: flex; flex-direction: column;
    min-height: 500px;
}

.pricing-card.premium {
    border-color: var(--accent-blue);
    background: linear-gradient(180deg, rgba(30,41,59,1) 0%, rgba(15,17,26,1) 100%);
    box-shadow: 0 10px 40px -10px rgba(59,130,246,0.3);
    z-index: 2;
    transform: scale(1.05); /* Pro is slightly bigger */
}

.pricing-card.indie {
    border-color: var(--border-color);
}

.popular-badge {
    position: absolute; top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-blue);
    color: #fff; font-size: 0.8rem; font-weight: bold;
    padding: 4px 16px; border-radius: 20px;
}

.price-title { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-secondary); }
.price-value { font-size: 3rem; font-weight: 800; font-family: var(--font-display); color: #fff; margin-bottom: 0.5rem; }
.price-currency { font-size: 1.25rem; font-weight: 500; }
.price-freq { font-size: 1rem; color: var(--text-secondary); font-weight: 400; }

.pricing-card p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 0.95rem; }
.pricing-card .btn { margin-top: auto; }

.pricing-loader {
    width: 100%; text-align: center; color: var(--text-secondary); padding: 3rem;
    font-style: italic; border: 1px dashed var(--border-color); border-radius: 12px;
}

/* ── Final CTA ── */
.final-cta h2 { font-size: 3rem; margin-bottom: 1rem; }
.final-cta p { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 3rem; }
.text-center { text-align: center; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border-color); padding: 4rem 0 2rem; }
.footer-top {
    display: flex; justify-content: space-between;
    margin-bottom: 3rem;
}
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; max-width: 300px; margin-top: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links strong { color: #fff; margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem;
    text-align: center; color: var(--text-secondary); font-size: 0.85rem;
}

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    color: #FFF;
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: rgba(30, 41, 59, 0.9);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-sans);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(30, 41, 59, 0.9);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}


/* ── Responsive ── */
@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    .hero-container, .split-layout { grid-template-columns: 1fr; gap: 3rem; }
    .hero-section { padding-top: 8rem; text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-cta-group { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
    .floating-card { left: 50%; transform: translateX(-50%); bottom: -20px; animation: none; }
    
    .features-grid { grid-template-columns: 1fr; }
    
    .pricing-cards { 
        display: flex; flex-direction: column; gap: 2rem; 
    }
    .pricing-card.premium { transform: scale(1); }
    
    .split-layout .split-visual { order: -1; }
    .footer-top { flex-direction: column; gap: 2rem; }
    
    .app-gallery img { height: 350px; }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 1rem; }
    .nav-logo-img { height: 28px; }
    .nav-actions { gap: 0.5rem; }
    .lang-btn { font-size: 0.75rem; padding: 4px 8px; }
    .btn.btn-outline { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
    
    .hero-section { padding-top: 6rem; padding-bottom: 3rem; }
    h1 { font-size: 2rem; }
    .app-gallery img { height: 300px; width: 80%; object-fit: cover; }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}
