/* ============================================
   Kto-to.me — SEO / Landing / Legal Pages
   ============================================ */

:root {
  color-scheme: dark;
  --bg: #07060d;
  --bg-2: #0d0b16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --fg: #f5f3f7;
  --fg-dim: rgba(245, 243, 247, 0.6);
  --muted: rgba(245, 243, 247, 0.4);
  --accent: #7c5cfc;
  --accent-2: #5eead4;
  --accent-glow: rgba(124, 92, 252, 0.4);
  --accent-2-glow: rgba(94, 234, 212, 0.3);
  --danger: #ff4d6d;
  --ok: #4ade80;
  --warn: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1080px;
}

body.light {
  color-scheme: light;
  --bg: #f0eef5;
  --bg-2: #e8e4f0;
  --surface: rgba(0, 0, 0, 0.03);
  --surface-2: rgba(0, 0, 0, 0.05);
  --surface-3: rgba(0, 0, 0, 0.08);
  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.08);
  --fg: #1a1726;
  --fg-dim: rgba(26, 23, 38, 0.6);
  --muted: rgba(26, 23, 38, 0.4);
  --accent: #6d4aff;
  --accent-2: #0d9488;
  --accent-glow: rgba(109, 74, 255, 0.25);
  --accent-2-glow: rgba(13, 148, 136, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-y: auto !important;
  height: auto !important;
  scrollbar-gutter: stable;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
  overflow: visible !important;
  overflow-x: hidden;
  position: relative;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-2);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   Animated Background
   ============================================ */

.seo-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
  pointer-events: none;
}

.seo-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: drift 20s ease-in-out infinite;
}

.seo-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -150px;
  left: -100px;
}

.seo-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  bottom: -100px;
  right: -80px;
  animation-delay: -7s;
}

.seo-blob-3 {
  width: 350px;
  height: 350px;
  background: var(--accent);
  top: 50%;
  left: 60%;
  opacity: 0.15;
  animation-delay: -14s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ============================================
   Layout
   ============================================ */

.seo-page {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.seo-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 6, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

body.light .seo-header {
  background: rgba(240, 238, 245, 0.85);
}

.seo-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.seo-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--accent);
  display: flex;
  align-items: center;
}

.seo-brand .brand-logo {
  height: 56px;
}

.seo-footer-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 16px;
}

.seo-footer-brand .brand-logo {
  height: 64px;
}

.seo-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.seo-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.seo-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-dim);
  transition: color var(--transition);
}

.seo-nav a:hover {
  color: var(--fg);
}

.seo-nav .seo-cta-small {
  padding: 9px 20px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, var(--accent-2)));
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all var(--transition);
}

.seo-nav .seo-cta-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

@media (max-width: 768px) {
  .seo-nav {
    display: none;
  }

  .seo-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: border-color 0.2s;
  }

  .seo-burger span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: var(--fg);
    transition: transform 0.25s, opacity 0.2s;
  }

  .seo-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .seo-burger.active span:nth-child(2) {
    opacity: 0;
  }

  .seo-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .seo-mobile-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 9;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: rgba(7, 6, 13, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  body.light .seo-mobile-menu {
    background: rgba(240, 238, 245, 0.96);
  }

  .seo-mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .seo-mobile-menu a {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--fg-dim);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
  }

  .seo-mobile-menu a:hover {
    background: rgba(138, 99, 255, 0.1);
    color: var(--fg);
  }

  .seo-mobile-menu .seo-cta-small {
    margin-top: 8px;
    text-align: center;
    color: #fff !important;
  }
}

@media (min-width: 769px) {
  .seo-burger {
    display: none;
  }

  .seo-mobile-menu {
    display: none;
  }
}

/* ============================================
   Hero Section — Split Layout
   ============================================ */

.seo-hero {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 520px;
}

.seo-hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.seo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-dim);
  width: fit-content;
}

.seo-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.seo-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--fg) 50%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--fg-dim);
  line-height: 1.65;
  max-width: 480px;
}

.seo-cta-group {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.seo-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 240px;
  height: 54px;
  padding: 0 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, var(--accent-2)));
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 32px var(--accent-glow);
  transition: all 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.seo-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 44px var(--accent-glow);
  color: #fff !important;
}

.seo-btn-primary:active {
  transform: translateY(0);
}

