/* ==========================================================================
   AI ServiceDesk Landing — "Warm Indigo" Theme
   Manrope + Indigo (#4f46e5) + Amber (#f59e0b)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Font Faces
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-rgb: 79, 70, 229;
  --indigo-light: #6366f1;
  --amber: #f59e0b;
  --amber-hover: #d97706;
  --indigo-50: #eef2ff;
  --amber-50: #fffbeb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --max-width: 1120px;
  --header-height: 72px;
}

/* Light theme */
html.light {
  --bg: #fafaf9;
  --bg-card: #ffffff;
  --text: #1c1917;
  --text-secondary: #57534e;
  --border: #e7e5e4;
  --logo-text: #1c1917;
  --badge-bg: #fffbeb;
  --badge-text: #92400e;
  --badge-border: #fde68a;
  --hero-gradient: linear-gradient(135deg, #eef2ff 0%, #fffbeb 100%);
  --step-bg: #ffffff;
  --toggle-bg: #f5f5f4;
  --toggle-hover: #e7e5e4;
  --toggle-icon: #78716c;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.15);
}

/* Dark theme */
html.dark {
  --bg: #1c1917;
  --bg-card: #292524;
  --text: #fafaf9;
  --text-secondary: #a8a29e;
  --border: #44403c;
  --logo-text: #fafaf9;
  --badge-bg: rgba(245,158,11,.12);
  --badge-text: #fbbf24;
  --badge-border: rgba(245,158,11,.25);
  --hero-gradient: linear-gradient(135deg, rgba(79,70,229,.1) 0%, rgba(245,158,11,.08) 100%);
  --step-bg: #292524;
  --toggle-bg: #292524;
  --toggle-hover: #44403c;
  --toggle-icon: #a8a29e;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.2), 0 1px 2px rgba(0,0,0,.15);
  --shadow-md: 0 4px 12px rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.15);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.35), 0 4px 8px rgba(0,0,0,.25);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s, color 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* --------------------------------------------------------------------------
   Focus Styles
   -------------------------------------------------------------------------- */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* --------------------------------------------------------------------------
   Skip Link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 200;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Block 0: Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,249,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

html.dark .site-header {
  background: rgba(28,25,23,.85);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 1.25rem;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-weight: 600;
  color: var(--logo-text);
}

.nav {
  display: none;
  gap: 8px;
}

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(0,0,0,.04);
}

html.dark .nav-link:hover {
  background: rgba(255,255,255,.06);
}

.nav-link.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.header-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--toggle-bg);
  color: var(--toggle-icon);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}

.theme-toggle:hover {
  background: var(--toggle-hover);
  color: var(--text);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--text);
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-height);
  z-index: 99;
  background: var(--bg);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu .nav-link {
  display: block;
  font-size: 1rem;
  padding: 12px 16px;
}

/* --------------------------------------------------------------------------
   Block 1: Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 48px 0 64px;
  text-align: center;
  background: var(--hero-gradient);
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), .3);
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), .35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  border-color: var(--primary);
  background: var(--indigo-50);
}

html.dark .btn-ghost:hover {
  background: rgba(var(--primary-rgb), .1);
}

.btn-ghost svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Block 2: Services
   -------------------------------------------------------------------------- */
