/* ===================================================================
   İHARS YAZILIM — Corporate Site Stylesheet
   Design tokens: Dark Navy #0B1D4D, Accent Blue #0D5BD4,
   Light Gray BG #F2F4F7, Body charcoal #333A45, White #FFFFFF
   Font: Montserrat (400-800)
=================================================================== */

:root {
  --navy: #0b1d4d;
  --navy-light: #132a66;
  --navy-lighter: #1c3785;
  --navy-soft: #0e2258;
  --blue: #0d5bd4;
  --blue-light: #4a8bff;
  --blue-dark: #0a46a6;
  --gray-bg: #f2f4f7;
  --gray-border: #e2e6ee;
  --text-dark: #0b1d4d;
  --text-body: #333a45;
  --text-muted: #6b7284;
  --white: #ffffff;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(11, 29, 77, 0.06);
  --shadow-md: 0 10px 28px rgba(11, 29, 77, 0.1);
  --shadow-lg: 0 24px 54px rgba(11, 29, 77, 0.16);
  --container-w: 1220px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; }
.section--sm { padding: 60px 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); color: #aab6df; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 16px; height: 3px; border-radius: 3px; background: var(--blue); }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow { background: rgba(13, 91, 212, 0.08); padding: 6px 16px; border-radius: 999px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(13, 91, 212, 0.32); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 12px 28px rgba(13, 91, 212, 0.4); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, 0.35); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-outline-navy { border-color: rgba(11, 29, 77, 0.25); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: rgba(11, 29, 77, 0.06); transform: translateY(-2px); }
.btn-ghost { background: rgba(13, 91, 212, 0.08); color: var(--blue); }
.btn-ghost:hover { background: rgba(13, 91, 212, 0.15); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #eef1f8; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #b91c1c; }
.btn-icon-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(13, 91, 212, 0.08);
  color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.btn-icon-circle svg { width: 17px; height: 17px; }
.btn-icon-circle:hover { background: var(--blue); color: #fff; transform: translateX(3px); }
[dir="rtl"] .btn-icon-circle:hover { transform: translateX(-3px); }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(11, 29, 77, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--gray-border);
  box-shadow: var(--shadow-sm);
}
.site-header.is-inner {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 24px;
}

.brand { display: flex; align-items: center; }
.brand img,
.brand .logo-main { height: 48px; width: auto; display: block; max-width: 160px; object-fit: contain; }
.brand .logo-dark { display: none; }
.brand .logo-light { display: block; }
.site-header.is-solid .brand .logo-dark,
.site-header.is-inner .brand .logo-dark { display: block; }
.site-header.is-solid .brand .logo-light,
.site-header.is-inner .brand .logo-light { display: none; }
.desktop-nav { display: flex; flex: 1; justify-content: center; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 15px;
  font-weight: 600; font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.site-header.is-solid .main-nav > li > a,
.site-header.is-inner .main-nav > li > a { color: var(--text-dark); }
.main-nav > li > a:hover, .main-nav > li.active > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.site-header.is-solid .main-nav > li > a:hover,
.site-header.is-solid .main-nav > li.active > a,
.site-header.is-inner .main-nav > li > a:hover,
.site-header.is-inner .main-nav > li.active > a {
  color: var(--blue);
  background: rgba(13, 91, 212, 0.08);
}
.main-nav .caret { font-size: 10px; width: 12px; height: 12px; transition: transform var(--transition); }
.main-nav li:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 290px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
[dir="rtl"] .dropdown { left: auto; right: 0; }
.main-nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--text-dark); font-weight: 600; }
.dropdown a small { color: var(--text-muted); font-weight: 500; font-size: 12.5px; }
.dropdown a:hover { background: var(--gray-bg); color: var(--blue); }
.dropdown .dropdown-all { border-top: 1px solid var(--gray-border); margin-top: 6px; padding-top: 12px; color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-switch > button {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}
.site-header.is-solid .lang-switch > button,
.site-header.is-inner .lang-switch > button {
  border-color: var(--gray-border);
  color: var(--text-dark);
}
.lang-switch .dropdown { min-width: 150px; right: 0; left: auto; }
[dir="rtl"] .lang-switch .dropdown { right: auto; left: 0; }
.lang-switch .dropdown a { flex-direction: row; align-items: center; justify-content: space-between; }
.lang-switch .dropdown a.active { color: var(--blue); }
.lang-switch.force-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  align-items: center; justify-content: center;
}
.site-header.is-solid .burger,
.site-header.is-inner .burger { border-color: var(--gray-border); color: var(--navy); }
.burger svg { width: 20px; height: 20px; }

