/* ============================================================
   TÜMSAT – Site Aidat Takip
   Style System – HTML class uyumlu
   ============================================================ */

:root {
  --blue-50:  hsl(214, 100%, 97%);
  --blue-100: hsl(214, 95%, 93%);
  --blue-200: hsl(214, 90%, 85%);
  --blue-500: hsl(217, 91%, 60%);
  --blue-600: hsl(221, 83%, 53%);
  --blue-700: hsl(224, 76%, 48%);
  --brand:    #1E4F91;

  --sky-400:  hsl(199, 89%, 64%);
  --emerald-400: hsl(158, 64%, 52%);
  --emerald-500: hsl(160, 84%, 39%);

  --slate-50:  hsl(210, 40%, 98%);
  --slate-100: hsl(210, 40%, 96%);
  --slate-200: hsl(214, 32%, 91%);
  --slate-300: hsl(213, 27%, 84%);
  --slate-400: hsl(215, 20%, 65%);
  --slate-500: hsl(215, 16%, 47%);
  --slate-600: hsl(215, 19%, 35%);
  --slate-700: hsl(215, 25%, 27%);
  --slate-800: hsl(217, 33%, 17%);
  --slate-900: hsl(222, 47%, 11%);

  --bg:          var(--slate-50);
  --surface:     #ffffff;
  --border:      var(--slate-200);
  --border-soft: hsl(214, 32%, 94%);
  --text-primary:   var(--slate-900);
  --text-secondary: var(--slate-500);
  --text-muted:     var(--slate-400);
  --accent:      var(--blue-600);
  --accent-hover: var(--blue-700);

  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg:  0 20px 60px rgba(15,23,42,.12), 0 8px 24px rgba(15,23,42,.06);
  --shadow-xl:  0 40px 80px rgba(15,23,42,.15);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.25);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
#headerDemoBtn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 800;
  min-height: 44px;
  border-radius: 10px;
  letter-spacing: -0.01em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--blue-700), hsl(226, 76%, 44%));
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(37,99,235,.35);
}

.btn--ghost {
  color: var(--text-secondary);
  background: transparent;
}
.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--slate-100);
}

.btn--text {
  color: var(--accent);
  background: transparent;
  padding: 10px 12px;
}
.btn--text:hover { color: var(--accent-hover); }

.btn--white {
  color: var(--blue-700);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-white {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.7);
}
.ai-text {
  color: #2563eb;
}

.btn--lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-lg); margin-top: 40px }
.btn--full { width: 100%; }

/* ─── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), background var(--dur-base);
  box-sizing: border-box;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  background: rgba(248, 250, 252, 0.92);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-icon { flex-shrink: 0; }

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--slate-900);
  white-space: nowrap; /* Zoom yapıldığında metnin kırılmasını engeller */
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap; /* Link isimlerinin satır sarmasını önler */
  transition: color var(--dur-fast), background var(--dur-fast);
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-primary);
  background: var(--slate-100);
}

.nav-item.active { font-weight: 700; }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease-out);
}

.hamburger-btn.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-btn.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ─── PREMIUM VIDEO HERO ─────────────────────────────────── */

.hero-section {
  position: relative;
  /* height yerine min-height kullanarak yakınlaştırma kırpılmasını engelliyoruz */
  min-height: 100vh;
  min-height: 100dvh; 
  padding: calc(var(--header-h) + 40px) 0 40px; /* İçeriğin header'a yapışmaması için güvenli padding */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07142f;
  isolation: isolate;
  box-sizing: border-box;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      180deg,
      rgba(3, 10, 25, 0.72) 0%,
      rgba(5, 15, 35, 0.66) 45%,
      rgba(3, 10, 25, 0.82) 100%
    );
  pointer-events: none;
}

.hero-video-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(37, 99, 235, 0.16),
      transparent 55%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-heading {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 26px;
  text-align: center;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.22);
}

