/* =========================================================
   timepax - Landing Page Stylesheet
   Kurumsal: Mavi tonları (güven veren)
   ========================================================= */

:root {
  --primary: #1E40AF;
  --primary-dark: #1E3A8A;
  --primary-light: #3B82F6;
  --primary-soft: #DBEAFE;
  --accent: #F59E0B;
  --bg-light: #F8FAFC;
  --bg-section: #F1F5F9;
  --border: #E2E8F0;
  --text-dark: #0F172A;
  --text-mid: #334155;
  --text-gray: #64748B;
  --success: #10B981;
  --error: #EF4444;
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 64, 175, 0.18);
  --radius: 12px;
  --radius-lg: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-light:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* ---------- Top Utility Bar ---------- */
.top-bar {
  background: #0F172A;
  color: rgba(255, 255, 255, 0.82);
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px solid #1E293B;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.top-bar a:hover {
  color: #93C5FD;
}
.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.top-bar-right {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.top-bar i {
  font-size: 12px;
  color: #93C5FD;
}
.top-bar .sep {
  color: #334155;
  font-weight: 700;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.lang-switcher .lang-link {
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 500;
}
.lang-switcher .lang-link:hover,
.lang-switcher .lang-link.active {
  opacity: 1;
  text-decoration: underline;
}
.lang-switcher .lang-link.active {
  font-weight: 700;
}
.lang-switcher .lang-sep,
.top-bar-auth .lang-sep {
  opacity: 0.45;
  user-select: none;
}
.top-bar-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.top-bar-auth a {
  font-weight: 600;
}
.top-bar-auth-register {
  color: #93C5FD !important;
}
.top-bar-auth-register:hover {
  color: #fff !important;
}

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

/* ---------- Header Actions (WhatsApp + CTA) ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.whatsapp-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
  color: #fff;
}
.header-cta {
  padding: 11px 22px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}
.header-auth {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 6px;
  border-right: 1px solid var(--border);
  margin-right: 4px;
}
.header-auth-link {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.header-auth-link:hover {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.06);
}
.header-auth-link--register {
  color: var(--primary);
}
.header-auth-link--register:hover {
  background: rgba(30, 64, 175, 0.1);
}
.nav a.is-active {
  color: var(--primary);
  font-weight: 600;
}
.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Floating WhatsApp button (always visible, bottom-right of screen) */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-wa 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    right: 18px;
    bottom: 18px;
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  overflow-x: clip;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: 12px;
  min-width: 0;
}
.nav--desktop {
  flex-shrink: 1;
  min-width: 0;
}
.header-actions--desktop {
  flex-shrink: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo i {
  font-size: 26px;
  color: var(--primary);
}
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  color: var(--text-mid);
  font-weight: 500;
  font-size: 15px;
}
.nav a:hover {
  color: var(--primary);
}
.nav .btn {
  padding: 10px 20px;
  font-size: 14px;
}
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.mobile-menu-toggle:hover {
  background: var(--bg-section);
  border-color: var(--primary);
}
.mobile-menu-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 20px;
  height: 20px;
  position: relative;
}
.mobile-menu-toggle .icon-close {
  display: none;
  position: absolute;
}
.header.is-menu-open .mobile-menu-toggle .icon-bars {
  display: none;
}
.header.is-menu-open .mobile-menu-toggle .icon-close {
  display: block;
}
.header.is-menu-open .mobile-menu-toggle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- Mobile drawer menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  max-width: 100%;
}
.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 200;
}
.mobile-menu.is-open .mobile-menu-backdrop {
  opacity: 1;
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100vw, 360px);
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  background: #fff;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(15, 23, 42, 0.12);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.mobile-menu.is-open .mobile-menu-panel {
  transform: translate3d(0, 0, 0);
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.mobile-menu-logo i {
  font-size: 22px;
}
.mobile-menu-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover {
  background: var(--bg-section);
  color: var(--primary);
}
.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px 24px;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-link > i:first-child {
  width: 22px;
  text-align: center;
  color: var(--primary);
  font-size: 16px;
}
.mobile-menu-link span {
  flex: 1;
}
.mobile-menu-link-arrow {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.6;
}
.mobile-menu-link:hover,
.mobile-menu-link.is-active {
  background: rgba(30, 64, 175, 0.08);
  color: var(--primary);
}
.mobile-menu-section {
  margin-bottom: 20px;
}
.mobile-menu-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding: 0 4px;
}
.mobile-lang-pills {
  display: flex;
  gap: 8px;
}
.mobile-lang-pill {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid);
  background: var(--bg-section);
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.mobile-lang-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.mobile-lang-pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.mobile-menu-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu-foot {
  padding: 16px 20px 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: #fff;
}
.mobile-menu-cta {
  padding: 14px 20px;
  font-size: 15px;
}
body.is-mobile-menu-open {
  overflow: hidden;
}

