/* ==========================================================================
   BoteraMC — one stylesheet for the whole site.

   There were two: style.css (April) and hub.css (September), each with its own
   palette, spacing and components. Four pages used one and three used the
   other, and style.css was not even deployed — so features.html and
   ranked.html were served to buyers as unstyled HTML. This replaces both.
   ========================================================================== */

:root {
    --bg:        #06070A;
    --bg-2:      #0A0C11;
    --bg-3:      #0E1118;
    --surface:   rgba(255, 255, 255, .035);
    --surface-2: rgba(255, 255, 255, .06);
    --line:      rgba(255, 255, 255, .09);
    --line-2:    rgba(255, 255, 255, .18);

    --red:   #FF4655;
    --red-2: #ff6b52;
    --cyan:  #3DE1FF;
    --gold:  #F0C674;
    --green: #2ecc71;
    --text:  #EEF1F5;
    --dim:   #8A8F98;

    --radius: 18px;
    --radius-sm: 12px;
    --maxw: 1180px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }

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

/* ---- typography --------------------------------------------------------- */

h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

.grad {
    background: linear-gradient(100deg, var(--red) 0%, var(--red-2) 45%, var(--gold) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--dim);
}
.eyebrow::before {
    content: ''; width: 26px; height: 1px; background: var(--red); display: block;
}

.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--dim); max-width: 62ch; }
.dim  { color: var(--dim); }
.tight { max-width: 68ch; }

/* ---- header ------------------------------------------------------------- */

.site-head {
    position: sticky; top: 0; z-index: 100;
    background: rgba(6, 7, 10, .72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-head .wrap {
    display: flex; align-items: center; gap: 28px; height: 66px;
}
.brand {
    font-weight: 900; letter-spacing: -.03em; font-size: 1.12rem;
    display: flex; align-items: center; gap: 9px; margin-right: auto;
}
.brand .dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--red); box-shadow: 0 0 14px var(--red);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
    font-size: .9rem; font-weight: 500; color: var(--dim);
    transition: color .18s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

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

/* ---- buttons ------------------------------------------------------------ */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
    font-size: .93rem; font-weight: 700; letter-spacing: -.01em;
    cursor: pointer; white-space: nowrap;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease),
                background .18s var(--ease), border-color .18s var(--ease);
}
.btn-primary {
    background: linear-gradient(100deg, var(--red), var(--red-2));
    color: #fff; box-shadow: 0 10px 34px -12px var(--red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px var(--red); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--text); background: var(--surface-2); }
.btn-sm { padding: 9px 17px; font-size: .85rem; }

/* ---- layout primitives -------------------------------------------------- */

section { padding: clamp(66px, 9vw, 118px) 0; }
.section-head { margin-bottom: 46px; }
.section-head h2 { margin: 14px 0 14px; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, .012));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .ico { font-size: 1.5rem; display: block; margin-bottom: 12px; }

/* ---- hero --------------------------------------------------------------- */

.hero { position: relative; padding: clamp(70px, 11vw, 140px) 0 clamp(56px, 7vw, 92px); overflow: hidden; }
.hero::before {
    content: ''; position: absolute; inset: -40% 0 auto -10%;
    width: 120%; height: 620px; pointer-events: none;
    background:
        radial-gradient(closest-side, rgba(255, 70, 85, .16), transparent 72%),
        radial-gradient(closest-side, rgba(61, 225, 255, .10), transparent 72%);
    background-position: 22% 40%, 78% 12%;
    background-size: 62% 100%, 52% 88%;
    background-repeat: no-repeat;
    filter: blur(14px);
}
.hero > * { position: relative; }
.hero h1 { margin: 20px 0 22px; max-width: 17ch; }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.hero-note { font-size: .84rem; color: var(--dim); margin-top: 16px; }

/* ---- proof bar ---------------------------------------------------------- */

.proof {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; margin-top: 54px;
}
.proof div { background: var(--bg-2); padding: 22px 16px; text-align: center; }
.proof b {
    display: block; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900;
    letter-spacing: -.03em; line-height: 1.1;
}
.proof span {
    display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--dim); margin-top: 5px; font-weight: 600;
}

/* ---- the product card --------------------------------------------------- */

.product {
    display: grid; grid-template-columns: 1.25fr .95fr; gap: 0;
    border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(140deg, var(--bg-3), var(--bg-2));
}
.product-body { padding: clamp(28px, 4vw, 48px); }
.product-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.product-side {
    padding: clamp(28px, 4vw, 48px);
    border-left: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
    display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.04em; }
.price span { color: var(--dim); font-size: .9rem; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 11px; font-size: .93rem; align-items: flex-start; }
.ticks li::before {
    content: '✓'; color: var(--green); font-weight: 800; flex: none; line-height: 1.5;
}

