/* ============================================================
 CUPH · Shared Stylesheet
 ============================================================ */

/* ---- VARIABLES ---- */
:root {
 --bg: #050508;
 --bg2: #0c0a12;
 --surface: #121018;
 --surface2: #1a1524;
 --line: #2a2438;
 --line2: #3a314c;
 --ink: #f3f0fa;
 --ink2: #c9c4d8;
 --ink3: #8a849e;
 --ink4: #5c566e;
 --accent: #B128DF;
 --accent2: #D946EF;
 --adim: rgba(177,40,223,.14);
 --aglow: rgba(177,40,223,.5);
 --aglow2: rgba(177,40,223,.22);
 --gold: #FFB300;
 --golddim: rgba(255,179,0,.14);
 --good: #5fcf8b;
 --danger: #ff6b6b;
 --r: 10px;
 --rl: 16px;
 --rll: 22px;
 --glass: rgba(255,255,255,.045);
 --glass2: rgba(255,255,255,.015);
 --glass-border: rgba(255,255,255,.08);
 --glass-tab: rgba(255,255,255,.04);
 --selection-bg: #E9B3FF;
 --selection-fg: #1a0624;
}

::selection {
 background: var(--selection-bg);
 color: var(--selection-fg);
}
::-moz-selection {
 background: var(--selection-bg);
 color: var(--selection-fg);
}

body.light {
 --bg: #f7f4fb;
 --bg2: #efeaf7;
 --surface: #ffffff;
 --surface2: #f5f1fa;
 --line: #e4dcee;
 --line2: #d0c6de;
 --ink: #120a1a;
 --ink2: #2c2438;
 --ink3: #5c546e;
 --ink4: #8a829a;
 --adim: rgba(177,40,223,.1);
 --aglow: rgba(177,40,223,.28);
 --aglow2: rgba(177,40,223,.14);
 --gold: #E69A00;
 --golddim: rgba(230,154,0,.12);
 --glass: rgba(255,255,255,.75);
 --glass2: rgba(255,255,255,.55);
 --glass-border: rgba(0,0,0,.08);
 --glass-tab: rgba(255,255,255,.65);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
 background:
 radial-gradient(ellipse 120% 80% at 50% -20%, rgba(177,40,223,.12), transparent 55%),
 radial-gradient(ellipse 60% 50% at 100% 50%, rgba(255,179,0,.06), transparent),
 radial-gradient(ellipse 50% 40% at 0% 80%, rgba(255,140,0,.05), transparent),
 linear-gradient(180deg, var(--bg2) 0%, var(--bg) 45%, #030206 100%);
 color: var(--ink);
 font-family: 'Inter', sans-serif;
 min-height: 100vh;
 overflow-x: hidden;
 transition: background .3s, color .3s;
}
body.perf *, body.perf *::before, body.perf *::after {
 animation: none !important;
 transition: none !important;
}
body.perf #starCanvas { display: none; }
body.perf .glow-fx, body.perf .bg-glow { opacity: .55 !important; animation: none !important; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 3px; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
h1 { font-size: clamp(40px, 6.5vw, 88px); }
h2 { font-size: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(17px, 2.5vw, 22px); }
p { line-height: 1.7; }

.mono { font-family: 'JetBrains Mono', monospace; }
.eyebrow {
 font-family: 'JetBrains Mono', monospace;
 font-size: 11px; color: var(--ink3);
 letter-spacing: 3px; text-transform: uppercase;
 display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--ink4); }
.grad-text {
 background-image: linear-gradient(
  115deg,
  #F0D4FF 0%,
  #B128DF 32%,
  #E07BFF 52%,
  #FFB300 78%,
  #FF8C00 100%
 );
 background-size: 220% 100%;
 background-position: 0% 50%;
 -webkit-background-clip: text;
 background-clip: text;
 -webkit-text-fill-color: transparent;
 color: transparent;
 line-height: 1.2;
 padding-bottom: 0.12em;
 overflow: visible;
 animation: cuph-grad-shift 7s ease-in-out infinite alternate;
}
@keyframes cuph-grad-shift {
 from { background-position: 0% 50%; }
 to { background-position: 100% 50%; }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
 .grad-text {
  color: #E9B3FF;
  -webkit-text-fill-color: unset;
  background: none;
  animation: none;
 }
}
body.light .grad-text {
 background-image: linear-gradient(
  115deg,
  #7A1FA8 0%,
  #B128DF 35%,
  #C45A00 70%,
  #E69A00 100%
 );
}

/* ---- BUTTONS ---- */
.btn {
 display: inline-flex; align-items: center; justify-content: center; gap: 8px;
 padding: 11px 22px; border-radius: var(--r); cursor: pointer;
 font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
 border: 1px solid transparent; transition: all .18s;
 text-decoration: none; white-space: nowrap;
}
.btn-primary {
 background: var(--accent); color: #03131d;
 box-shadow: 0 0 0 1px var(--accent), 0 6px 28px -8px var(--aglow);
}
.btn-primary:hover {
 background: var(--accent2);
 box-shadow: 0 0 0 1px var(--accent2), 0 0 36px var(--aglow);
 transform: translateY(-1px);
}
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 16px var(--aglow2); }
.btn-gold { background: var(--gold); color: #180e00; box-shadow: 0 0 0 1px var(--gold), 0 6px 28px -8px rgba(245,176,79,.5); }
.btn-gold:hover { filter: brightness(1.1); box-shadow: 0 0 0 1px var(--gold), 0 0 32px rgba(245,176,79,.4); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-xl { padding: 18px 40px; font-size: 18px; }

/* ---- BADGES ---- */
.badge {
 font-family: 'JetBrains Mono', monospace; font-size: 10px;
 padding: 3px 9px; border-radius: 999px; letter-spacing: 1px;
 border: 1px solid; display: inline-flex; align-items: center; gap: 5px;
}
.badge-blue { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 30%, transparent); background: var(--adim); }
.badge-gold { color: var(--gold); border-color: color-mix(in oklab, var(--gold) 30%, transparent); background: var(--golddim); }
.badge-green { color: var(--good); border-color: color-mix(in oklab, var(--good) 30%, transparent); background: rgba(95,207,139,.08); }
.badge-red { color: var(--danger); border-color: color-mix(in oklab, var(--danger) 30%, transparent); background: rgba(255,107,107,.08); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }

/* ---- CARDS ---- */
.card {
 background: linear-gradient(160deg, var(--surface), var(--surface2));
 border: 1px solid var(--line); border-radius: var(--rl);
 position: relative; overflow: hidden;
}
.card-glow { box-shadow: 0 0 0 1px var(--accent), 0 0 30px -6px var(--aglow); border-color: var(--accent); }
.glass {
 background: rgba(10,12,18,.65);
 backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
 border: 1px solid rgba(255,255,255,.06);
}
body.light .glass { background: rgba(240,244,250,.8); border-color: rgba(0,0,0,.07); }

/* ---- TOGGLE ---- */
.toggle { width: 48px; height: 26px; background: rgba(120,128,145,.35); border-radius: 13px; position: relative; cursor: pointer; transition: background .18s, border-color .18s; flex-shrink: 0; border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 3px rgba(0,0,0,.2); }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #c5cad3; transition: transform .18s, background .18s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.toggle.on { background: linear-gradient(135deg, rgba(177,40,223,.85), rgba(56,160,220,.95)); border-color: rgba(177,40,223,.5); }
.toggle.on::after { transform: translateX(22px); background: #fff; }
.mod-modal-box.mod-modal-wide { max-width: 720px; width: min(96vw, 720px); }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s !important; }
.reveal-d2 { transition-delay: .2s !important; }
.reveal-d3 { transition-delay: .3s !important; }

/* ---- LAYOUT ---- */
main { position: relative; z-index: 1; padding-top: 64px; }
section { padding: 96px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 36px; }
.section-head { margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--ink3); font-size: 16px; margin-top: 12px; max-width: 520px; }

