/* ==========================================================================
   GÖKTÜRK İLİK SİGORTA — Design System & Motion Stylesheet
   Fontlar index.html içinde <link> ile yükleniyor (@import render'ı bloklar).
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #0B132B;
  --bg-deep: #060B1A;
  --bg-card: rgba(28, 37, 65, 0.65);
  --bg-card-hover: rgba(43, 56, 95, 0.8);
  --bg-nav: rgba(11, 19, 43, 0.82);

  --primary: #3A86FF;
  --primary-light: #00B4D8;
  --primary-glow: rgba(58, 134, 255, 0.35);

  --accent: #FFB703;
  --accent-orange: #FB8500;
  --accent-glow: rgba(255, 183, 3, 0.4);

  --text-main: #FFFFFF;
  --text-muted: #A7B4C8;
  --text-dim: #8494AC;          /* koyu zeminde AA kontrastı sağlar */

  --border-light: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(58, 134, 255, 0.5);

  --success: #10B981;
  --danger: #F87171;
  --whatsapp: #25D366;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout Tokens */
  --container-max: 1240px;
  --header-h: 88px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(58, 134, 255, 0.25);
  --shadow-gold: 0 0 25px rgba(255, 183, 3, 0.25);
  --shadow-lift: 0 26px 60px -22px rgba(0, 0, 0, 0.85);

  /* Motion */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Konik degrade kenarlığın dönebilmesi için (destekleyen tarayıcılarda) */
@property --ring-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Sabit header'ın altında kalmasın diye çapa hedeflerine üst boşluk */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

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

ul, ol { list-style: none; }

img, svg {
  max-width: 100%;
  display: block;
}

/* Klavye odağı her yerde görünür olsun */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100000;
  background: var(--accent);
  color: #0B132B;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* Yardımcı sınıflar */
.btn-block { width: 100%; }
.mt-1 { margin-top: 1rem; }
.mt-075 { margin-top: 0.75rem; }
.mb-1 { margin-bottom: 1rem; }
.muted-sm { color: var(--text-muted); font-size: 0.9rem; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* ==========================================================================
   Dekoratif arka plan (aurora + ışın + grid + grain)
   Tümü fixed katman; scroll sırasında sadece transform anime olur.
   ========================================================================== */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, #14213f 0%, var(--bg-dark) 55%, #070d20 100%);
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.aurora-1 {
  width: 52vw; height: 52vw;
  top: -14vw; left: -10vw;
  background: radial-gradient(circle, rgba(58, 134, 255, 0.55), transparent 68%);
  animation: drift1 26s ease-in-out infinite alternate;
}

.aurora-2 {
  width: 46vw; height: 46vw;
  bottom: -12vw; right: -8vw;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.35), transparent 68%);
  animation: drift2 32s ease-in-out infinite alternate;
}

.aurora-3 {
  width: 40vw; height: 40vw;
  top: 38%; left: 42%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.35), transparent 70%);
  animation: drift3 38s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(9vw, 7vh, 0) scale(1.18); }
}
@keyframes drift2 {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to   { transform: translate3d(-11vw, -6vh, 0) scale(0.92); }
}
@keyframes drift3 {
  from { transform: translate3d(-6vw, 4vh, 0) scale(0.9); }
  to   { transform: translate3d(7vw, -8vh, 0) scale(1.15); }
}

/* Üstten süzülen ışık huzmeleri */
.bg-beams {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 90vh;
  background:
    linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, 0.055) 50%, transparent 58%),
    linear-gradient(80deg, transparent 30%, rgba(58, 134, 255, 0.07) 38%, transparent 46%);
  transform: rotate(-8deg);
  animation: beamSlide 18s ease-in-out infinite alternate;
}

@keyframes beamSlide {
  from { transform: rotate(-8deg) translate3d(-6%, 0, 0); opacity: 0.6; }
  to   { transform: rotate(-8deg) translate3d(8%, 0, 0);  opacity: 1; }
}

/* İnce teknik grid dokusu */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 70% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 30%, #000 0%, transparent 78%);
}

