/* AI Soundbox — marketing + legal site
   Deploy the whole `website/` folder to https://soundbox.atozapps.in */

:root {
    --navy: #0e2a5c;
    --navy-deep: #081b3d;
    --navy-700: #16376e;
    --green: #16b26a;
    --green-dark: #0e8f54;
    --ink: #0f1b2d;
    --muted: #5b6b82;
    --line: #e4eaf2;
    --bg: #f5f8fc;
    --card: #ffffff;
    --radius: 16px;
    --maxw: 1120px;
    --shadow: 0 10px 30px rgba(14, 42, 92, 0.08);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

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

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(22, 178, 106, .28); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); color: #fff; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--green-dark); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ---- Hero ---- */
.hero {
    background: radial-gradient(1200px 600px at 80% -10%, #1b4796 0%, transparent 60%),
                linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: #fff;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
    padding: 84px 0 96px;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(22, 178, 106, .16);
    color: #7ff0b8;
    border: 1px solid rgba(22, 178, 106, .35);
    padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 18px; font-weight: 800; letter-spacing: -.5px; }
.hero p.lead { font-size: 18px; color: #c8d6ee; margin: 0 0 30px; max-width: 540px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .microcopy { margin-top: 18px; font-size: 13px; color: #9fb3d6; }

/* Phone mockup */
.phone {
    justify-self: center;
    width: 280px; max-width: 78vw;
    background: #0a1830;
    border: 10px solid #0a1830;
    border-radius: 40px;
    box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.phone-screen { background: #f5f8fc; border-radius: 30px; overflow: hidden; }
.phone-top { background: var(--navy); color: #fff; padding: 22px 18px 18px; }
.phone-top .small { font-size: 12px; opacity: .8; }
.phone-top .big { font-size: 22px; font-weight: 800; margin-top: 2px; }
.alert-card {
    display: flex; align-items: center; gap: 12px;
    background: #fff; margin: 14px; padding: 14px; border-radius: 14px;
    box-shadow: 0 6px 16px rgba(14,42,92,.08);
}
.alert-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.alert-card .name { font-weight: 700; font-size: 14px; color: var(--navy); }
.alert-card .time { font-size: 11px; color: var(--muted); }
.alert-card .amt { margin-left: auto; font-weight: 800; color: var(--green-dark); font-size: 15px; }
.speaker { display: flex; align-items: center; gap: 10px; margin: 0 14px 18px; color: var(--navy); font-weight: 600; font-size: 13px; }
.wave { display: inline-flex; align-items: center; gap: 3px; }
.wave span { width: 3px; height: 10px; background: var(--green); border-radius: 3px; animation: eq 1s ease-in-out infinite; }
.wave span:nth-child(2){ height:18px; animation-delay:.15s }
.wave span:nth-child(3){ height:24px; animation-delay:.3s }
.wave span:nth-child(4){ height:14px; animation-delay:.45s }
.wave span:nth-child(5){ height:20px; animation-delay:.6s }
@keyframes eq { 0%,100%{ transform: scaleY(.5) } 50%{ transform: scaleY(1.1) } }

/* ---- Sections ---- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 12px; letter-spacing: -.4px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.kicker { color: var(--green-dark); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow);
}
.feature .ic { width: 46px; height: 46px; border-radius: 12px; background: #e9f8f1; display: grid; place-items: center; margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps */
.steps-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 30px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Languages */
.langs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 820px; margin: 0 auto; }
.lang-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow); }

/* Screenshots gallery */
.shots-section { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.shot-item { margin: 0; }
.shot { background: #0a1830; border: 8px solid #0a1830; border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.shot img { display: block; width: 100%; border-radius: 22px; }
.shot-cap { text-align: center; margin-top: 14px; font-weight: 600; color: var(--navy); font-size: 14px; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-700)); color: #fff; border-radius: 24px; padding: 56px; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; }
.cta-band p { color: #c8d6ee; margin: 0 0 26px; font-size: 17px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 14px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--green-dark); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: #c8d6ee; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.footer-brand .logo { width: 32px; height: 32px; border-radius: 8px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #c8d6ee; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: 13px; color: #8ea3c6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---- Legal pages ---- */
.legal-hero { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; padding: 64px 0 48px; }
.legal-hero h1 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 10px; }
.legal-hero p { color: #c8d6ee; margin: 0; }
.legal { padding: 56px 0 72px; }
.legal-body { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; box-shadow: var(--shadow); }
.legal-body h2 { font-size: 22px; margin: 36px 0 12px; color: var(--navy); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 17px; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: #33465f; font-size: 15.5px; }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-toc { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px 24px; margin-bottom: 32px; }
.legal-toc strong { display: block; margin-bottom: 8px; color: var(--navy); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; }
.legal-toc a { color: #33465f; }
.note { background: #fff8e6; border: 1px solid #f3e3ad; border-left: 4px solid #eab308; border-radius: 10px; padding: 14px 18px; font-size: 14px; color: #6b5a1a; margin: 24px 0; }
.updated { color: var(--muted); font-size: 14px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; padding: 64px 0 72px; }
    .hero p.lead { margin-left: auto; margin-right: auto; }
    .hero .cta-row { justify-content: center; }
    .phone { grid-row: 1; margin-bottom: 12px; }
    .features, .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; }
    .nav-toggle { display: inline-flex; background: none; border: 0; cursor: pointer; }
    .cta-band { padding: 40px 24px; }
    .legal-body { padding: 28px 22px; }
    .legal-toc ol { columns: 1; }
}
