/* combined: _design-tokens + wstart_2 — auto, tokens->wstart */
/* ═══════════════════════════════════════════════════════════════════
   whoareyou.io · DESIGN TOKENS (global)
   ───────────────────────────────────────────────────────────────────
   Підключається ПЕРШИМ у <head>, до wstart_2.css:

       <link rel="stylesheet" href="/tmpl/_design-tokens.css?v=260511a">
       <link rel="stylesheet" href="/tmpl/wstart_2.css?v=260511a">

   Що цей файл робить:
   • Override --font-display: Spectral → Geist (sans everywhere, no засічок)
   • Override --font-mono: system → Geist Mono (Berkeley Mono-like)
   • font-feature-settings для Geist (cv11, ss01 — Linear-style alternates)
   • Додає Linear-style ваги (510 / 590 / 680) — для нових компонент
   • Додає severity палітру з risk-analyzer.php (low/mod/high/crit)
   • Додає radius scale 6/8/12/16/24
   
   Що файл НЕ робить:
   • Не зачіпає колір/фон/decor — існуюча світла палітра лишається
   • Не зачіпає існуючі h1-h4/p правила (вони автоматично переключаться 
     на Geist через override --font-display)
   • Не зламає dark hero на головній (там окремі CSS overrides)
   ═══════════════════════════════════════════════════════════════════ */


/* ─── FONTS ───────────────────────────────────────────────────────── */
/* Підвантажуємо Geist Variable (wght 100-900) + Geist Mono.
   Старий <link> на Spectral у header-new.php можна залишити (Spectral
   просто перестане використовуватись), або видалити для меншого download. */



/* ─── TOKEN OVERRIDES ─────────────────────────────────────────────── */
:root {
  /* ── Typography: override Spectral → Geist для headings ── */
  --font-display: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* ── Linear-style weights ── 
     Variable шрифт дозволяє нестандартні значення. Якщо хочеш стримніший
     вигляд (Linear) — використовуй ці замість round 500/600/700 в нових
     правилах. Старі правила залишаються round, вони працюють. */
  --fw-light:    300;
  --fw-normal:   400;
  --fw-medium:   510;   /* замість 500 */
  --fw-semibold: 590;   /* замість 600 */
  --fw-bold:     680;   /* замість 700 */

  /* ── Radius scale ── */
  --radius-4:  4px;
  --radius-6:  6px;
  --radius-8:  8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-24: 24px;

  /* ── Severity palette (точно з risk-analyzer.php) ──
     Використовується в hero preview, scoring, factors, records.
     Для light theme: hex тони муті + бордер-tinted bg.
     Для dark theme (head dark hero) — ті ж самі hex (вони працюють на обох). */
  --sev-low:        #007680;
  --sev-low-bg:     rgba(0,118,128,0.14);
  --sev-low-line:   rgba(0,118,128,0.45);

  --sev-mod:        #C4A24E;
  --sev-mod-bg:     rgba(196,162,78,0.16);
  --sev-mod-line:   rgba(196,162,78,0.50);

  --sev-high:       #C47D3E;
  --sev-high-bg:    rgba(196,125,62,0.16);
  --sev-high-line:  rgba(196,125,62,0.50);

  --sev-crit:       #C44E4E;
  --sev-crit-bg:    rgba(196,78,78,0.15);
  --sev-crit-line:  rgba(196,78,78,0.50);

  --sev-extreme:    #943232;
  --sev-extreme-bg: rgba(148,50,50,0.16);

  /* ── Risk-bar gradient (5-stop, з реального коду) ── */
  --risk-gradient: linear-gradient(90deg,
    #007680 0%, #007680 14%,
    #C4A24E 32%,
    #C47D3E 55%,
    #C44E4E 80%,
    #7A1F1F 100%);

  /* ── Translucent borders (Linear-style тонкі лінії) ──
     На світлому фоні залиш існуючий --border, ці — для overlays/dark blocks */
  --line-faint:     rgba(0,0,0,0.04);
  --line-soft:      rgba(0,0,0,0.06);
  --line-medium:    rgba(0,0,0,0.10);

  /* ── Z-index scale (consistency для popovers/modals) ── */
  --z-header:    100;
  --z-overlay:   500;
  --z-popover:   600;
  --z-modal:     700;
  --z-toast:     800;
  --z-tooltip:  1100;
}


/* ─── BASE TYPOGRAPHY ─────────────────────────────────────────────── */
/* Geist features — стилістичні альтернати Linear використовує globally.
   cv11 — альтернативна одинарна "1" (без верхньої засічки)
   ss01 — geometric альтернати для деяких символів */
body {
  font-feature-settings: 'cv11', 'ss01';
  font-variation-settings: 'opsz' auto;
}

/* Mono utility — для технічних елементів (дати, score, ID, числа) */
.text-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* Tabular numbers utility — для всіх числових колонок (метрики, scoring) */
.tabular {
  font-variant-numeric: tabular-nums;
}

/* Meta text utility — для timestamps, sub-labels, footnotes */
.text-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-normal);
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}