/* ---------- Hero Two-Column Visual ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 560px;
}
.hero-text { position: relative; }
.hero-text .slider {
  position: relative;
  min-height: 400px;
  z-index: 2;
}
.hero-text .slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: left;
  max-width: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.hero-text .slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-text .slide h1 {
  font-size: 44px;
  line-height: 1.15;
}
.hero-text .slide p {
  margin-left: 0;
  margin-right: 0;
}
.hero-text .slide-cta { justify-content: flex-start; }
.hero-text .slider-dots { justify-content: flex-start; margin-top: 0; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
  overflow: visible;
}
.hero-phone-wrap {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 12px 0;
  flex-shrink: 0;
}
.hero-phone-wrap .phone {
  margin: 0 auto;
}
.phone {
  width: 280px;
  height: 560px;
  background: #0F172A;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    inset 0 0 0 3px #1E293B,
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 20px 60px rgba(30, 64, 175, 0.35);
  position: relative;
  z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.app-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 50px 20px 18px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.app-header i { margin-right: 6px; }
.qr-scan-area {
  position: relative;
  margin: 22px 22px 14px;
  aspect-ratio: 1;
  background: white;
  border-radius: 14px;
  padding: 18px;
}
.qr-code {
  width: 100%;
  height: 100%;
  display: block;
}
.scan-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--primary);
  border-style: solid;
  border-width: 0;
}
.scan-corner.top-left {
  top: 4px; left: 4px;
  border-top-width: 4px;
  border-left-width: 4px;
  border-top-left-radius: 8px;
}
.scan-corner.top-right {
  top: 4px; right: 4px;
  border-top-width: 4px;
  border-right-width: 4px;
  border-top-right-radius: 8px;
}
.scan-corner.bottom-left {
  bottom: 4px; left: 4px;
  border-bottom-width: 4px;
  border-left-width: 4px;
  border-bottom-left-radius: 8px;
}
.scan-corner.bottom-right {
  bottom: 4px; right: 4px;
  border-bottom-width: 4px;
  border-right-width: 4px;
  border-bottom-right-radius: 8px;
}
.scan-line {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary) 50%, transparent);
  box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(30, 64, 175, 0.6);
  border-radius: 3px;
  animation: scan 2.5s ease-in-out infinite;
  z-index: 2;
}
@keyframes scan {
  0%   { top: 18px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: calc(100% - 21px); opacity: 0; }
}
.app-status {
  text-align: center;
  padding: 0 20px 10px;
  color: var(--text-gray);
  font-size: 12px;
  line-height: 1.4;
}
.app-status .row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 0;
}
.app-status .row i {
  color: var(--primary);
  font-size: 11px;
}
.app-status .row.success i { color: var(--success); }
.app-bottom-bar {
  margin-top: auto;
  padding: 14px 20px 18px;
  background: var(--bg-light);
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border);
}
.app-bottom-bar i {
  font-size: 18px;
  color: var(--text-gray);
}
.app-bottom-bar i.active { color: var(--primary); }

/* Floating cards around phone */
.float-card {
  position: absolute;
  background: white;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  width: max-content;
  max-width: min(240px, calc(100% - 8px));
}
.float-card .float-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 16px;
}
.float-card .float-icon.checkin { background: var(--success); }
.float-card .float-icon.ai {
  background: linear-gradient(135deg, #8B5CF6, #6366F1);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}
.float-card .float-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 13px;
  line-height: 1.3;
}
.float-card .float-sub {
  color: var(--text-gray);
  font-size: 11px;
  margin-top: 2px;
}
.float-checkin {
  top: 10%;
  left: 0;
  animation: float 5s ease-in-out infinite;
}
.float-ai {
  bottom: 14%;
  right: 0;
  animation: float 5s ease-in-out infinite;
  animation-delay: 1.8s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (max-width: 1024px) {
  .hero-phone-wrap {
    width: min(100%, 380px);
  }
  .float-card {
    max-width: min(210px, calc(100% - 4px));
    padding: 10px 12px;
  }
  .float-card .float-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .float-card .float-title {
    font-size: 12px;
  }
  .float-checkin {
    top: 6%;
    left: 2px;
  }
  .float-ai {
    bottom: 10%;
    right: 2px;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: #fff;
  padding: 96px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.slider {
  position: relative;
  min-height: 360px;
  z-index: 2;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.slide-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.slide h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.slide p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 36px;
  opacity: 0.95;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.slide-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.dot.active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

/* ---------- Sections base ---------- */
section {
  padding: 96px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.section-header .lead {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 640px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- Home stats band (below hero) ---------- */
.stats-band--home {
  position: relative;
  z-index: 5;
  margin-top: -64px;
  padding: 0 0 8px;
  pointer-events: none;
}
.stats-band--home .container {
  pointer-events: auto;
}
.home-stats-panel {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(30, 64, 175, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: 28px 32px 24px;
  overflow: hidden;
  position: relative;
}
.home-stats-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light), var(--primary));
}
.home-stats-intro {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.home-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.home-stats-tagline {
  font-size: 15px;
  color: var(--text-gray);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.home-stats-grid .stats-band-item {
  text-align: center;
  padding: 8px 12px 12px;
  position: relative;
  border-radius: 12px;
  transition: background 0.2s;
}
.home-stats-grid .stats-band-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.home-stats-grid .stats-band-item:hover {
  background: rgba(241, 245, 249, 0.8);
}
.home-stats-grid .stats-band-item--featured {
  background: linear-gradient(180deg, #EFF6FF 0%, rgba(239, 246, 255, 0.4) 100%);
}
.home-stats-grid .stats-band-item--featured::after {
  background: linear-gradient(180deg, transparent, #BFDBFE, transparent);
}
.home-stats-grid .stats-band-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.2s, background 0.2s;
}
.home-stats-grid .stats-band-item:hover .stats-band-icon {
  transform: scale(1.06);
  background: #fff;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}
.home-stats-grid .stats-band-item--featured .stats-band-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.35);
}
.home-stats-grid .stats-band-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.home-stats-grid .stats-band-item--featured .stats-band-value {
  color: var(--primary);
  font-size: 30px;
}
.home-stats-grid .stats-band-label {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: 600;
  line-height: 1.35;
}
.home-stats-foot {
  text-align: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.home-stats-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  transition: gap 0.2s, color 0.2s;
}
.home-stats-link:hover {
  color: var(--primary-dark);
  gap: 12px;
}
.home-stats-link i {
  font-size: 12px;
}

/* ---------- Testimonials (home carousel) ---------- */
.testimonials-section {
  background: #fff;
  padding: 56px 0 80px;
  border-bottom: 1px solid var(--border);
}
.testimonials-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.testimonials-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.testimonials-header .lead {
  font-size: 17px;
  color: var(--text-gray);
  line-height: 1.6;
}
.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}
.testimonials-track-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  position: relative;
  min-height: 260px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  pointer-events: none;
}
.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}
.testimonial-card {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-quote-mark {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 28px;
  color: var(--primary-soft);
  opacity: 0.9;
}
.testimonial-quote {
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 0 28px;
  padding-right: 40px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--logo-color, var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}
.testimonial-logo-icon {
  font-size: 22px;
  opacity: 0.95;
}
.testimonial-logo-initials {
  display: none;
}
.testimonial-name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
}
.testimonial-role {
  display: block;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}
.testimonial-company {
  display: block;
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 2px;
}
.testimonials-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.testimonials-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.05);
}
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.testimonial-dot.active {
  background: var(--primary);
  transform: scale(1.15);
}
.testimonials-cta-wrap {
  text-align: center;
  margin-top: 28px;
}
.testimonials-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.testimonials-cta:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}

/* ---------- References page ---------- */
.page-header--refs {
  padding-bottom: 56px;
}
.page-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.refs-stats {
  background: var(--bg-light);
  padding: 56px 0 48px;
  margin-top: -32px;
  position: relative;
  z-index: 2;
}
.refs-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.refs-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.refs-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.refs-stat-card--featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, #EFF6FF 0%, #fff 100%);
}
.refs-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.refs-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.refs-stat-label {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 600;
  line-height: 1.35;
}
.refs-stats-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 24px;
}
.refs-stories {
  padding: 80px 0;
}
.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.refs-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.refs-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.refs-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.refs-card-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.refs-card-logo .testimonial-logo-icon {
  font-size: 18px;
}
.refs-card-company {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.3;
}
.refs-card-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0 0 20px;
  flex: 1;
}
.refs-card-author cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}
.refs-card-author span {
  display: block;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}