.hero-heading-changing {
  color: #60a5fa;
  display: inline-block;
  position: relative;
  /* EKLENEN KODLAR */
  min-height: 1em;        /* Yazı tamamen silinse bile yüksekliği korur */
  vertical-align: bottom; /* İmleç ve metin hizasını sabit tutar */
  white-space: nowrap;    /* Kelimelerin alta kaymasını engeller */
}

.hero-heading-changing::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 0.9em;
  margin-left: 6px;
  vertical-align: -0.08em;
  background: #60a5fa;
  border-radius: 2px;
  animation: heroCursorBlink 0.85s ease-in-out infinite;
}

@keyframes heroCursorBlink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.hero-heading-fixed {
  color: #ffffff;
}

.hero-body {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 34px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}

.hero-actions .btn--text {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  transition: all .25s ease;
}

.hero-actions .btn--text:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.hero-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 19px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
  transition:
    transform .3s ease,
    background .3s ease,
    border-color .3s ease;
}

.hero-metric-badge:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-metric-value {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 720px;
    padding:
      calc(var(--header-h) + 65px)
      20px
      65px;
  }

  .hero-heading {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    letter-spacing: -0.045em;
  }

  .hero-body {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-metrics {
    gap: 8px;
  }

  .hero-metric-badge {
    padding: 9px 14px;
  }

  .hero-metric-label {
    font-size: 12px;
  }

  .hero-video-bg video {
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-bg video {
    display: none;
  }

  .hero-section {
    background:
      linear-gradient(
        135deg,
        #07142f,
        #123b83
      );
  }
}

/* ─── PROOF STRIP ──────────────────────────────────────────── */
.proof-strip {
  min-height: 110px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #326cf6 0%, #2151d1 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.proof-strip .wrap {
  width: 100%;
}

.proof-strip-label {
  margin: 0;
  width: 100%;

  text-align: center;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.proof-ticker {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.proof-track {
  display: flex;
  width: max-content;
  animation: scrollRight 25s linear infinite;
}

.proof-track:hover {
  animation-play-state: paused;
}

.proof-logos {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
  flex-shrink: 0;
}

.proof-logos span {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.proof-logos span:hover {
  opacity: 1;
  transform: translateY(-1px);
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ─── SECTION SHARED ──────────────────────────────────────── */
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--blue-600);
  margin-bottom: var(--space-md);
}

.section-eyebrow--light { color: rgba(255,255,255,.7); }

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--slate-900);
}

.section-heading--centered { text-align: center; }

.section-body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.section-header-centered {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}
/* ============================================================
   TÜMSAT SOLUTIONS & FEATURE GRID
============================================================ */
.solutions-section { position: relative; padding: 96px 0 110px; background: radial-gradient(circle at 8% 30%, rgba(37,99,235,0.035), transparent 30%), var(--surface, #fff); }
.solutions-header { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 80px; align-items: end; margin-bottom: 82px; }
.solutions-header-left { max-width: 700px; }
.solutions-header-right { max-width: 510px; justify-self: end; }
.solutions-header-right .section-body { margin-bottom: 24px; }

.feature-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px; background: #f4f6fa; border: 1px solid rgba(15,23,42,0.045); border-radius: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 8px 24px rgba(15,23,42,0.035); margin-bottom: 34px; }
.feature-tab { appearance: none; border: 0; background: transparent; min-height: 82px; padding: 14px 20px; border-radius: 13px; display: flex; align-items: center; justify-content: center; gap: 13px; color: #64748b; cursor: pointer; transition: all 0.25s ease; }
.feature-tab:hover { color: #2563eb; }
.feature-tab.is-active { background: #fff; color: #2563eb; box-shadow: 0 8px 22px rgba(15,23,42,0.09), 0 2px 5px rgba(15,23,42,0.04); transform: translateY(-1px); }
.feature-tab-icon { width: 42px; height: 42px; flex: 0 0 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #edf3ff; color: #64748b; transition: all 0.25s ease; }
.feature-tab.is-active .feature-tab-icon { background: linear-gradient(135deg, #3777ff, #2358dd); color: #fff; box-shadow: 0 6px 15px rgba(37,99,235,0.25); }
.feature-tab-content { display: flex; flex-direction: column; text-align: left; }
.feature-tab-content strong { font-size: 14px; font-weight: 700; letter-spacing: -0.015em; }
.feature-tab-content small { margin-top: 5px; font-size: 11px; line-height: 1.35; color: #94a3b8; }
.feature-tab.is-active .feature-tab-content small { color: #7d8aa3; }

.feature-panel { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-panel.is-active { display: grid; }

.solution-card { position: relative; min-height: 345px; background: rgba(255,255,255,0.96); border: 1px solid #e7ebf2; border-radius: 24px; overflow: hidden; box-shadow: 0 2px 5px rgba(15,23,42,0.025), 0 12px 30px rgba(15,23,42,0.035); transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1); }
.solution-card-inner { height: 100%; padding: 28px 28px 25px; display: flex; flex-direction: column; }
.solution-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #2e6cf6, #4e7fff); opacity: 0; transition: opacity 0.3s ease; }

/* HOVER EFEKTLERİ (Büyüme, Gölge, Üst Çizgi ve Renk Dönüşümleri) */
.solution-card:hover { transform: translateY(-6px) scale(1.015); border-color: rgba(66,116,255,0.4); box-shadow: 0 0 0 1px rgba(66,116,255,0.08), 0 18px 38px rgba(37,99,235,0.12); }
.solution-card:hover::before { opacity: 1; }
.solution-card:hover .solution-icon { background: #326cf6; color: #fff; transform: scale(1.05); }
.solution-card:hover .solution-divider { background: rgba(50,108,246,0.15); }

.solution-icon { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: #edf3ff; color: #326cf6; margin-bottom: 18px; transition: all 0.3s ease; }
.solution-card h3 { margin: 0 0 9px; color: #101828; font-size: 18px; line-height: 1.25; font-weight: 700; letter-spacing: -0.025em; }
.solution-card p { margin: 0; color: #718096; font-size: 13.5px; line-height: 1.7; max-width: 400px; }
.solution-divider { height: 1px; margin: 20px 0 15px; background: #edf0f4; transition: background 0.3s ease; }

.solution-card ul { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.solution-card li { display: flex; align-items: center; color: #667085; font-size: 12.5px; }
.solution-card li::before { content: "✓"; width: 17px; height: 17px; margin-right: 8px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #edf3ff; color: #326cf6; font-size: 10px; font-weight: 800; transition: all 0.3s ease; }

.solution-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 20px; color: #326cf6; text-decoration: none; font-size: 12px; font-weight: 700; transition: gap 0.2s ease; }
.solution-link span { font-size: 16px; line-height: 1; }
.solution-link:hover { gap: 11px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .solutions-header { grid-template-columns: 1fr; gap: 24px; }
  .solutions-header-right { justify-self: start; }
  .feature-tabs { grid-template-columns: repeat(2, 1fr); }
  .feature-panel.is-active { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .solutions-section { padding: 70px 0 80px; }
  .feature-tabs { grid-template-columns: 1fr; }
  .feature-tab { justify-content: flex-start; }
  .feature-panel.is-active { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }
}

/* ─── EDITORIAL ───────────────────────────────────────────── */
/* ============================================================
   EDITORIAL SHOWCASE (LIGHT MODERN SAAS)
   ============================================================ */

/* ============================================================
   TÜMSAT – EDITORIAL SHOWCASE
   ============================================================ */

.editorial-showcase {
  position: relative;
  overflow: hidden;
  padding: 110px 0 95px;
  background: var(--slate-900);
}

/* Hafif atmosfer */
.editorial-showcase::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -280px;
  right: -180px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.07);
  filter: blur(20px);
  pointer-events: none;
}

/* SLIDER */
.editorial-slider {
  position: relative;
}

/* TRACK - Grid Stacking Yapısı */
.editorial-track {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

/* SLIDE - Hepsi aynı grid hücresinde üst üste biner, boyutu sabit tutar */
.editorial-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(30px) scale(.985);
  transition: opacity .3s ease, visibility .3s ease;
}

/* AKTİF SLIDE */
.editorial-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: editorialSlideIn .65s cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes editorialSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* GRID */
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.editorial-grid--reversed {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

/* CONTENT */
.editorial-content {
  max-width: 600px;
}

.editorial-heading {
  margin: 0 0 26px;
  font-size: clamp(2.5rem, 4vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 800;
}

.editorial-heading--light {
  color: #fff;
}

.editorial-body {
  max-width: 580px;
  font-size: 16px;
  line-height: 1.8;
}

.editorial-body--light {
  color: var(--slate-400);
}

/* EYEBROW */
.section-eyebrow--light {
  color: #6ea0ff;
}

/* LIST */
.editorial-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 0;
  list-style: none;
}

.editorial-list--light li {
  color: #d7dce5;
}

.editorial-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.editorial-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .10);
}

/* ============================================================
   FOTOĞRAF
   ============================================================ */
.editorial-photo-wrap {
  position: relative;
}

.editorial-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
  background: var(--slate-800);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .28),
    0 10px 25px rgba(0, 0, 0, .14);
}

.editorial-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.06),
    transparent 40%
  );
  pointer-events: none;
}

.editorial-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1);
}

.editorial-slide.is-active .editorial-photo img {
  transform: scale(1);
}

.editorial-photo:hover img {
  transform: scale(1.025);
}

/* ============================================================
   OKLAR
   ============================================================ */
.editorial-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .78);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition:
    background .25s ease,
    border-color .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.editorial-arrow svg {
  width: 21px;
  height: 21px;
}

.editorial-arrow:hover {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .20);
  transform: translateY(-50%) scale(1.05);
}

.editorial-arrow:active {
  transform: translateY(-50%) scale(.96);
}

.editorial-arrow--prev {
  left: -78px;
}

.editorial-arrow--next {
  right: -78px;
}

/* ============================================================
   ALT NAVİGASYON
   ============================================================ */
.editorial-navigation {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 45px;
}

.editorial-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 55px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--slate-500);
}

.editorial-counter strong {
  color: #fff;
  font-weight: 700;
}

.editorial-progress {
  width: 90px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .10);
  border-radius: 10px;
}

.editorial-progress span {
  display: block;
  width: 50%;
  height: 100%;
  background: #fff;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 768px) {

  .editorial-navigation {
    position: relative;

    justify-content: center;

    margin-top: 28px;
    padding-bottom: 58px;
  }

  .editorial-arrow {
    position: absolute;

    top: auto;
    bottom: 0;

    width: 40px;
    height: 40px;

    transform: none;

    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .75);
  }

  .editorial-arrow--prev {
    left: calc(50% - 46px);
  }

  .editorial-arrow--next {
    right: calc(50% - 46px);
  }

  .editorial-arrow:hover {
    transform: scale(1.04);
  }

  .editorial-arrow:active {
    transform: scale(.96);
  }

}
/* ─── HOW TO ──────────────────────────────────────────────── */
.howto-section {
  padding: var(--space-3xl) 0;
  background: var(--surface);
}

.howto-track {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.howto-line {
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue-100);
}

.howto-steps { display: flex; flex-direction: column; gap: var(--space-2xl); }

.howto-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-lg);
  position: relative;
}

.howto-step-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue-200);
  grid-column: 2;
  margin-bottom: -8px;
}

.howto-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-600);
  border: 3px solid var(--blue-100);
  position: absolute;
  left: 14px;
  top: 28px;
  z-index: 1;
}