/* Lüks his veren çok hafif film grenleri */
.bg-grain {
  position: absolute;
  inset: -150px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(4) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-30px, 20px); }
  50%  { transform: translate(25px, -25px); }
  75%  { transform: translate(-15px, -20px); }
  100% { transform: translate(20px, 15px); }
}

/* İmleci takip eden ışık (yalnızca fare olan cihazlar) */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 134, 255, 0.16), rgba(255, 183, 3, 0.06) 42%, transparent 66%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow { display: block; }
  body.cursor-active .cursor-glow { opacity: 1; }
}

/* ==========================================================================
   Ortak başlık blokları
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(58, 134, 255, 0.12);
  border: 1px solid var(--border-glow);
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-badge.badge-warn {
  background: rgba(255, 183, 3, 0.16);
  border-color: var(--accent);
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #FFFFFF 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.gradient-text {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 42%, var(--accent) 82%, var(--primary) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientPan 9s ease-in-out infinite alternate;
}

@keyframes gradientPan {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.8s var(--ease-lux) var(--d, 0ms),
    transform 0.8s var(--ease-lux) var(--d, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: padding 0.35s var(--ease-lux), background 0.35s ease, box-shadow 0.35s ease;
}

.header.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border-light);
  padding: 0.6rem 0;
  box-shadow: var(--shadow-subtle);
}

/* Okuma ilerleme çubuğu */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--scroll, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.header.scrolled .scroll-progress { opacity: 1; }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 52px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: var(--transition);
}

.brand-logo:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 14px rgba(58, 134, 255, 0.55));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active { color: var(--text-main); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.35s var(--ease-lux);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 26, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Butonlar
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.3s var(--ease-lux), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

.btn:active { transform: translateY(0) scale(0.98); }

/* Hover'da geçen parlaklık şeridi */
.btn-shine::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 45%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(22deg);
  transition: left 0.7s var(--ease-lux);
  pointer-events: none;
  z-index: 1;
}

.btn-shine:hover::before { left: 130%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 26px -8px rgba(58, 134, 255, 0.75);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -10px rgba(58, 134, 255, 0.9);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-orange) 100%);
  color: #14203F;
  box-shadow: 0 8px 26px -8px rgba(255, 183, 3, 0.7);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -10px rgba(255, 183, 3, 0.85);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(58, 134, 255, 0.14);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06331A;
  box-shadow: 0 8px 24px -8px rgba(37, 211, 102, 0.7);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(37, 211, 102, 0.85);
}

.mobile-toggler {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
  padding-top: 9rem;
  padding-bottom: 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgba(6, 11, 26, 0.55));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Grid ogelerinin varsayilan `min-width: auto` degeri, teklif kartindaki
   yatay kaydirmali sigorta turu seridinin min-content genisligini (~600px)
   yukari tasiyip izi viewport'tan genis yapiyordu. Dar ekranlarda sayfa bu
   yuzden yatay kayiyordu. */
.hero-grid > * { min-width: 0; }

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.3);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulse 2.2s infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.14;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

/* Dönen branş satırı */
.hero-rotator-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.rotator {
  display: inline-block;
  height: 1.6em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

.rotator-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.75s var(--ease-lux);
}

.rotator-track > span {
  height: 1.6em;
  line-height: 1.6em;
  white-space: nowrap;
  color: var(--accent);
  text-shadow: 0 0 22px rgba(255, 183, 3, 0.35);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.stat-item { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-light);
  font-variant-numeric: tabular-nums;
}

.star-mini { font-size: 1.1rem; }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Teklif kartı
   ========================================================================== */
.quote-card {
  min-width: 0;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lift), var(--shadow-glow);
  position: relative;
  transform-style: preserve-3d;
  transform:
    perspective(1100px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease-lux);
}

/* Dönen konik ışıklı kenarlık */
.quote-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ring-angle),
    rgba(58, 134, 255, 0.9), rgba(255, 183, 3, 0.9), rgba(0, 180, 216, 0.9), rgba(58, 134, 255, 0.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: ringSpin 7s linear infinite;
  pointer-events: none;
  opacity: 0.85;
}

@keyframes ringSpin {
  to { --ring-angle: 360deg; }
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%),
              rgba(255, 255, 255, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.quote-card:hover .card-glow { opacity: 1; }

.card-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.card-header h2 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.card-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Sigorta türü pill'leri */
.insurance-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.type-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  gap: 0.3rem;
}

