/* ============================================================
   Consent Hub — Public / Marketing Design System
   Premium Agency Logic (Montserrat + Manrope)
   ============================================================ */

/* ---- Material Symbols — text skryt, nahrazuje JS polyfill SVG ---- */
.material-symbols-outlined {
  font-size: 0;
  line-height: 0;
  display: inline-block;
  vertical-align: middle;
  user-select: none;
}

/* ---- Tokens — výchozí: světlý režim ---- */
:root {
  --bg:           #f9f9f9;
  --bg2:          #f3f3f4;
  --bg3:          #eeeeee;
  --bg4:          #e8e8e8;
  --surface:      #ffffff;
  --border:       #e2e2e2;
  --border2:      #c6c5cf;
  --text:         #1a1c1c;
  --text2:        #45464e;
  --text3:        #76767f;
  --accent:       #bc0000;
  --accent2:      #e41f13;
  --accent-dim:   rgba(188,0,0,0.08);
  --navy:         #0f183f;
  --navy-text:    #bbc4f5;
  --green:        #16a34a;
  --green-dim:    rgba(22,163,74,0.10);
  --amber:        #d97706;
  --amber-dim:    rgba(217,119,6,0.10);
  --red:          #dc2626;
  --red-dim:      rgba(220,38,38,0.08);
  --purple:       #535c86;
  --purple-dim:   rgba(83,92,134,0.10);
  --shadow-soft:  0px 4px 12px rgba(10,20,59,0.06);
  --shadow-high:  0px 12px 32px rgba(10,20,59,0.12);
  --shadow:       0px 4px 12px rgba(10,20,59,0.06);
  --shadow-lg:    0px 12px 32px rgba(10,20,59,0.12);
  --navbar-bg:    rgba(249,249,249,0.92);
  --toast-success-bg: #f0fdf4;
  --toast-error-bg:   #fef2f2;
  --toast-info-bg:    #f8fafc;
  --radius:       8px;
  --radius-lg:    16px;
  --max-w:        1280px;
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'DM Mono', 'SF Mono', Consolas, monospace;
}

/* ---- Tmavý režim ---- */
[data-theme="dark"] {
  --bg:           #0a0c10;
  --bg2:          #0f1218;
  --bg3:          #161b24;
  --bg4:          #1d2330;
  --surface:      #0f1218;
  --border:       #252d3d;
  --border2:      #2e3a50;
  --text:         #e8edf5;
  --text2:        #8a95a8;
  --text3:        #5a6478;
  --accent2:      #e63950;
  --accent-dim:   rgba(196,30,58,0.14);
  --navy:         #1e2a5e;
  --navy-text:    #bbc4f5;
  --green:        #22c55e;
  --green-dim:    rgba(34,197,94,0.12);
  --amber:        #f59e0b;
  --amber-dim:    rgba(245,158,11,0.12);
  --red:          #ef4444;
  --red-dim:      rgba(239,68,68,0.12);
  --purple:       #a78bfa;
  --purple-dim:   rgba(167,139,250,0.12);
  --shadow-soft:  0 1px 3px rgba(0,0,0,0.3);
  --shadow-high:  0 4px 24px rgba(0,0,0,0.4);
  --shadow:       0 1px 3px rgba(0,0,0,0.3);
  --shadow-lg:    0 4px 24px rgba(0,0,0,0.4);
  --navbar-bg:    rgba(10,12,16,0.88);
  --toast-success-bg: #1a2e22;
  --toast-error-bg:   #2a1a1a;
  --toast-info-bg:    #1a1c26;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- Typography ---- */
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }
p  { color: var(--text2); }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.section    { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  transition: box-shadow 0.2s;
}
.navbar .container { height: 100%; display: flex; align-items: center; gap: 32px; }

.nav-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.magnas-wordmark { height: 26px; width: auto; color: var(--navy); display: block; }
[data-theme="dark"] .magnas-wordmark { color: #ffffff; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 6px 14px; border-radius: var(--radius);
  font-size: 14px; color: var(--text2); font-weight: 600;
  font-family: var(--font-display); letter-spacing: 0.02em;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); border-bottom: 2px solid var(--accent); border-radius: 0; padding-bottom: 4px; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-login {
  font-size: 14px; font-weight: 600; color: var(--text2);
  font-family: var(--font-display);
  padding: 7px 16px; border-radius: var(--radius);
  border: 1px solid var(--border); background: transparent;
  transition: all 0.15s; cursor: pointer;
}
.nav-login:hover { color: var(--text); border-color: var(--border2); background: var(--bg3); }