.howto-step-content { grid-column: 2; }

.howto-step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.howto-step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── AI SECTION ──────────────────────────────────────────── */
.ai-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(160deg, var(--slate-900) 0%, hsl(222, 47%, 8%) 100%);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.ai-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: var(--space-md);
}

.ai-logo-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(59,130,246,.2);
  border: 1px solid rgba(59,130,246,.4);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.ai-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-400);
  margin-bottom: var(--space-lg);
}

.ai-capability-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-capability-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--slate-300);
}

.ai-capability-list svg { color: var(--emerald-400); flex-shrink: 0; }

.ai-interface {
  background: var(--slate-800);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-700);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ai-interface-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--slate-700);
}

.ai-interface-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.ai-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 0 3px rgba(5,150,105,.3);
}

.ai-chat-area {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-height: 280px;
}

.ai-message--user { display: flex; justify-content: flex-end; }

.ai-msg-bubble--user {
  background: var(--blue-600);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-lg) var(--radius-lg) 4px var(--radius-lg);
  font-size: 13px;
  max-width: 80%;
}

.ai-message--ai { display: flex; gap: 10px; align-items: flex-start; }

.ai-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue-500), var(--violet-500, #8b5cf6));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-msg-card {
  background: var(--slate-700);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  flex: 1;
}