/* ─── OPTIONAL: tighter letter-spacing for headings (Linear feel) ─── */
/* Розкоментуй ці правила якщо хочеш точно Linear ритм headings.
   Поки що — закоментовано, бо існуючі rules в wstart_2.css вже мають
   адекватний letter-spacing (-0.04em для h1, -0.025em для h2). */
/*
h1 { letter-spacing: -0.032em; font-weight: var(--fw-semibold); }
h2 { letter-spacing: -0.028em; font-weight: var(--fw-medium); }
h3 { letter-spacing: -0.02em;  font-weight: var(--fw-medium); }
*/


/* ═══════════════════════════════════════════════════════════════════
   FOOTER REFINEMENT (global — застосовується на всіх сторінках)
   Минималізм Linear-style: mono headings, тонкі links, без декоративних кнопок
   ═══════════════════════════════════════════════════════════════════ */

footer {
  padding: 64px 0 28px !important;
}
.footer-content {
  max-width: 1200px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 56px 48px !important;
  padding: 0 32px !important;
}

/* Section headings — mono caps, teal-300, тонкі */
.footer-section h3 {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  font-weight: var(--fw-medium) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #4DB8BF !important;
  margin-bottom: 16px !important;
}

/* Links — clean, full opacity, тонкий hover */
.footer-links li {
  margin-bottom: 9px !important;
}
.footer-links a {
  color: rgba(236, 254, 255, 0.72) !important;
  font-size: 13.5px !important;
  font-weight: var(--fw-normal) !important;
  opacity: 1 !important;
  letter-spacing: -0.005em !important;
  transition: color .15s !important;
}
.footer-links a:hover {
  color: #4DB8BF !important;
}

/* Social icons — стримані */
.social-links {
  gap: 10px !important;
  margin-top: 4px !important;
}
.social-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  color: rgba(236, 254, 255, 0.6) !important;
  transition: all .15s !important;
}
.social-icon:hover {
  border-color: rgba(77, 184, 191, 0.4) !important;
  background: rgba(77, 184, 191, 0.06) !important;
  color: #4DB8BF !important;
  transform: none !important;
}
.social-icon svg {
  width: 15px !important;
  height: 15px !important;
}
/* Прибираємо платформ-specific colored hovers (вони з old design) */
.social-icon.linkedin:hover,
.social-icon.facebook:hover,
.social-icon.instagram:hover,
.social-icon.telegram:hover {
  background: rgba(77, 184, 191, 0.06) !important;
  color: #4DB8BF !important;
}

/* Support buttons — компактніші, мінімалистичні */
.footer-support-btn {
  padding: 9px 12px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
}
.footer-support-btn:hover {
  background: rgba(77, 184, 191, 0.06) !important;
  border-color: rgba(77, 184, 191, 0.3) !important;
  transform: none !important;
}
.footer-support-btn-title {
  color: #4DB8BF !important;
  font-size: 12.5px !important;
  font-weight: var(--fw-semibold) !important;
}
.footer-support-btn-sub {
  font-size: 10.5px !important;
  color: rgba(236, 254, 255, 0.5) !important;
}
.footer-support-btn svg,
.footer-support-btn .fs-icon {
  width: 15px !important;
  height: 15px !important;
}