/* ---- NAVIGATION ---- */
.topnav {
 position: fixed; top: 0; left: 0; right: 0; z-index: 200;
 display: flex; align-items: center;
 padding: 0 28px; height: 64px;
 background: rgba(6,7,10,.9);
 backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
 border-bottom: 1px solid var(--line);
 transition: background .3s;
}
body.light .topnav { background: rgba(238,241,248,.92); }
.nav-brand {
 display: flex; align-items: center; gap: 10px;
 font-family: 'Space Grotesk', sans-serif; font-weight: 700;
 font-size: 18px; letter-spacing: 5px; color: var(--ink);
 text-decoration: none; flex-shrink: 0;
}
.nav-logo {
 width: 40px; height: 40px; object-fit: cover;
 border-radius: 10px;
 filter: drop-shadow(0 0 10px var(--aglow)) drop-shadow(0 0 14px rgba(255,179,0,.25));
 transition: filter .2s;
 background: #000 !important;
}
.nav-brand:hover .nav-logo { filter: drop-shadow(0 0 18px var(--aglow)); }
.nav-links {
 display: flex; align-items: center; gap: 2px;
 flex: 1; padding: 0 20px; overflow-x: auto;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
 color: var(--ink3); font-size: 14px; font-weight: 500;
 padding: 7px 12px; border-radius: 8px;
 text-decoration: none; white-space: nowrap;
 transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a.active { color: var(--accent); background: var(--adim); }
.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nav-toggle {
 display: none; width: 36px; height: 36px; border-radius: 9px;
 background: var(--surface); border: 1px solid var(--line);
 color: var(--ink2); cursor: pointer; align-items: center; justify-content: center;
 transition: all .18s;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 14px var(--aglow2); }
.nav-toggle svg { width: 18px; height: 18px; }

.nav-drawer-backdrop {
 position: fixed; inset: 0; z-index: 280; background: rgba(4,6,10,.65);
 backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s;
}
.nav-drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.nav-drawer {
 position: fixed; top: 0; right: 0; bottom: 0; z-index: 290; width: min(320px, 88vw);
 background: rgba(8,10,16,.98); border-left: 1px solid var(--line);
 box-shadow: -20px 0 60px rgba(0,0,0,.45);
 transform: translateX(100%); transition: transform .32s cubic-bezier(.22,1,.36,1);
 display: flex; flex-direction: column; padding: 20px 18px 28px;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-head {
 display: flex; align-items: center; justify-content: space-between;
 margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.nav-drawer-head span {
 font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: 3px; font-size: 14px;
}
.nav-drawer-links { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; }
.nav-drawer-links a {
 display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px;
 color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 500;
 border: 1px solid transparent; transition: all .18s;
}
.nav-drawer-links a:hover,
.nav-drawer-links a.active {
 color: var(--accent); background: var(--adim); border-color: rgba(177,40,223,.2);
 box-shadow: 0 0 20px var(--aglow2);
}
.nav-drawer-links a svg { width: 18px; height: 18px; opacity: .75; flex-shrink: 0; }
.nav-drawer-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }

.mobile-dock {
 display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 250;
 padding: 8px 10px; border-radius: 18px;
 background: rgba(8,10,16,.94); border: 1px solid var(--line);
 backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
 box-shadow: 0 12px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(177,40,223,.06);
}
body.has-mobile-dock { padding-bottom: 88px; }
.mobile-dock-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.dock-item {
 display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
 padding: 8px 4px; border-radius: 12px; color: var(--ink3); text-decoration: none;
 font-size: 10px; font-weight: 600; border: none; background: transparent; cursor: pointer;
 font-family: inherit; transition: all .18s;
}
.dock-item svg { width: 20px; height: 20px; }
.dock-item:hover, .dock-item.active { color: var(--accent); background: var(--adim); }
.dock-item.active { box-shadow: 0 0 16px var(--aglow2); }
button.dock-item.active { border: 1px solid rgba(177,40,223,.25); }

/* ---- FORMS ---- */
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-label {
 font-size: 12px; font-weight: 600; color: var(--ink3); letter-spacing: .3px;
}
.form-input, .form-textarea, .form-select {
 width: 100%; box-sizing: border-box;
 padding: 12px 14px; border-radius: 10px;
 border: 1px solid var(--line2); background: rgba(8,11,18,.75);
 color: var(--ink); font: inherit; font-size: 15px;
 transition: border-color .18s, box-shadow .18s, background .18s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
 outline: none; border-color: var(--accent);
 box-shadow: 0 0 0 3px var(--aglow2), 0 0 24px var(--aglow2);
 background: rgba(8,11,18,.95);
}
.form-input::placeholder { color: var(--ink4); }

/* Auth gate (login / profil) */
.auth-page { display: flex; flex-direction: column; min-height: 100vh; }
.auth-wrap {
 flex: 1; display: flex; align-items: center; justify-content: center;
 padding: 88px 20px 48px; position: relative; z-index: 1;
}
.auth-shell { width: 100%; max-width: 440px; position: relative; }
.auth-shell::before {
 content: ''; position: absolute; inset: -50px -30px;
 background: radial-gradient(ellipse 75% 50% at 50% 0%, rgba(177,40,223,.12), transparent 72%);
 pointer-events: none; z-index: 0;
}
.auth-card {
 position: relative; z-index: 1; overflow: hidden;
 background: rgba(10,12,18,.92); border: 1px solid rgba(255,255,255,.06);
 border-radius: 18px; box-shadow: 0 24px 80px rgba(0,0,0,.5); backdrop-filter: blur(12px);
}
.auth-hero {
 padding: 24px 24px 18px; display: flex; align-items: center; gap: 14px;
 border-bottom: 1px solid rgba(255,255,255,.05);
}
.auth-hero-mark {
 width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
 border-radius: 12px; background: linear-gradient(145deg, rgba(177,40,223,.15), rgba(177,40,223,.04));
 border: 1px solid rgba(177,40,223,.25); box-shadow: 0 0 24px rgba(177,40,223,.12);
}
.auth-hero-mark img { width: 30px; height: 30px; object-fit: contain; }
.auth-kicker {
 font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 2.5px;
 color: var(--accent); text-transform: uppercase; margin-bottom: 4px;
}
.auth-title {
 font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px;
 letter-spacing: 2px; color: var(--ink); line-height: 1.1;
}
.auth-sub { font-size: 12px; color: var(--ink4); margin-top: 4px; line-height: 1.5; }
.auth-body { padding: 22px 24px 24px; }
.auth-tabs {
 display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px;
 padding: 4px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line);
}
.auth-tab {
 padding: 10px 12px; border-radius: 9px; border: none; background: transparent;
 color: var(--ink3); cursor: pointer; font-weight: 600; font-size: 13px;
 font-family: 'Space Grotesk', sans-serif; transition: all .2s;
}
.auth-tab.active {
 color: var(--accent); background: var(--adim);
 box-shadow: 0 0 20px var(--aglow2); border: 1px solid rgba(177,40,223,.25);
}
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-divider {
 display: flex; align-items: center; gap: 12px; margin: 20px 0 16px;
 font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink4);
 font-family: 'JetBrains Mono', monospace;
}
.auth-divider::before, .auth-divider::after {
 content: ''; flex: 1; height: 1px; background: var(--line);
}
.auth-err {
 display: none; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px;
 background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.2);
 color: #ff8a8a; font-size: 12px; line-height: 1.45;
}
.auth-err.show { display: block; }
.turnstile-slot { margin: 0 0 16px; width: 100%; }
.turnstile-loading {
 font-size: 11px; color: var(--ink4); text-align: center; padding: 12px 0;
 font-family: 'JetBrains Mono', monospace; letter-spacing: 0.5px;
}
.turnstile-slot.verified-skip #turnstileWidget,
.turnstile-slot.verified-skip .turnstile-loading { display: none !important; }
.turnstile-ok {
 font-size: 12px; color: #5fcf8b; text-align: center; padding: 10px 12px;
 border-radius: 8px; background: rgba(95,207,139,.08); border: 1px solid rgba(95,207,139,.25);
 font-family: 'JetBrains Mono', monospace;
}
.auth-links { text-align: center; margin-top: 18px; font-size: 12px; color: var(--ink4); line-height: 1.75; }
.auth-links a { color: var(--accent); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-legal {
 display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px;
 padding: 12px 14px; border-radius: 10px;
 background: rgba(255,255,255,.03); border: 1px solid var(--line);
 font-size: 11px; line-height: 1.55; color: var(--ink3); cursor: pointer;
}
.auth-legal input[type="checkbox"] {
 width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer;
}
.auth-legal a { color: var(--accent); text-decoration: none; }
.auth-legal a:hover { text-decoration: underline; }
.auth-legal.invalid { border-color: rgba(255,107,107,.35); background: rgba(255,107,107,.06); }
.auth-legal-foot {
 margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
 font-size: 10px; line-height: 1.6; color: var(--ink4); text-align: center;
}
.auth-legal-foot a { color: var(--ink3); text-decoration: none; }
.auth-legal-foot a:hover { color: var(--accent); }
.btn-shimmer { position: relative; overflow: hidden; }
.btn-shimmer::after {
 content: ''; position: absolute; inset: 0; transform: translateX(-120%);
 background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%);
 transition: transform .55s ease;
}
.btn-shimmer:hover::after { transform: translateX(120%); }
.icon-btn {
 width: 36px; height: 36px; border-radius: 9px;
 background: var(--surface); border: 1px solid var(--line);
 color: var(--ink3); cursor: pointer;
 display: flex; align-items: center; justify-content: center;
 font-size: 15px; transition: all .15s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 14px var(--aglow2); }
.icon-btn.active { color: var(--accent); border-color: var(--accent); background: var(--adim); }

.lang-switch {
 height: 36px; padding: 0 11px; border-radius: 9px;
 background: var(--surface); border: 1px solid var(--line);
 color: var(--ink2); cursor: pointer;
 display: inline-flex; align-items: center; gap: 6px;
 font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1px;
 transition: all .18s;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 14px var(--aglow2); }
.lang-switch .lang-flag { font-size: 11px; }

/* ---- BG ELEMENTS ---- */
#starCanvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }
.bg-glow {
 position: fixed; inset: 0; pointer-events: none; z-index: 0;
 background:
 radial-gradient(ellipse 100% 75% at 50% -8%, rgba(177,40,223,.22), transparent 58%),
 radial-gradient(ellipse 55% 55% at 92% 85%, rgba(217,70,239,.14), transparent),
 radial-gradient(ellipse 45% 45% at 8% 65%, rgba(177,40,223,.1), transparent),
 radial-gradient(ellipse 35% 30% at 50% 100%, rgba(177,40,223,.06), transparent);
 animation: bg-glow-pulse 12s ease-in-out infinite alternate;
 transition: opacity .3s, transform .1s linear;
}
@keyframes bg-glow-pulse {
 0% { opacity: .85; filter: saturate(1); }
 100% { opacity: 1; filter: saturate(1.15); }
}
body.light .bg-glow {
 background:
 radial-gradient(ellipse 90% 70% at 50% -5%, rgba(177,40,223,.07), transparent 60%),
 radial-gradient(ellipse 50% 50% at 95% 100%, rgba(177,40,223,.04), transparent);
}