.ai-msg-card-header {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.ai-msg-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.ai-msg-data-label { font-size: 10px; color: var(--slate-400); display: block; }
.ai-msg-data-value { font-size: 13px; font-weight: 700; color: #fff; }
.ai-msg-data-value--alert { color: hsl(0, 84%, 65%); }

.ai-msg-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ai-action-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  background: var(--slate-600);
  color: var(--slate-200);
  transition: background var(--dur-fast);
}

.ai-action-btn--primary {
  background: var(--blue-600);
  color: #fff;
}

.ai-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--slate-700);
}

.ai-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-600);
  background: var(--slate-700);
  color: #fff;
  font-size: 13px;
  outline: none;
}

.ai-send-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--blue-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── TRUST ───────────────────────────────────────────────── */
.trust-section {
  padding: var(--space-3xl) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.trust-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.trust-item-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: var(--space-sm);
}

.trust-item-indicator {
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--blue-600), var(--sky-400));
}

.trust-item-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-left: 14px;
}

.trust-stat-row {
  display: flex;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.trust-stat { display: flex; flex-direction: column; gap: 4px; }

.trust-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

.trust-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── CTA ─────────────────────────────────────────────────── */
.cta-section {
  padding: 36px 0;
  margin-bottom: 120px;
}

.cta-section .wrap {
  width: calc(100% - 68px);
  max-width: 1200px;
  margin: 0 auto;
}

.cta-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;

  width: 100%;
  padding: 27px 80px;
  box-sizing: border-box;

  overflow: hidden;
  border-radius: 28px;

background: linear-gradient(
  135deg,
  rgb(30, 64, 175),
  rgb(37, 99, 235) 45%,
  rgb(59, 130, 246)
);
  box-shadow: 0 24px 60px rgba(30, 64, 175, 0.35);
}

