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

:root {
    --color-bg: #0a0a0f;
    --color-surface: #12121a;
    --color-surface-2: #1a1a26;
    --color-border: #2a2a3a;
    --color-text: #e4e4ed;
    --color-text-muted: #8888a0;
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-primary-dark: #4f46e5;
    --color-accent: #06b6d4;
    --color-success: #22c55e;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --container: 1120px;
}

html { scroll-behavior: smooth; }

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

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    text-decoration: none;
}

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

.btn-ghost {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid transparent;
}
.btn-ghost:hover { color: var(--color-text); text-decoration: none; }

/* ===== Nav ===== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo:hover { text-decoration: none; }

.logo-icon {
    font-size: 24px;
    color: var(--color-primary-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a { color: var(--color-text-muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--color-text); text-decoration: none; }

/* ===== Hero ===== */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--color-border);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    background: var(--color-surface);
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ===== Proof ===== */
.proof {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 24px 0;
    background: var(--color-surface);
}

.proof-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-muted);
}
.proof-item strong {
    font-size: 18px;
    color: var(--color-text);
    font-weight: 700;
}

.proof-divider {
    width: 1px;
    height: 28px;
    background: var(--color-border);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto;
}

/* ===== Features ===== */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-badge.free {
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.feature-badge.pro {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary-light);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ===== Pricing ===== */
.pricing {
    padding: 100px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 740px;
    margin: 0 auto;
}

.price-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
}

.price-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.price-card-header {
    margin-bottom: 20px;
}

.price-card-header h3 {
    font-size: 22px;
    font-weight: 800;
}

.price-card-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-muted);
}

.price-value {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-left: 4px;
}

.price-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.price-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    padding-left: 24px;
    position: relative;
}
.price-features li:last-child { border-bottom: none; }

.price-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.price-features li strong {
    color: var(--color-text);
}

/* ===== Activate ===== */
.activate {
    padding: 80px 0;
}

.activate-box {
    max-width: 560px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    text-align: center;
}

.activate-box p {
    font-size: 15px;
    color: var(--color-text);
}

.activate-hint {
    margin-top: 12px;
    font-size: 13px !important;
    color: var(--color-text-muted) !important;
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.faq-list {
    max-width: 680px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--color-text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 0 20px;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-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: 12px;
    font-weight: 700;
    font-size: 16px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
}
.footer-links a:hover { color: var(--color-text); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links a:not(.btn) { display: none; }
    .proof-divider { display: none; }
    .proof-inner { gap: 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-brand { flex-direction: column; }
}