/* ---- HERO ---- */
#hero {
 min-height: calc(100vh - 64px);
 display: flex; align-items: center;
 padding: 80px 0 60px;
 position: relative;
}
.hero-inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 36px; }
.hero-top {
 display: grid; grid-template-columns: 1fr 440px; gap: 64px;
 align-items: center; margin-bottom: 52px;
}
.hero-text .eyebrow { margin-bottom: 20px; }
.hero-text h1 { margin-bottom: 20px; line-height: 1.15; padding-bottom: 0.14em; overflow: visible; }
.hero-text p { font-size: 18px; color: var(--ink2); max-width: 500px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero logo */
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-logo-wrap {
 position: relative; width: 320px; height: 320px;
 display: flex; align-items: center; justify-content: center;
}
.hero-logo-img {
 width: 100%; height: 100%; object-fit: contain;
 animation: logo-float 5s ease-in-out infinite;
 filter: drop-shadow(0 0 50px rgba(177,40,223,.6)) drop-shadow(0 0 100px rgba(177,40,223,.3));
 position: relative; z-index: 2;
}
.hero-logo-ring {
 position: absolute; inset: -20px;
 border: 1px solid rgba(177,40,223,.15);
 border-radius: 50%;
 animation: ring-spin 20s linear infinite;
}
.hero-logo-ring::before {
 content: '';
 position: absolute; top: -3px; left: 50%;
 width: 6px; height: 6px; border-radius: 50%;
 background: var(--accent);
 box-shadow: 0 0 12px var(--aglow);
 margin-left: -3px;
}
@keyframes logo-float {
 0%,100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 50px rgba(177,40,223,.6)) drop-shadow(0 0 100px rgba(177,40,223,.3)); }
 50% { transform: translateY(-16px) scale(1.02); filter: drop-shadow(0 0 70px rgba(177,40,223,.8)) drop-shadow(0 0 130px rgba(177,40,223,.4)); }
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
.hero-bg-logo {
 position: absolute; right: -10%; top: 50%; transform: translateY(-50%);
 width: 55vw; max-width: 700px; opacity: .03; pointer-events: none;
 filter: blur(2px);
}

/* ---- BENTO GRID ---- */
.bento {
 display: grid;
 grid-template-columns: repeat(6, 1fr);
 gap: 14px;
 grid-auto-rows: minmax(140px, auto);
}
.bento-tile {
 padding: 20px; border-radius: var(--rl);
 background: linear-gradient(160deg, var(--surface), var(--surface2));
 border: 1px solid var(--line);
 transition: border-color .2s, box-shadow .2s, transform .3s cubic-bezier(.22,1,.36,1);
 cursor: default; position: relative; overflow: hidden;
 text-decoration: none; color: inherit; display: flex; flex-direction: column;
 text-align: left; width: 100%;
 font: inherit; min-height: 140px;
}
a.bento-tile, button.bento-tile { cursor: pointer; }
button.bento-tile { appearance: none; -webkit-appearance: none; }
.bento-tile::before {
 content: ''; position: absolute; inset: 0; border-radius: inherit;
 background: linear-gradient(135deg, rgba(177,40,223,.04) 0%, transparent 60%);
 opacity: 0; transition: opacity .2s;
}
.bento-tile:hover::before { opacity: 1; }
.bento-tile:hover { border-color: var(--line2); transform: translateY(-3px); }
.bento-tile.span1 { grid-column: span 1; }
.bento-tile.span2 { grid-column: span 2; }
.bento-tile.span3 { grid-column: span 3; }
.bento-tile.span4 { grid-column: span 4; }
.bento-tile.span5 { grid-column: span 5; }
.bento-tile.span6 { grid-column: span 6; }
.bento-tile.row2 { grid-row: span 2; min-height: 294px; }
.bento-tile.accent { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 8px 40px -12px var(--aglow); }
.bento-tile.gold { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 8px 40px -12px rgba(245,176,79,.35); }
.tile-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--adim); border: 1px solid var(--line2); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.onyx-ico { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; color: inherit; }
.onyx-ico-svg { display: block; }
.tile-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink3); letter-spacing: 2px; margin-bottom: 6px; }
.bento-tile h3 { font-size: 18px; margin-bottom: 6px; }
.bento-tile p { font-size: 13px; color: var(--ink3); line-height: 1.5; }
.tile-stat { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 40px; color: var(--accent); }
.bento-tile.gold .tile-stat { color: var(--gold); }
.tile-sub { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.online-row { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--good); margin-top: 8px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 6px var(--good); } 50% { box-shadow: 0 0 16px var(--good), 0 0 24px rgba(95,207,139,.3); } }

/* ---- STATS BAR ---- */
.hero-stats {
 display: grid; grid-template-columns: repeat(4,1fr);
 border: 1px solid var(--line); border-radius: var(--rl);
 overflow: hidden; background: var(--surface); margin-top: 14px;
}
.hstat { padding: 16px 22px; border-right: 1px solid var(--line); }
.hstat:last-child { border-right: none; }
.hstat .hs-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink3); letter-spacing: 2px; margin-bottom: 6px; }
.hstat .hs-val { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 30px; }
.hs-val.accent { color: var(--accent); }
.hs-val.good { color: var(--good); }

/* ---- FEATURE TEASER CARDS ---- */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card {
 padding: 30px; border-radius: var(--rl);
 background: linear-gradient(160deg, var(--surface), var(--surface2));
 border: 1px solid var(--line);
 text-decoration: none; color: var(--ink); display: block;
 transition: border-color .2s, box-shadow .22s, transform .28s cubic-bezier(.22,1,.36,1);
 position: relative; overflow: hidden;
}
.feat-card .arrow { position: absolute; right: 26px; bottom: 26px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink4); transition: right .2s, color .2s; }
.feat-card:hover { border-color: var(--accent); box-shadow: 0 0 36px -10px var(--aglow); transform: translateY(-4px); }
.feat-card:hover .arrow { right: 20px; color: var(--accent); }
.feat-card.gold:hover { border-color: var(--gold); box-shadow: 0 0 36px -10px rgba(245,176,79,.35); }
.feat-card.gold:hover .arrow { color: var(--gold); }
.feat-icon { margin-bottom: 18px; display: flex; align-items: center; color: var(--accent); }
.feat-icon .onyx-ico-svg, .tile-icon .onyx-ico-svg { display: block; }
.feat-card h3 { margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--ink3); max-width: calc(100% - 28px); }