/* Bottom bar — тонкий separator, mono copyright */
.footer-bottom {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  color: rgba(236, 254, 255, 0.4) !important;
  letter-spacing: 0.01em !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 20px 32px 0 !important;
  margin-top: 36px !important;
  font-weight: var(--fw-normal) !important;
}

/* Mobile footer — лівий align (override wstart_2.css center) */
@media (max-width: 768px) {
  footer {
    text-align: left !important;
  }
  .footer-content {
    padding: 0 20px !important;
    gap: 36px !important;
  }
  .social-links,
  .footer-samples {
    justify-content: flex-start !important;
  }
  .footer-bottom {
    text-align: left !important;
    padding: 20px 20px 0 !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   v3 ADDENDUM (260611) — spacing · surfaces · shadows · focus · motion
   Принцип: фон світлий, контраст у ЗМІСТІ — ink-текст, виразні бордери,
   насичені акценти. Не пастель.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  /* ── Spacing scale (4px grid) ── */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px;  --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px;

  /* ── Surfaces (рішення 260611: фон майже білий) ── */
  --surface-page:   #FCFCFC;
  --surface-card:   #FFFFFF;
  --surface-sunken: #F1F5F6;
  --surface-hover:  rgba(0,118,128,0.05);

  /* ── Text: ink-контраст (теплий, НЕ slate) ── */
  --tx-primary:   #0c1f28;
  --tx-secondary: #4A5B66;
  --tx-tertiary:  #7E8C96;

  /* ── Accent ── */
  --accent:        #007680;
  --accent-strong: #005F66;
  --accent-soft:   rgba(0,118,128,0.09);

  /* ── Borders: виразні, бо фон майже білий ── */
  --bd-soft:   rgba(12,31,40,0.08);
  --bd-medium: rgba(12,31,40,0.12);
  --bd-strong: rgba(12,31,40,0.18);

  /* ── Shadow scale (відчутні, з teal-підтоном) ── */
  --shadow-xs: 0 1px 2px rgba(12,31,40,0.05);
  --shadow-sm: 0 2px 8px rgba(12,31,40,0.07);
  --shadow-md: 0 8px 24px rgba(0,118,128,0.10);
  --shadow-lg: 0 16px 40px rgba(12,31,40,0.13);

  /* ── Focus ring ── */
  --ring: 0 0 0 3px rgba(0,118,128,0.25);

  /* ── Motion ── */
  --ease: cubic-bezier(.2,.7,.3,1);
  --t-fast: 120ms;
  --t-base: 180ms;
}

/* Глобальний focus-visible */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* Inputs всередині рамки-обгортки: ring малює обгортка (:focus-within), не інпут */
.rw-input-wrap input:focus-visible { box-shadow: none; }

/* ===============================  RESET & BASE  =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.58;
  /* :  -,     . 
          , "" . */
  background-color: var(--surface-page); 
  color: #1a2e3a;
}
body::before { display: none; }

@media (max-width: 1024px), (pointer: coarse) {
  body.light-page::before { display: none; }
}

