/* SURE VIBE Release Campaigns: stylesheet
   Palette matches the existing payment pages (near-black, red accent). */

:root {
    --bg: #080808;
    --surface: #111111;
    --surface-2: #181818;
    --line: #2a2a2a;
    --text: #f3f3f3;
    --muted: #b8b8b8;
    --faint: #8c8c8c;
    --accent: #b00020;
    --accent-hover: #cf1630;
    --ok: #3ecf8e;
    --warn: #f0b429;
    --radius: 10px;
    --wrap: 1080px;
    --font: Arial, Helvetica, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
}

img, svg { max-width: 100%; }

a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: #ffffff; }

:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: #ffffff; color: #000000; padding: 10px 16px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; color: #ffffff; }
.nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { color: #ffffff; }
.nav a[aria-current="page"] { color: #ffffff; border-bottom-color: var(--accent); }
.nav .btn { padding: 9px 16px; border-bottom: 0; color: #ffffff; }

/* Buttons */
.btn {
    display: inline-block; padding: 13px 22px; border-radius: 8px; border: 1px solid transparent;
    font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
}
.btn--primary { background: var(--accent); color: #ffffff; }
.btn--primary:hover { background: var(--accent-hover); color: #ffffff; }
.btn--ghost { background: transparent; color: #ffffff; border-color: #4a4a4a; }
.btn--ghost:hover { border-color: #ffffff; color: #ffffff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Typography */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 14px; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.prose { max-width: 42em; }
.prose h2 { margin-top: 38px; }
.prose h3 { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section--first { border-top: 0; }
.section__head { max-width: 42em; margin-bottom: 26px; }
.page-head { padding: 48px 0 28px; }

/* Hero */
.hero { padding: 64px 0 56px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { max-width: 12em; }
.wave {
    display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 260px;
    padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
.wave span { flex: 1; min-width: 3px; height: var(--h); background: #ffffff; border-radius: 3px; opacity: 0.9; }
.wave span:nth-child(3n) { background: var(--accent); opacity: 1; }

/* Lists with structure */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 20px; margin: 0; }
.facts strong { color: #ffffff; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; max-width: 46em; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 52px; margin: 0; }
.steps li::before {
    content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid #4a4a4a; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.steps strong { display: block; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h3 { margin-bottom: 8px; }
.panel--accent { border-color: var(--accent); }

/* Ad style illustrations */
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.style-demo { margin: 0; }
.style-demo__frame {
    aspect-ratio: 4 / 5; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; position: relative;
    background: #14141a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; text-align: center;
}
.cover { width: 46%; aspect-ratio: 1 / 1; border-radius: 6px; background: linear-gradient(135deg, #b00020, #3a0a14); }
.bars { display: flex; align-items: center; gap: 3px; height: 40px; width: 70%; }
.bars i { flex: 1; background: #ffffff; border-radius: 2px; height: var(--h); }
.demo-title { font-weight: 700; font-size: 0.95rem; }
.demo-sub { font-size: 0.8rem; color: var(--muted); }
.demo-caption { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.demo-caption mark { background: transparent; color: #ffffff; border-bottom: 2px solid var(--accent); }
.demo-cta { font-size: 0.8rem; font-weight: 700; background: var(--accent); padding: 7px 14px; border-radius: 6px; }
.style-demo--blur .style-demo__frame { background: radial-gradient(circle at 30% 20%, #5a0f1f, #14141a 70%); }
.style-demo__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.style-demo figcaption { margin-top: 10px; }
.style-demo figcaption strong { display: block; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 700; font-size: 0.9rem; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.switch { display: inline-flex; border: 1px solid #4a4a4a; border-radius: 8px; overflow: hidden; margin: 8px 0 22px; }
.switch a { padding: 9px 16px; text-decoration: none; color: var(--muted); }
.switch a[aria-current="true"] { background: #ffffff; color: #000000; font-weight: 700; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
details p { color: var(--muted); max-width: 42em; }

/* Notices */
.notice { border: 1px solid var(--line); border-left: 4px solid var(--warn); background: var(--surface); padding: 14px 18px; border-radius: 6px; margin: 0 0 22px; }
.notice--error { border-left-color: #ff5a6e; }
.notice--ok { border-left-color: var(--ok); }
.notice ul { margin: 8px 0 0; padding-left: 1.2em; }

/* Form */
.form { max-width: 720px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 6px; margin: 0 0 24px; background: var(--surface); }
.form legend { padding: 0 8px; font-weight: 700; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { display: block; color: var(--faint); font-size: 0.88rem; margin-top: 5px; font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field input[type="tel"],
.field input[type="number"], .field input[type="date"], .field select, .field textarea {
    width: 100%; padding: 12px 14px; background: #0d0d0d; color: #ffffff; border: 1px solid #3a3a3a; border-radius: 8px; font: inherit;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #ffffff; outline: 0; }
.choice { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-weight: 400; }
.choice input { margin-top: 5px; flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
.choice span { display: block; }
.choice b { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.is-hidden { display: none; }

/* Contact block */
.contact-block {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 24px 0;
}
.contact-block strong { display: block; }
.contact-block__links { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-block .btn { padding: 10px 16px; }

/* Cookie choice banner */
.consent {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 640px; margin: 0 auto;
    background: var(--surface-2); border: 1px solid #4a4a4a; border-radius: var(--radius); padding: 16px 18px;
    display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.consent p { margin: 0; flex: 1 1 260px; font-size: 0.95rem; }
.consent__buttons { display: flex; gap: 10px; }
.consent .btn { padding: 10px 16px; }

/* Footer */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-cols h2 { font-size: 1rem; margin-bottom: 10px; color: #ffffff; letter-spacing: 0; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 7px; }
.footer-cols a { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: #ffffff; text-decoration: underline; }
.footer-note { margin-top: 28px; font-size: 0.88rem; color: var(--faint); }

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; padding: 40px 0; }
    .wave { height: 150px; }
    .cols-2, .styles { grid-template-columns: 1fr; }
    .facts li { grid-template-columns: 1fr; gap: 4px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .styles { max-width: 340px; }
}

@media (max-width: 520px) {
    .footer-cols { grid-template-columns: 1fr; }
    .section { padding: 40px 0; }
    .btn-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