.cta-block::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -80px;
  top: -185px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);

  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.cta-heading {
  margin: 0 0 8px;
  color: #fff;

  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.cta-body {
  margin: 0;
  max-width: 600px;

  color: rgba(255, 255, 255, 0.84);

  font-size: 15px;
  line-height: 1.5;
}

.cta-actions {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  gap: 12px;

  flex-shrink: 0;
}

.btn--cta-primary,
.btn--cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 27px;
  border-radius: 999px;

  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;

  transition: 0.2s ease;
}

.btn--cta-primary {
  color: #fff;
  background: #1d4ed8;
  font-weight: 600;

  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
}

.btn--cta-primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

.btn--cta-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);

  border: 1px solid rgba(255, 255, 255, 0.36);
  font-weight: 500;

  backdrop-filter: blur(8px);
}

.btn--cta-secondary:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-2px);
}

@media (max-width: 1000px) {
  .cta-block {
    padding: 28px 48px;
    gap: 35px;
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 30px 0;
  }

  .cta-section .wrap {
    width: calc(100% - 32px);
  }

  .cta-block {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 26px;
    gap: 24px;
    border-radius: 24px;
  }

  .cta-heading br {
    display: none;
  }

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

  .cta-actions .btn {
    width: 100%;
  }
}

/* ─── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s var(--ease-out);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.modal-close:hover {
  background: var(--slate-100);
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: var(--space-sm);
}

.modal-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.demo-form { display: flex; flex-direction: column; gap: var(--space-md); }

.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}

.form-field input {
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  color: var(--slate-900);
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.form-field input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-50);
}

.form-field input::placeholder { color: var(--text-muted); }
.form-field input.valid { border-color: var(--emerald-400); }
.form-field input.invalid { border-color: hsl(0, 84%, 60%); }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--slate-800);
  margin-bottom: var(--space-xl);
}

.footer-brand-col .brand-name { color: #fff; }

.footer-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
  margin-top: var(--space-sm);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate-500);
  margin-top: var(--space-sm);
  max-width: 280px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.footer-nav-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  margin-bottom: var(--space-md);
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-size: 14px;
  color: var(--slate-500);
  transition: color var(--dur-fast);
}

.footer-nav-col a:hover { color: var(--slate-200); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-legal { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.footer-legal a { color: var(--slate-500); transition: color var(--dur-fast); }
.footer-legal a:hover { color: var(--slate-300); }

/* ─── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }




/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid,
  .solutions-header,
  .editorial-grid,
  .ai-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .nav-item {
    padding: 6px 8px;
    font-size: 13px;
  }
  .brand-name {
    font-size: 16px;
  }

  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .solution-card--large { grid-column: span 2; }

  .hero-visual { max-width: 520px; margin: 0 auto; }
  .editorial-grid--reversed .editorial-photo-wrap { order: 0; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-list,
  .header-actions { display: none; }

  .hamburger-btn { display: flex; }

  /* Menü açıldığında ekrandan taşmayı önler ve dikey kaydırma (scroll) ekler */
  .site-header.menu-open {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    background: rgba(248, 250, 252, 0.98);
  }

  .site-header.menu-open .header-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .site-header.menu-open .nav-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    padding: 12px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }

  .site-header.menu-open .nav-item {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 15px;
  }

  .site-header.menu-open .header-actions {
    display: flex;
    width: 100%;
    gap: 10px;
  }

  .site-header.menu-open .header-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .hamburger-btn { display: flex; margin-left: auto; }

  .hero-section { padding-top: calc(var(--header-h) + 24px); }
  .hero-metric-sep { display: none; }

  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card--large { grid-column: span 1; }

  .mock-sidebar { display: none; }
  .mock-kpi-grid { grid-template-columns: 1fr 1fr; }
  .mock-bottom-row { grid-template-columns: 1fr; }

  .demo-form-row { grid-template-columns: 1fr; }

  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  .trust-stat-row { gap: var(--space-lg); }
  .cta-block { padding: var(--space-2xl) var(--space-lg); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn--lg { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
}



/*KVKK------------------- GİZLİLİLİK POLİTİKASI---------KULLANIM KOŞULLARI ALANI*/
/* ============================================================
   TÜMSAT – LEGAL DOCUMENT MODALS
   ============================================================ */

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  visibility: hidden;
  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.legal-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}


