/* WaveSnip — shared stylesheet */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:        #121212;
    --bg-soft:   #1e1e1e;
    --card:      #1f1f1f;
    --border:    #2a2a2a;
    --text:      #ffffff;
    --text-dim:  #999999;
    --text-mute: #666666;
    --accent:    #ffcc00;
    --accent-2:  #ff8800;
    --red:       #e04848;
}

html { scroll-behavior: smooth; }

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

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

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

/* Nav */
.nav {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    z-index: 100;
}
.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 800;
    font-size: 14px;
}
.nav-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-dim);
}
.nav-links a { color: var(--text-dim); font-weight: 500; }
.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* Hero */
.hero {
    padding: 90px 0 70px;
    text-align: center;
    background: radial-gradient(1200px 500px at 50% -200px,
                rgba(255, 204, 0, 0.08), transparent);
}
.hero-icon {
    width: 112px;
    height: 112px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 16px 48px rgba(255, 204, 0, 0.3);
}
.hero-icon svg { width: 50px; height: 50px; color: #000; }
.hero h1 {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}
.hero .tagline {
    font-size: 20px;
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero .cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent);
    color: #000;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 28px rgba(255, 204, 0, 0.35);
    transition: transform .15s ease;
}
.hero .cta:hover { transform: translateY(-2px); text-decoration: none; }
.hero .cta-sub {
    display: block;
    margin-top: 14px;
    color: var(--text-mute);
    font-size: 13px;
}

/* Sections */
section {
    padding: 70px 0;
    border-top: 1px solid var(--border);
}
section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 36px;
    letter-spacing: -0.5px;
    text-align: center;
}

/* Features grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}
.feature-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255, 204, 0, 0.14);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.feature h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
.feature p {
    font-size: 14px;
    color: var(--text-dim);
}

/* Pricing */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
}
.plan {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}
.plan.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(255, 204, 0, 0.05), transparent);
}
.plan .name {
    font-size: 14px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.plan .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}
.plan .period {
    font-size: 12px;
    color: var(--text-mute);
}
.plan.featured .badge {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* FAQ */
.faq {
    max-width: 720px;
    margin: 0 auto;
}
.faq-item {
    border-top: 1px solid var(--border);
    padding: 22px 0;
}
.faq-item:first-child { border-top: none; }
.faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.faq-item p {
    font-size: 14px;
    color: var(--text-dim);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0 28px;
    color: var(--text-mute);
    font-size: 13px;
}
.footer .footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-links a { color: var(--text-dim); }
.footer .copyright {
    color: var(--text-mute);
}

/* Legal content (privacy, terms) */
.legal {
    padding: 50px 0 80px;
    max-width: 760px;
    margin: 0 auto;
}
.legal h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.legal .updated {
    color: var(--text-mute);
    font-size: 13px;
    margin-bottom: 40px;
}
.legal h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 12px;
}
.legal h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 24px 0 10px;
}
.legal p {
    color: var(--text-dim);
    margin-bottom: 14px;
    line-height: 1.75;
}
.legal ul, .legal ol {
    color: var(--text-dim);
    margin: 0 0 18px 24px;
    line-height: 1.85;
}
.legal li { margin-bottom: 6px; }
.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 28px;
    font-size: 14px;
}
.legal th, .legal td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.legal th {
    color: var(--text);
    font-weight: 600;
    background: var(--bg-soft);
}
.legal td { color: var(--text-dim); }
.legal strong { color: var(--text); }
.legal code {
    background: var(--bg-soft);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--text-dim);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 640px) {
    .hero h1 { font-size: 36px; }
    .hero .tagline { font-size: 16px; }
    section h2 { font-size: 24px; }
    .nav-links { gap: 16px; }
    .legal h1 { font-size: 28px; }
    .footer .footer-grid { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