/* ===============================  CSS VARIABLES  =============================== */
:root {
  /* Typography */
  --font-display: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* Spectral->Geist: Vercel-style, no serif */
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Colors */
  --text-primary: #1a2e3a;
  --text-secondary: #6b6b6b;
  --accent: #007680;          /* Cyber-Teal */
  --accent-light: #1a9ba6;
  --accent-hover: #005F66;
  --bg-start: #EEF2F6;
  --bg-end: #EEF2F6;
  --header-bg: var(--h-bg, transparent);
  --header-text: var(--h-text, #37352f);
  --footer-bg: #0c1f28;
  --text-footer: #d6e8ec;
  --border: rgba(55,53,47,0.09);
  --shadow: rgba(0, 118, 128, .08);
  --shadow-hover: rgba(0, 118, 128, .18);
  --card-bg: #ffffff;
  --card-hover: #ffffff;
  --bg-secondary: #EEF2F6;
  --teal-50: #E6F5F6;
  --teal-100: #CCE9EC;
  --teal-200: #99D4D9;
  --teal-300: #4DB8BF;
  --teal-400: #1a9ba6;
  --teal-500: #007680;
  --teal-600: #005F66;
  --teal-700: #004D53;
  --teal-800: #003B40;
  --teal-900: #002A2E;
  --teal-950: #001A1C;
}

/* ===============================  TYPOGRAPHY  =============================== */
/* Spectral (modern transitional serif) для заголовків, Geist для body */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 16px 0;
  color: var(--text-primary);
}
h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin: 32px 0 12px 0;
  color: var(--text-primary);
}
h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.24;
  margin: 32px 0 12px 0;
  color: var(--text-primary);
}
p {
  font-size: clamp(17px, 2vw, 18px);
  line-height: 1.58;
  margin: 0 0 24px 0;
  color: var(--text-primary);
}
small, .caption {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-secondary);
}
a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 118, 128, .3);
  transition: border-color .2s ease;
}
a:hover {
  border-bottom-color: var(--accent);
}

/* ===============================  HEADER  =============================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--accent);
  box-shadow: none;
  padding: 12px 0;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.logo {
  font-family: var(--font-mono);
font-size: 24px;
font-weight: 600;
letter-spacing: -0.08em;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: none !important;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.login-button {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background .25s ease, box-shadow .25s ease;
}
.login-button:hover {
  background: rgba(0, 118, 128, .1);
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--shadow);
}
.burger-menu {
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
}
.burger-menu:hover {
  background: rgba(0, 118, 128, .1);
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--shadow);
}
.burger-line {
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ===============================  SIDE MENU  =============================== */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 1100;
  backdrop-filter: blur(4px);
}
.menu-overlay.active {
  display: block;
}
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(40px);
  box-shadow: -4px 0 24px var(--shadow);
  z-index: 1200;
  transition: right .3s cubic-bezier(.4, 0, .2, 1);
  padding: 32px;
  overflow-y: auto;
}
.side-menu.active {
  right: 0;
}
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.menu-header h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}
.menu-close {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--accent);
  cursor: pointer;
  transition: transform .3s ease;
}
.menu-close:hover {
  transform: rotate(90deg);
}
.menu-section {
  margin-bottom: 32px;
}
.menu-section h3 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.menu-links {
  list-style: none;
}
.menu-links li {
  margin-bottom: 8px;
}
.menu-links a {
  display: block;
  padding: 12px 16px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
  border-radius: 12px;
  transition: all .25s ease;
  border-bottom: none;
}
.menu-links a:hover {
  background: rgba(0, 118, 128, .1);
  color: var(--accent);
  transform: translateX(4px);
}

/* ===============================  MAIN + HERO  =============================== */
main {
  flex: 1 0 auto;
  padding-top: 140px;
}
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero {
  padding: 80px 16px 60px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -.2px;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===============================  GRID SYSTEM  =============================== */
.layout-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===============================  BUTTONS  =============================== */
.test-button,
.btn-primary,
.submit-button,
.search-button {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 20px rgba(0, 118, 128, .25),
              inset 0 1px 0 rgba(255, 255, 255, .15);
}
.test-button:hover,
.btn-primary:hover,
.submit-button:hover,
.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 118, 128, .35),
              inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn-secondary {
  background: rgba(0, 118, 128, .08);
  color: var(--accent);
  border: 2px solid rgba(0, 118, 128, .2);
  box-shadow: none;
}
.btn-secondary:hover {
  background: rgba(0, 118, 128, .15);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ===============================  CARDS / LISTS  =============================== */
.feature-list,
.process-grid,
.usecases-grid,
.principles-list {
  display: grid;
  gap: 16px;
}
.feature-list li,
.process-step,
.usecase-card,
.principle-item {
  padding: 24px 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.04);
  transition: all .3s ease;
}
.feature-list li:hover,
.process-step:hover,
.usecase-card:hover,
.principle-item:hover {
  background: var(--card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16,24,40,.10), 0 0 0 1px rgba(16,24,40,.05);
}
.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 118, 128, .25);
  transition: all .3s ease;
}
.process-step:hover .step-number {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 118, 128, .35);
}