.site-header .btn-outline { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.site-header .btn-outline:hover { background: rgba(255, 255, 255, 0.14); }
.site-header.is-solid .btn-outline,
.site-header.is-inner .btn-outline { border-color: rgba(11, 29, 77, 0.28); color: var(--navy); }
.site-header.is-solid .btn-outline:hover,
.site-header.is-inner .btn-outline:hover { background: rgba(11, 29, 77, 0.06); }

/* ===================== HERO SLIDER ===================== */
.hero-slider {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  min-height: min(100vh, 780px);
  isolation: isolate;
  padding-top: 88px;
}
.hero-slider-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(13, 91, 212, 0.45), transparent 42%),
    radial-gradient(circle at 82% 70%, rgba(74, 139, 255, 0.28), transparent 48%),
    linear-gradient(160deg, #070f2a 0%, #0b1d4d 45%, #0a183f 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 70% at 55% 40%, black 35%, transparent 90%);
  animation: gridDrift 28s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 96px 96px; }
}
.hero-particles span {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4a8bff;
  box-shadow: 0 0 16px 4px rgba(74, 139, 255, 0.55);
  animation: floatDot 7s ease-in-out infinite;
}
.hero-particles span:nth-child(1) { top: 18%; left: 12%; }
.hero-particles span:nth-child(2) { top: 28%; left: 72%; animation-delay: 1s; }
.hero-particles span:nth-child(3) { top: 62%; left: 18%; animation-delay: 2s; }
.hero-particles span:nth-child(4) { top: 70%; left: 84%; animation-delay: .5s; }
.hero-particles span:nth-child(5) { top: 42%; left: 48%; animation-delay: 1.6s; }
.hero-particles span:nth-child(6) { top: 14%; left: 88%; animation-delay: 2.4s; }
.hero-particles span:nth-child(7) { top: 78%; left: 55%; animation-delay: .8s; }
.hero-particles span:nth-child(8) { top: 36%; left: 30%; animation-delay: 3s; }
@keyframes floatDot {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.55; }
  50% { transform: translateY(-14px) scale(1.35); opacity: 1; }
}

.hero-slides { position: relative; z-index: 2; }
.hero-slide {
  display: none;
  opacity: 0;
}
.hero-slide.is-active {
  display: block;
  animation: slideIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(28px) scale(0.98); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.hero-slide-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  min-height: 560px;
  padding: 48px 24px 130px;
}
.hero-copy { max-width: 560px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb3e8;
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue-light); border-radius: 2px; }
.hero-slide h1, .hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-slide h1 .accent, .hero h1 .accent { color: #4a8bff; }
.hero-slide p.lead, .hero p.lead {
  font-size: 17px;
  color: #b7c1e8;
  max-width: 520px;
  margin: 0 0 32px;
}
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-video-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; color: #fff; }
.hero-video-link .play-circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  transition: transform var(--transition), background var(--transition);
}
.hero-video-link .play-circle svg { width: 15px; height: 15px; }
.hero-video-link:hover .play-circle { background: var(--blue); transform: scale(1.08); }

.hero-media { position: relative; }
.hero-device-float {
  animation: deviceFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.5));
}
.hero-device-float img, .hero-media img { width: 100%; max-width: 620px; margin-inline: auto; display: block; }
@keyframes deviceFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