.refs-cta-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 72px 0;
  color: #fff;
}
.refs-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.refs-cta-inner h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}
.refs-cta-inner p {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 28px;
}
.refs-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.refs-cta-band .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.refs-cta-band .btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

@media (max-width: 1024px) {
  .refs-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .refs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1024px) {
  .home-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .home-stats-grid .stats-band-item:nth-child(3)::after {
    display: none;
  }
  .home-stats-grid .stats-band-item:nth-child(4),
  .home-stats-grid .stats-band-item:nth-child(5) {
    grid-column: span 1;
  }
}
@media (max-width: 768px) {
  .stats-band--home {
    margin-top: -40px;
    padding: 0 0 4px;
  }
  .home-stats-panel {
    padding: 22px 18px 18px;
    border-radius: 16px;
  }
  .home-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .home-stats-grid .stats-band-item::after {
    display: none;
  }
  .home-stats-grid .stats-band-value {
    font-size: 24px;
  }
  .home-stats-grid .stats-band-item--featured .stats-band-value {
    font-size: 26px;
  }
  .home-stats-intro {
    margin-bottom: 18px;
    padding-bottom: 16px;
  }
  .testimonials-section {
    padding: 48px 0 64px;
  }
  .testimonials-header h2 {
    font-size: 28px;
  }
  .testimonials-carousel {
    flex-direction: column;
  }
  .testimonials-nav {
    display: none;
  }
  .testimonial-card {
    padding: 28px 24px 24px;
  }
  .testimonial-quote {
    font-size: 17px;
    padding-right: 0;
  }
  .testimonials-track {
    min-height: 300px;
  }
  .refs-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .refs-stat-value {
    font-size: 26px;
  }
  .refs-grid {
    grid-template-columns: 1fr;
  }
  .refs-cta-inner h2 {
    font-size: 26px;
  }
  .refs-cta-actions .btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .home-stats-grid {
    grid-template-columns: 1fr;
  }
  .home-stats-grid .stats-band-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 2px 14px;
    text-align: left;
    padding: 12px 14px;
    align-items: center;
  }
  .home-stats-grid .stats-band-icon {
    grid-row: 1 / 3;
    margin: 0;
  }
  .home-stats-grid .stats-band-value {
    font-size: 22px;
    margin-bottom: 0;
    align-self: end;
  }
  .home-stats-grid .stats-band-label {
    font-size: 11px;
    align-self: start;
  }
  .refs-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Modules Section ---------- */