/* ───────────────── BACKDROP ───────────────── */

.legal-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(8, 15, 32, 0.72);
}


/* ───────────────── DIALOG ───────────────── */

.legal-modal-dialog {
  position: relative;

  width: min(900px, 100%);
  max-height: min(820px, 88vh);

  display: flex;
  flex-direction: column;

  background: #ffffff;

  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;

  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.28),
    0 8px 30px rgba(15, 23, 42, 0.12);

  overflow: hidden;

  transform: translateY(18px) scale(0.985);

  transition:
    transform 0.3s cubic-bezier(.22, 1, .36, 1);
}

.legal-modal.is-open .legal-modal-dialog {
  transform: translateY(0) scale(1);
}


/* ───────────────── HEADER ───────────────── */

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 22px 26px;

  border-bottom: 1px solid #e8edf3;

  background: #ffffff;

  flex-shrink: 0;
}

.legal-modal-heading {
  display: flex;
  align-items: center;
  gap: 14px;

  min-width: 0;
}

.legal-modal-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 42px;

  border-radius: 12px;

  color: #2563eb;

  background:
    linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.12),
      rgba(37, 99, 235, 0.06)
    );
}

.legal-modal-title {
  margin: 0;

  color: #0f172a;

  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;

  letter-spacing: -0.02em;
}