.hero-orbits {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
}
.orbit-core {
  position: absolute; inset: 32%;
  border-radius: 50%;
  background: linear-gradient(145deg, #0d5bd4, #082f6e);
  display: grid; place-items: center;
  font-weight: 800; font-size: 22px; letter-spacing: 0.08em;
  box-shadow: 0 0 40px rgba(13,91,212,.55);
  animation: pulseCore 3s ease-in-out infinite;
}
@keyframes pulseCore {
  0%,100% { box-shadow: 0 0 30px rgba(13,91,212,.4); }
  50% { box-shadow: 0 0 55px rgba(74,139,255,.75); }
}
.orbit-card {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 110px;
  text-align: center;
  animation: orbitPulse 4s ease-in-out infinite;
}
.orbit-card strong { display: block; color: #fff; font-size: 15px; }
.orbit-card span { color: #9fb3e8; font-size: 12px; }
.orbit-card.o1 { top: 6%; left: 34%; }
.orbit-card.o2 { top: 38%; right: 0; animation-delay: .6s; }
.orbit-card.o3 { bottom: 8%; left: 30%; animation-delay: 1.2s; }
.orbit-card.o4 { top: 38%; left: 0; animation-delay: 1.8s; }
@keyframes orbitPulse {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-stats-float {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 420px;
  margin-inline: auto;
}
.hsf {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.hsf span { display: block; font-size: 32px; font-weight: 800; color: #4a8bff; line-height: 1.1; }
.hsf small { color: #b7c1e8; font-size: 13px; }

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.hero-arrow:hover { background: var(--blue); transform: scale(1.06); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}
.hero-dots button.is-active { width: 28px; background: #4a8bff; }
.hero-progress {
  position: absolute; left: 0; right: 0; bottom: 72px; z-index: 4;
  height: 3px; background: rgba(255,255,255,.08);
}
.hero-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #0d5bd4, #4a8bff);
}
.hero-slider.is-playing .hero-progress span {
  animation: heroProgress 6s linear forwards;
}
@keyframes heroProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* legacy page hero */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 168px 0 96px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(13, 91, 212, 0.4), transparent 45%),
    linear-gradient(160deg, #0b1d4d 0%, #0e2258 50%, #0b1d4d 100%);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===================== TECH STACK BAR ===================== */
.tech-bar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0;
}
.hero-slider > .tech-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  backdrop-filter: blur(6px);
}
.tech-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 34px;
}
.tech-item {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 14.5px;
  color: #cdd6f2;
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition), transform var(--transition);
}
.tech-item:hover { opacity: 1; filter: grayscale(0); transform: translateY(-2px); }
.tech-item svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ===================== STATS (legacy inline hero stats, kept for compatibility) ===================== */
.stats-bar {
  position: relative;
  z-index: 3;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -56px;
  padding: 36px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .stat-num { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--blue); display: block; }
.stat-item .stat-label { color: var(--text-muted); font-size: 14px; font-weight: 600; margin-top: 4px; }
.stat-item + .stat-item { border-inline-start: 1px solid var(--gray-border); }

/* ===================== GRIDS ===================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ===================== SERVICE CARDS ===================== */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 32px 26px 68px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(13, 91, 212, 0.08);
  border: 1.5px solid rgba(13, 91, 212, 0.18);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--transition), background var(--transition);
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: var(--blue); color: #fff; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14.5px; }
.card .card-arrow {
  position: absolute;
  left: 26px; bottom: 26px;
}
[dir="rtl"] .card .card-arrow { left: auto; right: 26px; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--blue); font-weight: 700; font-size: 14px; }
.card .card-link svg { width: 15px; height: 15px; transition: transform var(--transition); }
.card:hover .card-link svg { transform: translateX(4px); }
[dir="rtl"] .card:hover .card-link svg { transform: translateX(-4px); }

/* ===================== PRODUCT CARDS (home, image-top) ===================== */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card .pc-thumb {
  height: 160px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  overflow: hidden;
}
.product-card .pc-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.product-card .pc-thumb .card-icon { position: relative; z-index: 1; background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.28); color: #fff; margin-bottom: 0; }
.product-card:nth-of-type(4n+1) .pc-thumb { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); }
.product-card:nth-of-type(4n+2) .pc-thumb { background: linear-gradient(135deg, #1c3785 0%, #0b1d4d 100%); }
.product-card:nth-of-type(4n+3) .pc-thumb { background: linear-gradient(135deg, #0d5bd4 0%, #082f6e 100%); }
.product-card:nth-of-type(4n+4) .pc-thumb { background: linear-gradient(135deg, #4a8bff 0%, #0b1d4d 100%); }
.product-card .pc-category {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 11px; border-radius: 999px; color: #fff;
}
[dir="rtl"] .product-card .pc-category { right: auto; left: 14px; }
.product-card .pc-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.product-card .pc-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.product-card .pc-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; flex: 1; }
.product-card .pc-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.product-card .pc-features span { font-size: 12px; background: var(--gray-bg); color: var(--text-body); padding: 5px 11px; border-radius: 999px; font-weight: 600; }
.product-card .card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 14px; }
.product-card .card-link svg { width: 15px; height: 15px; transition: transform var(--transition); }
.product-card:hover .card-link svg { transform: translateX(4px); }
[dir="rtl"] .product-card:hover .card-link svg { transform: translateX(-4px); }

/* Detail listing product cards (inner /cozumlerimiz page keep icon-top style) */
.product-card .pc-top {
  padding: 28px;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-lighter) 100%);
  color: #fff;
  position: relative;
}
.product-card .pc-top .card-icon { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.product-card .pc-top h3 { color: #fff; font-size: 19px; margin-top: 4px; margin-bottom: 0; }

/* ===================== VALUES SECTION ===================== */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.value-item { text-align: center; padding: 8px; }
.value-item .value-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(13, 91, 212, 0.08);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.value-item .value-icon svg { width: 28px; height: 28px; }
.value-item:hover .value-icon { background: var(--blue); color: #fff; transform: translateY(-4px); }
.value-item h4 { font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 10px; }
.value-item p { font-size: 13.5px; color: var(--text-muted); }

/* ===================== WHY US / STATS SECTION (dark navy) ===================== */
.why-section {
  position: relative;
  background: var(--navy);
  color: #b7c1e8;
  overflow: hidden;
  padding: 96px 0;
}
.why-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(13, 91, 212, 0.35), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(74, 139, 255, 0.2), transparent 50%);
}
.why-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.why-copy h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 20px; max-width: 420px; }
.why-copy p { color: #a9b4de; margin-bottom: 30px; max-width: 440px; }
.why-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  transition: transform var(--transition), background var(--transition);
}
.why-stat:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.08); }
.why-stat .why-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(13, 91, 212, 0.22);
  color: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.why-stat .why-icon svg { width: 22px; height: 22px; }