.seo-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  color: var(--fg) !important;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.seo-btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--fg) !important;
}

/* ============================================
   Hero Visual — Right Side
   ============================================ */

.seo-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.seo-visual-scene {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
}

/* Avatar orb */
.seo-visual-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  box-shadow: 0 0 60px var(--accent-glow), 0 20px 40px rgba(0,0,0,0.3);
  z-index: 3;
}

.seo-visual-avatar svg {
  color: #fff;
}

/* Expanding rings around avatar */
.seo-visual-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ring-expand 3s ease-out infinite;
  transform: translate(-50%, -50%);
}

.seo-visual-ring-1 { animation-delay: 0s; }
.seo-visual-ring-2 { animation-delay: 1s; }
.seo-visual-ring-3 { animation-delay: 2s; }

@keyframes ring-expand {
  0% {
    width: 140px;
    height: 140px;
    opacity: 0.5;
  }
  100% {
    width: 320px;
    height: 320px;
    opacity: 0;
  }
}

/* Sound waves */
.seo-visual-waves {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  z-index: 2;
}

.seo-visual-wave {
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  animation: wave-bar 1.2s ease-in-out infinite;
}

.seo-visual-wave:nth-child(1) { animation-delay: 0s; height: 14px; }
.seo-visual-wave:nth-child(2) { animation-delay: 0.1s; height: 28px; }
.seo-visual-wave:nth-child(3) { animation-delay: 0.2s; height: 40px; }
.seo-visual-wave:nth-child(4) { animation-delay: 0.3s; height: 24px; }
.seo-visual-wave:nth-child(5) { animation-delay: 0.4s; height: 34px; }
.seo-visual-wave:nth-child(6) { animation-delay: 0.5s; height: 18px; }
.seo-visual-wave:nth-child(7) { animation-delay: 0.6s; height: 28px; }
.seo-visual-wave:nth-child(8) { animation-delay: 0.7s; height: 22px; }
.seo-visual-wave:nth-child(9) { animation-delay: 0.8s; height: 16px; }

@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* Floating dialog cards */
.seo-visual-card-float {
  position: absolute;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: float-card 4s ease-in-out infinite;
  z-index: 4;
}

.seo-visual-card-float .card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.seo-visual-card-float .card-dot.green {
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

.seo-visual-card-float .card-dot.accent {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.seo-visual-card-1 {
  top: 8%;
  left: -5%;
  animation-delay: 0s;
}

.seo-visual-card-2 {
  top: 30%;
  right: -8%;
  animation-delay: -1.5s;
}

.seo-visual-card-3 {
  bottom: 12%;
  left: 0%;
  animation-delay: -2.5s;
}

.seo-visual-card-4 {
  bottom: 35%;
  right: -3%;
  animation-delay: -3s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Mic badge */
.seo-visual-mic-badge {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-dim);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 4;
}

.seo-visual-mic-badge .mic-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 8px var(--danger);
  animation: blink 1.5s ease-in-out infinite;
}

/* ============================================
   Sections
   ============================================ */

.seo-section {
  padding: 56px 0;
}

.seo-section-title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 44px;
}

/* ============================================
   Cards Grid
   ============================================ */

.seo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.seo-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
}

.seo-card:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.seo-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--accent-2)));
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.seo-card-icon svg {
  color: #fff;
}

.seo-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.seo-card p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
}

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

.seo-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.seo-step {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: all var(--transition);
}

.seo-step:hover {
  background: var(--surface-2);
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.seo-step-num {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.5;
}

.seo-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.seo-step p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ============================================
   Safety Block
   ============================================ */

.seo-safety {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.seo-safety-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.seo-safety-icon svg {
  color: #fff;
}

.seo-safety h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.seo-safety p {
  font-size: 15px;
  color: var(--fg-dim);
  max-width: 560px;
  margin: 0 auto 24px;
}

.seo-safety-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.seo-safety-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.seo-safety-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   FAQ
   ============================================ */

.seo-faq {
  max-width: 720px;
  margin: 0 auto;
}

.seo-faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.seo-faq-item[open] {
  border-color: var(--accent);
  background: var(--surface-2);
}

.seo-faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.seo-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.seo-faq-item p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ============================================
   CTA Banner
   ============================================ */

.seo-cta-banner {
  text-align: center;
  padding: 56px 0 64px;
}

.seo-cta-banner h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 16px;
}

.seo-cta-banner p {
  font-size: 15px;
  color: var(--fg-dim);
  margin-bottom: 28px;
}

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

.seo-footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  text-align: center;
}