.modules {
  background: var(--bg-light);
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.module-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-soft);
}
.module-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 16px rgba(30, 64, 175, 0.25);
}
.module-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.module-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.55;
}

/* ---------- Advantages Section ---------- */
.advantages {
  background: #fff;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.advantage-card {
  text-align: center;
  padding: 32px 24px;
}
.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.advantage-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.advantage-card p {
  color: var(--text-gray);
  font-size: 15px;
}

/* ---------- How it works Section ---------- */
.how-it-works {
  background: var(--bg-section);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
}
.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-gray);
}

/* ---------- AI Section ---------- */
.ai-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.ai-text .eyebrow {
  color: #93C5FD;
}
.ai-text h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}
.ai-text p {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 24px;
  max-width: 540px;
}
.ai-features {
  list-style: none;
  margin: 24px 0 0 0;
}
.ai-features li {
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  opacity: 0.92;
}
.ai-features li i {
  color: #60A5FA;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.ai-mock {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ai-mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}
.ai-mock-header .dot-cluster {
  display: flex;
  gap: 6px;
}
.ai-mock-header .dot-cluster span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ai-mock-header .dot-cluster span:nth-child(1) { background: #EF4444; }
.ai-mock-header .dot-cluster span:nth-child(2) { background: #F59E0B; }
.ai-mock-header .dot-cluster span:nth-child(3) { background: #10B981; }
.ai-mock-header .title {
  font-size: 13px;
  opacity: 0.6;
  margin-left: 8px;
}
.ai-msg {
  margin-bottom: 14px;
}
.ai-msg.user {
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 12px 16px;
  border-radius: 14px 14px 4px 14px;
  margin-left: 32px;
  font-size: 14px;
}
.ai-msg.bot {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 16px;
  border-radius: 14px 14px 14px 4px;
  margin-right: 32px;
  font-size: 14px;
  line-height: 1.55;
}
.ai-msg .label {
  display: block;
  font-size: 11px;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  font-weight: 700;
}

/* ---------- Pricing Plans ---------- */
.pricing {
  background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}
.billing-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 48px;
}
.billing-toggle-wrap .lbl {
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.2s;
}
.billing-toggle-wrap .lbl.active {
  color: var(--primary);
}
.yearly-active .billing-toggle-wrap .lbl.monthly { color: var(--text-mid); }
.yearly-active .billing-toggle-wrap .lbl.yearly { color: var(--primary); }
.billing-toggle-wrap .savings-badge {
  background: var(--accent);
  color: #78350F;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  margin-left: 6px;
}
.switch {
  position: relative;
  width: 56px;
  height: 30px;
  background: var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s;
  flex-shrink: 0;
}
.switch input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.switch input:checked ~ .knob {
  transform: translateX(26px);
}
.switch:has(input:checked) {
  background: var(--primary);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.plan-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan-card.featured {
  border-color: var(--primary);
  border-width: 2.5px;
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #fff 0%, #F0F7FF 100%);
}
.plan-card.featured:hover {
  transform: translateY(-12px);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}
.plan-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.plan-tagline {
  font-size: 13px;
  color: var(--text-gray);
  min-height: 36px;
  margin-bottom: 18px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.plan-price .currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}
.plan-price .amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1.5px;
  line-height: 1;
}
.plan-price .period {
  font-size: 16px;
  color: var(--text-gray);
  font-weight: 500;
}
.plan-price.custom {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}
.plan-vat-note {
  font-size: 11px;
  color: var(--text-gray);
  margin-bottom: 8px;
}
.yearly-savings {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.plan-cta {
  margin-bottom: 24px;
  display: block;
  width: 100%;
  text-align: center;
}
.plan-cta.btn-primary {
  background: var(--primary);
  color: #fff;
}
.plan-cta.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.plan-cta.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.plan-features {
  list-style: none;
  flex: 1;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.plan-features li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-mid);
}
.plan-features li i.fa-check {
  color: var(--success);
  font-size: 13px;
  margin-top: 4px;
  flex-shrink: 0;
}
.plan-features li i.fa-xmark {
  color: #CBD5E1;
  font-size: 13px;
  margin-top: 4px;
  flex-shrink: 0;
}
.plan-features li.muted {
  color: var(--text-gray);
  text-decoration: line-through;
  opacity: 0.7;
}
.plan-features li.featured-line {
  font-weight: 700;
  color: var(--primary);
}
.plan-features li.featured-line i {
  color: var(--primary);
}
.plan-section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 14px;
  margin-bottom: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.plan-section-label:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-gray);
  font-size: 14px;
}
.pricing-note strong {
  color: var(--text-mid);
}
.pricing-simulator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.simulator-controls {
  padding: 40px;
}
.simulator-controls h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.simulator-controls .helper {
  color: var(--text-gray);
  margin-bottom: 32px;
  font-size: 14px;
}
.control-group {
  margin-bottom: 28px;
}
.control-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.control-label .name {
  font-weight: 600;
  color: var(--text-dark);
}
.control-label .value {
  font-weight: 800;
  font-size: 22px;
  color: var(--primary);
}
.control-group input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.control-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.4);
  transition: transform 0.15s;
}
.control-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}
.control-group input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.4);
}
.range-hint {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--text-gray);
  font-size: 12px;
}
.control-toggles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 6px 0;
  color: var(--text-mid);
  font-size: 14px;
}
.toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}
.simulator-result {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.simulator-result::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.simulator-result h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}
.result-breakdown {
  flex: 1;
  position: relative;
  z-index: 2;
}
.result-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  font-size: 15px;
  opacity: 0.92;
}
.result-line.subtotal {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 600;
  opacity: 1;
}
.result-line.discount {
  color: #BFDBFE;
}
.result-line.total {
  font-size: 28px;
  font-weight: 800;
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  margin-top: 14px;
  padding-top: 18px;
  align-items: baseline;
}
.result-line.total .value {
  font-size: 36px;
  letter-spacing: -1px;
}
.period-note {
  text-align: right;
  font-size: 13px;
  opacity: 0.75;
  margin-top: 8px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.simulator-result .btn {
  align-self: stretch;
  position: relative;
  z-index: 2;
}

/* ---------- CTA Form ---------- */
.cta-form {
  background: #fff;
}
.cta-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 64px 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-card > * { position: relative; z-index: 2; }
.cta-card h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.cta-card p {
  margin-bottom: 32px;
  opacity: 0.95;
  font-size: 17px;
}
.trial-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  margin: 0 auto;
}
.trial-form input {
  padding: 16px 20px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-size: 16px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-dark);
  transition: border-color 0.2s;
}
.trial-form input:focus {
  outline: none;
  border-color: var(--accent);
}
.trial-form button {
  background: #fff;
  color: var(--primary);
  padding: 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.15s;
}
.trial-form button:hover {
  transform: translateY(-2px);
}
.privacy-note {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 16px;
  line-height: 1.5;
}
.alert {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
}
.alert-success {
  background: rgba(255, 255, 255, 0.95);
  color: var(--success);
}
.alert-error {
  background: rgba(255, 255, 255, 0.95);
  color: var(--error);
}