.type-pill i { font-size: 1.2rem; transition: transform 0.35s var(--ease-spring); }

.type-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.type-pill:hover i { transform: scale(1.15) translateY(-1px); }

.type-pill.active {
  background: rgba(58, 134, 255, 0.2);
  border-color: var(--primary);
  color: var(--text-main);
  box-shadow: 0 0 18px rgba(58, 134, 255, 0.3);
}

.type-pill.active i { color: var(--accent); }

/* Form alanları */
.form-group { margin-bottom: 1.1rem; position: relative; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.req { color: var(--accent); }
.opt { color: var(--text-dim); font-weight: 400; }

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--primary-light);
  font-size: 1.05rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  background: rgba(11, 19, 43, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.22);
  background: rgba(11, 19, 43, 0.92);
}

.form-control:focus + .input-icon,
.input-wrapper:focus-within .input-icon { color: var(--accent); }

.form-control::placeholder { color: var(--text-dim); }

.form-control.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

.field-error {
  color: var(--danger);
  font-size: 0.78rem;
  margin-top: 0.35rem;
  min-height: 0;
  display: none;
}

.field-error.show { display: block; }

.plaka-input {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

/* KVKK onayı */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.25rem 0 0.4rem;
  padding: 0.85rem 0.95rem;
  background: rgba(11, 19, 43, 0.55);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-consent label {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
  cursor: pointer;
}

.form-consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note {
  font-size: 0.76rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Marquee şeridi
   ========================================================================== */
.marquee-section {
  padding: 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(6, 11, 26, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.marquee {
  overflow: hidden;
  padding: 1.15rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  will-change: transform;
}

/* Animasyon yalnızca JS içeriği ikiye katladıktan sonra başlar,
   aksi halde şerit kayıp boşluk bırakırdı. */
.marquee.ready .marquee-track { animation: marqueeScroll 38s linear infinite; }
.marquee.ready:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.marquee-track span i { color: var(--accent); font-size: 1.15rem; }
.marquee-track span:hover { color: var(--text-main); }

@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Rakamlar bandı
   ========================================================================== */
.numbers-section { padding: 4rem 0 2rem; }

.numbers-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.number-cell {
  background: linear-gradient(160deg, rgba(28, 37, 65, 0.75), rgba(11, 19, 43, 0.75));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 2rem 1.25rem;
  text-align: center;
  transition: background 0.35s ease;
  position: relative;
}

.number-cell::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: translateX(-50%);
  transition: width 0.45s var(--ease-lux);
}

.number-cell:hover { background: linear-gradient(160deg, rgba(43, 56, 95, 0.9), rgba(20, 30, 60, 0.9)); }
.number-cell:hover::after { width: 70%; }

.number-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 900;
  background: linear-gradient(135deg, #FFFFFF, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.35rem;
}

.number-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Hizmet kartları
   ========================================================================== */
.services-grid {
  display: grid;
  /* min() olmadan 320px'lik taban, 320-360px genisligindeki telefonlarda
     kapsayiciyi asip yatay kaydirma yaratiyor. */
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 2rem;
}

.services-grid > *, .why-us-grid > *, .contact-grid > *, .footer-grid > * { min-width: 0; }

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform:
    perspective(1000px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateY(var(--lift, 0));
  transition:
    transform 0.5s var(--ease-lux),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease,
    opacity 0.8s var(--ease-lux) var(--d, 0ms);
}

/* İmleci takip eden spot ışığı */
[data-spotlight]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              rgba(58, 134, 255, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

[data-spotlight]:hover::before { opacity: 1; }

.service-card > * { position: relative; z-index: 1; }

.service-card:hover {
  --lift: -8px;
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lift), var(--shadow-glow);
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(58, 134, 255, 0.22), rgba(0, 180, 216, 0.22));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  transition: transform 0.45s var(--ease-spring), background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #FFFFFF;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 30px -10px rgba(58, 134, 255, 0.8);
}

.service-title { font-size: 1.35rem; margin-bottom: 0.75rem; }

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features { margin-bottom: 1.75rem; }

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.service-feature-item i { color: var(--success); margin-top: 3px; }

.service-action { margin-top: auto; }

/* ==========================================================================
   Süreç zaman çizelgesi
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  opacity: 0.45;
}

.process-step {
  text-align: center;
  position: relative;
  transition:
    opacity 0.8s var(--ease-lux) var(--d, 0ms),
    transform 0.8s var(--ease-lux) var(--d, 0ms);
}

.process-marker {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(28, 37, 65, 0.95), rgba(11, 19, 43, 0.95));
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 0 8px rgba(11, 19, 43, 0.9), 0 10px 30px -12px rgba(58, 134, 255, 0.9);
  position: relative;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s ease;
}

.process-marker span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-step:hover .process-marker {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 0 0 8px rgba(11, 19, 43, 0.9), 0 18px 40px -14px rgba(255, 183, 3, 0.9);
}

.process-body h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.process-body p { color: var(--text-muted); font-size: 0.93rem; max-width: 320px; margin: 0 auto; }

/* ==========================================================================
   Neden biz?
   ========================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-box {
  background: rgba(28, 37, 65, 0.45);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-lux),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    opacity 0.8s var(--ease-lux) var(--d, 0ms);
}

.feature-box > * { position: relative; z-index: 1; }

.feature-box:hover {
  background: var(--bg-card);
  border-color: rgba(255, 183, 3, 0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift), var(--shadow-gold);
}

.feature-icon-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: var(--accent);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s ease;
}

.feature-box:hover .feature-icon-wrapper {
  transform: translateY(-4px) rotate(8deg);
  box-shadow: 0 0 30px rgba(255, 183, 3, 0.4);
}

.feature-box h3 { font-size: 1.12rem; margin-bottom: 0.6rem; }
.feature-box p { color: var(--text-muted); font-size: 0.875rem; }

/* ==========================================================================
   Hasar bandı
   ========================================================================== */
.damage-banner {
  background: linear-gradient(135deg, rgba(28, 37, 65, 0.95), rgba(11, 19, 43, 0.95));
  border: 1px solid rgba(255, 183, 3, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 0 45px -10px rgba(255, 183, 3, 0.25), var(--shadow-lift);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.damage-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 100% 0%, rgba(255, 183, 3, 0.12), transparent 60%);
  pointer-events: none;
}

.banner-content { position: relative; z-index: 1; }
.banner-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.banner-content > p { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 1.5rem; }

.steps-list { display: flex; flex-direction: column; gap: 0.85rem; }

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease-lux);
}