.legal-modal-date {
  margin: 4px 0 0;

  color: #94a3b8;

  font-size: 12px;
  line-height: 1.4;
}


/* ───────────────── CLOSE ───────────────── */

.legal-modal-close {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 38px;

  border: 0;
  border-radius: 10px;

  background: transparent;

  color: #64748b;

  cursor: pointer;

  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.legal-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;

  transform: rotate(3deg);
}


/* ───────────────── CONTENT ───────────────── */

.legal-modal-content {
  min-height: 0;

  overflow-y: auto;

  padding: 34px 38px 40px;

  color: #475569;

  font-size: 14px;
  line-height: 1.8;

  overscroll-behavior: contain;

  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.legal-modal-content::-webkit-scrollbar {
  width: 7px;
}

.legal-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.legal-modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 20px;
}

.legal-modal-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}


/* ───────────────── DOCUMENT ───────────────── */

.legal-document {
  max-width: 760px;
  margin: 0 auto;
}

.legal-document .legal-intro {
  margin: 0 0 30px;

  padding: 18px 20px;

  border-left: 3px solid #2563eb;

  border-radius: 0 12px 12px 0;

  background: #f8fafc;

  color: #475569;

  font-size: 14px;
  line-height: 1.75;
}

.legal-document h3 {
  margin: 30px 0 10px;

  color: #0f172a;

  font-size: 15px;
  line-height: 1.4;
  font-weight: 750;

  letter-spacing: -0.01em;
}

.legal-document h3:first-of-type {
  margin-top: 0;
}

.legal-document p {
  margin: 0 0 15px;
}

.legal-document p:last-child {
  margin-bottom: 0;
}


/* ───────────────── FOOTER ───────────────── */

.legal-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 15px 26px;

  border-top: 1px solid #e8edf3;

  background: #f8fafc;

  flex-shrink: 0;
}

.legal-modal-footer-label {
  color: #94a3b8;

  font-size: 11px;
  font-weight: 500;
}

.legal-modal-footer-close {
  border: 0;

  padding: 8px 16px;

  border-radius: 9px;

  background: #0f172a;

  color: #ffffff;

  font-family: inherit;

  font-size: 12px;
  font-weight: 650;

  cursor: pointer;

  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.legal-modal-footer-close:hover {
  background: #1e293b;
  transform: translateY(-1px);
}


/* ───────────────── BODY LOCK ───────────────── */

body.legal-modal-open {
  overflow: hidden;
}


/* ───────────────── MOBILE ───────────────── */

@media (max-width: 700px) {

  .legal-modal {
    padding: 10px;
  }

  .legal-modal-dialog {
    width: 100%;
    max-height: calc(100vh - 20px);

    border-radius: 20px;
  }

  .legal-modal-header {
    padding: 18px 18px;
  }

  .legal-modal-icon {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }

  .legal-modal-title {
    font-size: 17px;
  }

  .legal-modal-content {
    padding: 26px 20px 30px;

    font-size: 13.5px;
  }

  .legal-modal-footer {
    padding: 13px 18px;
  }

  .legal-modal-footer-label {
    display: none;
  }

  .legal-modal-footer-close {
    width: 100%;
  }

}