/* ═══════════════════════════════════════════════════
   KDM Landing · Production Styles
   ═══════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #060d1f;
  color: #f5f7fb;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

/* ═══ KEYFRAMES ═══ */
@keyframes pulse { 0%,100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes slideInFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ringPulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ═══ TYPOGRAPHY ═══ */
.h-display { font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(38px, 5.2vw, 68px); }
.h-section { font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(30px, 4vw, 44px); }
.body-text { font-family: 'Poppins', sans-serif; font-weight: 400; color: rgba(245,247,251,0.6); line-height: 1.65; font-size: 17px; }
.gradient-text {
  background: linear-gradient(135deg, #4c8aff 0%, #7ba4df 50%, #a8c5e8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradientShift 6s ease infinite;
}

/* ═══ EYEBROW & BADGES ═══ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  color: #7ba4df; text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: #4c8aff; animation: pulse 2s infinite; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  background: linear-gradient(180deg, #4c8aff, #3b7ae8);
  color: #fff; border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px -4px rgba(76,138,255,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  line-height: 1;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -6px rgba(76,138,255,0.5), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary.big { padding: 16px 32px; font-size: 15px; }
.btn-primary.small { padding: 9px 18px; font-size: 13px; }

.btn-ghost {
  background: rgba(255,255,255,0.04); color: #f5f7fb;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 13px 26px; border-radius: 10px;
  font-weight: 500; font-size: 14px;
  cursor: pointer; transition: all 0.25s;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  line-height: 1;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.btn-ghost.big { padding: 15px 30px; font-size: 15px; }
.btn-ghost.small { padding: 8px 18px; font-size: 13px; }

/* ═══ HEADER ═══ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(6,13,31,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.05);
}
.header-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.3s;
  gap: 20px;
}
#header.scrolled .header-inner { padding: 12px 28px; }
.header-logo img { display: block; height: 52px; width: auto; }
#header.scrolled .header-logo img { height: 42px; }

.nav-desktop { display: flex; gap: 32px; align-items: center; }
.nav-link {
  color: rgba(245,247,251,0.65); font-size: 14px; font-weight: 500;
  background: none; border: none; padding: 8px 0;
  transition: color 0.2s;
}
.nav-link:hover { color: #fff; }

.header-right { display: flex; gap: 10px; align-items: center; }
.header-cta { padding: 10px 20px; font-size: 13px; }

.hamburger { display: none; background: none; border: none; color: #fff; padding: 8px; }

/* ═══ LANGUAGE ═══ */
.lang-wrapper { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 14px 8px 10px; border-radius: 10px;
  color: #f5f7fb; font-size: 13px; font-weight: 500;
  transition: all 0.2s;
}
.lang-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); }
.lang-btn .flag { display: flex; align-items: center; }
.lang-btn .flag svg, .lang-option .flag svg { display: block; }
.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: rgba(12,18,35,0.98);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 6px; min-width: 200px; z-index: 100;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
  display: none; animation: fadeIn 0.18s ease;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 12px;
  border: none; background: none;
  color: rgba(245,247,251,0.75); font-size: 13px; font-weight: 500;
  text-align: left; border-radius: 8px;
  transition: all 0.15s;
}
.lang-option:hover { background: rgba(76,138,255,0.1); color: #fff; }
.lang-option.active { background: rgba(76,138,255,0.15); color: #fff; }

/* ═══ MOBILE MENU ═══ */
.mobile-menu {
  display: none;
  padding: 8px 28px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(6,13,31,0.95);
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 12px 0; text-align: left; }
.mobile-menu .btn-primary { justify-content: center; margin-top: 8px; }

/* ═══ HERO ═══ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 120px;
}
.hero-mesh {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(76,138,255,0.08), transparent 60%);
  pointer-events: none;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
}
.orb-1 { width: 600px; height: 600px; background: rgba(76,138,255,0.1); top: -200px; left: -200px; }
.orb-2 { width: 500px; height: 500px; background: rgba(129,140,248,0.06); top: 200px; right: -150px; }

.hero-inner {
  position: relative; max-width: 1240px; margin: 0 auto;
  padding: 40px 28px 80px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-content { animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-sub { font-size: 17px; margin-bottom: 36px; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1); }

.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, #060d1f);
  pointer-events: none;
}

/* ═══ DASHBOARD VISUAL (injected by JS) ═══ */
.dashboard {
  position: relative; width: 100%; max-width: 580px; aspect-ratio: 1.05; margin: 0 auto;
}
.dashboard-rings {
  position: absolute; top: 50%; left: 50%;
  width: 130%; height: 130%; z-index: 0; opacity: 0.4;
  pointer-events: none;
}
.dashboard-rings svg { width: 100%; height: 100%; }
.dashboard-rings .ring-outer { animation: rotate 60s linear infinite; transform-origin: center; }
.dashboard-rings .ring-outer-alt { animation: rotate 80s linear infinite reverse; transform-origin: center; }

.dashboard-main {
  position: absolute; top: 6%; left: 4%; right: 4%; bottom: 12%;
  background: linear-gradient(180deg, rgba(22,32,54,0.92), rgba(14,22,40,0.88));
  border-radius: 22px; border: 1px solid rgba(255,255,255,0.08);
  padding: 20px; z-index: 1; overflow: hidden;
  box-shadow: 0 40px 100px -24px rgba(0,0,0,0.6), 0 0 0 1px rgba(76,138,255,0.06), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.dashboard-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.dashboard-dots { display: flex; gap: 6px; align-items: center; }
.dashboard-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.dashboard-live {
  margin-left: 10px; display: flex; align-items: center; gap: 5px;
  padding: 3px 8px; background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.2); border-radius: 20px;
}
.dashboard-live-dot { width: 5px; height: 5px; border-radius: 50%; background: #34d399; animation: pulse 1.6s infinite; }
.dashboard-live span { font-size: 8px; color: #34d399; font-weight: 600; letter-spacing: 0.5px; }
.dashboard-brand { font-size: 9px; color: rgba(255,255,255,0.35); letter-spacing: 1.2px; font-weight: 500; }

.dashboard-metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.metric-tile { border-radius: 10px; padding: 10px 11px; position: relative; overflow: hidden; }
.metric-label { font-size: 8px; color: rgba(255,255,255,0.5); font-weight: 600; letter-spacing: 0.4px; margin-bottom: 3px; }
.metric-value { font-size: 20px; font-weight: 700; line-height: 1; }
.metric-bar { height: 3px; border-radius: 2px; margin-top: 6px; overflow: hidden; }
.metric-bar-fill { height: 100%; transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

.dashboard-chart-sm {
  background: rgba(255,255,255,0.02); border-radius: 10px;
  padding: 10px 12px; border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 10px;
}
.dashboard-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dashboard-chart-head .l { font-size: 9px; color: rgba(255,255,255,0.55); font-weight: 600; letter-spacing: 0.3px; }
.dashboard-chart-head .v { font-size: 8px; color: #34d399; font-weight: 600; }

.dashboard-bars-wrap {
  background: rgba(255,255,255,0.02); border-radius: 10px;
  padding: 10px 12px 8px; border: 1px solid rgba(255,255,255,0.04);
}
.dashboard-bars-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dashboard-bars-head .l { font-size: 9px; color: rgba(255,255,255,0.55); font-weight: 600; letter-spacing: 0.3px; }
.dashboard-bars-head .v { font-size: 8px; color: rgba(255,255,255,0.3); }
.dashboard-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.bar { width: 100%; border-radius: 3px 3px 1px 1px; transition: height 1.8s cubic-bezier(0.22, 1, 0.36, 1); position: relative; }
.bar-default { background: linear-gradient(180deg, rgba(76,138,255,0.3), rgba(76,138,255,0.12)); }
.bar-active { background: linear-gradient(180deg, #4c8aff, #3b82f6); box-shadow: 0 3px 16px rgba(76,138,255,0.35); }
.bar-active-dot { position: absolute; top: -3px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.6); }
.bar-label { font-size: 7px; color: rgba(255,255,255,0.3); font-weight: 500; }
.bar-label-active { color: rgba(255,255,255,0.6); font-weight: 600; }

.dashboard-activity {
  position: absolute; bottom: 14px; left: 20px; right: 20px;
  background: rgba(76,138,255,0.06); border: 1px solid rgba(76,138,255,0.15);
  border-radius: 10px; padding: 8px 12px;
  display: flex; align-items: center; gap: 10px; overflow: hidden;
}
.activity-icon {
  width: 26px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.5s;
}
.activity-content { flex: 1; min-width: 0; overflow: hidden; }
.activity-t { font-size: 9px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.activity-d { font-size: 9px; color: rgba(255,255,255,0.7); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-indicator { display: flex; gap: 3px; }
.activity-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.12); transition: all 0.4s; }

.floating-card {
  position: absolute; z-index: 2;
  background: linear-gradient(180deg, rgba(28,40,66,0.96), rgba(20,30,50,0.92));
  border-radius: 12px; padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 50px -12px rgba(0,0,0,0.6);
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.fc-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.fc-title { font-size: 10px; font-weight: 600; color: #fff; }
.fc-sub { font-size: 8.5px; color: rgba(255,255,255,0.5); margin-top: 1px; letter-spacing: 0.2px; }

.fc-1 { top: -2%; right: -2%; animation: floatCard 7s ease-in-out infinite; }
.fc-2 { bottom: 4%; left: -3%; animation: floatCard 8s ease-in-out infinite; animation-delay: 1.2s; }
.fc-3 { top: 32%; left: -6%; padding: 7px 11px; border-radius: 10px; animation: floatCard 9s ease-in-out infinite; animation-delay: 2.4s; }
.fc-3 .fc-icon { width: 22px; height: 22px; border-radius: 6px; }

.dashboard-ambient {
  position: absolute; top: 35%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; height: 80%;
  background: radial-gradient(ellipse, rgba(76,138,255,0.2), transparent 60%);
  filter: blur(50px); z-index: 0; pointer-events: none;
}

/* ═══ SECTION COMMON ═══ */
.section { padding: 100px 28px; position: relative; }
.section-alt { background: rgba(255,255,255,0.015); }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-anim { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.section-anim.visible { opacity: 1; transform: translateY(0); }

.section-heading { max-width: 720px; margin-bottom: 56px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }

/* ═══ CARDS ═══ */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative; overflow: hidden;
}
.card.interactive:hover {
  border-color: rgba(76,138,255,0.25);
  background: linear-gradient(180deg, rgba(76,138,255,0.04), rgba(255,255,255,0.01));
  transform: translateY(-2px);
}

/* ═══ FLEX GRID (center-aligned on wrap) ═══ */
.flex-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.flex-grid > .card { flex: 1 1 260px; max-width: 320px; min-width: 240px; }

/* Values */
.value-card { padding: 28px 24px; }
.value-card .num-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.value-card .num { font-size: 11px; font-weight: 600; color: #4c8aff; letter-spacing: 1.5px; }
.value-card .line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(76,138,255,0.3), transparent); }
.value-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.value-card p { font-size: 13.5px; line-height: 1.6; }

/* Modules */
.mod-card { padding: 28px 26px; }
.mod-icon-wrap {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, rgba(76,138,255,0.12), rgba(76,138,255,0.04));
  border: 1px solid rgba(76,138,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #7ba4df; margin-bottom: 18px;
  transition: all 0.3s;
}
.mod-card:hover .mod-icon-wrap {
  color: #4c8aff;
  border-color: rgba(76,138,255,0.3);
  background: linear-gradient(135deg, rgba(76,138,255,0.18), rgba(76,138,255,0.06));
}
.mod-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.mod-card p { font-size: 13.5px; line-height: 1.6; }

/* Security */
.sec-card { padding: 24px; }
.sec-card .sec-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(76,138,255,0.08);
  border: 1px solid rgba(76,138,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #4c8aff; margin-bottom: 14px;
}
.sec-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.sec-card p { font-size: 13px; line-height: 1.6; }

/* ═══ AI SECTION ═══ */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ai-content .body-text { margin-bottom: 32px; }
.ai-caps { display: grid; gap: 0; }
.ai-cap { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.ai-cap:first-child { border-top: none; }
.ai-cap-check {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(76,138,255,0.08);
  border: 1px solid rgba(76,138,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #4c8aff; flex-shrink: 0; margin-top: 2px;
}
.ai-cap-t { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.ai-cap-d { font-size: 13.5px; color: rgba(245,247,251,0.6); }

.ai-visual { position: relative; }
.ai-viz { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin: 0 auto; }
.ai-viz svg { width: 100%; height: 100%; }

.ai-chip {
  position: absolute;
  background: linear-gradient(180deg, rgba(28,40,66,0.96), rgba(20,30,50,0.92));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 16px 40px -8px rgba(0,0,0,0.5);
  font-family: 'Poppins';
}
.ai-chip-1 {
  top: 4%; left: -4%;
  border: 1px solid rgba(76,138,255,0.2);
  box-shadow: 0 16px 40px -8px rgba(0,0,0,0.5), 0 0 0 1px rgba(76,138,255,0.08);
  min-width: 180px;
  animation: floatCard 7s ease-in-out infinite;
}
.ai-chip-2 {
  bottom: 6%; right: -2%;
  border: 1px solid rgba(129,140,248,0.2);
  min-width: 170px;
  animation: floatCard 9s ease-in-out infinite; animation-delay: 2s;
}
.ai-chip-3 {
  top: 38%; right: -5%;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 7px 11px; border-radius: 10px;
  animation: floatCard 8s ease-in-out infinite; animation-delay: 1s;
}
.chip-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; animation: pulse 1.8s infinite; }
.chip-cat-sm { font-size: 9px; font-weight: 700; letter-spacing: 0.8px; }
.chip-label { font-size: 9px; color: rgba(255,255,255,0.45); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 2px; }
.chip-value { color: #fff; font-weight: 600; font-size: 12px; letter-spacing: -0.01em; }
.chip-sub { font-size: 10px; color: rgba(255,255,255,0.55); margin-bottom: 5px; }
.chip-progress { height: 3px; background: rgba(129,140,248,0.12); border-radius: 2px; overflow: hidden; position: relative; }
.chip-progress-bar { height: 100%; background: linear-gradient(90deg, transparent, #818cf8, transparent); width: 40%; position: absolute; transition: left 0.08s linear; }
.chip-data-label { font-size: 8px; color: rgba(255,255,255,0.45); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 1px; }
.chip-data-value { font-size: 13px; color: #fff; font-weight: 700; letter-spacing: -0.01em; }

/* ═══ PLATFORM ═══ */
.platform-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.platform-card { flex: 1 1 280px; max-width: 400px; padding: 32px; }
.platform-visual { height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; position: relative; }
.platform-visual svg { width: 80%; height: 100%; }
.platform-visual svg.narrow { width: 60%; }
.platform-card .ph { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #4c8aff; }
.platform-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: #f5f7fb; }
.platform-card p { font-size: 13.5px; line-height: 1.65; color: rgba(245,247,251,0.6); }

.store-badges { margin-top: 48px; }
.store-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(245,247,251,0.4); text-align: center; margin-bottom: 20px;
}
.store-row { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; align-items: center; }
.store-badge {
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.08); }
.store-badge img { display: block; height: 54px; width: auto; }

/* ═══ REACH (equal twin cards) ═══ */
.reach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.reach-card {
  padding: 40px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 14px; transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.reach-u2 {
  background: linear-gradient(135deg, rgba(76,138,255,0.05), rgba(129,140,248,0.02));
  border: 1px solid rgba(76,138,255,0.12);
}
.reach-ts {
  background: linear-gradient(135deg, rgba(201,165,92,0.04), rgba(201,165,92,0.015));
  border: 1px solid rgba(201,165,92,0.12);
}
.reach-glow {
  position: absolute; top: 0; right: 0;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(76,138,255,0.1), transparent 70%);
  pointer-events: none;
}
.reach-glow-gold { background: radial-gradient(circle, rgba(201,165,92,0.08), transparent 70%); }
.reach-inner { position: relative; display: flex; flex-direction: column; flex: 1; }
.reach-logo { height: 48px; display: flex; align-items: center; margin-bottom: 24px; }
.reach-logo img { display: block; width: auto; }
.reach-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px;
}
.reach-label-blue { color: #7ba4df; }
.reach-label-gold { color: #c9a55c; }
.reach-desc { font-size: 14.5px; line-height: 1.7; margin-bottom: 28px; color: rgba(245,247,251,0.7); flex: 1; }
.reach-chips { padding-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid rgba(76,138,255,0.1); }
.reach-chips-gold { border-top-color: rgba(201,165,92,0.1); }
.reach-chip {
  padding: 5px 11px; border-radius: 6px;
  font-size: 11px; font-weight: 500;
  background: rgba(76,138,255,0.08);
  border: 1px solid rgba(76,138,255,0.12);
  color: #a8c5e8;
}
.reach-chip-gold {
  background: rgba(201,165,92,0.06);
  border-color: rgba(201,165,92,0.12);
  color: #d4b877;
}

/* ═══ FAQ ═══ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.faq-cta { padding: 20px; margin-top: 24px; }
.faq-cta-label { font-size: 13px; color: rgba(245,247,251,0.6); margin-bottom: 14px; }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; padding: 22px 0;
  background: none; border: none;
  color: #f5f7fb; font-size: 16px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left; gap: 20px;
  transition: color 0.2s;
  font-family: inherit;
}
.faq-q:hover { color: #7ba4df; }
.faq-chevron { transition: transform 0.3s; color: rgba(255,255,255,0.5); flex-shrink: 0; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s;
  color: rgba(245,247,251,0.6); font-size: 14.5px; line-height: 1.7; font-weight: 400;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 0 22px 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: #4c8aff; }

/* ═══ CTA ═══ */
.cta-section { padding: 100px 28px; position: relative; overflow: hidden; }
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(76,138,255,0.1), transparent 60%);
  pointer-events: none;
}
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; }
.cta-sub { font-size: 16px; margin: 20px auto 36px; max-width: 560px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══ FOOTER ═══ */
footer {
  background: linear-gradient(180deg, #060d1f, #040917);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 64px; padding-bottom: 28px;
}
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(245,247,251,0.9); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 13.5px; color: rgba(245,247,251,0.55);
  text-decoration: none; transition: color 0.2s; font-weight: 400;
}
.footer-col ul a:hover { color: #fff; }
.footer-contact li { font-size: 13.5px; color: rgba(245,247,251,0.55); }

.footer-col-brand { }
.footer-logo { margin-bottom: 20px; }
.footer-logo img { display: block; height: 64px; width: auto; }
.footer-about { font-size: 13.5px; line-height: 1.7; margin-bottom: 28px; max-width: 340px; }
.footer-partner { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-partner-label {
  font-size: 10px; color: rgba(245,247,251,0.4);
  letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600; margin-bottom: 14px;
}
.footer-partner-logo img { display: block; height: 22px; width: auto; }

.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 12.5px; color: rgba(245,247,251,0.4); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 12.5px; color: rgba(245,247,251,0.4);
  text-decoration: none; transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(245,247,251,0.7); }

/* ═══ COOKIE ═══ */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  z-index: 60; pointer-events: none;
  animation: fadeUp 0.5s ease-out;
}
.cookie-banner.hidden { display: none; }
.cookie-inner {
  max-width: 680px; margin: 0 auto;
  background: rgba(12,18,35,0.96);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 14px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  pointer-events: auto;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.4);
}
.cookie-msg {
  font-size: 13.5px; color: rgba(245,247,251,0.75);
  flex: 1; min-width: 200px; line-height: 1.55; font-weight: 400;
}
.cookie-actions { display: flex; gap: 8px; }

/* ═══ RTL ═══ */
body.rtl { direction: rtl; }
body.rtl .hero-content, body.rtl .ai-content, body.rtl .faq-heading { text-align: right; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 860px) {
  .nav-desktop, .header-cta { display: none !important; }
  .hamburger { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 20px; }
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
  .reach-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 70px 24px; }
  .cta-section { padding: 70px 24px; }
  .hero { padding-top: 100px; }
  .hero-inner { padding: 30px 24px 60px; }
  .header-inner { padding: 14px 20px; }
  #header.scrolled .header-inner { padding: 10px 20px; }
  .footer-inner { padding: 0 20px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-inner { padding: 14px 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}