.step-item:hover { transform: translateX(6px); }

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-orange));
  color: #0B132B;
  font-weight: 800;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 4px 12px -4px rgba(255, 183, 3, 0.9);
}

.banner-card-box {
  background: rgba(11, 19, 43, 0.85);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pulse-ring {
  width: 78px;
  height: 78px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--accent);
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.35);
  animation: ringPulse 2.4s ease-out infinite;
}

@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.5); }
  70%  { box-shadow: 0 0 0 22px rgba(255, 183, 3, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0); }
}

.banner-card-box h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }

.emergency-phone {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 900;
  color: var(--primary-light);
  display: inline-block;
  margin: 0.5rem 0 0.75rem 0;
  letter-spacing: 1px;
  transition: var(--transition);
}

.emergency-phone:hover { color: var(--accent); transform: scale(1.04); }

.office-phone { color: var(--accent); font-weight: 600; }

/* ==========================================================================
   SSS
   ========================================================================== */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    opacity 0.8s var(--ease-lux) var(--d, 0ms),
    transform 0.8s var(--ease-lux) var(--d, 0ms);
}

.faq-item.active {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.faq-heading { margin: 0; font-size: inherit; font-weight: inherit; }

.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  color: var(--text-main);
  background: none;
  border: none;
  transition: color 0.3s ease;
}

.faq-header:hover { color: var(--accent); }

.faq-toggle-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease-lux), background 0.3s ease, color 0.3s ease;
  color: var(--primary-light);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #FFFFFF;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-lux);
}

.faq-body-content {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   İletişim
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(58, 134, 255, 0.15);
  border: 1px solid var(--border-glow);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--primary-light);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring), background 0.35s ease, color 0.35s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.08) rotate(-6deg);
  background: var(--primary);
  color: #FFFFFF;
}