/* Theme toggle */
.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0; line-height: 1;
}
.theme-toggle:hover { background: var(--bg4); border-color: var(--border2); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Floating theme toggle (auth pages) */
.floating-theme { position: fixed; top: 16px; right: 16px; z-index: 999; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; font-family: var(--font-display);
  cursor: pointer; transition: all 0.15s;
  border: 1px solid transparent; white-space: nowrap; text-decoration: none;
  letter-spacing: 0.01em;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: #9e0000; box-shadow: 0 4px 16px rgba(188,0,0,0.3); transform: translateY(-1px); }
.btn-secondary { background: var(--bg3); color: var(--text); border-color: var(--border2); }
.btn-secondary:hover { background: var(--bg4); }
.btn-ghost { background: transparent; color: var(--text2); border-color: var(--border2); }
.btn-ghost:hover { background: var(--bg3); color: var(--text); }
.btn-white { background: white; color: var(--navy); border-color: rgba(255,255,255,0.3); }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-1px); }
[data-theme="dark"] .btn-white { background: rgba(255,255,255,0.12); color: white; }
[data-theme="dark"] .btn-white:hover { background: rgba(255,255,255,0.2); }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }
.btn-loading { position: relative; pointer-events: none; opacity: 0.75; }
.btn-loading::after {
  content: ''; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ============================================================
   HERO — SPLIT LAYOUT
   ============================================================ */
.hero-split {
  padding: 112px 0 64px;
  display: flex; align-items: center;
}
.hero-split-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
}
.hero-split-content { max-width: 560px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg3);
  color: var(--text2); font-size: 12px; font-weight: 600;
  font-family: var(--font-display); letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 12px 5px 10px; border-radius: 20px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.hero-eyebrow .material-symbols-outlined { font-size: 16px; color: var(--accent); }

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 20px; color: var(--text);
}
.hero-sub {
  font-size: 1.05rem; color: var(--text2); max-width: 520px;
  margin-bottom: 36px; line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 12px; color: var(--text3); font-family: var(--font-mono); }
.hero-note strong { color: var(--text2); }

/* Dashboard Mockup */
.hero-split-visual { position: relative; }

.hero-mockup {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-high);
  border: 1px solid var(--border);
  overflow: hidden; display: flex;
  aspect-ratio: 16 / 10;
}
.mockup-sidebar {
  width: 72px; background: var(--bg2);
  border-right: 1px solid var(--border);
  padding: 16px 10px; display: flex; flex-direction: column; gap: 8px;
}
.mockup-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mockup-bar {
  height: 8px; background: var(--border); border-radius: 4px;
}
.mockup-nav-item { height: 28px; background: var(--border); border-radius: 6px; opacity: 0.5; }
.mockup-nav-item.active { background: var(--accent-dim); border: 1px solid rgba(188,0,0,0.15); opacity: 1; }
.mockup-topbar { display: flex; align-items: center; justify-content: space-between; }
.mockup-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--bg3); }