.seo-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.seo-footer-copy {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 21px;
}

.seo-footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.seo-footer-links a {
  font-size: 13px;
  color: var(--fg-dim);
  transition: color var(--transition);
}

.seo-footer-links a:hover {
  color: var(--fg);
}

/* ============================================
   Legal / Document Pages
   ============================================ */

.seo-doc {
  padding: 60px 0 80px;
}

.seo-doc h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.seo-doc-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

.seo-doc h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.seo-doc h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--fg-dim);
}

.seo-doc p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 14px;
}

.seo-doc ul, .seo-doc ol {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 14px;
  padding-left: 24px;
}

.seo-doc li {
  margin-bottom: 6px;
}

.seo-doc .seo-callout {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
}

.seo-doc .seo-callout strong {
  color: var(--fg);
}

.seo-doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-dim);
  margin-bottom: 32px;
  transition: color var(--transition);
}

.seo-doc-back:hover {
  color: var(--accent);
}

/* ============================================
   SEO Text Block (for SEO pages)
   ============================================ */

.seo-text-block {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.seo-text-block h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.seo-text-block p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.75;
  margin-bottom: 14px;
}

.seo-text-block p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Card Links (for "Другие документы" etc.)
   ============================================ */

a.seo-card {
  color: inherit;
  text-decoration: none;
}

a.seo-card:hover {
  color: inherit;
}

.seo-doc-links {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
}

.seo-doc-links h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

@media (max-width: 880px) {
  .seo-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 40px;
    text-align: center;
  }

  .seo-hero-left {
    align-items: center;
  }

  .seo-hero-sub {
    margin: 0 auto;
  }

  .seo-cta-group {
    justify-content: center;
  }

  .seo-hero-right {
    min-height: 340px;
  }

  .seo-visual-scene {
    max-width: 340px;
  }
}

@media (max-width: 600px) {
  .seo-hero {
    padding: 32px 0 32px;
    gap: 32px;
  }

  .seo-hero-right {
    min-height: 280px;
  }

  .seo-visual-scene {
    max-width: 280px;
  }

  .seo-visual-avatar {
    width: 100px;
    height: 100px;
  }

  .seo-visual-avatar svg {
    width: 36px;
    height: 36px;
  }

  @keyframes ring-expand {
    0% { width: 100px; height: 100px; opacity: 0.5; }
    100% { width: 240px; height: 240px; opacity: 0; }
  }

  .seo-visual-card-float {
    font-size: 11px;
    padding: 8px 12px;
  }

  .seo-visual-card-1 { top: 5%; left: 0%; }
  .seo-visual-card-2 { top: 25%; right: -2%; }
  .seo-visual-card-3 { bottom: 8%; left: 2%; }
  .seo-visual-card-4 { bottom: 30%; right: 0%; }

  .seo-section {
    padding: 44px 0;
  }

  .seo-cards, .seo-steps {
    grid-template-columns: 1fr;
  }

  .seo-safety {
    padding: 28px 20px;
  }

  .seo-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .seo-btn-primary, .seo-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .seo-text-block {
    padding: 24px 20px;
  }

  .seo-doc {
    padding: 40px 0 60px;
  }

  .seo-cta-banner {
    padding: 40px 0 48px;
  }
}

/* ============================================
   Telegram
   ============================================ */

.seo-footer-tg {
  color: #a887ff !important;
}

/* Landing page — large community card */
.seo-tg-community {
  padding: 48px 0 56px;
}

.seo-tg-community-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.2s;
}

.seo-tg-community-card:hover {
  border-color: rgba(138, 99, 255, 0.3);
}

.seo-tg-community-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(91, 141, 239, 0.15));
  color: #a887ff;
}

.seo-tg-community-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.seo-tg-community-card p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

.seo-tg-community-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c5cff, #5b8def);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.seo-tg-community-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* SEO pages — compact CTA card */
.seo-tg-cta {
  padding: 40px 0 48px;
}

.seo-tg-cta-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.2s;
}

.seo-tg-cta-card:hover {
  border-color: rgba(138, 99, 255, 0.3);
}

.seo-tg-cta-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(91, 141, 239, 0.15));
  color: #a887ff;
}

