/* ====================================================================
   MonoBand — marketing site
   ==================================================================== */

:root {
    /* Brand colours pulled from the app (BSColors). */
    --bg:           #14141c;
    --bg-alt:       #1a1a24;
    --bg-soft:      #20202c;
    --surface:      #262635;
    --border:       rgba(255, 255, 255, 0.08);

    --text:         #ffffff;
    --text-soft:    rgba(255, 255, 255, 0.78);
    --text-mute:    rgba(255, 255, 255, 0.52);

    --accent:       #6E5BFF;   /* brand purple */
    --accent-soft:  #8c7bff;
    --accent-glow:  rgba(110, 91, 255, 0.35);

    /* Rainbow gradient — same hues as the logo's EQ bars. */
    --rainbow: linear-gradient(
        90deg,
        #48C774 0%,
        #00C2FF 25%,
        #6E5BFF 50%,
        #FF5C8A 75%,
        #FFD166 100%
    );

    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 24px;

    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
    --shadow:    0 12px 40px rgba(0, 0, 0, 0.45);
}

/* ====================================================================
   Base
   ==================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 {
    margin: 0 0 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

p { margin: 0 0 12px; color: var(--text-soft); }

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

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

section { padding: 96px 0; }

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

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 10px 0 14px;
}
.section-header p {
    font-size: 17px;
    color: var(--text-soft);
    line-height: 1.65;
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(110, 91, 255, 0.14);
    color: var(--accent-soft);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.accent {
    background: var(--rainbow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ====================================================================
   Buttons
   ==================================================================== */

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
                background 0.15s ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-soft); color: white; }

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg-soft); color: var(--text); }

.cta-link {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: white !important;
    font-weight: 600;
    font-size: 14px;
}
.cta-link:hover { background: var(--accent-soft); }

/* ====================================================================
   Nav
   ==================================================================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(20, 20, 28, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: var(--text);
}
.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--bg-soft);
    overflow: hidden;
}
.brand-icon img { width: 30px; height: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14.5px;
}
.nav-links a { color: var(--text-soft); }
.nav-links a:hover { color: var(--text); }

.nav-dropdown {
    position: relative;
}
.nav-dropdown summary {
    list-style: none;
    cursor: pointer;
    color: var(--text-soft);
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover { color: var(--text); }
.nav-dropdown .caret { font-size: 10px; opacity: 0.7; margin-left: 2px; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dropdown-menu a {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-soft);
}
.dropdown-menu a:hover { background: var(--bg-soft); color: var(--text); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
}

/* ====================================================================
   Hero
   ==================================================================== */

.hero {
    padding: 88px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(
        circle at center,
        rgba(110, 91, 255, 0.18) 0%,
        rgba(110, 91, 255, 0) 60%
    );
    pointer-events: none;
}

.hero-grid {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    margin: 18px 0 22px;
    line-height: 1.05;
}
.lede {
    font-size: 18px;
    color: var(--text-soft);
    line-height: 1.6;
    max-width: 520px;
}

.cta-row {
    display: flex;
    gap: 12px;
    margin: 30px 0 36px;
    flex-wrap: wrap;
}

.hero-stat-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.hero-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    background: var(--rainbow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-stat span {
    font-size: 13px;
    color: var(--text-mute);
    letter-spacing: 0.02em;
}

/* Phone mockup */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    margin: 0 auto;
    border-radius: 44px;
    background: linear-gradient(160deg, #0c0c14, #1a1a24);
    box-shadow:
        0 0 0 8px #0a0a10,
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(110, 91, 255, 0.18);
    overflow: hidden;
}
.phone-mockup .frame {
    position: absolute;
    inset: 8px;
    border-radius: 36px;
    background: var(--bg-alt);
}
.phone-mockup .notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: #0a0a10;
    border-radius: 14px;
    z-index: 2;
}
.phone-screen {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 24px;
    text-align: center;
    color: var(--text);
}
.phone-screen img {
    margin-bottom: 18px;
    filter: drop-shadow(0 12px 28px rgba(110, 91, 255, 0.35));
}