/* ===============================  SECTIONS  =============================== */
.cta-section {
  margin-top: 100px;
  padding: 56px 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.04);
}
.cta-button {
  display: inline-block;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-radius: 12px;
  transition: all .3s ease;
  box-shadow: 0 4px 16px rgba(0, 118, 128, .3);
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 118, 128, .45);
}
.success-container,
.success-card,
.document-block,
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 48px;
  box-shadow: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.04);
}

/* ===============================  FOOTER  =============================== */
footer {
  flex-shrink: 0;
  background: var(--footer-bg);
  color: var(--text-footer);
  padding: 56px 0 32px;
  margin-top: 0;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: 13px;
  color: rgba(236,254,255,0.55);
  font-weight: 400;
}
.footer-section h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  color: #5eead4;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 11px;
}
.footer-links a {
  color: #ecfeff;
  font-size: 14px;
  font-weight: 400;
  transition: all .2s ease;
  border-bottom: none;
  opacity: 0.85;
}
.footer-links a:hover {
  color: #5eead4;
  opacity: 1;
}
.footer-samples {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.footer-sample-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #084c61;
  background: #5eead4;
  border: 1.5px solid #5eead4;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 2px 8px rgba(94,234,212,0.2);
}
.footer-sample-btn:hover {
  background: #ffffff;
  color: #084c61;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94,234,212,0.35);
}
.footer-sample-btn svg {
  flex-shrink: 0;
  opacity: 1;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  transition: all .3s ease;
  border: 2px solid transparent;
  fill: currentColor;
}
.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.social-icon.linkedin {
  background: rgba(0, 119, 181, .15);
  color: #87ceeb;
  border-color: rgba(0, 119, 181, .3);
}
.social-icon.linkedin:hover {
  background: #0077b5;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 119, 181, .4);
}
.social-icon.facebook {
  background: rgba(24, 119, 242, .15);
  color: #87ceeb;
  border-color: rgba(24, 119, 242, .3);
}
.social-icon.facebook:hover {
  background: #1877f2;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, .4);
}
.social-icon.instagram {
  background: linear-gradient(45deg, rgba(245, 96, 64, .15), rgba(252, 175, 69, .15));
  color: #e1306c;
  border-color: rgba(225, 48, 108, .3);
}
.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f56040, #fcaf45, #f77737);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(225, 48, 108, .4);
}
.social-icon.telegram {
  background: rgba(0, 136, 204, .15);
  color: #87ceeb;
  border-color: rgba(0, 136, 204, .3);
}
.social-icon.telegram:hover {
  background: #0088cc;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 136, 204, .4);
}


.modal {
    position: fixed; /* Фиксируем поверх страницы */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* затемнение фона */
    display: flex;
    justify-content: center; /* центрируем контент */
    align-items: center;
    z-index: 9999; /* поверх всех элементов */

}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.login-form .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.login-form label {
    width: 100px; /* одинаковая ширина для выравнивания */
    font-weight: 500;
}

.login-form input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.modal-title {
    margin: 0 0 20px;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    transition: color 0.2s ease;
}

.close:hover {
    color: #000;
}