/* ---- tags / chips ------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--dim);
}
.chip.on { color: var(--text); border-color: var(--line-2); }

.badge {
    display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; padding: 4px 9px; border-radius: 6px;
}
.badge-red   { background: rgba(255, 70, 85, .14);  color: var(--red); }
.badge-cyan  { background: rgba(61, 225, 255, .13); color: var(--cyan); }
.badge-gold  { background: rgba(240, 198, 116, .13); color: var(--gold); }
.badge-green { background: rgba(46, 204, 113, .13); color: var(--green); }

/* ---- numbered list (modes) --------------------------------------------- */

.numbered { counter-reset: n; display: grid; gap: 12px; }
.numbered .card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.numbered .card::before {
    counter-increment: n; content: counter(n, decimal-leading-zero);
    font-size: .95rem; font-weight: 800; color: var(--dim); font-variant-numeric: tabular-nums;
}

/* ---- tables ------------------------------------------------------------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface); }

/* ---- comparison --------------------------------------------------------- */

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.versus .card.bad { border-color: rgba(255, 70, 85, .22); }
.versus .card.good { border-color: rgba(46, 204, 113, .26); }
.versus ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 11px; }
.versus li { display: flex; gap: 11px; font-size: .93rem; align-items: flex-start; }
.versus .bad li::before { content: '✕'; color: var(--red); font-weight: 800; flex: none; }
.versus .good li::before { content: '✓'; color: var(--green); font-weight: 800; flex: none; }

/* ---- faq ---------------------------------------------------------------- */

.faq { display: grid; gap: 10px; }
details.qa {
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface); padding: 0; overflow: hidden;
}
details.qa summary {
    cursor: pointer; padding: 18px 22px; font-weight: 650; list-style: none;
    display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: '+'; color: var(--dim); font-size: 1.25rem; flex: none; }
details.qa[open] summary::after { content: '−'; }
details.qa[open] summary { border-bottom: 1px solid var(--line); }
details.qa .qa-body { padding: 18px 22px; color: var(--dim); font-size: .95rem; }
details.qa .qa-body p:last-child { margin-bottom: 0; }

/* ---- copy field --------------------------------------------------------- */

.copy {
    display: inline-flex; align-items: center; gap: 12px;
    border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 8px 8px 20px;
    background: var(--surface); font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: .93rem;
}
.copy button {
    border: 0; border-radius: 999px; padding: 8px 15px; cursor: pointer;
    background: var(--surface-2); color: var(--text); font-weight: 700; font-size: .8rem;
    font-family: inherit; transition: background .18s var(--ease);
}
.copy button:hover { background: var(--line-2); }

/* ---- callout ------------------------------------------------------------ */

.callout {
    border: 1px solid var(--line-2); border-radius: var(--radius);
    background: linear-gradient(140deg, rgba(255, 70, 85, .07), rgba(61, 225, 255, .04));
    padding: clamp(28px, 4vw, 44px); text-align: center;
}
.callout h2 { margin-bottom: 14px; }
.callout .hero-cta { justify-content: center; }

/* ---- footer ------------------------------------------------------------- */

.site-foot { border-top: 1px solid var(--line); padding: 52px 0 40px; color: var(--dim); font-size: .88rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; margin-bottom: 34px; }
.foot-grid h4 { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 14px; color: var(--text); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; font-size: .82rem; }

/* ---- language switch ---------------------------------------------------- */

.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button {
    border: 0; background: none; color: var(--dim); cursor: pointer;
    font-size: .74rem; font-weight: 800; padding: 5px 11px; border-radius: 999px;
    font-family: inherit; letter-spacing: .04em;
}
.lang button.on { background: var(--surface-2); color: var(--text); }

/* ---- reveal on scroll --------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .card:hover, .btn:hover { transform: none; }
}

/* ---- responsive --------------------------------------------------------- */

@media (max-width: 980px) {
    .g4 { grid-template-columns: repeat(2, 1fr); }
    .g3 { grid-template-columns: repeat(2, 1fr); }
    .proof { grid-template-columns: repeat(3, 1fr); }
    .product { grid-template-columns: 1fr; }
    .product-side { border-left: 0; border-top: 1px solid var(--line); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute; top: 66px; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: var(--bg-2); border-bottom: 1px solid var(--line);
        padding: 8px 24px 18px; display: none;
    }
    .nav.open { display: flex; }
    .nav a { padding: 11px 0; width: 100%; }
    .g2, .g3, .g4, .versus { grid-template-columns: 1fr; }
    .proof { grid-template-columns: repeat(2, 1fr); }
    .numbered .card { grid-template-columns: auto 1fr; }
    .numbered .card .badge { grid-column: 2; justify-self: start; }
    .foot-grid { grid-template-columns: 1fr; }
    .hero-cta .btn { width: 100%; }
}