.mockup-charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mockup-chart-bar {
  background: var(--bg2); border-radius: 8px; padding: 10px;
  border: 1px solid var(--border);
}
.mockup-bar-chart-inner {
  display: flex; align-items: flex-end; gap: 3px; height: 40px;
}
.mockup-bar-chart-inner .bar {
  flex: 1; background: var(--accent); border-radius: 2px 2px 0 0; opacity: 0.7;
}
.mockup-chart-donut {
  background: var(--bg2); border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.donut-ring {
  width: 40px; height: 40px; border-radius: 50%;
  border: 5px solid var(--bg3);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
}

.mockup-list { display: flex; flex-direction: column; gap: 6px; }
.mockup-list-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg2); border-radius: 6px; padding: 6px 10px;
  border: 1px solid var(--border);
}
.mockup-list-row .dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.dot.green { background: #22c55e; }
.dot.amber { background: var(--amber); }
.mockup-list-row .flex1 { flex: 1; height: 8px; background: var(--border); border-radius: 4px; }
.mockup-chip { width: 36px; height: 16px; background: var(--accent-dim); border-radius: 20px; }

/* Floating compliance badge */
.hero-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-high); border: 1px solid var(--border);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-badge-icon {
  width: 40px; height: 40px; background: #f0fdf4; color: #16a34a;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .hero-badge-icon { background: rgba(34,197,94,0.12); color: #22c55e; }
.hero-badge-title { font-weight: 700; font-family: var(--font-display); font-size: 14px; color: var(--text); }
.hero-badge-sub { font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; font-family: var(--font-display); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--surface); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
[data-theme="dark"] .trust-bar { background: var(--bg2); }
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
  opacity: 0.45; filter: grayscale(100%);
  transition: opacity 0.4s, filter 0.4s;
}
.trust-bar:hover .trust-bar-inner { opacity: 1; filter: grayscale(0%); }
.trust-item-new {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; font-family: var(--font-display);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
.trust-item-new .material-symbols-outlined { font-size: 18px; color: var(--accent); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow {
  font-size: 11px; font-weight: 700; font-family: var(--font-display);
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-title  { margin-bottom: 16px; color: var(--text); }
.section-sub    { font-size: 1rem; color: var(--text2); line-height: 1.7; }

/* ============================================================
   BENTO GRID (Features)
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s, transform 0.2s;
}
.bento-card:hover { box-shadow: var(--shadow-high); transform: translateY(-2px); }
.bento-wide { grid-column: span 2; }
.bento-dark {
  background: var(--navy); border-color: transparent;
  position: relative; overflow: hidden;
}
.bento-dark::after {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 160px; height: 160px; background: rgba(255,255,255,0.04);
  border-radius: 50%; pointer-events: none;
}

.feature-icon-new {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent);
  transition: background 0.2s, color 0.2s;
}
.feature-icon-new .material-symbols-outlined { font-size: 20px; }
.bento-card:not(.bento-dark):hover .feature-icon-new { background: var(--accent); color: white; border-color: var(--accent); }
.feature-icon-new.dark { background: rgba(255,255,255,0.1); border-color: transparent; color: var(--navy-text); }

.bento-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); font-family: var(--font-display); }
.bento-title.light { color: white; }
.bento-desc { font-size: 14px; color: var(--text2); line-height: 1.65; }
.bento-desc.light { color: rgba(255,255,255,0.65); }

/* Banner preview inside bento card */
.bento-preview {
  margin-top: 28px;
  background: var(--bg2); border-radius: 8px;
  border: 2px dashed var(--border2);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: center;
  min-height: 60px;
}
.banner-preview-bar {
  width: 75%; height: 36px; background: var(--surface);
  border-radius: 20px; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px;
  border: 1px solid var(--border);
}
.bp-dots { display: flex; gap: 6px; }
.bp-dot { width: 10px; height: 10px; border-radius: 50%; }
.bp-dot.red { background: var(--accent); }
.bp-dot.gray { background: var(--border2); }
.bp-accept { width: 56px; height: 20px; background: var(--accent); border-radius: 10px; }

/* Domain grid inside wide card */
.bento-wide-inner { display: flex; gap: 32px; align-items: flex-start; }
.bento-wide-text { flex: 1; }
.bento-domain-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.domain-row {
  height: 52px; background: var(--bg2); border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 14px; gap: 10px;
}
.domain-row.inactive { opacity: 0.4; }
.domain-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.domain-dot.green { background: #22c55e; }
.domain-dot.gray { background: var(--text3); }
.domain-name { font-size: 11px; font-weight: 700; font-family: var(--font-display); color: var(--text); }

/* ============================================================
   AGENCY SECTION
   ============================================================ */
.agency-section {
  background: var(--surface); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
[data-theme="dark"] .agency-section { background: var(--bg2); }
.agency-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
/* Dashboard card mockup */
.agency-visual { position: relative; }
.agency-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: 0 20px 60px rgba(10,20,59,0.12);
  position: relative; z-index: 1;
}
[data-theme="dark"] .agency-card { background: var(--bg3); }
.agency-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.agency-card-title { font-weight: 700; font-family: var(--font-display); color: var(--accent); font-size: 15px; }
.agency-badge {
  background: var(--accent); color: white; border-radius: 20px;
  font-size: 10px; font-weight: 700; font-family: var(--font-display);
  letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 12px;
}
.agency-list { display: flex; flex-direction: column; gap: 10px; }
.agency-list-item {
  background: var(--bg2); border-radius: var(--radius);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
[data-theme="dark"] .agency-list-item { background: var(--bg4); }
.agency-list-item.highlighted {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
}
[data-theme="dark"] .agency-list-item.highlighted { background: var(--bg2); }
.agency-client-icon {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--border); flex-shrink: 0;
}
.agency-client-icon.alt { background: var(--bg3); }
.agency-client-name { flex: 1; font-size: 14px; font-weight: 700; font-family: var(--font-display); color: var(--text); }
.agency-check { font-size: 20px; color: #22c55e; }
.agency-settings { font-size: 20px; color: var(--accent); }
.agency-glow {
  position: absolute; border-radius: 50%;
  background: rgba(188,0,0,0.05); filter: blur(60px);
  pointer-events: none;
}
.agency-glow-1 { width: 160px; height: 160px; top: -40px; left: -40px; }
.agency-glow-2 { width: 240px; height: 240px; bottom: -60px; right: -60px; }

.agency-content h2 { margin-bottom: 16px; }
.agency-sub { font-size: 1.05rem; margin-bottom: 28px; line-height: 1.7; }
.agency-features { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.agency-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; color: var(--text2); }
.agency-features .material-symbols-outlined { color: var(--accent); font-size: 20px; margin-top: 1px; flex-shrink: 0; }
.agency-features strong { color: var(--text); }

/* ============================================================
   STEPS (How it works)
   ============================================================ */
.steps-new {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step-new { text-align: center; }
.step-num-new {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--accent);
  font-family: var(--font-display); margin: 0 auto 20px;
  transition: all 0.2s;
}
.step-new.primary .step-num-new {
  background: var(--accent); color: white; border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(188,0,0,0.3);
}
.step-new-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; font-family: var(--font-display); color: var(--text); }
.step-new-desc { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.testimonial-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
  box-shadow: var(--shadow-soft); position: relative;
}
.testimonial-quote {
  position: absolute; top: 16px; right: 20px;
  font-size: 56px; color: var(--accent); opacity: 0.1;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.testimonial-text {
  font-size: 15px; line-height: 1.75; color: var(--text); font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; font-family: var(--font-display); color: var(--text2);
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; font-family: var(--font-display); color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--text3); font-weight: 600; font-family: var(--font-display); }

/* ============================================================
   CTA CARD
   ============================================================ */
.cta-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 80px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-card-content { position: relative; z-index: 1; }
.cta-card-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700;
  color: white; margin-bottom: 16px; font-family: var(--font-display);
}
.cta-card-sub { font-size: 1rem; color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto 36px; }
.cta-card-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-glow {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.05); filter: blur(80px);
  pointer-events: none;
}
.cta-glow-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.cta-glow-2 { width: 300px; height: 300px; bottom: -80px; left: -80px; }

/* ============================================================
   PRICING (pricing.html)
   ============================================================ */
.pricing-card {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 40px;
  max-width: 520px; margin: 0 auto;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-high);
}
.pricing-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.pricing-badge {
  display: inline-block; background: var(--accent-dim);
  color: var(--accent2); font-size: 11px; font-weight: 700;
  font-family: var(--font-display); letter-spacing: 0.05em;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 20px;
  border: 1px solid rgba(188,0,0,0.2);
}
.pricing-name  { font-size: 1.6rem; font-weight: 700; font-family: var(--font-display); margin-bottom: 8px; color: var(--text); }
.pricing-desc  { font-size: 14px; color: var(--text2); margin-bottom: 32px; line-height: 1.6; }
.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.pricing-price .amount { font-size: 3rem; font-weight: 800; font-family: var(--font-display); letter-spacing: -2px; color: var(--text); }
.pricing-price .currency { font-size: 1.4rem; font-weight: 700; color: var(--text2); }
.pricing-price .period { font-size: 14px; color: var(--text3); font-family: var(--font-mono); }
.pricing-note  { font-size: 12px; color: var(--text3); margin-bottom: 32px; font-family: var(--font-mono); }
.pricing-features { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.pricing-features li::before {
  content: '✓'; width: 18px; height: 18px; background: var(--green-dim);
  color: var(--green); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
}
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

/* ============================================================
   AUTH FORM (register.html, invite.html)
   ============================================================ */
.auth-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 24px; background: var(--bg);
}
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  width: 100%; max-width: 480px;
  box-shadow: var(--shadow-soft);
}
.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; justify-content: center; }
.auth-logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; color: white; font-family: var(--font-display);
}
.auth-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); }
.auth-title    { font-size: 1.4rem; font-weight: 700; font-family: var(--font-display); margin-bottom: 6px; text-align: center; color: var(--text); }
.auth-subtitle { font-size: 14px; color: var(--text2); margin-bottom: 32px; text-align: center; }

