:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: #EFF6FF;
    --text-1: #0F172A;
    --text-2: #475569;
    --text-3: #94A3B8;
    --bg: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --border: #E2E8F0;
    --radius: 16px;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1);
    --shadow-md: 0 4px 20px rgb(0 0 0 / .08);
    --shadow-lg: 0 20px 50px rgb(0 0 0 / .12);
    --font: 'Lexend', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-1);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ─── NAVBAR ─── */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    height: 72px; display: flex; align-items: center;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text-1); text-decoration: none; }
.logo-box { background: var(--primary); color: #fff; width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--text-2); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.btn-dl-nav { background: var(--primary); color: #fff !important; padding: 8px 20px; border-radius: 10px; font-weight: 600; transition: background .2s !important; }
.btn-dl-nav:hover { background: var(--primary-hover) !important; }
.btn-login { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--border); color: var(--text-1); padding: 9px 20px; border-radius: 10px; font-weight: 600; cursor: pointer; font-family: var(--font); font-size: .9rem; transition: all .2s; }
.btn-login:hover { border-color: var(--primary); color: var(--primary); }

/* ─── HERO ─── */
.hero {
    padding: 90px 0 80px;
    background: radial-gradient(ellipse 70% 50% at 80% 20%, #DBEAFE 0%, transparent 70%), var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-light); color: var(--primary); border: 1px solid #BFDBFE; padding: 6px 14px; border-radius: 100px; font-size: .8rem; font-weight: 600; margin-bottom: 28px; }

h1 { font-size: 3.6rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -.02em; }
.text-blue { color: var(--primary); }
.hero p { font-size: 1.05rem; color: var(--text-2); max-width: 480px; margin-bottom: 36px; }

.hero-cta { display: flex; gap: 14px; margin-bottom: 48px; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: all .2s; border: none; cursor: pointer; font-family: var(--font); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.3); }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 600; text-decoration: none; padding: 14px 20px; transition: color .2s; }
.btn-ghost:hover { color: var(--primary); }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.1rem; font-weight: 700; color: var(--text-1); }
.stat span { font-size: .8rem; color: var(--text-3); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Dashboard Mockup */
.hero-visual { position: relative; }
.browser-mockup { background: #fff; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); transition: transform .5s ease; }
.browser-mockup:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.browser-bar { background: #F1F5F9; padding: 10px 14px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #CBD5E1; flex-shrink: 0; }
.browser-url { margin-left: 8px; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 3px 12px; font-size: .75rem; color: var(--text-3); flex: 1; }
.dashboard-preview { display: flex; height: 300px; }
.dp-sidebar { width: 120px; background: #0F172A; padding: 16px 10px; display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.dp-logo-mini { background: var(--primary); color: #fff; width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; margin-bottom: 12px; }
.dp-menu-item { font-size: .68rem; color: #64748B; padding: 7px 8px; border-radius: 6px; cursor: pointer; }
.dp-menu-item.active { background: rgba(37,99,235,.25); color: #93C5FD; }
.dp-main { flex: 1; padding: 16px 14px; background: #F8FAFC; }
.dp-title { font-weight: 700; font-size: .85rem; color: var(--text-1); margin-bottom: 12px; }
.dp-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.dp-stat-box { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px; text-align: center; }
.dp-num { display: block; font-weight: 700; font-size: .9rem; }
.dp-num.blue { color: var(--primary); }
.dp-num.green { color: #10B981; }
.dp-num.orange { color: #F59E0B; }
.dp-num.purple { color: #8B5CF6; }
.dp-label { font-size: .6rem; color: var(--text-3); }
.dp-steps { display: flex; flex-direction: column; gap: 6px; }
.dp-step { font-size: .72rem; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; color: var(--text-2); }
.dp-step.done { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.dp-step.active { background: var(--primary-light); border-color: #BFDBFE; color: var(--primary); font-weight: 600; }

.floating-badge { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px 14px; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-md); animation: float 3s ease-in-out infinite; }
.fb1 { bottom: -16px; left: -20px; animation-delay: 0s; }
.fb2 { top: 40px; right: -20px; animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ─── PIPELINE ─── */
.pipeline-section { padding: 100px 0; background: var(--bg-subtle); }
.section-label { text-align: center; font-size: .8rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.section-title { text-align: center; font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-sub { text-align: center; font-size: 1rem; color: var(--text-2); max-width: 600px; margin: 0 auto 60px; }

.pipeline-steps { display: flex; align-items: center; gap: 8px; }
.pipeline-step { flex: 1; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: all .3s; }
.pipeline-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #BFDBFE; }
.step-num { font-size: .7rem; font-weight: 700; color: var(--primary); background: var(--primary-light); display: inline-block; padding: 3px 10px; border-radius: 100px; margin-bottom: 14px; }
.step-icon { font-size: 2.2rem; margin-bottom: 12px; }
.pipeline-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.pipeline-step p { font-size: .82rem; color: var(--text-2); line-height: 1.5; }
.pipeline-arrow { font-size: 1.3rem; color: var(--text-3); flex-shrink: 0; }

/* ─── FEATURES ─── */
.features-section { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 20px; margin-top: 56px; }
.feature-big { grid-column: span 2; border-radius: var(--radius); padding: 48px; }
.feature-big.blue-bg { background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%); border: 1px solid #BFDBFE; }
.feature-big.green-bg { background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%); border: 1px solid #A7F3D0; }
.feature-big.blue-bg + .feature-big.green-bg { grid-column: 2 / span 1; } 
.feature-big { grid-column: 1 / span 2; }
.feature-big:nth-child(2) { grid-column: 3 / span 1; grid-row: 1; }
.feat-icon { font-size: 2.5rem; margin-bottom: 20px; }
.feature-big h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.feature-big p { color: var(--text-2); font-size: .95rem; line-height: 1.65; margin-bottom: 20px; }
.feat-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.feat-tags span { background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.08); border-radius: 100px; padding: 4px 12px; font-size: .75rem; font-weight: 600; color: var(--text-1); }
.feature-small { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all .3s; }
.feature-small:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feat-icon-s { font-size: 1.8rem; margin-bottom: 14px; }
.feature-small h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature-small p { font-size: .85rem; color: var(--text-2); line-height: 1.6; }

/* ─── PRICING ─── */
.pricing-section { padding: 100px 0; background: var(--bg-subtle); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; position: relative; display: flex; flex-direction: column; transition: all .3s; }
.price-card:hover { box-shadow: var(--shadow-md); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: 0 8px 30px rgba(37,99,235,.15); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 14px; border-radius: 100px; white-space: nowrap; }
.plan-header { margin-bottom: 16px; }
.plan-badge { font-size: .68rem; font-weight: 700; border-radius: 100px; padding: 3px 10px; display: inline-block; margin-bottom: 8px; }
.plan-badge.free { background: #F3F4F6; color: #6B7280; }
.plan-badge.starter { background: #EFF6FF; color: var(--primary); }
.plan-badge.pro { background: #ECFDF5; color: #059669; }
.plan-badge.vip { background: #FFFBEB; color: #D97706; }
.plan-header h3 { font-size: 1.1rem; font-weight: 700; }
.plan-price { font-size: 2.2rem; font-weight: 800; margin-bottom: 4px; }
.plan-price span { font-size: .9rem; color: var(--text-3); font-weight: 400; }
.plan-credits { font-size: .82rem; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 5px 10px; border-radius: 8px; margin-bottom: 20px; display: inline-block; }
.plan-features { list-style: none; flex: 1; margin-bottom: 24px; display: flex; flex-direction: column; gap: 9px; }
.plan-features li { font-size: .85rem; color: var(--text-2); display: flex; align-items: flex-start; gap: 8px; }
.plan-features li.muted { color: var(--text-3); }
.btn-plan-primary { width: 100%; padding: 12px; background: var(--primary); color: #fff; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; font-family: var(--font); font-size: .9rem; transition: all .2s; }
.btn-plan-primary:hover { background: var(--primary-hover); }
.btn-plan-outline { width: 100%; padding: 12px; background: transparent; color: var(--primary); border: 1.5px solid var(--primary); border-radius: 10px; font-weight: 700; cursor: pointer; font-family: var(--font); font-size: .9rem; transition: all .2s; }
.btn-plan-outline:hover { background: var(--primary-light); }
.btn-plan-ghost { width: 100%; padding: 12px; background: transparent; color: var(--text-2); border: 1.5px solid var(--border); border-radius: 10px; font-weight: 700; cursor: pointer; font-family: var(--font); font-size: .9rem; transition: all .2s; }
.btn-plan-ghost:hover { border-color: var(--primary); color: var(--primary); }
.credits-note { text-align: center; margin-top: 36px; font-size: .88rem; color: var(--text-2); background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 24px; display: inline-block; width: 100%; }

/* ─── DOWNLOAD ─── */
.download-section { padding: 100px 0; text-align: center; }
.download-section h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.download-section p { color: var(--text-2); font-size: 1rem; margin-bottom: 36px; }
.btn-dl { font-size: 1.05rem; padding: 18px 40px; }
.dl-note { margin-top: 16px; font-size: .82rem; color: var(--text-3); }

/* ─── FAQ ─── */
.faq-section { padding: 100px 0; }
.faq-grid { max-width: 800px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all .3s; }
.faq-question { width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; border: none; background: none; font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--text-1); text-align: left; cursor: pointer; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 24px; color: var(--text-2); font-size: .95rem; line-height: 1.65; }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-md); }
.faq-item.active .faq-question { color: var(--primary); }
.faq-item.active .faq-answer { max-height: 200px; padding: 0 24px 20px; }
.faq-icon { font-size: .8rem; transition: transform .3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* ─── FOOTER ─── */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; }
.footer-copy { color: var(--text-3); font-size: .85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-3); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .pipeline-steps { flex-wrap: wrap; }
    .pipeline-arrow { display: none; }
    .pipeline-step { flex-basis: calc(50% - 40px); }
    .features-grid { grid-template-columns: 1fr; }
    .feature-big { grid-column: span 1 !important; grid-row: auto !important; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .pipeline-step { flex-basis: 100%; }
}
