/* NoiseScope promo site – shared styles */
:root {
    --brand: #0572b9;
    --brand-dark: #034f82;
    --safe: #00ac07;
    --warning: #f18500;
    --danger: #d30c1f;
    --bg: #ffffff;
    --bg-alt: #f4f7fb;
    --text: #1d1d1f;
    --text-muted: #5f6670;
    --card: #ffffff;
    --border: #e3e8ef;
    --radius: 20px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0d1117;
        --bg-alt: #151b23;
        --text: #f2f4f7;
        --text-muted: #a3acb9;
        --card: #1b222c;
        --border: #2a333f;
    }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }

.container {
    width: min(1100px, 100% - 2.5rem);
    margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    text-decoration: none;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.lang-switch {
    display: flex;
    gap: .25rem;
    font-size: .9rem;
}

.lang-switch a {
    padding: .3rem .6rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
}

.lang-switch a[aria-current="page"] {
    background: var(--brand);
    color: #fff;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    padding: 5rem 0 6rem;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    line-height: 1.1;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.hero p.lead {
    font-size: 1.2rem;
    opacity: .92;
    margin: 0 0 2rem;
    max-width: 34rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.5rem;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: #000;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.btn-secondary {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
}

.hero small {
    display: block;
    margin-top: 1rem;
    opacity: .8;
}

/* ---------- Phone frame with real screenshot ---------- */
.phone {
    width: 300px;
    margin-inline: auto;
    background: #0b0f14;
    border-radius: 48px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px #2b3440;
}

.phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 38px;
}

/* ---------- Screenshot gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.gallery figure {
    margin: 0;
    text-align: center;
}

.gallery .phone {
    width: 100%;
    max-width: 240px;
    padding: 9px;
    border-radius: 38px;
}

.gallery .phone img { border-radius: 30px; }

.gallery figcaption {
    margin-top: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---------- Sections ---------- */
section { padding: 5rem 0; }

section.alt { background: var(--bg-alt); }

.section-head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 3rem;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin: 0 0 .75rem;
    letter-spacing: -0.01em;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
}

.card .icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    margin-bottom: 1rem;
}

.card h3 {
    margin: 0 0 .4rem;
    font-size: 1.15rem;
}

.card p {
    margin: 0;
    color: var(--text-muted);
}

/* ---------- Colour scale ---------- */
.scale {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.level {
    border-radius: var(--radius);
    padding: 1.8rem;
    color: #fff;
}

.level.safe    { background: var(--safe); }
.level.warning { background: var(--warning); }
.level.danger  { background: var(--danger); }

.level .range {
    font-size: 1.8rem;
    font-weight: 700;
}

.level h3 { margin: .2rem 0 .5rem; }

.level p {
    margin: 0;
    opacity: .95;
}

.note {
    text-align: center;
    color: var(--text-muted);
    margin-top: 2rem;
}

/* ---------- Use cases ---------- */
.use-cases {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}

.use-cases span {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .6rem 1.1rem;
    font-weight: 500;
}

/* ---------- Pricing ---------- */
.plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 860px;
    margin-inline: auto;
}

.plan {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.plan.pro {
    border: 2px solid var(--brand);
    position: relative;
}

.plan.pro .badge {
    position: absolute;
    top: -14px;
    right: 1.5rem;
    background: var(--brand);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    padding: .3rem .8rem;
    border-radius: 999px;
}

.plan h3 {
    margin: 0;
    font-size: 1.4rem;
}

.plan .price {
    color: var(--text-muted);
    margin: .25rem 0 1.25rem;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan li {
    padding: .45rem 0 .45rem 1.8rem;
    position: relative;
    border-top: 1px solid var(--border);
}

.plan li:first-child { border-top: none; }

.plan li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--safe);
    font-weight: 700;
}

/* ---------- Privacy / final CTA ---------- */
.privacy {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
    max-width: 760px;
    margin-inline: auto;
}

.privacy .shield { font-size: 3.5rem; }

.privacy h2 { margin: 0 0 .5rem; }

.privacy p {
    margin: 0;
    color: var(--text-muted);
}

.final-cta {
    text-align: center;
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
}

.final-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin: 0 0 1rem;
}

.final-cta p {
    opacity: .9;
    margin: 0 0 2rem;
}

.final-cta img {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}

/* ---------- Footer ---------- */
footer {
    padding: 2rem 0;
    font-size: .9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero p.lead { margin-inline: auto; }
    .cta-row { justify-content: center; }
    .scale, .plans { grid-template-columns: 1fr; }
    .privacy { grid-template-columns: 1fr; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .btn { transition: none; }
}
