/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0b0f19;
    --bg2: #111827;
    --bg3: #1a2234;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --accent: #10b981;
    --accent-hover: #059669;
    --border: #1e293b;
    --card: #151d2e;
    --radius: 12px;
}

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 12px; }
h3 { font-size: 1.3rem; }

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: var(--primary);
    color: #fff;
    text-align: center;
}
.btn:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-block { display: block; width: 100%; }

/* ===== Nav ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.nav-logo { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #fff; }

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 16px; }
.hero-note { color: var(--text-muted); font-size: 0.9rem; }
.hero-image { position: relative; }
.screenshot {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

/* ===== Stats ===== */
.stats {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-number { display: block; font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--text-muted); font-size: 0.9rem; }

/* ===== Features ===== */
.features { padding: 96px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ===== How It Works ===== */
.how-it-works {
    padding: 96px 0;
    background: var(--bg2);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; }
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Data Fields ===== */
.data-fields { padding: 96px 0; }
.fields-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.field-group {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.field-group h4 { color: var(--primary); margin-bottom: 12px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
.field-group ul { list-style: none; }
.field-group li { color: var(--text-muted); padding: 4px 0; font-size: 0.9rem; }
.field-group li::before { content: "\2713 "; color: var(--accent); margin-right: 6px; }

/* ===== Pricing ===== */
.pricing {
    padding: 96px 0;
    background: var(--bg2);
}
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 760px; margin: 0 auto; }
.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    text-align: center;
}
.price-card.featured { border-color: var(--primary); }
.price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.price-card h3 { margin-bottom: 16px; }
.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
}
.price-period { color: var(--text-muted); margin-bottom: 28px; }
.price-card ul { list-style: none; text-align: left; margin-bottom: 32px; }
.price-card li { padding: 8px 0; color: var(--text-muted); border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.price-card li::before { content: "\2713 "; color: var(--accent); margin-right: 8px; }
.price-card li:last-child { border-bottom: none; }

/* ===== Download ===== */
.download { padding: 96px 0; }
.download-box {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 56px 40px;
    max-width: 560px;
    margin: 0 auto;
}
.download-logo { width: 80px; height: 80px; margin-bottom: 20px; }
.download-box h3 { margin-bottom: 20px; }
.download-box p { color: var(--text-muted); margin-bottom: 24px; }
.download-buttons { display: flex; gap: 16px; justify-content: center; margin-bottom: 8px; }
.download-note { font-size: 0.85rem; margin-top: 16px; }

/* ===== FAQ ===== */
.faq { padding: 96px 0; background: var(--bg2); }
.faq-list { max-width: 720px; margin: 0 auto; }
details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
summary::after { content: "+"; font-size: 1.4rem; color: var(--text-muted); }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 24px 20px; color: var(--text-muted); line-height: 1.7; }

/* ===== Contact ===== */
.contact { padding: 96px 0; }
.contact-form {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
}
.contact-form textarea { resize: vertical; }
.contact-form button { align-self: flex-start; }
.form-success { text-align: center; padding: 14px; background: #065f46; color: #6ee7b7; border-radius: 8px; margin-bottom: 8px; max-width: 560px; margin: 0 auto 16px; }
.form-error { text-align: center; padding: 14px; background: #7f1d1d; color: #fca5a5; border-radius: 8px; margin-bottom: 8px; max-width: 560px; margin: 0 auto 16px; }

/* ===== Footer ===== */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.footer-logo { width: 24px; height: 24px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; width: 100%; text-align: center; margin-top: 16px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image { order: -1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .fields-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 16px; }
}

@media (max-width: 600px) {
    .nav-links a:not(.btn) { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .fields-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