.why-stat .why-num { display: block; font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; color: #fff; }
.why-stat .why-label { font-size: 12.5px; color: #9aa5cf; font-weight: 600; margin-top: 6px; }

/* ===================== TESTIMONIALS ===================== */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark { color: var(--blue); opacity: 0.25; margin-bottom: 12px; }
.testimonial-card .quote-mark svg { width: 34px; height: 34px; }
.testimonial-card p.quote { font-size: 15px; color: var(--text-body); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14.5px; color: var(--text-dark); }
.testimonial-author span { font-size: 12.5px; color: var(--text-muted); }

/* ===================== CTA BAND ===================== */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { color: #d6ddf7; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================== REFERENCES ===================== */
.ref-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.ref-card .ref-logo {
  width: 64px; height: 64px;
  border-radius: 14px;
  margin: 0 auto 16px;
  background: var(--gray-bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; color: var(--blue);
}
.ref-card h4 { font-size: 16px; margin-bottom: 6px; }
.ref-card .ref-sector { font-size: 12.5px; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 10px; }
.ref-card p { font-size: 13.5px; color: var(--text-muted); }

/* ===================== BLOG ===================== */
.blog-card { background: #fff; border: 1px solid var(--gray-border); border-radius: var(--radius-md); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); display: block; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .blog-thumb {
  height: 190px;
  position: relative;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 38px; font-weight: 800;
  overflow: hidden;
}
.blog-card .blog-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 20px 20px;
}
.blog-card:nth-of-type(3n+2) .blog-thumb { background: linear-gradient(135deg, #1c3785, #0b1d4d); }
.blog-card:nth-of-type(3n+3) .blog-thumb { background: linear-gradient(135deg, #4a8bff, #0b1d4d); }
.blog-card .blog-cat {
  position: relative; z-index: 1;
  position: absolute; top: 16px; left: 16px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
[dir="rtl"] .blog-card .blog-cat { left: auto; right: 16px; }
.blog-card .blog-body { padding: 24px; }
.blog-card .blog-date { font-size: 12.5px; color: var(--text-muted); font-weight: 600; margin-bottom: 10px; display: block; }
.blog-card h3 { font-size: 18px; margin-bottom: 10px; }
.blog-card p { font-size: 14.5px; color: var(--text-muted); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy); color: #a6adcf; }
.footer-top { padding: 76px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 20px; letter-spacing: 0.02em; }
.footer-brand { display: flex; align-items: center; margin-bottom: 18px; }
.footer-brand img { height: 32px; width: auto; }
.footer-grid p { font-size: 14px; line-height: 1.7; color: #8b91b5; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; color: #a6adcf; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 16px; font-size: 14px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--blue-light); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; transition: background var(--transition), transform var(--transition); }
.footer-social a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: #767d9e; }
.footer-bottom a { color: #a6adcf; }
.footer-bottom a:hover { color: #fff; }

/* ===================== FORMS ===================== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; color: var(--text-dark); margin-bottom: 8px; }
.form-group .req { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13, 91, 212, 0.1); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 10px; }
.form-error { color: var(--danger); font-size: 13px; margin-top: 6px; font-weight: 600; }
.form-card { background: #fff; border: 1px solid var(--gray-border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.alert-error { background: #fef3f2; color: #b42318; border: 1px solid #fda29b; }

/* ===================== PAGE HEADER (inner pages) ===================== */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 156px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(13, 91, 212, 0.4), transparent 55%),
    linear-gradient(160deg, #0b1d4d 0%, #0e2258 60%, #0b1d4d 100%);
}
.page-header::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, black 40%, transparent 90%);
}
.page-header > .container { position: relative; z-index: 1; }
.page-header .breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #97a0d0; margin-bottom: 14px; }
.page-header .breadcrumb a:hover { color: #fff; }
.page-header h1 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.page-header p { color: #aab2da; max-width: 620px; }

/* ===================== DETAIL PAGES ===================== */
.detail-layout { display: grid; grid-template-columns: 2.1fr 1fr; gap: 48px; align-items: start; }
.detail-main .prose { color: var(--text-body); font-size: 16px; }
.prose p { margin-bottom: 18px; white-space: pre-line; }
.feature-list { display: grid; gap: 12px; margin-top: 10px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--gray-bg); border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; color: var(--text-dark); }
.feature-list svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 1px; }
.detail-side .side-card { background: var(--gray-bg); border-radius: var(--radius-md); padding: 26px; margin-bottom: 20px; }
.detail-side .side-card h4 { font-size: 15px; margin-bottom: 14px; }
.related-list a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-sm); transition: background var(--transition); }
.related-list a:hover { background: #fff; }
.related-list .related-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(13, 91, 212, 0.1); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.related-list span { font-size: 14px; font-weight: 700; color: var(--text-dark); }

/* ===================== FILTER PILLS ===================== */
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pills a { padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; border: 1.5px solid var(--gray-border); color: var(--text-body); transition: all var(--transition); }
.filter-pills a:hover, .filter-pills a.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ===================== PAGINATION ===================== */
.pagination { display: flex; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 9px 15px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; border: 1.5px solid var(--gray-border); color: var(--text-body); }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .active span { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ===================== REVEAL ON SCROLL ===================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* ===================== UTILITIES ===================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--gray-border); }

/* ===================== MOBILE NAV ===================== */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(11, 29, 77, 0.65);
  z-index: 900;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.is-open {
  opacity: 1; visibility: visible;
  pointer-events: auto;
}
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  z-index: 950;
  background: #070f2a;
  padding: 20px 22px 32px;
  transform: translateX(110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), visibility 0.35s;
  overflow-y: auto;
  box-shadow: -20px 0 50px rgba(0,0,0,.35);
}
[dir="rtl"] .mobile-nav { right: auto; left: 0; transform: translateX(-110%); box-shadow: 20px 0 50px rgba(0,0,0,.35); }
.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav.is-open[hidden] { display: block !important; }
.mobile-nav-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.mobile-nav-top img { height: 40px; width: auto; }
.mobile-close {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.08); color: #fff;
  border: 0; display: grid; place-items: center; cursor: pointer;
}
.mobile-nav-links a {
  display: block;
  padding: 14px 4px;
  color: #dfe3f7;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-sub { padding-inline-start: 12px; }
.mobile-sub a { font-weight: 500; font-size: 14px; color: #a9b0d8 !important; }
.mobile-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.mobile-langs {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mobile-langs a {
  text-align: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 10px 0;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.mobile-langs a.is-active { background: rgba(13,91,212,.35); border-color: #0d5bd4; }

@media (min-width: 769px) {
  .burger, .mobile-nav, .nav-overlay { display: none !important; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .hero-slide-inner, .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 640px; margin-inline: auto; }
  .hero-eyebrow::before { display: none; }
  .hero-cta { justify-content: center; }
  .hero-media { max-width: 480px; margin-inline: auto; width: 100%; }
  .why-inner { grid-template-columns: 1fr; text-align: center; }
  .why-copy h2, .why-copy p { margin-inline: auto; }
  .why-stats { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 992px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .why-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-inline-start: 1px solid var(--gray-border); }
  .stat-item:nth-child(3) { border-inline-start: none; }
}

@media (max-width: 768px) {
  .desktop-nav, .hide-sm { display: none !important; }
  .burger { display: flex; }
  .header-inner { height: 74px; }

  /* Keep white logo on dark hero even after slight scroll on mobile home */
  .site-header:not(.is-inner).is-solid {
    background: rgba(7, 15, 42, 0.94);
    border-bottom-color: rgba(255,255,255,.08);
  }
  .site-header:not(.is-inner).is-solid .brand .logo-light { display: block; }
  .site-header:not(.is-inner).is-solid .brand .logo-dark { display: none; }
  .site-header:not(.is-inner).is-solid .burger {
    border-color: rgba(255,255,255,.25);
    color: #fff;
  }

  .hero-slider {
    padding-top: 74px;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .hero-slides { flex: 1 1 auto; }
  .hero-slide-inner {
    min-height: 0;
    gap: 28px;
    padding: 28px 16px 24px;
  }
  .hero-slide h1 { font-size: clamp(26px, 7vw, 34px); }
  .hero-slide p.lead { font-size: 15px; margin-bottom: 22px; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .hero-video-link { justify-content: center; }

  /* Orbit cards → simple grid on mobile (fixes overlap/explosion) */
  .hero-orbits {
    width: 100%;
    max-width: 340px;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 8px auto 0;
  }
  .orbit-core {
    position: static;
    inset: auto;
    grid-column: 1 / -1;
    width: 88px;
    height: 88px;
    margin: 4px auto 8px;
    font-size: 15px;
    animation: none;
  }
  .orbit-card {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    min-width: 0;
    width: 100%;
    animation: none;
    padding: 14px 10px;
  }

  .hero-stats-float {
    max-width: 100%;
    gap: 10px;
  }
  .hsf { padding: 16px 12px; }
  .hsf span { font-size: 24px; }

  .hero-device-float { animation: none; }
  .hero-device-float img { max-width: 100%; }

  /* Controls + tech bar in normal flow — no absolute overlap */
  .hero-controls {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 8px auto 12px;
    justify-content: center;
  }
  .hero-progress {
    position: relative;
    left: auto; right: auto; bottom: auto;
    margin: 0 auto 8px;
    width: min(220px, 60%);
    border-radius: 99px;
    overflow: hidden;
  }
  .hero-slider > .tech-bar {
    position: relative;
    left: auto; right: auto; bottom: auto;
    margin-top: auto;
  }
  .tech-bar { padding: 16px 0; }
  .tech-bar .container {
    justify-content: center;
    gap: 10px 16px;
  }
  .tech-item { font-size: 12px; }

  .page-header { padding: 128px 0 48px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: -32px; padding: 26px 16px; gap: 24px 12px; }
}

@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-slide-inner { padding: 20px 14px 16px; }
}

/* ===================== RTL (Arabic) TWEAKS ===================== */
[dir="rtl"] body { font-family: var(--font), "Tahoma", sans-serif; }
[dir="rtl"] .stat-item + .stat-item { border-inline-start: 1px solid var(--gray-border); }
[dir="rtl"] .hero-eyebrow::before { display: none; }
[dir="rtl"] .why-stat, [dir="rtl"] .value-item { text-align: center; }