/* ====================================================================
   Features grid
   ==================================================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.feature-card {
    padding: 26px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(110, 91, 255, 0.5);
}
.feature-icon {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 14px;
}
.feature-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}
.feature-card p {
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
}

/* ====================================================================
   Steps (How it works)
   ==================================================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: stepCounter;
}
.step {
    padding: 24px 22px 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    counter-increment: stepCounter;
}
.step::before {
    content: counter(stepCounter, decimal-leading-zero);
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-soft);
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.step h3 {
    font-size: 17px;
    margin-bottom: 6px;
}
.step p {
    font-size: 14px;
    color: var(--text-soft);
    margin: 0;
    line-height: 1.5;
}

/* ====================================================================
   Pills (platforms)
   ==================================================================== */

.platform-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}
.platform-pill {
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14.5px;
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.platform-pill strong { color: var(--text); font-weight: 600; }

/* ====================================================================
   Privacy callout
   ==================================================================== */

.privacy-callout {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 32px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 20% 0%, rgba(72, 199, 116, 0.25), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(110, 91, 255, 0.25), transparent 60%),
        var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.privacy-callout h2 {
    font-size: clamp(26px, 3.5vw, 34px);
    margin: 16px 0 14px;
}
.privacy-callout p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-soft);
    max-width: 540px;
    margin: 0 auto 24px;
}

/* ====================================================================
   Long-form (Privacy / Support body)
   ==================================================================== */

.page-header {
    text-align: center;
    padding: 80px 24px 40px;
    max-width: 720px;
    margin: 0 auto;
}
.page-header h1 {
    font-size: clamp(32px, 4.5vw, 46px);
    margin: 12px 0 14px;
}
.page-header p {
    font-size: 17px;
    color: var(--text-soft);
}

.prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 24px 96px;
    font-size: 16px;
    color: var(--text-soft);
    line-height: 1.75;
}
.prose h2 {
    color: var(--text);
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 10px;
}
.prose h3 {
    color: var(--text);
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 8px;
}
.prose strong { color: var(--text); }
.prose ul { margin: 0 0 12px; padding-left: 18px; list-style: disc; }
.prose ul li { margin: 6px 0; }
.prose a {
    color: var(--accent-soft);
    border-bottom: 1px solid rgba(140, 123, 255, 0.4);
}
.prose a:hover { border-color: var(--accent-soft); }
.prose code {
    background: var(--bg-alt);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.92em;
}

/* FAQ-specific (support page) */
.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}
.faq details[open] { border-color: rgba(110, 91, 255, 0.4); }
.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    color: var(--accent-soft);
    font-size: 22px;
    font-weight: 300;
    transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p,
.faq details > div {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
}

/* ====================================================================
   Footer
   ==================================================================== */

.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 64px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p {
    color: var(--text-mute);
    font-size: 14px;
    max-width: 320px;
    margin: 0;
}
.footer-col h4 {
    color: var(--text);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
    color: var(--text-soft);
    font-size: 14.5px;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-mute);
}

/* ====================================================================
   Animations
   ==================================================================== */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
    opacity: 0;
    animation: fadeUp 0.7s ease-out forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
.float-anim { animation: float 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; animation: none; }
    .float-anim { animation: none; }
    html { scroll-behavior: auto; }
}

/* ====================================================================
   Responsive
   ==================================================================== */

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps        { grid-template-columns: repeat(2, 1fr); }
    .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    section { padding: 72px 0; }
    .hero  { padding: 56px 0 80px; }

    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 16px 24px;
        background: var(--bg-alt);
        border-bottom: 1px solid var(--border);
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links .nav-dropdown { width: 100%; }
    .nav-links .dropdown-menu {
        position: static;
        transform: none;
        margin-top: 4px;
        width: 100%;
        min-width: 0;
    }

    .feature-grid { grid-template-columns: 1fr; }
    .steps        { grid-template-columns: 1fr; }
    .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
    .hero-stat-row { gap: 20px; }
}