/* Form */
.form-group   { margin-bottom: 18px; }
.form-label   { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 6px; font-family: var(--font-display); }
.form-control {
  width: 100%; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius); font-size: 14px;
  color: var(--text); font-family: var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
[data-theme="dark"] .form-control { background: var(--bg3); }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-control::placeholder { color: var(--text3); }
.form-control.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,0.10); }
.form-hint  { font-size: 12px; color: var(--text3); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--red); margin-top: 5px; display: none; }
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-control { border-color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-separator { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--text3); font-size: 13px; }
.form-separator::before, .form-separator::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Alert */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 13.5px; display: none; margin-bottom: 18px; line-height: 1.5; }
.alert.visible { display: block; }
.alert-success { background: var(--green-dim); color: var(--green); border: 1px solid rgba(22,163,74,0.2); }
.alert-error   { background: var(--red-dim);   color: var(--red);   border: 1px solid rgba(220,38,38,0.2); }
.alert-info    { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(188,0,0,0.2); }

/* Progress steps */
.form-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; justify-content: center; }
.form-step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border2); transition: all 0.2s; }
.form-step-dot.active { background: var(--accent); width: 20px; border-radius: 4px; }
.form-step-dot.done   { background: var(--green); }

.auth-footer { margin-top: 24px; text-align: center; font-size: 13px; color: var(--text3); }
.auth-footer a { color: var(--accent); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
[data-theme="dark"] .footer { background: var(--bg2); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  color: white;
}
.footer-logo-icon .material-symbols-outlined { font-size: 14px; }
.footer-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text); }
.footer-desc { font-size: 13px; color: var(--text3); line-height: 1.65; }

.footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col-title {
  font-size: 12px; font-weight: 700; font-family: var(--font-display);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li a { font-size: 14px; color: var(--text2); transition: color 0.15s; }
.footer-links li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: var(--text3); font-family: var(--font-mono); }
.footer-bottom-icons { display: flex; gap: 8px; }
.footer-icon-btn {
  width: 36px; height: 36px; background: var(--bg3); border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); transition: all 0.15s;
}
.footer-icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.footer-icon-btn .material-symbols-outlined { font-size: 18px; }

/* ============================================================
   TOAST
   ============================================================ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 18px; border-radius: var(--radius);
  font-size: 13.5px; font-weight: 500; max-width: 340px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast.success { background: var(--toast-success-bg); color: var(--green); border: 1px solid rgba(22,163,74,0.25); }
.toast.error   { background: var(--toast-error-bg);   color: var(--red);   border: 1px solid rgba(220,38,38,0.25); }
.toast.info    { background: var(--toast-info-bg);    color: var(--text);  border: 1px solid var(--border2); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ============================================================
   UTILITIES
   ============================================================ */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; font-family: var(--font-display);
  padding: 3px 9px; border-radius: 4px; background: var(--bg3);
  border: 1px solid var(--border); color: var(--text3); letter-spacing: 0.03em;
}
.tag.green  { background: var(--green-dim);  color: var(--green);  border-color: rgba(22,163,74,0.2); }
.tag.accent { background: var(--accent-dim); color: var(--accent); border-color: rgba(188,0,0,0.2); }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text3); }
.mt-4  { margin-top: 4px; } .mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.feature-animate {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.feature-animate.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .hero-split-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-split-content { max-width: 100%; }
  .hero-split-visual { display: none; }
  .agency-inner { grid-template-columns: 1fr; gap: 40px; }
  .agency-visual { order: 2; display: none; }
}
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-wide { grid-column: span 2; }
  .steps-new { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { padding: 48px 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .bento-wide-inner { flex-direction: column; gap: 20px; }
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr; }
}