/* ---- CTA SECTION ---- */
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { font-size: 17px; color: var(--ink3); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- SERVICE CARDS ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.svc-card {
 padding: 30px; border-radius: var(--rl);
 background: linear-gradient(145deg, var(--glass), var(--glass2));
 border: 1px solid var(--glass-border);
 backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
 transition: border-color .2s, box-shadow .22s, transform .28s cubic-bezier(.22,1,.36,1);
}
.svc-card:hover { border-color: rgba(177,40,223,.4); box-shadow: 0 0 40px -10px var(--aglow); transform: translateY(-4px); }
.svc-card.gold { background: linear-gradient(145deg, rgba(245,176,79,.06), rgba(255,255,255,.02)); border-color: rgba(245,176,79,.18); }
.svc-card.gold:hover { border-color: var(--gold); box-shadow: 0 0 40px -10px rgba(245,176,79,.35); }
.svc-icon {
 width: 56px; height: 56px; border-radius: 14px;
 background: linear-gradient(135deg, rgba(177,40,223,.2) 0%, rgba(177,40,223,.07) 100%);
 border: 1px solid rgba(177,40,223,.28);
 display: flex; align-items: center; justify-content: center;
 margin-bottom: 20px; flex-shrink: 0;
 box-shadow: 0 0 18px -5px rgba(177,40,223,.3);
}
.svc-icon svg { width: 26px; height: 26px; stroke: var(--accent); }
.svc-card.gold .svc-icon {
 background: linear-gradient(135deg, rgba(245,176,79,.22) 0%, rgba(245,176,79,.07) 100%);
 border-color: rgba(245,176,79,.3);
 box-shadow: 0 0 18px -5px rgba(245,176,79,.3);
}
.svc-card.gold .svc-icon svg { stroke: var(--gold); }
.svc-card h3 { margin-bottom: 10px; }
.svc-card > p { font-size: 14px; color: var(--ink3); line-height: 1.65; margin-bottom: 20px; }
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.svc-list li { font-size: 13px; color: var(--ink2); display: flex; gap: 10px; align-items: flex-start; }
.svc-list li::before {
 content: ''; flex-shrink: 0; width: 14px; height: 14px; margin-top: 2px;
 background-color: var(--accent);
 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
 -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- TIMELINE ---- */
.tl-wrap { position: relative; padding: 20px 0; }
.tl-wrap::before {
 content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
 width: 1px; transform: translateX(-50%);
 background: linear-gradient(to bottom, transparent, var(--accent) 8%, color-mix(in oklab, var(--accent) 40%, var(--line2)) 50%, var(--accent) 92%, transparent);
}
.tl-item { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 0; margin-bottom: 48px; align-items: start; }
.tl-item:last-child { margin-bottom: 0; }
.tl-card {
 padding: 24px; border-radius: var(--rl);
 background: linear-gradient(160deg, rgba(22, 27, 38, 0.88), rgba(14, 18, 26, 0.75));
 border: 1px solid var(--line);
 backdrop-filter: blur(8px);
 -webkit-backdrop-filter: blur(8px);
 transition: border-color .2s, box-shadow .2s;
}
.tl-card:hover { border-color: var(--accent); box-shadow: 0 0 28px -8px var(--aglow); }
.tl-card.gold:hover { border-color: var(--gold); box-shadow: 0 0 28px -8px rgba(245,176,79,.3); }
.tl-center { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 22px; }
.tl-dot {
 width: 14px; height: 14px; border-radius: 50%;
 background: var(--accent); box-shadow: 0 0 14px var(--aglow);
 border: 2px solid var(--bg); flex-shrink: 0;
}
.tl-date {
 font-family: 'JetBrains Mono', monospace; font-size: 9px;
 color: var(--accent); background: var(--adim);
 border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
 padding: 3px 10px; border-radius: 999px; letter-spacing: 1px; white-space: nowrap;
}
.tl-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink3); letter-spacing: 2px; margin-bottom: 6px; }
.tl-card h3 { font-size: 17px; margin-bottom: 8px; }
.tl-card p { font-size: 13px; color: var(--ink3); line-height: 1.55; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* ---- MODULES ---- */
.tab-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab-btn {
 font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 500;
 padding: 9px 18px; border-radius: 10px; cursor: pointer; gap: 7px;
 background: var(--glass-tab); border: 1px solid var(--glass-border);
 color: var(--ink3); transition: all .18s; display: inline-flex; align-items: center;
 backdrop-filter: blur(8px);
}
.tab-btn:hover { border-color: rgba(177,40,223,.3); color: var(--ink); background: rgba(177,40,223,.06); }
.tab-btn.active {
 background: linear-gradient(135deg, rgba(177,40,223,.18), rgba(177,40,223,.07));
 border-color: rgba(177,40,223,.45); color: var(--accent);
 box-shadow: 0 0 18px -5px rgba(177,40,223,.35), 0 0 0 1px rgba(177,40,223,.1) inset;
}
.mod-panel { display: none; }
.mod-panel.active { display: block; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 14px; }
.mod-card {
 padding: 22px 18px 18px; border-radius: 16px;
 background: linear-gradient(145deg, var(--glass), var(--glass2));
 border: 1px solid var(--glass-border);
 backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
 transition: border-color .2s, transform .22s cubic-bezier(.22,1,.36,1), box-shadow .2s;
 display: flex; flex-direction: column;
}
.mod-card:hover {
 border-color: rgba(177,40,223,.38);
 transform: translateY(-4px);
 box-shadow: 0 8px 36px -10px rgba(177,40,223,.22), 0 0 0 1px rgba(177,40,223,.12);
}
.mod-icon {
 width: 46px; height: 46px; border-radius: 12px;
 background: linear-gradient(135deg, rgba(177,40,223,.2) 0%, rgba(177,40,223,.07) 100%);
 border: 1px solid rgba(177,40,223,.25);
 display: flex; align-items: center; justify-content: center;
 margin-bottom: 14px; flex-shrink: 0;
 box-shadow: 0 0 14px -4px rgba(177,40,223,.3);
}
.mod-icon svg { width: 22px; height: 22px; stroke: var(--accent); }
.mod-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.mod-desc { font-size: 12px; color: var(--ink3); line-height: 1.5; }
.mod-card { cursor: pointer; position: relative; }
.mod-card::after {
 content: ''; position: absolute; top: 14px; right: 14px;
 width: 22px; height: 22px; border-radius: 6px;
 background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
 background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fc3ff' stroke-width='2'><polyline points='9 18 15 12 9 6'/></svg>");
 background-repeat: no-repeat; background-position: center; background-size: 12px;
 opacity: 0; transition: opacity .18s;
}
.mod-card:hover::after { opacity: 1; }

/* Module detail modal */
.mod-modal {
 position: fixed; inset: 0; background: rgba(2,5,12,.7);
 backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
 z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px;
}
.mod-modal.open { display: flex; animation: fadeIn .18s ease; }
.mod-modal-box {
 background: linear-gradient(145deg, rgba(20,25,35,.95), rgba(12,15,22,.95));
 border: 1px solid rgba(177,40,223,.22); border-radius: 20px;
 width: 100%; max-width: 620px; max-height: 86vh; overflow-y: auto;
 box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 60px -20px rgba(177,40,223,.3);
 animation: slideUp .22s cubic-bezier(.22,1,.36,1);
}
.mod-modal-head { padding: 28px 28px 18px; display: flex; gap: 18px; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.06); position: relative; }
.mod-modal-icon {
 width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
 background: linear-gradient(135deg, rgba(177,40,223,.25), rgba(177,40,223,.08));
 border: 1px solid rgba(177,40,223,.3);
 display: flex; align-items: center; justify-content: center;
 box-shadow: 0 0 24px -6px rgba(177,40,223,.4);
}
.mod-modal-icon svg { width: 30px; height: 30px; stroke: var(--accent); }
.mod-modal-head h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.mod-modal-head p { font-size: 13px; color: var(--ink3); margin: 0; }
.mod-modal-close {
 position: absolute; top: 18px; right: 18px;
 width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1);
 background: rgba(255,255,255,.04); color: var(--ink2); cursor: pointer;
 display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.mod-modal-close:hover { background: rgba(255,107,107,.12); border-color: rgba(255,107,107,.3); color: var(--danger); }
