:root {
    --landing-bg: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --accent: #667eea;
    --accent-2: #764ba2;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-light: rgba(255, 255, 255, 0.7);
    --text-lighter: rgba(255, 255, 255, 0.5);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #fff;
    background: #0f0c29;
}

/* NAVBAR */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s;
    background: transparent;
}
.landing-navbar.scrolled {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
}
.navbar-brand i { color: var(--accent); }
.nav-link-landing {
    color: var(--text-light) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link-landing:hover { color: #fff !important; }
.btn-landing-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 20px;
    transition: all 0.2s;
}
.btn-landing-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    color: #fff;
}
.btn-landing-primary.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* HERO */
.hero-section {
    min-height: 100vh;
    background: var(--landing-bg);
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.12) 0%, transparent 70%);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
}
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-lighter);
    font-weight: 500;
}
.hero-trust-item i {
    color: #22c55e;
    font-size: 0.9rem;
}

/* HERO DASHBOARD PREVIEW */
.hero-visual { perspective: 1000px; }
.hero-dashboard-preview {
    background: rgba(15, 12, 41, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    transform: rotateY(-5deg) rotateX(3deg);
    transition: transform 0.4s ease;
    max-width: 480px;
    margin: 0 auto;
}
.hero-dashboard-preview:hover {
    transform: rotateY(0) rotateX(0);
}
.preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.preview-dots span:first-child { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #28ca42; }
.preview-title {
    font-size: 0.72rem;
    color: var(--text-lighter);
    font-weight: 500;
}
.preview-body { padding: 20px; }
.preview-stats { display: flex; gap: 12px; margin-bottom: 20px; }
.preview-stat {
    flex: 1;
    background: rgba(102,126,234,0.08);
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
}
.preview-stat-green { background: rgba(34,197,94,0.1); }
.preview-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.preview-stat-label {
    font-size: 0.65rem;
    color: var(--text-lighter);
    margin-top: 2px;
    font-weight: 500;
}
.preview-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}
.preview-bar {
    flex: 1;
    background: rgba(102,126,234,0.25);
    border-radius: 4px 4px 0 0;
    transition: height 0.6s ease;
}
.preview-bar-active {
    background: var(--accent-gradient);
}

/* METRICS */
.metrics-section {
    background: #0d0a24;
    padding: 60px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}
.metric-value {
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.metric-label {
    font-size: 0.88rem;
    color: var(--text-lighter);
    font-weight: 500;
    margin-top: 4px;
}

/* SECTIONS */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* FEATURES */
.features-section {
    background: #0d0a24;
    padding: 100px 0;
}
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.1);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.feature-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* APP SECTION */
.app-section {
    background: var(--landing-bg);
    padding: 100px 0;
}
.app-features-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.app-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.app-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(102,126,234,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    flex-shrink: 0;
}
.app-feature-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.app-feature-item span {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 10px 18px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.store-badge:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* APP PHONE PREVIEW */
.app-preview { text-align: center; }
.app-phone {
    display: inline-block;
    width: 260px;
    background: #1a1a2e;
    border-radius: 32px;
    padding: 12px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    position: relative;
}
.app-phone-notch {
    width: 100px;
    height: 24px;
    background: #0f0c29;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
}
.app-phone-screen {
    background: #121218;
    border-radius: 20px;
    padding: 12px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.app-screen-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}
.app-screen-header i {
    color: var(--text-lighter);
}
.app-screen-stories {
    display: flex;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 12px;
    overflow: hidden;
}
.app-story {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.app-story.active {
    border-color: var(--accent);
    background: rgba(102,126,234,0.15);
}
.app-screen-card {
    flex: 1;
}
.app-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.app-card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-gradient);
}
.app-card-name {
    width: 80px;
    height: 10px;
    border-radius: 5px;
    background: rgba(255,255,255,0.15);
    margin-bottom: 4px;
}
.app-card-time {
    width: 50px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
}
.app-card-image {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.1));
    margin-bottom: 10px;
}
.app-card-actions {
    display: flex;
    gap: 16px;
    font-size: 1.1rem;
    color: var(--text-lighter);
}
.app-screen-nav {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: auto;
    font-size: 1.1rem;
    color: var(--text-lighter);
}
.app-screen-nav i:first-child { color: var(--accent); }

/* PRICING */
.pricing-section {
    background: #0d0a24;
    padding: 100px 0;
}
.billing-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    padding: 6px 20px;
}
.billing-toggle-label {
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    user-select: none;
    cursor: pointer;
}
.billing-toggle-label.active { color: #fff; }
.billing-toggle-label.inactive { color: var(--text-lighter); }
.billing-toggle-track {
    position: relative;
    width: 44px;
    height: 24px;
    background: #555;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.25s;
    flex-shrink: 0;
}
.billing-toggle-track.on { background: var(--accent); }
.billing-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.billing-toggle-track.on .billing-toggle-thumb {
    transform: translateX(20px);
}
.pricing-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: var(--card-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.pricing-card.popular {
    border-color: var(--accent);
}
.popular-badge {
    text-align: center;
    padding: 6px;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1px;
    border-radius: 14px 14px 0 0;
}
.pricing-card-body {
    padding: 24px 20px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.plan-name { font-weight: 700; margin-bottom: 4px; }
.plan-desc { color: var(--text-light); font-size: 0.82rem; min-height: 36px; }
.plan-price { margin: 12px 0; min-height: 60px; }
.price-value { font-size: 2rem; font-weight: 800; color: var(--accent); }
.price-period { color: var(--text-light); font-size: 0.85rem; }
.price-savings { margin-top: 4px; }
.price-savings small { color: var(--text-light); font-size: 0.75rem; }
.plan-features {
    list-style: none;
    padding: 0;
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 0.85rem;
}
.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.plan-features li i { color: var(--accent); font-size: 0.8rem; flex-shrink: 0; }

/* HOW IT WORKS */
.how-it-works-section {
    background: var(--landing-bg);
    padding: 100px 0;
}
.step-card {
    text-align: center;
    padding: 32px 24px;
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.step-card h5 { font-weight: 600; margin-bottom: 8px; }
.step-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0; }

/* FAQ */
.faq-section {
    background: #0d0a24;
    padding: 100px 0;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 18px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question i {
    font-size: 0.8rem;
    transition: transform 0.3s;
    color: var(--text-lighter);
}
.faq-question:not(.collapsed) i {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-answer {
    padding: 0 22px 18px;
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* CTA */
.cta-section {
    background: var(--accent-gradient);
    padding: 80px 0;
}
.cta-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.cta-section p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; }

/* FOOTER */
.landing-footer {
    background: #0a0820;
    padding: 32px 0;
    border-top: 1px solid var(--card-border);
}
.footer-link {
    color: var(--text-lighter);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-link:hover { color: #fff; }

/* WHATSAPP FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .hero-dashboard-preview { transform: none; }
    .hero-dashboard-preview:hover { transform: none; }
}
@media (max-width: 767px) {
    .hero-section { padding: 100px 16px 60px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .features-section, .pricing-section, .how-it-works-section, .app-section, .faq-section { padding: 60px 0; }
    .cta-section { padding: 50px 0; }
    .btn-landing-primary.btn-lg { padding: 12px 24px; font-size: 0.95rem; }
    .metric-value { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }
    .app-phone { width: 220px; }
    .app-phone-screen { min-height: 360px; }
}