/* ===============================  UNIVERSAL MOBILE FIX (FINAL: ALL IN ONE)  =============================== */
/* Цей код покриває: iPhone (всі моделі), Android, вертикальні планшети */
@media (max-width: 820px) {

  /* --- 1. БАЗА --- */
  body {
    font-size: 16px; /* Запобігає зуму сторінки на iOS */
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
  }

  /* --- 2. СТРУКТУРА СТОРІНКИ --- */
  main {
    padding-top: 115px !important; /* Відступ, щоб хедер не закривав контент */
  }

  /* Максимально розширюємо контент, залишаючи мінімальні бортики (12px) */
  .header-content,
  .main-content,
  .hero,
  .footer-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
    max-width: 100%;
  }

  /* --- 3. КАРТКИ (Загальні) --- */
  /* Робимо їх широкими та прибираємо зайві внутрішні відступи */
  .success-container,
  .success-card,
  .document-block,
  .form-card,
  .cta-section,
  .feature-list li,
  .process-step {
    padding: 24px 16px !important; /* Оптимальний баланс краси та місткості */
    width: 100% !important;
    margin-top: 20px;
    box-sizing: border-box;
    border-radius: 10px;
  }

  /* --- 4. СПЕЦІАЛЬНИЙ ФІКС ДЛЯ БЛОКУ ПОШУКУ (HERO) --- */
  /* Цей блок має бути ще компактнішим, щоб влізла вся форма */
  .hero .form-card,
  .hero form {
    padding: 20px 12px !important;
    display: flex;
    flex-direction: column;
  }

  /* Поле вводу в Hero */
  .hero input[type="text"],
  .hero input[type="search"] {
    width: 100% !important;
    padding: 14px !important;
    margin-bottom: 16px; /* Відступ до чекбокса */
    height: 50px;
  }

  /* Чекбокс та згода */
  .hero label,
  .form-group label {
    display: flex !important;
    align-items: flex-start !important; /* Вирівнювання по верху */
    gap: 12px !important;
    margin: 0 !important;
    /* width: 100%; */
  }
  
  /* Сама галочка */
  .hero input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin-top: 2px !important;
  }
  
  /* Текст згоди */
  .hero label span,
  .hero label div,
  .hero .caption {
    font-size: 13px !important; /* Акуратний розмір для юридичного тексту */
    line-height: 1.4 !important;
    text-align: left;
    flex: 1; /* Займає весь доступний простір */
  }

  /* --- 5. КНОПКИ ТА ІНПУТИ (Глобально) --- */
  .test-button,
  .btn-primary,
  .submit-button,
  .cta-button,
  .search-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: normal; /* Дозволяє перенос слів */
    line-height: 1.25;
    height: auto;
  }

  input[type="text"],
  input[type="email"] {
    width: 100% !important;
    box-sizing: border-box;
    font-size: 16px !important;
  }

  /* --- 6. ЗАГОЛОВКИ ТА ФУТЕР --- */
  h1 {
    font-size: 28px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
  }
  h2 {
    font-size: 22px;
    margin-top: 24px;
  }
  
  footer {
    padding: 40px 0 60px;
    text-align: center;
  }
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .social-links {
    justify-content: center;
  }
  .footer-samples {
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  body {
    font-size: 17px;
  }
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 28px;
    margin-top: 44px;
  }
  h3 {
    font-size: 22px;
  }
  .header-content {
    padding: 0 32px;
  }
  .main-content {
    padding: 0 32px;
  }
  .footer-content {
    padding: 0 32px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .header-content,
  .main-content,
  .footer-content {
    padding: 0 36px;
  }
}

@media (min-width: 1281px) and (max-width: 1600px) {
  .header-content,
  .main-content,
  .footer-content {
    padding: 0 40px;
  }
}

@media (min-width: 1601px) {
  .header-content,
  .main-content,
  .footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
  }
}

/* ===============================  PRINT  =============================== */
@media print {
  header, footer, .print-button, .burger-menu {
    display: none !important;
  }
  body {
    background: white;
  }
  .document-block,
  .success-card,
  .form-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  .hero {
    margin-top: 0;
    padding-top: 20px;
  }
}

/* ===============================  UTILITIES  =============================== */
.cta-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -.2px;
}
.cta-section p {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-secondary);
  margin-bottom: 36px;
}
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.tech-badge {
  padding: 12px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
  transition: all .3s ease;
}
.tech-badge:hover {
  background: var(--card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-hover);
}
.text-content-narrow {
  max-width: 768px;
  margin: 0 auto;
}
::selection {
  background: rgba(0, 118, 128, .25);
}
/* --- MEDIUM-STYLE READING CONTAINER --- */
/* Використовуйте цей клас для Terms, Privacy, FAQ, Blog */
.container-narrow {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 16px 100px; /* 16px збоку, 100px знизу */
}

/* На мобільних зменшуємо відступи */
@media (max-width: 768px) {
  .container-narrow {
    padding: 0 20px 80px;
  }
}