.mod-modal-close svg { width: 16px; height: 16px; }
.mod-modal-body { padding: 22px 28px 28px; }
.mod-modal-body h3 {
 font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600;
 color: var(--accent); letter-spacing: 2px; text-transform: uppercase;
 margin: 18px 0 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(177,40,223,.12);
}
.mod-modal-body h3:first-child { margin-top: 0; }
.mod-modal-body p { font-size: 13.5px; color: var(--ink2); line-height: 1.65; }
.mod-cmd-list { display: flex; flex-direction: column; gap: 6px; }
.mod-cmd {
 font-family: 'JetBrains Mono', monospace; font-size: 12.5px;
 padding: 9px 14px; border-radius: 8px;
 background: rgba(177,40,223,.06); border: 1px solid rgba(177,40,223,.15);
 color: var(--ink); display: flex; align-items: center; gap: 8px;
}
.mod-cmd::before { content: '▸'; color: var(--accent); font-size: 10px; }
.mod-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* ---- MODULE PAGE TOOLBAR & DETAILS ---- */
.mod-toolbar { margin-bottom: 16px; }
.mod-search {
  display: inline-flex; align-items: center; gap: 8px;
  max-width: 280px; width: 100%;
  padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(0,0,0,.2);
}
.mod-search svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--ink4); display: block; }
.mod-search input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  color: var(--ink); font-size: 13px; outline: none;
}
.mod-tab-ico {
  width: 14px; height: 14px; display: inline-flex;
  align-items: center; justify-content: center;
  vertical-align: -2px; margin-right: 4px;
}
.mod-tab-ico svg { width: 14px; height: 14px; display: block; }
.tab-bar .tab-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.mod-empty { text-align: center; padding: 40px 16px; color: var(--ink4); font-size: 13px; }
.mod-pricing-box {
  padding: 14px 16px; border-radius: 12px; margin-bottom: 4px;
  background: rgba(177,40,223,.05); border: 1px solid rgba(177,40,223,.14);
}
.mod-pricing-intro {
  font-size: 12px; color: var(--ink3); margin: 0 0 10px;
}
.mod-plan-grid { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.mod-plan-row {
  display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center;
  padding: 6px 8px; border-radius: 8px; font-size: 13px;
}
.mod-plan-row.yes { background: rgba(52,211,153,.06); }
.mod-plan-row.no { background: rgba(255,255,255,.02); }
.mod-plan-ico { width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; }
.mod-plan-row.yes .mod-plan-ico { color: var(--good); }
.mod-plan-row.no .mod-plan-ico { color: var(--ink4); opacity: .55; }
.mod-plan-ico svg { width: 14px; height: 14px; display: block; }
.mod-plan-name { font-weight: 600; color: var(--ink); }
.mod-plan-row.no .mod-plan-name { color: var(--ink3); font-weight: 500; }
.mod-plan-status { font-size: 11px; color: var(--ink4); white-space: nowrap; }
.mod-plan-row.yes .mod-plan-status { color: var(--good); }
.mod-pricing-summary {
  font-size: 13px; color: var(--ink2); line-height: 1.5; margin: 0 0 10px;
}
.mod-pricing-summary strong { color: var(--ink); }
.mod-pricing-line {
  font-size: 13.5px; color: var(--ink2); line-height: 1.55; margin: 0 0 8px;
}
.mod-pricing-line:last-of-type { margin-bottom: 0; }
.mod-pricing-line strong { color: var(--ink); font-weight: 600; }
.mod-pricing-label {
  display: inline-block; min-width: 72px;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--accent);
  margin-right: 6px; vertical-align: 1px;
}
.mod-pricing-note {
  font-size: 11.5px; color: var(--ink4); margin: 10px 0 0; line-height: 1.45;
}
.mod-pricing-note a { color: var(--accent); text-decoration: none; }
.mod-pricing-note a:hover { text-decoration: underline; }
.mod-card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; justify-content: center; }
.mod-card-price { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--good); }
.mod-config-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.mod-config-item {
  padding: 12px 14px; border-radius: 10px;
  background: rgba(177,40,223,.04); border: 1px solid rgba(177,40,223,.12);
}
.mod-config-type { font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.mod-config-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.mod-config-hint { font-size: 11px; color: var(--ink4); margin-top: 4px; line-height: 1.4; }
.mod-config-empty { font-size: 13px; color: var(--ink3); line-height: 1.5; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---- PRICING ---- */
.price-grid-shell { position: relative; min-height: 200px; }
.price-grid-shell.is-blocked .price-grid { pointer-events: none; user-select: none; }
.price-grid-shell.is-blocked .price-card { opacity: 0.72; filter: saturate(0.75); }
.price-purchase-overlay {
 position: absolute; inset: 0; z-index: 8;
 display: flex; flex-direction: column; align-items: center; justify-content: center;
 pointer-events: none; padding: 12px;
}
.price-purchase-overlay[hidden] {
 display: none !important;
 pointer-events: none !important;
}
.price-purchase-overlay:not([hidden]) { pointer-events: auto; }
.price-purchase-ribbon {
 position: absolute; left: -8%; right: -8%; top: 38%;
 transform: rotate(-7deg);
 padding: 16px 20px;
 text-align: center;
 font-family: 'Space Grotesk', sans-serif; font-weight: 700;
 font-size: clamp(17px, 2.8vw, 26px); letter-spacing: 0.08em; text-transform: uppercase;
 color: #03131d;
 background: linear-gradient(105deg, var(--accent), #a78bfa 55%, var(--accent));
 border: 2px solid rgba(255,255,255,0.35);
 box-shadow: 0 14px 48px rgba(0,0,0,0.45);
 z-index: 2;
}
.price-purchase-panel {
 position: relative; z-index: 3; margin-top: auto; margin-bottom: 6%;
 max-width: 440px; width: 100%;
 padding: 18px 20px; border-radius: var(--rl);
 background: rgba(8,12,18,0.92); border: 1px solid var(--line);
 backdrop-filter: blur(10px); text-align: center;
}
.price-purchase-panel-msg { font-size: 13px; color: var(--ink2); line-height: 1.55; margin: 0 0 14px; }
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: start; }
.price-card {
 padding: 30px; border-radius: var(--rl);
 background: linear-gradient(160deg, var(--surface), var(--surface2));
 border: 1px solid var(--line); position: relative;
 transition: border-color .2s, box-shadow .22s, transform .28s cubic-bezier(.22,1,.36,1);
}
.price-card:hover { transform: translateY(-5px); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 16px 50px -16px var(--aglow); }
.price-badge {
 position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
 font-family: 'JetBrains Mono', monospace; font-size: 10px;
 background: var(--accent); color: #03131d;
 padding: 4px 16px; border-radius: 999px; letter-spacing: 1.5px; white-space: nowrap;
}
.price-tier { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink3); letter-spacing: 3px; margin-bottom: 12px; text-transform: uppercase; }
.price-amount { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 52px; line-height: 1; margin-bottom: 4px; display: flex; align-items: flex-start; gap: 2px; }
.price-cur { font-size: 24px; margin-top: 8px; }
.price-mo { font-size: 13px; color: var(--ink3); margin-bottom: 22px; }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price-feats li { font-size: 13px; color: var(--ink2); display: flex; gap: 10px; align-items: flex-start; }
.pf-ok { color: var(--good); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; }
.onyx-ico-after { display: inline-flex; align-items: center; margin-left: 6px; vertical-align: middle; }
[data-onyx-icon-after] { display: inline-flex; align-items: center; gap: 6px; }
.btn-discord { gap: 10px; }
.btn[data-onyx-icon-after] { justify-content: center; }
.hub-ico-btn { display: inline-flex; align-items: center; gap: 6px; }
.hub-ico-btn [data-onyx-icon] { display: inline-flex; color: inherit; }
.onyx-ico-filled { flex-shrink: 0; }
.onyx-ico-discord, .btn-discord [data-onyx-icon] { color: #5865F2; }
.btn-discord:hover [data-onyx-icon] { color: #fff; }
.onyx-status-label { display: inline-flex; align-items: center; gap: 6px; }
.onyx-status-label span { line-height: 1; }
.toast { display: flex; align-items: center; gap: 8px; }
.toast .onyx-ico-svg { flex-shrink: 0; }
.faq-chevron { display: inline-flex; align-items: center; justify-content: center; transition: transform .25s; color: var(--ink4); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.pf-no { color: var(--ink4); flex-shrink: 0; font-size: 12px; }
.price-divider { border: none; border-top: 1px solid var(--line); margin: 18px 0; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; }
.faq-list {
 padding: 8px 20px;
 border-radius: var(--rll);
 background: linear-gradient(160deg, rgba(17, 21, 30, 0.65), rgba(12, 16, 24, 0.5));
 border: 1px solid var(--line);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: none; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
 display: flex; justify-content: space-between; align-items: center;
 padding: 20px 0; cursor: pointer; gap: 16px;
 font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px;
 color: var(--ink); transition: color .15s; user-select: none;
}
.faq-q:hover { color: var(--accent); }
.faq-chevron {
 width: 26px; height: 26px; border-radius: 7px;
 background: var(--surface); border: 1px solid var(--line);
 display: flex; align-items: center; justify-content: center;
 flex-shrink: 0; font-size: 11px; color: var(--ink3);
 transition: transform .28s cubic-bezier(.22,1,.36,1), background .15s, border-color .15s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--adim); border-color: var(--accent); color: var(--accent); }
.faq-body { overflow: hidden; max-height: 0; transition: max-height .38s cubic-bezier(.22,1,.36,1); }
.faq-item.open .faq-body { max-height: 400px; }
.faq-body-inner { padding: 0 0 20px; font-size: 14px; color: var(--ink3); line-height: 1.75; }

/* ---- PAGE HERO (for sub-pages) ---- */
.page-hero {
 padding: 64px 0 48px;
 position: relative;
 overflow: hidden;
}
.page-hero::before {
 content: '';
 position: absolute;
 left: 50%;
 top: -30%;
 width: 130%;
 height: 160%;
 transform: translateX(-50%);
 background: radial-gradient(ellipse 60% 55% at 50% 35%, rgba(79, 195, 255, 0.16), transparent 70%);
 pointer-events: none;
 z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: var(--ink3); max-width: 560px; }

/* Halbtransparente Bänder · Sterne/Glow bleiben sichtbar (wie Startseite) */
.page-band {
 background: linear-gradient(
 180deg,
 rgba(12, 16, 24, 0.45) 0%,
 rgba(17, 22, 32, 0.72) 50%,
 rgba(12, 16, 24, 0.45) 100%
 );
 border-top: 1px solid var(--line);
 border-bottom: 1px solid var(--line);
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
}
main > section { position: relative; z-index: 1; }

/* ---- LEGAL PAGES (see also inline block in legal HTML) ---- */
.legal-page-hero { padding: 64px 0 40px; }
.legal-page-hero h1 { font-size: clamp(32px, 5vw, 56px) !important; }
.legal-section { padding: 0 0 96px; }
.legal-content {
 max-width: 800px;
 margin: 0 auto;
 padding: 40px 36px;
 border-radius: var(--rl);
}
.legal-content h2 {
 font-family: 'Space Grotesk', sans-serif;
 font-size: 1.05rem !important;
 font-weight: 600;
 line-height: 1.35 !important;
 letter-spacing: 0;
 margin: 28px 0 10px;
 color: var(--accent);
}
.legal-meta { font-size: 13px; color: var(--ink3); margin-bottom: 20px; }
.legal-content p, .legal-content li { font-size: 14px; line-height: 1.75; color: var(--ink2); margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content a { color: var(--accent); }
.legal-table-wrap { overflow-x: auto; margin: 16px 0 20px; }
.legal-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13px; }
.legal-table th, .legal-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink2); vertical-align: top; }
.legal-table th { color: var(--ink3); font-weight: 500; }
.legal-nav-links { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink3); }
body.light .legal-content.glass { background: rgba(240,244,250,.88); border-color: rgba(0,0,0,.07); }

/* ---- FOOTER (glass) ---- */
footer {
 border-top: 1px solid transparent;
 padding: 56px 36px 36px;
 background: transparent;
 position: relative; overflow: hidden;
 z-index: 1;
}
footer::before {
 content: 'CUPH';
 position: absolute; right: -20px; bottom: -40px;
 font-family: 'Space Grotesk', sans-serif; font-weight: 700;
 font-size: 180px; letter-spacing: 10px; color: var(--ink);
 opacity: .02; pointer-events: none; user-select: none;
}
.footer-inner {
 max-width: 1280px; margin: 0 auto;
 display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 16px;
}
.footer-brand,
.footer-col {
 padding: 22px 20px;
 border-radius: var(--rl);
 background: rgba(18, 16, 28, 0.55);
 backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
 border: 1px solid rgba(255, 255, 255, 0.08);
 box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
body.light .footer-brand,
body.light .footer-col {
 background: rgba(255,255,255,.72);
 border-color: rgba(0,0,0,.08);
 box-shadow: 0 10px 30px rgba(80,40,120,.06);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 0 14px var(--aglow)); background: transparent; }
.footer-brand .name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 5px; }
.footer-brand p { font-size: 13px; color: var(--ink3); line-height: 1.65; max-width: 260px; }
.footer-col h4 {
 font-family: 'JetBrains Mono', monospace; font-size: 10px;
 color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 13px; color: var(--ink3); text-decoration: none; margin-bottom: 10px; transition: color .15s, transform .15s; }
.footer-col a:last-child { margin-bottom: 0; }
.footer-col a:hover { color: var(--accent); transform: translateX(2px); }
.footer-bottom {
 max-width: 1280px; margin: 16px auto 0;
 padding: 16px 20px;
 border-radius: var(--r);
 background: rgba(18, 16, 28, 0.4);
 backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
 border: 1px solid rgba(255,255,255,.06);
 display: flex; justify-content: space-between; align-items: center;
 font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink4);
 flex-wrap: wrap; gap: 10px;
}
body.light .footer-bottom { background: rgba(255,255,255,.55); border-color: rgba(0,0,0,.06); }

/* Shared glass panels */
.glass-panel {
 padding: 22px 20px;
 border-radius: var(--rl);
 background: rgba(18, 16, 28, 0.55);
 backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
 border: 1px solid rgba(255, 255, 255, 0.08);
 box-shadow: 0 10px 40px rgba(0,0,0,.22);
}
body.light .glass-panel {
 background: rgba(255,255,255,.72);
 border-color: rgba(0,0,0,.08);
}