.services {
  padding: 64px 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon.tickets {
  background: var(--indigo-50);
}

html.dark .service-icon.tickets {
  background: rgba(99,102,241,.15);
}

.service-icon.articles {
  background: var(--amber-50);
}

html.dark .service-icon.articles {
  background: rgba(245,158,11,.12);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.service-time.tickets {
  background: var(--indigo-50);
  color: var(--primary);
}

html.dark .service-time.tickets {
  background: rgba(99,102,241,.15);
}

.service-time.articles {
  background: var(--amber-50);
  color: #b45309;
}

html.dark .service-time.articles {
  background: rgba(245,158,11,.12);
  color: #fbbf24;
}

/* --------------------------------------------------------------------------
   Block 3: How It Works
   -------------------------------------------------------------------------- */
.how-it-works {
  background: var(--bg-card);
  padding: 80px 0;
}

.cycle-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.cycle-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cycle-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cycle-text {
  flex-grow: 1;
}

.cycle-step-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cycle-step-desc {
  font-size: .9rem;
  color: var(--text-secondary);
}

.cycle-connector {
  display: none;
}

/* --------------------------------------------------------------------------
   Block 4: Modes
   -------------------------------------------------------------------------- */
.modes {
  padding: 80px 0;
}

.modes-header {
  text-align: center;
  margin-bottom: 48px;
}

.mode-switch {
  display: inline-flex;
  background: var(--toggle-bg);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.mode-switch-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-secondary);
  transition: background-color 0.2s, color 0.2s;
}

.mode-switch-btn.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.mode-content {
  display: none;
}

.mode-content.is-active {
  display: block;
}

.mode-panel {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.mode-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.scenarios {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scenario {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.scenario.allow {
  border-left: 4px solid #10b981;
}

.scenario.hitl {
  border-left: 4px solid var(--amber);
}

.scenario.deny {
  border-left: 4px solid #ef4444;
}

.scenario-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scenario-icon.allow {
  background: #ecfdf5;
  color: #10b981;
}

.scenario-icon.hitl {
  background: var(--amber-50);
  color: var(--amber);
}

.scenario-icon.deny {
  background: #fef2f2;
  color: #ef4444;
}

html.dark .scenario-icon.allow {
  background: rgba(16,185,129,.12);
}

html.dark .scenario-icon.hitl {
  background: rgba(245,158,11,.12);
}

html.dark .scenario-icon.deny {
  background: rgba(239,68,68,.12);
}

.scenario-icon svg {
  width: 18px;
  height: 18px;
}

.scenario-text {
  flex-grow: 1;
}

.scenario-title {
  font-weight: 700;
  font-size: .95rem;
}

.scenario-desc {
  font-size: .875rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Block 5: Security
   -------------------------------------------------------------------------- */
.security {
  background: var(--bg-card);
  padding: 80px 0;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.security-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
}

.security-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-icon svg {
  width: 32px;
  height: 32px;
}

.security-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.security-desc {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Block 6: Free Tokens
   -------------------------------------------------------------------------- */
.tokens {
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.step-card {
  background: var(--step-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-card:nth-child(1) { min-height: 160px; }
.step-card:nth-child(2) { min-height: 180px; }
.step-card:nth-child(3) { min-height: 200px; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-icon {
  margin-bottom: 12px;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin: 0 auto;
}

.step-label {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-condition {
  font-size: .875rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.step-result {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}

.token-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.token-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
}

.token-badge.tickets {
  background: var(--indigo-50);
  color: #4338ca;
}

html.dark .token-badge.tickets {
  background: rgba(99,102,241,.15);
  color: #a5b4fc;
}

.token-badge.articles {
  background: var(--amber-50);
  color: #b45309;
}

html.dark .token-badge.articles {
  background: rgba(245,158,11,.12);
  color: #fbbf24;
}

.tokens-footer {
  text-align: center;
  margin-top: 48px;
}

/* --------------------------------------------------------------------------
   Block 7: Pricing
   -------------------------------------------------------------------------- */
.pricing {
  background: var(--bg-card);
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  background: var(--bg);
}

html.dark .price-card {
  background: var(--bg);
}

.price-card.tickets {
  border-top: 4px solid var(--indigo-light);
}

.price-card.articles {
  border-top: 4px solid var(--amber);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
}

.price-currency {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.price-per {
  font-size: .9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.price-desc {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-note {
  text-align: center;
  max-width: 600px;
  margin: 32px auto 0;
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-cta {
  text-align: center;
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Block 8: Limitations
   -------------------------------------------------------------------------- */
.limitations {
  padding: 80px 0;
}

.limitations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.limitations-col-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.limitations-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.limitations-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.limitations-item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.limitations-item-icon svg {
  width: 20px;
  height: 20px;
}

.limitations-item-icon.deny {
  color: #ef4444;
}

html.dark .limitations-item-icon.deny {
  color: #f87171;
}

.limitations-item-icon.need {
  color: var(--primary);
}

.limitations-item-text {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.limitations-accent {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
}

.limitations-teamlead {
  font-size: .875rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Block 9: Questions
   -------------------------------------------------------------------------- */
.questions {
  background: var(--bg-card);
  padding: 80px 0;
}

.questions-header {
  text-align: center;
  margin-bottom: 40px;
}

.questions-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.chip:hover {
  border-color: var(--primary);
  background: var(--indigo-50);
  color: var(--primary);
}

html.dark .chip:hover {
  background: rgba(var(--primary-rgb), .1);
}

.chip svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.qr-section {
  text-align: center;
  margin-top: 48px;
}

.qr-code {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.qr-label {
  font-size: .8rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Block 10: Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  padding: 80px 0;
  text-align: center;
}

.final-cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

.final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: .875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: .8rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Floating Telegram Button
   -------------------------------------------------------------------------- */
.fab-telegram {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2AABEE;
  color: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.fab-telegram svg {
  width: 28px;
  height: 28px;
}

.fab-telegram:hover {
  transform: scale(1.1);
}

.fab-telegram.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

/* --------------------------------------------------------------------------
   Cookie Bar
   -------------------------------------------------------------------------- */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px;
  box-shadow: var(--shadow-lg);
}

.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-text {
  font-size: .8rem;
  color: var(--text-secondary);
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.cookie-btn:hover {
  background: var(--primary-hover);
}

.cookie-bar.is-hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Tablet / Desktop (min-width: 768px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .nav {
    display: flex;
  }

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

  .hero {
    padding: 80px 0 96px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cycle-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .cycle-connector {
    display: block;
  }

  .security-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .limitations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .final-cta h2 {
    font-size: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Mobile (max-width: 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .qr-section {
    display: none;
  }

  .header-cta {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Wide Desktop (min-width: 1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .site-header-inner {
    padding: 0 32px;
  }
}