/* Age Filters */
.age-filters-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    /* margin-top: 40px; */
    margin-bottom: 40px;
	position: relative;
	z-index: 99;
}

.age-filters-title {
    text-align: center;
    font-size: 1.375rem;
    color: #0B1320;
    margin-bottom: 28px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.age-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.age-filter {
    width: 120px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #007680;
    border-radius: 12px;
/*     font-size: 1.5rem; */
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.age-filter:hover {
    border-color: #007680;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 118, 128, 0.15);
}

.age-filter.active {
    background: #007680;
    color: white;
    border-color: #1a9ba6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 118, 128, 0.25);
}

.age-filter.viewed {
    background: #E2E8F0;
    color: #94a3b8;
    border-color: #CBD5E1;
}

/* Results Content */
.results-content-container {
    margin-top: 40px;
    animation: fadeInUp 0.4s ease-out;
}

.results-content-container.show {
    display: block;
}

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

/* Profile Header */
.profile-header {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
    position: relative;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007680, #005F66);
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: #0B1320;
    margin-bottom: 20px;
    text-transform: capitalize;
    letter-spacing: -0.5px;
}

.profile-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.profile-age {
    font-size: 1.1rem;
    color: #334155;
}

.profile-age-number {
    font-weight: 600;
    color: #007680;
    font-size: 1.2rem;
}

.profile-zodiac {
    font-size: 1.1rem;
    color: #334155;
}

.profile-zodiac span {
    font-weight: 500;
    color: #007680;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748B;
    font-size: 14px;
    font-weight: 500;
}

.meta-item i {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #E6F5F6, #CCE9EC);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007680;
    font-size: 11px;
}

.records-count {
    background: linear-gradient(135deg, #007680, #005F66);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

/* Records Section */
.records-section {
    background: white;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #0B1320;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.3px;
}

.section-title i {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #007680, #005F66);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}


.records-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* Records List */
.records-list  h1{
    font-size: 28px;
    font-weight: 700;
    color: #0B1320;
    margin-bottom: 20px;
    text-transform: capitalize;
    letter-spacing: -0.5px;
}

.record-item {
    background: linear-gradient(135deg, #fafbfc, #f8fafc);
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    padding: 28px 32px 28px 72px;
    transition: all 0.2s ease;
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: stretch;
}

.record-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #007680, #007680);
    border-radius: 10px 0 0 10px;
}

.record-item:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E1;
}

.record-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 16px;
}

.record-number {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #007680, #005F66);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 118, 128, 0.2);
}

.record-text {
    font-size: 16px;
    color: #0B1320;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
	font-family: var(--font-body);
font-weight: 550;
}

/* Action Buttons Container */
.action-buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 36px 0;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
	position: relative;
	z-index: 1000;
}

.pdf-btn {
    /* background: linear-gradient(135deg, #dc2626, #b91c1c); */
	    background: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
    color: white;
    padding: 16px; 
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pdf-btn:hover {
/*     transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25); */
	    background: linear-gradient(135deg, #C2410C 0%, #EA580C 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.analysis-btn {
/*     background: linear-gradient(135deg, #7c3aed, #6d28d9); */
    background: linear-gradient(135deg, #005F66 0%, #005F66 100%);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.analysis-btn:hover {
/*     transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25); */
	    background: linear-gradient(135deg, #004D56 0%, #005F66 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

.action-btn i {
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
    /*     padding: 24px 16px; */
    }

    .results-title {
        font-size: 1.875rem;
    }

    .results-header,
    .search-form-container,
    .age-filters-container {
        padding: 28px 24px;
        margin-bottom: 32px;
    }

    .age-filter {
        width: 75px;
        height: 75px;
        font-size: 0.85rem;
    }

    .profile-meta {
        gap: 20px;
    }

    .record-item {
        padding: 24px 20px 24px 60px;
        min-height: auto;
    }

    .record-number {
        left: 16px;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .action-buttons-container {
        flex-direction: column;
        gap: 16px;
        padding: 28px 0;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}


.results-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 20px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}





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

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #007680, #005F66);
}

/* Заголовок */
.results-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0B1320;
    margin-bottom: 36px;
    letter-spacing: -0.75px;
    line-height: 1.2;
}

/* Блок "немає результатів" */
.no-results-block {
    background: #ffffff;
    border: 1px solid rgba(0, 118, 128, 0.12);
    border-radius: 12px;
    padding: 40px 32px;
    margin-bottom: 32px;
    position: relative;
}

/* Іконка */
.no-results-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #007680, #005F66);
    border-radius: 12px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    animation: checkPulse 0.6s ease-out;
    box-shadow: 0 4px 12px rgba(0, 118, 128, 0.25);
}

@keyframes checkPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Основний текст */
.no-results-main {
    font-size: 1.125rem;
    color: #0B1320;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.5;
    padding: 0 20px;
}

/* Підказка */
.no-results-suggestion {
    font-size: 0.9375rem;
    color: #334155;
    background: #ffffff;
    border: 1px solid rgba(0, 118, 128, 0.12);
    border-radius: 8px;
    padding: 12px 20px 12px 44px;
    margin-top: 20px;
    position: relative;
    display: inline-block;
    font-weight: 500;
    text-align: left;
}

.no-results-suggestion::before {
    content: '💡';
    position: absolute;
    left: 16px;
    top: 12px;
    font-size: 16px;
}

/* Додаткова інформація */
.additional-info {
    background: white;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 32px;
    text-align: left;
    position: relative;
}

.additional-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #007680, #3b82f6);
    border-radius: 12px 0 0 12px;
}

.info-title {
    font-size: 16px;
    font-weight: 600;
    color: #0B1320;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.2px;
}

.info-title i {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #E6F5F6, #CCE9EC);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007680;
    font-size: 14px;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 10px 0 10px 28px;
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    font-weight: 500;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #D4EFF2, #B3DEE2);
    border: 2px solid #007680;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-list li::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 13px;
    color: #007680;
    font-weight: bold;
    font-size: 10px;
}

/* Статистика */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 32px 0;
    padding: 24px;
    background: linear-gradient(135deg, #fafbfc, #f8fafc);
    border-radius: 10px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #007680;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #64748B;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Кнопки дій */
.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
	margin-bottom: 40px;
	position: relative;
	z-index: 1000;

}

.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
		width:300px;
	justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 118, 128, 0.3);
}

.btn-secondary {
    background: white;
    color: #007680;
    border: 2px solid #CBD5E1;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #007680;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Декоративні елементи */
.decorative-circles {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    opacity: 0.05;
}

.decorative-circles::before,
.decorative-circles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: #007680;
}

.decorative-circles::before {
    width: 100px;
    height: 100px;
    top: 0;
    right: 0;
}

.decorative-circles::after {
    width: 60px;
    height: 60px;
    bottom: 0;
    left: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 24px 16px;
    }

    .results-section {
        padding: 36px 28px;
    }

    .results-title {
        font-size: 1.875rem;
        margin-bottom: 28px;
    }

    .no-results-block {
        padding: 32px 24px;
    }

    .no-results-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .no-results-main {
        font-size: 1rem;
        padding: 0 10px;
    }

    .no-results-suggestion {
        font-size: 0.875rem;
        padding: 10px 16px 10px 40px;
    }

    .additional-info {
        padding: 24px;
    }

    .stats-row {
        gap: 24px;
        padding: 20px;
    }

    .stat-value {
        font-size: 20px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
	
.form-container {
    width: 100%;
	display: inline-block;
    justify-content: center;
	}
	.styled-button {
		display: inline-block; 
		width: 100%;
		}


	
	
}

@media (max-width: 480px) {
    .results-title {
        font-size: 1.625rem;
    }

    .info-list li {
        font-size: 13px;
        padding-left: 24px;
    }
}

.loading-state{
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}
@media (max-width: 820px) {
    .community-main {
        margin-top: -60px !important; /* "'"   <main> */
        padding-top: 60px;            /*      */
    }
}
/* iOS Safari: будь-яке поле <16px зумиться при фокусі — мінімум 16px на мобільному */
@media (max-width: 768px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]),
  select, textarea { font-size: 16px; }
}