.nav-logo { background: transparent !important; mix-blend-mode: normal; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
 .hero-top { grid-template-columns: 1fr; gap: 40px; }
 .hero-visual { display: none; }
 .svc-grid, .price-grid { grid-template-columns: 1fr 1fr; }
 .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
 .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(120px, auto); }
 .bento-tile.span1,
 .bento-tile.span2,
 .bento-tile.span3,
 .bento-tile.span4,
 .bento-tile.span5,
 .bento-tile.span6 { grid-column: span 1; }
 .bento-tile.row2 { grid-row: span 1; min-height: 120px; }
 .bento-tile.span2.md-wide,
 .bento-tile.span3.md-wide,
 .bento-tile.span4.md-wide { grid-column: span 2; }
}
@media (max-width: 768px) {
 .svc-grid, .price-grid, .feat-grid { grid-template-columns: 1fr; }
 .bento { grid-template-columns: 1fr; }
 .bento-tile.span1,
 .bento-tile.span2,
 .bento-tile.span3,
 .bento-tile.span4,
 .bento-tile.span5,
 .bento-tile.span6,
 .bento-tile.md-wide { grid-column: span 1 !important; }
 .hero-stats { grid-template-columns: repeat(2,1fr); }
 .hstat:nth-child(2) { border-right: none; }
 .hstat:nth-child(3) { border-top: 1px solid var(--line); }
 .tl-wrap::before { left: 18px; }
 .tl-item { grid-template-columns: 28px 1fr; }
 .tl-item .tl-empty { display: none; }
 .tl-item .tl-card { grid-column: 2; }
 .tl-center { flex-direction: row; gap: 10px; padding-top: 20px; grid-column: 1; grid-row: 1; }
 .tl-date { display: none; }
 .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
 .nav-links { display: none; }
 .mobile-dock { display: block; }
 .topnav .nav-actions .btn-sm { padding: 7px 12px; font-size: 12px; }
}
@media (max-width: 560px) {
 .container { padding: 0 20px; }
 section { padding: 64px 0; }
 .bento { grid-template-columns: 1fr; }
 .hero-stats { grid-template-columns: repeat(2,1fr); }
 .footer-inner { grid-template-columns: 1fr; }
 .topnav { padding: 0 16px; }
 footer::before { font-size: 90px; }
 .auth-body, .auth-hero { padding-left: 18px; padding-right: 18px; }
}

/* ---- Cookie consent (Cuph glass) ---- */
#cuph-cookie-overlay {
 position: fixed;
 inset: 0;
 z-index: 10000;
 background: rgba(4, 4, 10, 0.72);
 backdrop-filter: blur(8px);
 -webkit-backdrop-filter: blur(8px);
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: flex-end;
 padding: 20px 16px 24px;
 animation: cuph-cookie-fade 0.35s ease-out;
}
#cuph-cookie-overlay.cuph-cookie-hide {
 opacity: 0;
 pointer-events: none;
 transition: opacity 0.28s ease;
}
@keyframes cuph-cookie-fade {
 from { opacity: 0; }
 to { opacity: 1; }
}
.cuph-cookie-require {
 flex: 1;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 text-align: center;
 padding: 24px 12px;
 pointer-events: none;
}
.cuph-cookie-require-ico {
 width: 56px; height: 56px; border-radius: 16px;
 display: grid; place-items: center;
 background: rgba(177,40,223,.18);
 border: 1px solid rgba(177,40,223,.35);
 color: var(--accent);
 margin-bottom: 16px;
 box-shadow: 0 0 30px rgba(177,40,223,.25);
}
.cuph-cookie-require h2 {
 font-family: 'Space Grotesk', sans-serif;
 font-size: clamp(1.2rem, 3vw, 1.6rem);
 color: var(--accent);
 margin: 0 0 8px;
}
.cuph-cookie-require p {
 color: var(--ink2);
 font-size: 14px;
 max-width: 360px;
 margin: 0;
}
.cuph-cookie-require-arrow {
 margin-top: 18px;
 color: var(--accent);
 opacity: .85;
 animation: cuph-cookie-bounce 1.4s ease-in-out infinite;
}
@keyframes cuph-cookie-bounce {
 0%,100% { transform: translateY(0); }
 50% { transform: translateY(6px); }
}

#cuph-cookie-banner {
 width: min(980px, 100%);
 padding: 20px 22px;
 border-radius: var(--rl);
 border: 1px solid rgba(177,40,223,.28);
 background: rgba(14, 12, 22, 0.82);
 backdrop-filter: blur(24px);
 -webkit-backdrop-filter: blur(24px);
 box-shadow: 0 20px 60px rgba(0,0,0,.55), 0 0 40px rgba(177,40,223,.12);
 display: grid;
 grid-template-columns: 1fr auto;
 gap: 18px 20px;
 align-items: center;
 animation: cuph-cookie-pop 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cuph-cookie-pop {
 from { opacity: 0; transform: translateY(18px); }
 to { opacity: 1; transform: translateY(0); }
}
.cuph-cookie-banner-main {
 display: flex;
 gap: 14px;
 align-items: flex-start;
}
.cuph-cookie-shield {
 width: 44px; height: 44px; flex-shrink: 0;
 border-radius: 12px;
 display: grid; place-items: center;
 background: rgba(177,40,223,.16);
 border: 1px solid rgba(177,40,223,.3);
 color: var(--accent);
}
.cuph-cookie-title {
 font-family: 'Space Grotesk', sans-serif;
 font-size: 16px;
 font-weight: 700;
 margin: 0 0 6px;
 color: var(--accent);
}
.cuph-cookie-text {
 font-size: 13px;
 line-height: 1.55;
 color: var(--ink2);
 margin: 0;
 max-width: 56ch;
}
.cuph-cookie-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 justify-content: flex-end;
}
.cuph-cookie-actions .btn {
 white-space: nowrap;
}
.cuph-cookie-btn-reject {
 background: rgba(255, 80, 80, .16) !important;
 border-color: rgba(255, 100, 100, .4) !important;
 color: #ff8a8a !important;
}
.cuph-cookie-btn-reject:hover {
 background: rgba(255, 80, 80, .28) !important;
}
.cuph-cookie-btn-accept {
 background: linear-gradient(135deg, #B128DF, #8b5cf6) !important;
 border: none !important;
 color: #fff !important;
 box-shadow: 0 8px 22px rgba(177,40,223,.35);
}
@media (max-width: 760px) {
 #cuph-cookie-banner {
  grid-template-columns: 1fr;
 }
 .cuph-cookie-actions {
  justify-content: stretch;
 }
 .cuph-cookie-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
 }
}

.cuph-cookie-settings {
 position: fixed;
 inset: 0;
 z-index: 10001;
 background: rgba(0, 0, 0, 0.6);
 backdrop-filter: blur(6px);
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 20px;
}
.cuph-cookie-settings-box {
 width: min(520px, 100%);
 padding: 22px;
 border-radius: var(--rl);
 border: 1px solid rgba(177,40,223,.25);
 background: rgba(14, 12, 22, 0.92);
 backdrop-filter: blur(24px);
 box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
body.light .cuph-cookie-settings-box,
body.light #cuph-cookie-banner {
 background: rgba(255,255,255,.9);
 border-color: rgba(0,0,0,.1);
}
.cuph-cookie-settings-head {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 margin-bottom: 18px;
}
.cuph-cookie-settings-head h3 {
 margin: 0;
 font-size: 1.15rem;
 font-family: 'Space Grotesk', sans-serif;
}
.cuph-cookie-settings-head p {
 margin: 4px 0 0;
 font-size: 12px;
 color: var(--ink3);
}
.cuph-cookie-row {
 display: flex;
 gap: 12px;
 align-items: flex-start;
 padding: 14px;
 border-radius: var(--r);
 border: 1px solid rgba(255,255,255,.08);
 background: rgba(255,255,255,.03);
 margin-bottom: 10px;
}
.cuph-cookie-row-ico {
 width: 40px; height: 40px; flex-shrink: 0;
 border-radius: 12px;
 display: grid; place-items: center;
}
.cuph-cookie-row-ico.good {
 background: rgba(95,207,139,.12);
 color: var(--good);
 border: 1px solid rgba(95,207,139,.3);
}
.cuph-cookie-row-ico.accent {
 background: rgba(177,40,223,.14);
 color: var(--accent);
 border: 1px solid rgba(177,40,223,.3);
}
.cuph-cookie-row h4 {
 margin: 0 0 4px;
 font-size: 14px;
}
.cuph-cookie-row p {
 margin: 0;
 font-size: 12px;
 color: var(--ink3);
 line-height: 1.5;
}
.cuph-cookie-row-body { flex: 1; }
.cuph-cookie-always {
 font-size: 11px;
 padding: 5px 10px;
 border-radius: 999px;
 background: rgba(95,207,139,.12);
 color: var(--good);
 border: 1px solid rgba(95,207,139,.3);
 white-space: nowrap;
}
.cuph-cookie-detail {
 margin-top: 10px;
 padding: 10px 12px;
 border-radius: 10px;
 background: rgba(177,40,223,.08);
 border: 1px solid rgba(177,40,223,.18);
 font-size: 12px;
 color: var(--ink2);
 line-height: 1.55;
}
.cuph-cookie-privacy-note {
 display: flex;
 gap: 10px;
 align-items: flex-start;
 margin-top: 12px;
 padding: 12px;
 border-radius: var(--r);
 border: 1px solid rgba(177,40,223,.2);
 background: rgba(177,40,223,.08);
 font-size: 12px;
 color: var(--ink2);
}
.cuph-cookie-privacy-note a { color: var(--accent); }
.cuph-cookie-settings-actions {
 display: flex;
 justify-content: flex-end;
 gap: 8px;
 margin-top: 16px;
}

/* ── Platform feed (Status, Informationen, Changelog) ── */
.ops-platform-section { padding: 72px 0 40px; }