.contact-details h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }

.contact-details p, .contact-details a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-details p a:hover { color: var(--primary-light); }

.map-direct-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent) !important;
  background: rgba(255, 183, 3, 0.1);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 183, 3, 0.25);
  transition: var(--transition);
}

.map-direct-btn:hover {
  background: var(--accent);
  color: var(--bg-dark) !important;
  transform: translateX(4px);
}

.map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  min-height: 400px;
  box-shadow: var(--shadow-subtle);
}

.map-overlay-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(11, 19, 43, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.map-overlay-badge:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(58, 134, 255, 0.5);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  filter: grayscale(70%) invert(90%) contrast(115%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-desc { color: var(--text-muted); font-size: 0.9rem; max-width: 340px; }

.footer-title {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  width: fit-content;
}

.footer-links a:hover { color: var(--primary-light); transform: translateX(4px); }

.social-row { display: flex; gap: 0.7rem; }

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  transition: transform 0.35s var(--ease-spring), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.social-btn.ig { color: #E1306C; }
.social-btn.wa { color: var(--whatsapp); }
.social-btn.tel { color: var(--primary-light); }
.social-btn.mail { color: var(--accent); }

.social-btn:hover {
  transform: translateY(-4px) scale(1.06);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-bottom a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--accent); }

/* ==========================================================================
   Splash Screen — CSS ile kendi kendine kapanır (JS bağımlılığı yok)
   ========================================================================== */
.splash-screen {
  position: fixed;
  inset: 0;
  overflow: hidden; /* dekoratif parlama dar ekranlarda tasmasin */
  background: radial-gradient(circle at center, #0F1B3B 0%, #060B1A 85%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: splashOut 0.9s var(--ease-lux) 2.05s forwards;
}

@keyframes splashOut {
  to {
    opacity: 0;
    transform: scale(1.07);
    visibility: hidden;
    pointer-events: none;
  }
}

/* Oturumda daha önce görüldüyse JS bunu ekler */
.splash-screen.skip { display: none; }

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: min(600px, 100%);
  min-width: 0;
  position: relative;
}

.star-glow-container {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  isolation: isolate;
}

.star-burst {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.5) 0%, rgba(58, 134, 255, 0.35) 45%, transparent 75%);
  filter: blur(28px);
  animation: starPulse 2.2s infinite ease-in-out alternate;
  z-index: 1;
}

.star-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(255, 183, 3, 0.35);
  border-top-color: rgba(58, 134, 255, 0.9);
  animation: ringRotate 3.2s linear infinite;
  z-index: 1;
}

@keyframes ringRotate { to { transform: rotate(360deg); } }

@keyframes starPulse {
  from { transform: scale(0.88); opacity: 0.65; }
  to   { transform: scale(1.12); opacity: 1; }
}

.star-sparkle {
  position: absolute;
  top: -14px;
  right: 4px;
  font-size: 2rem;
  color: var(--accent);
  text-shadow: 0 0 20px #FFB703, 0 0 35px #FFB703;
  animation: sparkleFloat 2s infinite ease-in-out alternate;
  z-index: 3;
}

@keyframes sparkleFloat {
  from { transform: translateY(0) rotate(0deg) scale(0.9); opacity: 0.7; }
  to   { transform: translateY(-12px) rotate(22deg) scale(1.15); opacity: 1; }
}

.splash-logo {
  position: relative;
  z-index: 2;
  height: 92px;
  width: auto;
  max-width: 82vw;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(255, 183, 3, 0.55)) drop-shadow(0 0 45px rgba(58, 134, 255, 0.45));
  animation: logoScaleUp 1.2s var(--ease-spring) forwards;
}

