*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
summary { cursor: pointer; }

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --green: #10b981;
    --cyan: #22d3ee;
    --emerald-400: #34d399;
    --gradient: linear-gradient(135deg, #34d399, #22d3ee);
    --gradient-h: linear-gradient(90deg, #34d399, #22d3ee);
    --card-radius: 12px;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; }

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

/* ===== NAVBAR ===== */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.95);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}
.navbar-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--text-primary);
    text-decoration: none;
}
.navbar-right { display: flex; align-items: center; gap: 32px; }
.navbar-links { display: flex; gap: 32px; list-style: none; }
.navbar-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}
.navbar-links a:hover { color: var(--text-primary); }

.btn-gradient {
    background: var(--gradient-h);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-gradient:hover { opacity: 0.9; transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 80px 0 100px;
    border-top: 4px solid transparent;
    border-image: var(--gradient-h) 1;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 179px, var(--border-light) 179px, var(--border-light) 180px, transparent 180px),
        linear-gradient(180deg, transparent 179px, var(--border-light) 179px, var(--border-light) 180px, transparent 180px);
    background-size: 180px 180px;
    opacity: 0.5;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--green);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
}
.hero h1 {
    font-size: 56px;
    line-height: 1.12;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
}
.hero-ctas { display: flex; justify-content: center; gap: 14px; margin-bottom: 60px; }
.btn-gradient-lg {
    background: var(--gradient-h);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 36px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-gradient-lg:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
    padding: 14px 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: #cbd5e1; background: var(--bg-secondary); }

/* Dashboard Mockup */
.mockup-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.mockup-glow {
    position: absolute;
    width: 600px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(52,211,153,0.08) 0%, rgba(34,211,238,0.03) 50%, transparent 70%);
    pointer-events: none;
}
.mockup {
    position: relative;
    background: var(--dark);
    border-radius: 16px;
    border: 1px solid rgba(51,65,85,0.5);
    overflow: hidden;
}
.mockup-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #141b2d;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #ffbd44; }
.mockup-dot.green { background: #00c73c; }
.mockup-url {
    background: var(--dark-lighter);
    border-radius: 6px;
    padding: 4px 14px;
    color: var(--text-muted);
    font-size: 11px;
    margin-left: 8px;
}
.mockup-body {
    display: flex;
    padding: 20px;
    gap: 16px;
}
.mockup-sidebar {
    width: 50px;
    background: var(--dark-lighter);
    border-radius: 12px;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.sidebar-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(51,65,85,0.5);
}
.sidebar-icon.active { background: rgba(16,185,129,0.25); }
.mockup-main { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.stats-row { display: flex; gap: 12px; }
.stat-card {
    flex: 1;
    background: var(--dark-lighter);
    border: 1px solid rgba(51,65,85,0.4);
    border-radius: 10px;
    padding: 14px 18px;
}
.stat-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.stat-value { font-size: 28px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.stat-value.green { color: #10b981; }
.stat-value.cyan { color: #22d3ee; }
.stat-value.emerald { color: #34d399; }
.chart-area {
    background: var(--dark-lighter);
    border: 1px solid rgba(51,65,85,0.3);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    height: 220px;
}
.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    gap: 8px;
}
.bar-group { display: flex; gap: 4px; align-items: flex-end; }
.bar {
    width: 32px;
    border-radius: 4px 4px 0 0;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.bar.green-bar { background: rgba(16, 185, 129, 0.75); }
.bar.cyan-bar { background: rgba(34, 211, 238, 0.7); }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg-secondary); padding: 80px 0; }
.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 16px;
}
.section-label.green { color: var(--green); }
.section-label.cyan { color: #06b6d4; }
.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.5px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}
.step-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 3px;
    border-radius: 2px;
}
.step-card:nth-child(1)::before { background: #10b981; }
.step-card:nth-child(2)::before { background: #14b8a6; }
.step-card:nth-child(3)::before { background: #06b6d4; }
.step-card:nth-child(4)::before { background: #22d3ee; }
.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.step-card:nth-child(1) .step-number { color: #10b981; }
.step-card:nth-child(2) .step-number { color: #14b8a6; }
.step-card:nth-child(3) .step-number { color: #06b6d4; }
.step-card:nth-child(4) .step-number { color: #22d3ee; }
.step-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== FEATURES ===== */
.features { background: #fff; padding: 80px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    border-color: var(--border);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 6px;
}
.feature-card:nth-child(1)::before { background: linear-gradient(90deg, #10b981 0%, #10b98133 100%); }
.feature-card:nth-child(2)::before { background: linear-gradient(90deg, #0e7490 0%, #0e749033 100%); }
.feature-card:nth-child(3)::before { background: linear-gradient(90deg, #06b6d4 0%, #06b6d433 100%); }
.feature-card:nth-child(4)::before { background: linear-gradient(90deg, #14b8a6 0%, #14b8a633 100%); }
.feature-card:nth-child(5)::before { background: linear-gradient(90deg, #22d3ee 0%, #22d3ee33 100%); }
.feature-card:nth-child(6)::before { background: linear-gradient(90deg, #34d399 0%, #34d39933 100%); }
.feature-card:nth-child(7)::before { background: linear-gradient(90deg, #059669 0%, #05966933 100%); }
.feature-card:nth-child(8)::before { background: linear-gradient(90deg, #0891b2 0%, #0891b233 100%); }
.feature-card:nth-child(9)::before { background: linear-gradient(90deg, #10b981 0%, #10b98133 100%); }
.feature-icon { margin-bottom: 12px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(16, 185, 129, 0.08); color: var(--green); }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== PRICING ===== */
.pricing { background: var(--bg-secondary); padding: 80px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
}
.pricing-card.featured {
    background: var(--dark);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: var(--gradient);
    z-index: -1;
}
.pricing-plan { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.pricing-card.featured .pricing-plan { color: var(--green); }
.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}
.pricing-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
}
.pricing-card.featured .pricing-amount { color: #fff; }
.pricing-period { font-size: 16px; color: var(--text-muted); }
.pricing-divider {
    height: 1px;
    margin-bottom: 24px;
}
.pricing-card .pricing-divider { background: var(--border-light); }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.1); }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li {
    font-size: 14px;
    padding: 4px 0;
}
.pricing-features li::before { content: '\2713  '; }
.pricing-card .pricing-features li { color: var(--text-secondary); }
.pricing-card.featured .pricing-features li { color: #cbd5e1; }
.pricing-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}
.pricing-btn.outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}
.pricing-btn.gradient {
    background: var(--gradient-h);
    color: var(--text-primary);
}
.pricing-btn:hover { opacity: 0.85; }

/* ===== FAQ ===== */
.faq { background: var(--bg-secondary); padding: 80px 0; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0;
}
.faq-question {
    font-size: 16px;
    font-weight: 600;
    padding: 20px 28px;
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ''; }
.faq-item[open] .faq-question { padding-bottom: 0; }
.faq-answer {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 12px 28px 20px;
}

/* ===== CTA FINAL ===== */
.cta-final {
    background: var(--dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(52,211,153,0.1) 0%, rgba(34,211,238,0.04) 40%, transparent 70%);
    pointer-events: none;
}
.cta-final h2 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    position: relative;
}
.cta-final p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    position: relative;
}
.cta-final .btn-gradient-lg { position: relative; }

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #e2e8f0;
    text-decoration: none;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: #94a3b8; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 24px; }
.footer-copy { text-align: center; color: #64748b; font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    .section-title { font-size: 32px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .mockup-body { padding: 12px; }
    .bar { width: 20px; }
}
@media (max-width: 768px) {
    .hero { padding: 48px 0 64px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .section-title { font-size: 28px; }
    .steps-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-final h2 { font-size: 32px; }
    .navbar-links { display: none; }
    .mockup-wrapper { margin: 0 -12px; }
    .stats-row { flex-direction: column; }
    .stat-value { font-size: 22px; }
    .mockup-sidebar { display: none; }
    .footer-top { flex-direction: column; gap: 20px; }
}