/* Status hero card */
.ops-status-card {
 position: relative; margin-bottom: 16px; border-radius: 20px; overflow: hidden;
 border: 1px solid rgba(177,40,223,.22);
 background: linear-gradient(145deg, rgba(177,40,223,.07) 0%, rgba(8,10,16,.92) 55%);
 box-shadow: 0 16px 48px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
}
.ops-status-card.degraded { border-color: rgba(255,179,71,.32); background: linear-gradient(145deg, rgba(255,179,71,.08) 0%, rgba(8,10,16,.92) 55%); }
.ops-status-card.outage { border-color: rgba(255,92,122,.35); background: linear-gradient(145deg, rgba(255,92,122,.09) 0%, rgba(8,10,16,.92) 55%); }
.ops-status-card.compact { border-radius: 16px; margin-bottom: 14px; }
.ops-status-glow {
 position: absolute; top: -40%; right: -10%; width: 280px; height: 280px; pointer-events: none;
 background: radial-gradient(circle, rgba(177,40,223,.14) 0%, transparent 70%);
}
.ops-status-card.degraded .ops-status-glow { background: radial-gradient(circle, rgba(255,179,71,.12) 0%, transparent 70%); }
.ops-status-card.outage .ops-status-glow { background: radial-gradient(circle, rgba(255,92,122,.12) 0%, transparent 70%); }
.ops-status-inner {
 position: relative; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
 padding: 20px 22px;
}
.ops-status-card.compact .ops-status-inner { padding: 16px 18px; gap: 14px; }
.ops-status-brand { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 200px; }
.ops-status-pulse { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.ops-status-card.compact .ops-status-pulse { width: 40px; height: 40px; }
.ops-status-pulse::before, .ops-status-pulse::after {
 content: ''; position: absolute; inset: 0; border-radius: 50%;
 border: 1px solid rgba(177,40,223,.35); animation: ops-pulse 2.4s ease-out infinite;
}
.ops-status-pulse::after { animation-delay: .8s; }
.ops-dot {
 position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
 border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent);
}
.ops-status-card.degraded .ops-dot { background: #ffb347; box-shadow: 0 0 16px #ffb347; }
.ops-status-card.outage .ops-dot { background: #ff5c7a; box-shadow: 0 0 16px #ff5c7a; }
@keyframes ops-pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.ops-status-label { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.ops-status-card.compact .ops-status-label { font-size: 17px; }
.ops-status-sub { font-size: 12px; color: var(--ink3); margin-top: 4px; line-height: 1.45; max-width: 420px; }
.ops-status-tiles { display: flex; gap: 10px; flex-wrap: wrap; }
.ops-status-tile {
 min-width: 72px; padding: 10px 14px; border-radius: 12px; text-align: center;
 background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06);
 backdrop-filter: blur(8px);
}
.ops-status-tile.accent { border-color: rgba(177,40,223,.22); background: rgba(177,40,223,.06); }
.ops-tile-val {
 display: block; font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700;
 color: var(--ink1); font-variant-numeric: tabular-nums; line-height: 1.2;
}
.ops-tile-val.ops-tile-sm { font-size: 12px; font-weight: 600; }
.ops-status-tile.accent .ops-tile-val { color: var(--accent); }
.ops-tile-lbl { font-size: 8px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink4); margin-top: 2px; display: block; }
.ops-status-cta {
 font-size: 12px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap;
 padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(177,40,223,.28);
 background: rgba(177,40,223,.08); transition: .2s;
}
.ops-status-cta:hover { background: rgba(177,40,223,.16); border-color: rgba(177,40,223,.45); transform: translateY(-1px); }

/* Feed panels */
.ops-feed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hub-feed-grid { margin-bottom: 14px; }
.ops-feed-panel {
 background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
 box-shadow: 0 8px 32px rgba(0,0,0,.22);
 display: flex; flex-direction: column; min-height: 0;
}
.ops-feed-head {
 padding: 14px 16px; font-size: 13px; font-weight: 700; letter-spacing: .3px;
 border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px;
 background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.ops-feed-icon { font-size: 15px; margin-right: 4px; }
.ops-feed-body {
 padding: 12px; max-height: 380px; overflow-y: auto; flex: 1;
 scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent;
}
.ops-feed-cards { display: flex; flex-direction: column; gap: 10px; }

/* Individual feed cards */
.ops-feed-card {
 padding: 14px 14px 12px; border-radius: 14px;
 background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(0,0,0,.15) 100%);
 border: 1px solid rgba(255,255,255,.07);
 animation: ops-card-in .45s ease backwards;
 transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ops-feed-card:hover {
 border-color: rgba(177,40,223,.18);
 box-shadow: 0 6px 20px rgba(0,0,0,.25);
 transform: translateY(-1px);
}
.ops-cl-card.expanded { border-color: rgba(177,40,223,.25); background: linear-gradient(160deg, rgba(177,40,223,.05) 0%, rgba(0,0,0,.2) 100%); }
@keyframes ops-card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ops-feed-card-top {
 display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap;
}
.ops-feed-card-top time { margin-left: auto; font-size: 10px; color: var(--ink4); font-variant-numeric: tabular-nums; }
.ops-feed-card-title { font-size: 14px; font-weight: 650; margin: 0 0 6px; line-height: 1.35; color: var(--ink1); }
.ops-feed-card-body { font-size: 12px; color: var(--ink3); line-height: 1.55; margin: 0; }
.ops-cl-version {
 font-size: 10px; font-weight: 700; color: var(--ink3); padding: 3px 7px; border-radius: 6px;
 background: rgba(255,255,255,.04); border: 1px solid var(--line); font-variant-numeric: tabular-nums;
}
.ops-cl-toggle {
 margin-top: 10px; padding: 0; border: none; background: none; cursor: pointer;
 font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: .2px;
 transition: opacity .15s;
}
.ops-cl-toggle:hover { opacity: .8; text-decoration: underline; }
.ops-cl-full { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06); }
.ops-cl-section { margin-bottom: 10px; }
.ops-cl-section:last-child { margin-bottom: 0; }
.ops-cl-section-label {
 display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
 padding: 3px 7px; border-radius: 5px; margin-bottom: 6px;
}
.ops-cl-section-body { font-size: 12px; color: var(--ink3); line-height: 1.55; }

/* Empty states */
.ops-empty-state {
 text-align: center; padding: 28px 16px 24px;
 border-radius: 14px; border: 1px dashed rgba(255,255,255,.08);
 background: rgba(0,0,0,.12);
}
.ops-empty-icon { font-size: 28px; margin-bottom: 10px; opacity: .85; filter: grayscale(.2); }
.ops-empty-title { font-size: 13px; font-weight: 600; color: var(--ink2); margin: 0 0 6px; }
.ops-empty-sub { font-size: 11px; color: var(--ink4); margin: 0; line-height: 1.5; max-width: 260px; margin-inline: auto; }
.ops-feed-empty { font-size: 12px; color: var(--ink4); padding: 12px 0; margin: 0; }

/* Tags & badges */
.ops-tag, .ops-cl-badge {
 display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700;
 letter-spacing: .6px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px;
}
.ops-cl-kind { opacity: .85; font-size: 10px; }
.tag-feature { color: #7dd4ff; background: rgba(177,40,223,.12); border: 1px solid rgba(177,40,223,.25); }
.tag-improve { color: #c4a8ff; background: rgba(168,140,255,.12); border: 1px solid rgba(168,140,255,.25); }
.tag-fix { color: #7dffb8; background: rgba(95,207,139,.1); border: 1px solid rgba(95,207,139,.25); }
.tag-info { color: var(--ink2); background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.cl-added { color: #7dffb8; background: rgba(95,207,139,.1); border: 1px solid rgba(95,207,139,.25); }
.cl-changed { color: #7dd4ff; background: rgba(177,40,223,.1); border: 1px solid rgba(177,40,223,.22); }
.cl-fixed { color: #ffb347; background: rgba(255,179,71,.1); border: 1px solid rgba(255,179,71,.25); }
.cl-removed { color: #ff8fa3; background: rgba(255,92,122,.1); border: 1px solid rgba(255,92,122,.22); }
.cl-planned { color: #c4a8ff; background: rgba(168,140,255,.1); border: 1px solid rgba(168,140,255,.25); }
.cl-security { color: #ffb347; background: rgba(255,179,71,.12); border: 1px solid rgba(255,179,71,.28); }
.cl-breaking { color: #ff6b6b; background: rgba(255,107,107,.12); border: 1px solid rgba(255,107,107,.3); }
.cl-notes { color: var(--ink2); background: rgba(255,255,255,.05); border: 1px solid var(--line); }

@media (max-width: 900px) {
 .ops-feed-grid, .hub-feed-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
 .ops-status-inner { flex-direction: column; align-items: stretch; }
 .ops-status-tiles { width: 100%; justify-content: space-between; }
 .ops-status-cta { align-self: flex-start; }
}

/* ── Founder banner, segments, steps (Landing) ── */
.founder-banner {
 padding: 0 0 8px;
}
.founder-banner-inner {
 display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
 padding: 18px 22px; border-radius: 18px;
 border: 1px solid rgba(245,176,79,.35);
 background: linear-gradient(135deg, rgba(245,176,79,.12) 0%, rgba(177,40,223,.06) 100%);
 box-shadow: 0 8px 32px rgba(245,176,79,.08);
}
.founder-banner-inner.sold-out { border-color: var(--line); background: var(--surface); opacity: .85; }
.founder-banner-val {
 font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--gold);
 line-height: 1;
}
.founder-banner-meta { font-size: 13px; color: var(--ink3); margin-top: 6px; max-width: 520px; }
.segment-section { padding: 56px 0 24px; }
.segment-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.segment-card {
 display: block; text-decoration: none; color: inherit;
 padding: 22px 20px; border-radius: var(--rl);
 border: 1px solid var(--line); background: var(--surface);
 transition: border-color .2s, transform .2s, box-shadow .2s;
}
.segment-card:hover {
 border-color: rgba(177,40,223,.45); transform: translateY(-3px);
 box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.segment-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; margin-bottom: 8px; }
.segment-card p { font-size: 13px; color: var(--ink3); margin: 0 0 12px; line-height: 1.5; }
.segment-card-cta { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; }
.how-section { padding: 56px 0 72px; }
.steps-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.step-card {
 padding: 24px 20px; border-radius: var(--rl);
 border: 1px solid var(--line); background: var(--surface);
 position: relative; overflow: hidden;
}
.step-card-num {
 font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 2px;
 color: var(--accent); margin-bottom: 12px;
}
.step-card-icon {
 width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
 background: rgba(177,40,223,.1); border: 1px solid rgba(177,40,223,.25); color: var(--accent);
 margin-bottom: 14px; font-size: 20px;
}
.step-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--ink3); margin: 0; line-height: 1.55; }
.testimonial-strip {
 margin-top: 32px; padding: 20px 24px; border-radius: var(--rl);
 border: 1px solid var(--line); background: rgba(177,40,223,.04);
 text-align: center;
}
.testimonial-strip blockquote {
 font-size: 15px; color: var(--ink2); font-style: italic; margin: 0 0 10px; line-height: 1.6;
}
.testimonial-strip cite { font-size: 12px; color: var(--ink4); font-style: normal; }

/* ── Hub: live status + presets ── */
.bd-live-status {
 margin-bottom: 16px; padding: 16px 18px; border-radius: 16px;
 border: 1px solid var(--line); background: var(--surface);
 display: grid; gap: 12px;
}
.bd-live-status-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bd-live-status-head .status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.bd-live-status-head .status-dot.online { background: var(--good); box-shadow: 0 0 8px rgba(74,222,128,.5); }
.bd-live-status-head .status-dot.offline { background: var(--ink4); }
.bd-live-status-label { font-weight: 600; font-size: 15px; }
.bd-live-status-sub { font-size: 12px; color: var(--ink3); }
.bd-live-modules { display: flex; flex-wrap: wrap; gap: 6px; }
.bd-live-mod-chip {
 font-size: 10px; padding: 4px 8px; border-radius: 999px;
 background: rgba(177,40,223,.1); border: 1px solid rgba(177,40,223,.22); color: var(--accent);
}
.bd-live-error {
 font-size: 11px; color: #ffb347; font-family: 'JetBrains Mono', monospace;
 padding: 8px 10px; border-radius: 8px; background: rgba(255,179,71,.08); border: 1px solid rgba(255,179,71,.2);
 word-break: break-word;
}
.bd-preset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.bd-preset-btn {
 text-align: left; padding: 14px 16px; border-radius: 12px;
 border: 1px solid var(--line); background: var(--bg2); cursor: pointer;
 transition: border-color .15s, background .15s;
}
.bd-preset-btn:hover { border-color: rgba(177,40,223,.4); background: rgba(177,40,223,.06); }
.bd-preset-btn strong { display: block; font-size: 13px; margin-bottom: 4px; }
.bd-preset-btn span { font-size: 11px; color: var(--ink4); line-height: 1.4; }
.bd-mod-segment-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.bd-mod-segment-tabs button {
 font-size: 11px; padding: 6px 12px; border-radius: 999px;
 border: 1px solid var(--line); background: transparent; color: var(--ink3); cursor: pointer;
}
.bd-mod-segment-tabs button.active {
 border-color: rgba(177,40,223,.45); color: var(--accent); background: rgba(177,40,223,.08);
}
.setup-intent-hint {
 margin: 0 20px 16px; padding: 12px 14px; border-radius: 10px; font-size: 12px; line-height: 1.5;
 color: var(--gold); background: rgba(245,176,79,.08); border: 1px solid rgba(245,176,79,.25);
}

@media (max-width: 900px) {
 .segment-grid, .steps-grid { grid-template-columns: 1fr; }
 .founder-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ---- CUPH modern glow accents ---- */
.btn-glow {
 background: linear-gradient(105deg, #B128DF, #FF8C00, #B128DF) !important;
 background-size: 200% 200% !important;
 animation: cuph-btn-glow 3.5s ease-in-out infinite;
 border: none !important;
 color: #fff !important;
 box-shadow: 0 8px 24px rgba(177,40,223,.35), 0 0 18px rgba(255,179,0,.18);
}
@keyframes cuph-btn-glow {
 0%,100% { background-position: 0% 50%; }
 50% { background-position: 100% 50%; }
}
/* .grad-text defined once near top — do not override here */
.topnav .nav-links a.active {
 color: #fff;
 background: linear-gradient(120deg, rgba(177,40,223,.35), rgba(255,179,0,.25));
 border: 1px solid rgba(255,179,0,.25);
}

/* ---- CUPH AI widget ---- */
#cuph-ai-root {
 position: fixed; right: 18px; bottom: 18px; z-index: 9800;
 font-family: Inter, system-ui, sans-serif;
}
#cuph-ai-fab {
 display: inline-flex; align-items: center; gap: 8px;
 padding: 12px 16px 12px 14px; border-radius: 999px;
 border: 1px solid rgba(255,255,255,.12);
 background: rgba(18,16,28,.72);
 backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
 color: #fff; cursor: pointer;
 box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 24px rgba(177,40,223,.25);
 transition: transform .2s, box-shadow .2s, border-color .2s;
}
#cuph-ai-fab:hover {
 transform: translateY(-2px);
 border-color: rgba(177,40,223,.45);
 box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 32px rgba(255,179,0,.2);
}
.cuph-ai-fab-ico { display: inline-flex; color: var(--gold, #FFB300); }
.cuph-ai-fab-label {
 font-family: 'Space Grotesk', sans-serif; font-weight: 700;
 letter-spacing: 2px; font-size: 12px;
}
#cuph-ai-panel {
 position: absolute; right: 0; bottom: 64px;
 width: min(380px, calc(100vw - 28px));
 height: min(520px, calc(100vh - 100px));
 display: flex; flex-direction: column;
 border-radius: 18px;
 border: 1px solid rgba(255,255,255,.1);
 background: rgba(14,12,22,.88);
 backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
 box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 40px rgba(177,40,223,.12);
 overflow: hidden;
 animation: cuph-ai-in .28s cubic-bezier(.22,1,.36,1);
}
#cuph-ai-panel[hidden] { display: none !important; }
@keyframes cuph-ai-in {
 from { opacity: 0; transform: translateY(12px) scale(.98); }
 to { opacity: 1; transform: none; }
}
.cuph-ai-head {
 display: flex; align-items: center; justify-content: space-between;
 padding: 14px 14px 12px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.cuph-ai-head-left { display: flex; align-items: center; gap: 10px; }
.cuph-ai-head-left img { filter: drop-shadow(0 0 10px rgba(177,40,223,.45)); }
.cuph-ai-head-left strong {
 display: block; font-family: 'Space Grotesk', sans-serif;
 font-size: 14px; letter-spacing: 1px;
}
.cuph-ai-sub { display: block; font-size: 11px; color: var(--ink3, #9a93ad); margin-top: 2px; }
.cuph-ai-x {
 width: 32px; height: 32px; border-radius: 10px;
 border: 1px solid rgba(255,255,255,.08); background: transparent;
 color: var(--ink3, #9a93ad); cursor: pointer; display: inline-flex;
 align-items: center; justify-content: center;
}
.cuph-ai-x:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.cuph-ai-msgs {
 flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.cuph-ai-msg {
 max-width: 92%; padding: 10px 12px; border-radius: 14px;
 font-size: 13px; line-height: 1.5; white-space: pre-wrap; word-break: break-word;
}
.cuph-ai-msg.bot {
 align-self: flex-start;
 background: rgba(255,255,255,.05);
 border: 1px solid rgba(255,255,255,.06);
 color: #e8e4f0;
}
.cuph-ai-msg.user {
 align-self: flex-end;
 background: linear-gradient(135deg, rgba(177,40,223,.35), rgba(255,179,0,.18));
 border: 1px solid rgba(177,40,223,.35);
 color: #fff;
}
.cuph-ai-msg.typing { opacity: .55; }
.cuph-ai-quick {
 display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px;
}
.cuph-ai-chip {
 border: 1px solid rgba(255,255,255,.1);
 background: rgba(255,255,255,.04); color: #d8d2e6;
 border-radius: 999px; padding: 6px 10px; font-size: 11px; cursor: pointer;
 transition: border-color .15s, background .15s;
}
.cuph-ai-chip:hover { border-color: rgba(177,40,223,.45); background: rgba(177,40,223,.12); }
.cuph-ai-form {
 display: flex; gap: 8px; padding: 10px 12px 12px;
 border-top: 1px solid rgba(255,255,255,.06);
}
.cuph-ai-form input {
 flex: 1; border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
 background: rgba(0,0,0,.28); color: #fff; padding: 11px 12px; font-size: 13px; outline: none;
}
.cuph-ai-form input:focus { border-color: rgba(177,40,223,.5); }
.cuph-ai-form button {
 width: 42px; border-radius: 12px; border: none; cursor: pointer;
 background: linear-gradient(135deg, #B128DF, #FF8C00); color: #fff;
 display: inline-flex; align-items: center; justify-content: center;
}
body.light #cuph-ai-fab,
body.light #cuph-ai-panel {
 background: rgba(255,255,255,.88); color: #1a1520;
 border-color: rgba(0,0,0,.08);
}
body.light .cuph-ai-msg.bot { background: rgba(0,0,0,.04); color: #2a2435; }
body.light .cuph-ai-form input { background: rgba(0,0,0,.04); color: #1a1520; }
body.light .cuph-ai-chip { color: #3a3348; background: rgba(0,0,0,.03); }
@media (max-width: 520px) {
 #cuph-ai-root { right: 12px; bottom: 12px; }
 #cuph-ai-panel { bottom: 58px; height: min(70vh, 520px); }
}