@keyframes logoScaleUp {
  from { opacity: 0; transform: scale(0.72) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Logonun üzerinden geçen parlaklık */
.splash-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.splash-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(20deg);
  animation: splashShine 1.6s 0.55s ease-in-out;
}

@keyframes splashShine {
  to { left: 130%; }
}

.splash-welcome {
  font-size: clamp(1.3rem, 4vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  animation: fadeUp 0.8s 0.35s var(--ease-lux) backwards;
}

.splash-tagline {
  color: var(--text-muted);
  font-size: 0.98rem;
  animation: fadeUp 0.8s 0.55s var(--ease-lux) backwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.splash-loader {
  margin-top: 2rem;
  width: 180px;
  height: 3px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.splash-loader span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  animation: loaderFill 2.05s var(--ease-lux) forwards;
}

@keyframes loaderFill { to { width: 100%; } }

/* ==========================================================================
   Yüzen aksiyonlar
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  z-index: 900;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.8);
  animation: pulse-whatsapp 2.4s infinite;
  transition: transform 0.35s var(--ease-spring);
}

.floating-whatsapp:hover { transform: scale(1.1) rotate(6deg); }

@keyframes pulse-whatsapp {
  0%   { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.8), 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70%  { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.8), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.8), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(11, 19, 43, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  color: var(--primary-light);
  font-size: 1rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-lux), visibility 0.35s, background 0.3s ease, color 0.3s ease;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary); color: #FFFFFF; }

/* Mobil aksiyon çubuğu */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-light);
  z-index: 1000;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
  padding: 0.4rem 0.8rem calc(0.4rem + env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: center;
  gap: 0.4rem;
}

.mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
  height: 57px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-action-btn i { font-size: 1.25rem; }
.mobile-action-btn.phone { color: var(--primary-light); }
.mobile-action-btn.whatsapp { color: var(--whatsapp); }

.mobile-action-btn.quote {
  color: #14203F;
  background: linear-gradient(135deg, var(--accent), var(--accent-orange));
  border-radius: var(--radius-md);
}

.mobile-action-btn:active { transform: scale(0.95); }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 26, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.modal-card {
  background: linear-gradient(160deg, rgba(28, 37, 65, 0.98), rgba(11, 19, 43, 0.98));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75);
  text-align: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.4s var(--ease-spring);
  position: relative;
}

.modal-backdrop.active .modal-card { transform: none; }

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.modal-close:hover { background: rgba(255, 255, 255, 0.14); color: #FFF; }

.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  margin: 0 auto 1.5rem auto;
  animation: popIn 0.5s var(--ease-spring) backwards;
}

@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-card h2 { font-size: 1.5rem; }
.modal-text { color: var(--text-muted); margin: 0.75rem 0 1.5rem 0; font-size: 0.95rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links { gap: 1.25rem; }
  .nav-link { font-size: 0.9rem; }
  /* 7 menu baglantisi + iki buton 1024px'e sigmiyordu; ikincil CTA gizlenir
     ("Hizli Arama" mobil aksiyon cubugunda ve iletisim bolumunde zaten var). */
  .nav-actions .btn-outline { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 78px; }

  section { padding: 4.5rem 0; }

  .hero-section { padding-top: 7.5rem; min-height: auto; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content { align-items: center; text-align: center; }
  .hero-rotator-line { justify-content: center; }
  .hero-form-wrapper { max-width: 520px; margin: 0 auto; width: 100%; }

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

  .damage-banner {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .process-timeline { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-timeline::before { display: none; }

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

  /* Dokunmatik cihazlarda 3B eğim kapalı */
  .quote-card, .service-card { transform: none !important; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-description { font-size: 1rem; margin: 0 auto 2rem auto; }
  .hero-badge { margin: 0 auto 1.25rem auto; }

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

  .hero-stats { justify-content: space-around; gap: 1rem; padding-top: 1.25rem; }
  .stat-number { font-size: 1.45rem; }
  .stat-label { font-size: 0.72rem; }

  /* Cam çekmece menü */
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h)); /* mobil adres çubuğu payı */
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(11, 19, 43, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    gap: 0.25rem;
    padding: 2rem 1.5rem 2.5rem;
    border-bottom: 1px solid var(--border-light);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.5s var(--ease-lux);
    z-index: 999;
  }

  .nav-links.active { clip-path: circle(150% at 100% 0); }

  .nav-link { font-size: 1.15rem; width: 100%; text-align: center; padding: 0.8rem 0; }
  .nav-link::after { left: 50%; transform: translateX(-50%); }

  .mobile-toggler { display: flex; }
  .nav-actions .btn-outline { display: none; }

  /* Sigorta türü seçici yatay kaydırma */
  .insurance-type-selector {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .insurance-type-selector::-webkit-scrollbar { display: none; }

  .type-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 92px;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
  }

  .services-grid,
  .why-us-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .quote-card { padding: 1.75rem; }
  .contact-info-card { padding: 1.75rem; }
  .map-container, .map-container iframe { min-height: 300px; }

  .marquee-track { gap: 2rem; animation-duration: 26s; }

  /* Mobil aksiyon çubuğunu göster, diğer yüzenleri yukarı it */
  .mobile-action-bar { display: flex; }

  .floating-whatsapp {
    bottom: 5.5rem;
    right: 1.1rem;
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }

  .back-to-top { bottom: 5.5rem; left: 1.1rem; }

  .footer { padding-bottom: 6rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* 320-400px arasi dar telefonlar: header ogeleri yan yana sigmiyordu */
@media (max-width: 400px) {
  .brand-logo { height: 40px; }
  .nav-actions { gap: 0.5rem; }
  .nav-actions .btn-accent { padding: 0.6rem 0.8rem; font-size: 0.82rem; }
  .mobile-toggler { width: 40px; height: 40px; font-size: 1.1rem; }
  .star-burst { width: 220px; height: 220px; }
  .star-ring { width: 160px; height: 160px; }
  .splash-content { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.1rem; }
  .numbers-band { grid-template-columns: 1fr; }
  .quote-card { padding: 1.4rem; }
  .card-header h2 { font-size: 1.25rem; }
  .damage-banner { padding: 1.5rem; }
  .banner-card-box { padding: 1.5rem; }
  .modal-card { padding: 1.9rem 1.4rem; }
}

/* ==========================================================================
   Mobil performans profili
   Ziyaretçilerin büyük çoğunluğu telefondan geliyor. Tam ekran blur, film
   greni ve ışık huzmeleri düşük donanımlı cihazlarda kaydırmayı takarken
   pili de hızla tüketiyor; bu katmanlar küçük ekranlarda sadeleştirilir.
   ========================================================================== */
@media (max-width: 900px) {
  /* Sürekli repaint eden dekoratif katmanları kapat */
  .bg-grain,
  .bg-beams,
  .bg-grid { display: none; }

  /* Aurora'yı hafiflet: daha az blur, daha yavaş hareket */
  .aurora { filter: blur(58px); opacity: 0.42; }
  .aurora-3 { display: none; }
  .aurora-1 { animation-duration: 40s; }
  .aurora-2 { animation-duration: 46s; }

  /* Cam efektlerini azalt — mobilde en pahalı kural backdrop-filter */
  .service-card,
  .contact-info-card,
  .number-cell,
  .marquee-section {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .service-card { background: rgba(24, 33, 60, 0.92); }
  .contact-info-card { background: rgba(24, 33, 60, 0.92); }
  .number-cell { background: linear-gradient(160deg, #1a2444, #111a35); }
  .marquee-section { background: #0a1024; }

  /* Header ve teklif kartında blur kalsın ama daha ucuz olsun */
  .header.scrolled { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .quote-card { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

  /* Dönen konik kenarlık sürekli boyama yapıyor; mobilde sabit kenarlık */
  .quote-card::before { animation: none; opacity: 0.55; }
}

/* Dokunmatik cihazlarda tüm dokunma hedefleri en az 44px */
@media (hover: none) {
  .nav-link { padding: 0.85rem 0; }
  .footer-links a { padding: 0.35rem 0; }
  .type-pill { min-height: 64px; }
  .social-btn { width: 46px; height: 46px; }
  .back-to-top { width: 48px; height: 48px; }

  /* Hover'a bağlı efektler dokunmatikte "takılı" kalmasın */
  .service-card:hover,
  .feature-box:hover,
  .step-item:hover { transform: none; }

  [data-spotlight]:hover::before { opacity: 0; }
}

/* ==========================================================================
   Hareket azaltma tercihi — tüm dekoratif animasyonlar kapanır
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .quote-card, .service-card { transform: none !important; }
  .cursor-glow, .bg-grain, .bg-beams { display: none !important; }
  .splash-screen { display: none !important; }
}