/* ---------- Footer ---------- */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-col h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.footer-col .footer-tag {
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.footer-col a, .footer-col p {
  display: block;
  margin-bottom: 10px;
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-col .small-link {
  margin-bottom: 10px;
}

/* Newsletter wrap inside brand column */
.newsletter-wrap {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #1E293B;
  border-radius: 12px;
  padding: 20px;
}
.newsletter-label {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.newsletter-desc {
  color: #94A3B8;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.newsletter-input {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.newsletter-input input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid #1E293B;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.newsletter-input input::placeholder { color: #64748B; }
.newsletter-input input:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.12);
}
.newsletter-input button {
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.newsletter-input button:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(59, 130, 246, 0.35);
}
.newsletter-note {
  font-size: 12px;
  color: #64748B;
  margin-top: 10px;
  line-height: 1.5;
}
.newsletter-msg {
  margin-bottom: 12px;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}
.newsletter-msg.success {
  background: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.newsletter-msg.error {
  background: rgba(239, 68, 68, 0.15);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* IXIR company strip */
.footer-company {
  border-top: 1px solid #1E293B;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-company-name {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.footer-company-name i { color: var(--primary-light); margin-right: 4px; }
.footer-company-addr {
  color: #94A3B8;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}
.footer-company-addr i {
  color: var(--primary-light);
  margin-top: 2px;
  margin-right: 4px;
}

/* Bottom strip: copyright + legal links */
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #64748B;
}
.copyright { line-height: 1.5; }
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.legal-links a {
  color: #94A3B8;
  font-size: 13px;
  transition: color 0.2s;
}
.legal-links a:hover { color: #fff; }
.dot-sep { color: #334155; padding: 0 2px; }

/* ---------- Page Header (for iletisim.php) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.page-header p {
  font-size: 18px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.contact-section {
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-info h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.contact-info .info-lead {
  color: var(--text-gray);
  margin-bottom: 28px;
  font-size: 14px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item i {
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
  background: var(--primary-soft);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item .label {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}
.contact-item .value {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.5;
}

.contact-form-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-form-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.contact-form-card .form-lead {
  color: var(--text-gray);
  margin-bottom: 28px;
  font-size: 14px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .full-row { grid-column: 1 / -1; }
/* Form captcha (math) */
.form-captcha {
  margin: 4px 0 8px;
}
.contact-form .form-captcha {
  grid-column: 1 / -1;
}
.form-captcha-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-captcha-label i {
  color: var(--primary);
}
.form-captcha-question {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
}
.form-captcha-input {
  width: 100%;
  max-width: 120px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}
.form-captcha-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-captcha--compact {
  margin-top: 12px;
}
.form-captcha--compact .form-captcha-label {
  font-size: 12px;
  color: #CBD5E1;
}
.form-captcha--compact .form-captcha-question {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.form-captcha--compact .form-captcha-input {
  max-width: 100%;
  background: #1E293B;
  border-color: #334155;
  color: #fff;
}
.form-captcha--compact .form-captcha-input::placeholder {
  color: #64748B;
}
.newsletter-form .form-captcha--compact .form-captcha-label i {
  color: #93C5FD;
}

.contact-form .field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-mid);
}
.contact-form input,
.contact-form textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form .submit-row {
  grid-column: 1 / -1;
}
.contact-form button {
  width: 100%;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.contact-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.alert-inline {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 14px;
}
.alert-inline.success {
  background: #D1FAE5;
  color: #065F46;
}
.alert-inline.error {
  background: #FEE2E2;
  color: #991B1B;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav--desktop {
    gap: 18px;
  }
  .nav--desktop a {
    font-size: 14px;
  }
  .header-cta {
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
  }
}
@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
  .plan-card.featured { transform: translateY(0); }
  .plan-card.featured:hover { transform: translateY(-4px); }
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
  .ai-text h2 { font-size: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    min-height: auto;
  }
  .hero-text .slide { text-align: center; }
  .hero-text .slide-cta { justify-content: center; }
  .hero-text .slider-dots { justify-content: center; }
  .hero-text .slider { min-height: 320px; }
  .hero-text .slide h1 { font-size: 38px; }
  .hero-visual { min-height: 520px; }
}
@media (max-width: 768px) {
  .nav--desktop,
  .header-actions--desktop {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .newsletter-input { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-company { flex-direction: column; align-items: flex-start; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .legal-links { justify-content: center; }
  .slide h1 { font-size: 32px; }
  .slide p { font-size: 16px; }
  .hero { padding: 64px 0 80px; }
  section { padding: 64px 0; }
  .section-header h2 { font-size: 30px; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid, .steps-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; }
  .hero-text .slide h1 { font-size: 30px; }
  .phone { transform: scale(0.88); }
  .float-card { display: none; }
  .hero-visual { min-height: 480px; }
  .cta-card { padding: 48px 24px; }
  .cta-card h2 { font-size: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form-card { padding: 32px 24px; }
  .contact-form { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 34px; }
}
@media (max-width: 480px) {
  .modules-grid { grid-template-columns: 1fr; }
  .slide-cta { flex-direction: column; }
  .slide-cta .btn { width: 100%; }
  .hero-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Legal documents ---------- */
.page-header--compact {
  padding: 56px 0 48px;
}
.legal-doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 12px;
}
.legal-updated {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 16px;
}
.legal-page {
  padding: 48px 0 96px;
  background: var(--bg-section);
}
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.legal-sidebar {
  position: sticky;
  top: 100px;
}
.legal-nav-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}
.legal-nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.legal-nav-link:hover {
  background: #fff;
  color: var(--primary);
}
.legal-nav-link.active {
  background: var(--primary);
  color: #fff;
}
.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.legal-toc-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0 6px 12px;
  border-left: 2px solid transparent;
  line-height: 1.4;
}
.legal-toc-link:hover {
  color: var(--primary);
  border-left-color: var(--primary-light);
}
.legal-sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
}
.legal-sidebar-card a {
  color: var(--primary);
  font-weight: 600;
}
.legal-sidebar-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.legal-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 56px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.legal-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 14px;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  margin: 12px 0 16px 0;
  padding-left: 24px;
}
.legal-section li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--text);
}
.legal-section a {
  color: var(--primary);
  font-weight: 500;
}
.legal-section code {
  font-size: 13px;
  background: var(--primary-soft);
  padding: 2px 6px;
  border-radius: 4px;
}
.legal-footer-note {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.legal-footer-note a {
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .legal-toc {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .legal-sidebar-card {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .legal-content {
    padding: 28px 24px;
  }
  .legal-sidebar {
    grid-template-columns: 1fr;
  }
}