.seo-tg-cta-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.seo-tg-cta-card p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.seo-tg-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c5cff, #5b8def);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.seo-tg-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .seo-tg-community-card {
    padding: 28px 20px;
  }

  .seo-tg-community-card h2 {
    font-size: 20px;
  }

  .seo-tg-cta-card {
    padding: 24px 20px;
  }

  .seo-tg-cta-card h2 {
    font-size: 18px;
  }
}

@view-transition {
  navigation: same-origin;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.25s;
  animation-timing-function: ease;
}

@supports not (view-transition-name: root) {
  body { animation: page-fade-in 0.25s ease; }
  @keyframes page-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

/* ============================================
   Support button & modal (legal pages)
   ============================================ */

.seo-support-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 11px 16px; border: 1px solid rgba(124,92,252,.3); border-radius: 8px; background: rgba(124,92,252,.08); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s ease; white-space: nowrap; flex-shrink: 0; }
.seo-support-btn:hover { border-color: rgba(124,92,252,.6); background: rgba(124,92,252,.15); box-shadow: 0 0 12px rgba(124,92,252,.2); }
.seo-support-btn svg { color: #7c5cfc; flex-shrink: 0; }

.support-modal-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); animation: sup-fade-in .2s ease; }
.support-modal-overlay[hidden] { display: none; }
@keyframes sup-fade-in { from { opacity: 0; } to { opacity: 1; } }
.support-modal-card { position: relative; width: 420px; max-width: 90vw; max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(20,18,28,.98); box-shadow: 0 24px 60px rgba(0,0,0,.5); animation: sup-slide-up .25s ease; }
@keyframes sup-slide-up { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.support-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.4); cursor: pointer; transition: all .2s ease; }
.support-close:hover { background: rgba(255,255,255,.1); color: #fff; }
.support-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, rgba(124,92,252,.15), rgba(94,234,212,.15)); border: 1px solid rgba(124,92,252,.3); color: #7c5cfc; }
.support-modal-card h2 { font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 10px; color: #fff; }
.support-text { font-size: 16px; color: rgba(255,255,255,.4); text-align: center; line-height: 1.5; margin-bottom: 20px; }
.support-recipient { display: flex; flex-direction: column; gap: 5px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.4; text-align: left; }
.support-recipient-label { color: rgba(255,255,255,.4); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.support-recipient strong { color: #fff; font-size: 15px; }
.support-recipient a { width: fit-content; margin-top: 3px; color: #5eead4; font-weight: 600; text-decoration: none; }
.support-recipient a:hover { text-decoration: underline; }
.support-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.support-amount { padding: 12px 8px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .2s ease; text-align: center; }
.support-amount:hover { background: rgba(255,255,255,.08); border-color: rgba(124,92,252,.4); }
.support-amount.selected { background: linear-gradient(135deg, rgba(124,92,252,.2), rgba(94,234,212,.15)); border-color: #7c5cfc; box-shadow: 0 0 12px rgba(124,92,252,.25); }
.support-amount-custom { grid-column: span 3; font-size: 14px; color: rgba(255,255,255,.4); }
.support-custom-input { width: 100%; padding: 12px 16px; border-radius: 10px; background: #080610; border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 15px; margin-bottom: 16px; }
.support-custom-input:focus { outline: none; border-color: #7c5cfc; }
.support-submit { display: flex; align-items: center; justify-content: center; width: 100%; padding: 14px; border: none; border-radius: 10px; background: linear-gradient(135deg, #7c5cfc, #5eead4); color: #fff; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: all .2s ease; }
.support-submit:hover { box-shadow: 0 0 20px rgba(124,92,252,.4); transform: translateY(-1px); }
.support-note { font-size: 12px; color: rgba(255,255,255,.4); text-align: center; margin-top: 12px; }

.support-page-main { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 160px); padding: 48px 20px; }
.support-page-card { width: 100%; max-width: 520px; padding: 36px 32px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(20,18,28,.94); box-shadow: 0 24px 60px rgba(0,0,0,.35); text-align: center; }
.support-page-card h1 { margin-bottom: 12px; color: #fff; font-size: 28px; }
.support-page-lead { margin-bottom: 22px; color: rgba(255,255,255,.55); font-size: 16px; line-height: 1.6; }
.support-page-card .support-recipient { text-align: left; }
