@import url('variables.css');

/* ═══════════════════════════════════════════════════════════════════
   COMPASSES — MAIN STYLESHEET  v3.0 Light Brand
   compasses.me | Vanilla CSS | No frameworks
═══════════════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─────────────────────────────────────────── */
:root {
  --primary:        #153570;
  --primary-dark:   #0B1F45;
  --primary-light:  #2176C7;
  --secondary:      #2176C7; /* alias for --primary-light — used in service.css */
  --accent:         #D4961E;
  --emerald:        #16a34a;
  --amber:          #D4961E; /* alias for --accent — used in admin.css */
  --rose:           #dc2626;

  /* NOTE: "--dark" naming is intentionally inverted — this is a LIGHT theme.
     --dark = page bg (light slate), --dark-800 = white cards, --dark-700 = off-white sections */
  --dark:           #F4F6FA;
  --dark-800:       #FFFFFF;
  --dark-700:       #EBEef5;
  --dark-600:       #D5DAE8;
  --muted:          #7A93AC;
  --border:         rgba(21,53,112,0.12);
  --border-light:   rgba(21,53,112,0.08);

  --text:           #0A0F1E;
  --text-muted:     #4B6280;
  --text-faint:     #7A93AC;

  --surface:        rgba(255,255,255,0.92);
  --surface-hover:  rgba(255,255,255,0.98);
  --glass:          rgba(21,53,112,0.04);
  --glass-hover:    rgba(21,53,112,0.08);

  --radius-sm:  6px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm:   0 1px 4px rgba(21,53,112,0.08);
  --shadow:      0 6px 28px rgba(21,53,112,0.12);
  --shadow-lg:   0 24px 64px rgba(21,53,112,0.18);
  --shadow-glow: 0 0 48px rgba(21,53,112,0.16);

  --transition: 0.22s ease;
  --font: 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', monospace;

  --nav-height: 72px;
  --section-pad: 96px;
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Typography ────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { line-height: 1.18; font-weight: 800; color: var(--text); }
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); letter-spacing: -0.01em; }
p  { color: var(--text-muted); line-height: 1.72; }

.gradient-text {
  background: linear-gradient(130deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout Utilities ──────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }
.section-sm { padding: 80px 0; }
.flex { display: flex; }
.grid { display: grid; }
.center { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  background: rgba(33,118,199,0.10);
  border: 1px solid rgba(33,118,199,0.22);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title { margin-bottom: 16px; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.72;
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 0 30px rgba(21,53,112,0.25);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; bottom: 0;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(21,53,112,0.38); }
.btn-primary:hover::after { left: 150%; transition: left 0.55s ease; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--glass-hover);
  border-color: rgba(21,53,112,0.28);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── Badges ────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-popular    { background: rgba(21,53,112,0.12);  color: var(--primary); }
.badge-new        { background: rgba(196,144,28,0.12); color: #8A6010; }
.badge-hot        { background: rgba(220,38,38,0.10);  color: #b91c1c; }
.badge-enterprise { background: rgba(196,144,28,0.12); color: #8A6010; }

/* ─── Reveal Animation ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.revealed { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
#navbar.scrolled {
  background: rgba(8,22,48,0.90);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-svg { flex-shrink: 0; }
.nav-logo-ar {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.nav-logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  align-self: flex-end;
  margin-bottom: 1px;
  padding-inline-start: 2px;
}
#navbar.scrolled .nav-logo-ar { color: var(--text); }
#navbar.scrolled .nav-logo-en { color: var(--text-faint); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Nav buttons on dark hero */
.nav-actions .btn-outline {
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.80);
  background: rgba(255,255,255,0.06);
}
.nav-actions .btn-outline:hover {
  border-color: rgba(255,255,255,0.40);
  color: #fff;
  background: rgba(255,255,255,0.12);
}

#burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.80);
  transition: background var(--transition);
}
#burger:hover { background: rgba(255,255,255,0.14); }
#burger svg { width: 20px; height: 20px; }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8,22,48,0.97);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 16px 32px;
  color: rgba(255,255,255,0.70);
  transition: color var(--transition);
}
#mobile-menu a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════
   HERO — v4 Premium Dark
═══════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: linear-gradient(145deg, #081630 0%, #0D2151 45%, #101E45 100%);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.18;
}

/* Dot-grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-glow-1 { width: 700px; height: 700px; top: -250px; right: -150px; background: #1B4BA0; opacity: 0.30; }
.hero-glow-2 { width: 450px; height: 450px; bottom: -150px; left: -100px; background: #2176C7; opacity: 0.20; }
.hero-glow-3 { width: 350px; height: 350px; top: 40%; left: 30%; background: #D4961E; opacity: 0.08; }
.hero-glow-4 { width: 300px; height: 300px; bottom: 10%; right: 20%; background: #1B4BA0; opacity: 0.18; }

/* Two-column layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - var(--nav-height) - 200px);
}

/* ─── Hero text side ─── */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  padding: 7px 18px 7px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  animation: fadeSlideDown 0.6s ease both;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.80); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
  animation: fadeSlideDown 0.7s ease 0.1s both;
}
.hero-title-line1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: rgba(255,255,255,0.95);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: rgba(255,255,255,0.62);
  max-width: 500px;
  line-height: 1.75;
  animation: fadeSlideDown 0.7s ease 0.2s both;
  margin-bottom: 44px;
}

.hero-typewriter {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  background: linear-gradient(120deg, #60A5FA 0%, #93C5FD 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-right: 3px solid var(--accent);
  padding-right: 6px;
  animation: fadeSlideDown 0.7s ease 0.1s both, blink 0.9s step-end infinite;
}

@keyframes blink {
  0%, 100% { border-color: var(--accent); }
  50%       { border-color: transparent; }
}

/* Hero-specific buttons */
.btn-hero-primary {
  background: linear-gradient(135deg, #1B5BCC, #2176C7);
  color: #fff;
  border: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 8px 32px rgba(0,0,0,0.35);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 12px 40px rgba(0,0,0,0.45);
  background: linear-gradient(135deg, #2066D8, #2585D8);
}
.btn-hero-ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.30);
  color: #fff;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideDown 0.7s ease 0.3s both;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: fadeSlideDown 0.7s ease 0.4s both;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.50);
}
.hero-trust-item svg { width: 14px; height: 14px; color: #4ADE80; }

/* ─── Stats strip on dark bg ─── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 48px;
  animation: fadeSlideDown 0.7s ease 0.5s both;

  animation: fadeSlideDown 0.7s ease 0.5s both;
}
.stat-item { text-align: center; padding: 0 24px; }
.stat-item + .stat-item { border-right: 1px solid rgba(255,255,255,0.10); }
.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #93C5FD, #60A5FA, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.83rem; color: rgba(255,255,255,0.45); margin-top: 6px; }

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(21,53,112,0.22), 0 0 48px rgba(21,53,112,0.12); }
  50%       { box-shadow: 0 0 0 1px rgba(21,53,112,0.30), 0 0 72px rgba(21,53,112,0.22); }
}

/* ─── Browser mock visual ─── */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideDown 0.8s ease 0.3s both;
}
.hero-browser-frame {
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 32px 80px rgba(0,0,0,0.55), 0 0 120px rgba(21,53,112,0.30);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.hero-browser-frame:hover { transform: perspective(1200px) rotateY(-1deg) rotateX(0deg); }
.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-browser-dots { display: flex; gap: 6px; }
.hero-browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.hero-browser-dots span:nth-child(1) { background: #FF5F57; }
.hero-browser-dots span:nth-child(2) { background: #FFBD2E; }
.hero-browser-dots span:nth-child(3) { background: #28C840; }
.hero-browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
.hero-browser-screen {
  padding: 20px;
  background: linear-gradient(160deg, #0D1F42 0%, #112254 100%);
  min-height: 300px;
}
.hero-dash-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-dash-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2176C7, #60A5FA);
  flex-shrink: 0;
}
.hero-dash-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  flex: 1;
}
.hero-dash-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(74,222,128,0.15);
  color: #4ADE80;
  border: 1px solid rgba(74,222,128,0.30);
}
.hero-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.hero-dash-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
}
.hero-dash-stat--accent { background: rgba(212,150,30,0.12); border-color: rgba(212,150,30,0.25); }
.hero-dash-stat-num {
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.90);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-dash-stat-lbl { font-size: 0.60rem; color: rgba(255,255,255,0.40); }
.hero-dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  padding: 0 4px;
  margin-bottom: 16px;
}
.hero-dash-bar {
  flex: 1;
  background: rgba(33,118,199,0.35);
  border-radius: 4px 4px 0 0;
}
.hero-dash-bar--accent { background: rgba(212,150,30,0.50); }
.hero-dash-tasks { display: flex; flex-direction: column; gap: 8px; }
.hero-dash-task {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
}
.hero-dash-task--pending { color: rgba(255,255,255,0.35); }
.hero-dash-check {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(74,222,128,0.20);
  border: 1px solid rgba(74,222,128,0.50);
  flex-shrink: 0;
  position: relative;
}
.hero-dash-check::after {
  content: '';
  position: absolute;
  top: 2px; left: 3px;
  width: 6px; height: 4px;
  border-left: 1.5px solid #4ADE80;
  border-bottom: 1.5px solid #4ADE80;
  transform: rotate(-45deg);
}
.hero-dash-check--pending { background: transparent; border-color: rgba(255,255,255,0.20); }
.hero-dash-check--pending::after { display: none; }

/* ─── Floating badge pills ─── */
.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 10px 14px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  z-index: 3;
}
.hero-float-badge-1 { top: 16%; right: -24px; animation: floatBadge 4s ease-in-out infinite; }
.hero-float-badge-2 { bottom: 22%; right: -32px; animation: floatBadge 4s ease-in-out 1.4s infinite; }
.hero-float-badge-3 { bottom: 6%; left: 10%; animation: floatBadge 4s ease-in-out 2.6s infinite; }
.hero-float-icon {
  font-size: 1.2rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  flex-shrink: 0;
}
.hero-float-title { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.90); line-height: 1; }
.hero-float-sub { font-size: 0.65rem; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* ─── Hero Responsive ─── */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { display: none; }
}
@media (max-width: 768px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-item + .stat-item { border-right: none; }
  .hero-cta .btn-hero-ghost { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════════════════ */
#services {
  background: var(--dark);
  position: relative;
}
#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
}

#services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.svc-card {
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: 20%; bottom: 20%;
  right: 0;
  width: 3px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary-light), var(--accent));
  opacity: 0;
  transition: opacity 0.28s ease;
}
.svc-card:hover {
  transform: translateY(-10px);
  border-color: rgba(21,53,112,0.22);
  box-shadow: 0 24px 64px rgba(21,53,112,0.16), 0 0 0 1px rgba(21,53,112,0.12);
}
.svc-card:hover::after { opacity: 1; }

.svc-card-header {
  position: relative;
  padding: 36px 32px;
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.svc-card-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.0) 30%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.0) 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.svc-card:hover .svc-card-header::before { transform: translateX(100%); }
.svc-icon {
  width: 62px; height: 62px;
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.30);
}
.svc-icon svg { width: 28px; height: 28px; }

.svc-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.22);
  color: #fff;
  backdrop-filter: blur(4px);
}

.svc-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.svc-app-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-svc-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}
.svc-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0;
}
.svc-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.svc-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-style: italic;
}
.svc-desc {
  font-size: 0.9rem;
  color: var(--text-faint);
  line-height: 1.65;
  margin-bottom: 20px;
}

.svc-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex: 1;
}
.svc-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.check-icon {
  width: 18px; height: 18px;
  background: rgba(22,163,74,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--emerald);
}
.check-icon svg { width: 10px; height: 10px; }

.svc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.svc-price .price-amount { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.svc-price .price-period { font-size: 0.85rem; color: var(--text-muted); margin-left: 2px; }
.svc-price .price-contact { font-size: 0.9rem; font-weight: 700; color: var(--primary-light); background: rgba(27,107,191,0.10); border: 1px solid rgba(27,107,191,0.22); padding: 4px 14px; border-radius: 20px; }

.btn-svc-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(21,53,112,0.08);
  color: var(--primary);
  border: 1px solid rgba(21,53,112,0.18);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-svc-cta:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(21,53,112,0.30);
  transform: scale(1.02);
}
.btn-svc-cta svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════════════
   FEATURES — GRID
═══════════════════════════════════════════════════════════════════ */
#features {
  background: var(--dark-700);
  position: relative;
  overflow: hidden;
}
#features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 20%, rgba(33,118,199,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 50% 50% at 10% 80%, rgba(212,150,30,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feat-card {
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.26s ease, border-color 0.22s ease;
  box-shadow: var(--shadow-sm);
}
.feat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(21,53,112,0.20);
  box-shadow: var(--shadow-lg);
}

.feat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-icon-wrap--blue { background: rgba(21,53,112,0.08); border: 1px solid rgba(21,53,112,0.12); }
.feat-icon-wrap--gold { background: rgba(196,144,28,0.10); border: 1px solid rgba(196,144,28,0.18); }
.feat-icon-wrap svg { width: 24px; height: 24px; }

.feat-body { flex: 1; }
.feat-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.feat-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin: 0;
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .feat-card { padding: 28px 24px; }
}

/* ═══════════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════════ */
#testimonials {
  background: linear-gradient(160deg, #ECF0F8 0%, #EBEef5 100%);
  position: relative;
}
#testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--primary-light));
  opacity: 0.35;
}

.testimonials-container { position: relative; }

.testimonials-track {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 260px;
}

.testimonial-card {
  grid-area: 1/1;
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  opacity: 0;
  transform: scale(0.96);
  transition: all 0.4s ease;
  pointer-events: none;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
  margin-bottom: 24px;
}
.testimonial-stars svg { width: 18px; height: 18px; }

.testimonial-text {
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.75;
  font-style: normal;
  margin-bottom: 36px;
  position: relative;
}
.testimonial-text::before {
  content: '\201D';
  position: absolute;
  top: -20px;
  right: -8px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(21,53,112,0.08);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-name  { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.author-title { font-size: 0.82rem; color: var(--text-muted); }

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.t-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.t-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.t-btn svg { width: 16px; height: 16px; }

.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.t-dot.active { background: var(--primary); transform: scale(1.3); }

/* ═══════════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════════ */
#faq { background: var(--dark); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.faq-item.open { border-color: rgba(21,53,112,0.28); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  text-align: right;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }

.faq-chevron {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ═══════════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════════════ */
#cta {
  background: linear-gradient(140deg, #0B1F45 0%, #112255 50%, #0D2151 100%);
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
#cta::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,118,199,0.25) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-inner h2 { margin-bottom: 20px; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-inner p { font-size: 1.1rem; color: rgba(255,255,255,0.62); margin-bottom: 44px; }
.cta-inner .section-label {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.80);
}
.cta-inner .btn-primary {
  background: linear-gradient(135deg, #2176C7, #3B8FD8);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.cta-inner .btn-outline {
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.80);
  background: rgba(255,255,255,0.06);
}
.cta-inner .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════════ */
#contact { background: var(--dark-700); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 32px; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-item-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21,53,112,0.10);
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; }

.contact-form-wrap {
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21,53,112,0.10);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ═══════════════════════════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8,12,21,0.55);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; }

.modal-box {
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal-box { transform: scale(1); }

.modal-header {
  position: relative;
  padding: 40px;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
}
.modal-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.20);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.modal-icon svg { width: 28px; height: 28px; }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.30); }
.modal-close svg { width: 16px; height: 16px; }

.modal-body { padding: 28px 32px 32px; }
.modal-body h2 { margin-bottom: 4px; }
.modal-tagline { color: var(--text-muted); font-style: italic; margin-bottom: 16px; }
.modal-body h4 { margin: 20px 0 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.modal-features { margin-bottom: 24px; }

.modal-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
  background: rgba(21,53,112,0.05);
  border: 1px solid rgba(21,53,112,0.12);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.modal-pricing > div { text-align: center; }
.modal-pricing strong { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.modal-price { font-size: 1.4rem; font-weight: 800; color: var(--text); }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
/* ─── How It Works ───────────────────────────────────────────── */
#how-it-works {
  padding: var(--section-pad) 0;
  background: var(--dark-800);
}

.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 64px;
}

.hiw-step {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.hiw-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(21,53,112,0.28);
}

.hiw-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(21,53,112,0.06);
  border: 1px solid rgba(21,53,112,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.hiw-step-icon svg {
  width: 28px;
  height: 28px;
}

.hiw-step h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.hiw-step p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 240px;
  margin: 0 auto;
}

.hiw-connector {
  flex-shrink: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 26px;
  color: rgba(21,53,112,0.22);
}

.hiw-connector svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .hiw-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
  .hiw-step { padding: 0 16px; }
}

/* ─────────────────────────────────────────────────────────────── */

footer {
  background: var(--primary-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 72px 0 36px;
}

footer h4,
footer p,
footer a { color: rgba(255,255,255,0.65); }

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-brand .nav-logo {
  margin-bottom: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand > p {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 300px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact-info a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-contact-info a:hover { color: rgba(255,255,255,0.85); }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.90); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom > span { color: rgba(255,255,255,0.38); }

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: rgba(255,255,255,0.38);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,0.80); }

/* ═══════════════════════════════════════════════════════════════════
   PROMO BAR
═══════════════════════════════════════════════════════════════════ */
#promo-bar {
  position: relative;
  z-index: 200;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent));
  background-size: 200% 100%;
  animation: promoShift 8s ease infinite;
  color: #fff;
  text-align: center;
  padding: 10px 40px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
}
#promo-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
#promo-bar-close {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color var(--transition);
}
#promo-bar-close:hover { color: #fff; }
@keyframes promoShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.about-content .section-label { margin-bottom: 16px; }
.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-card {
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.about-card:hover {
  transform: translateY(-2px);
  border-color: rgba(21,53,112,0.25);
}
.about-card-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: 8px;
}
.about-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-blob {
  width: 320px;
  height: 320px;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, rgba(21,53,112,0.10), rgba(27,107,191,0.08), rgba(196,144,28,0.08));
  border: 1px solid rgba(21,53,112,0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  animation: blobFloat 6s ease-in-out infinite;
  padding: 40px;
}
@keyframes blobFloat {
  0%,100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; transform: translateY(0); }
  50%      { border-radius: 40% 60% 30% 70% / 60% 40% 50% 50%; transform: translateY(-10px); }
}
.about-stat-blob { text-align: center; }
.about-stat-blob .num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.about-stat-blob .lbl { font-size: .75rem; color: var(--text-muted); margin-top: 4px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  box-shadow: var(--shadow-sm);
}
.about-stat-item { text-align: center; padding: 16px; }
.about-stat-item .stat-val {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  display: block;
}
.about-stat-item .stat-lbl { font-size: .82rem; color: var(--text-muted); margin-top: 6px; display: block; }

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-value-card {
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.about-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21,53,112,0.25);
  box-shadow: var(--shadow-glow);
}
.about-value-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.about-value-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.about-value-card p  { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════
   LIVE RATING WIDGET
═══════════════════════════════════════════════════════════════════ */
#rating-widget {
  position: fixed;
  bottom: 90px;
  left: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.rating-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-800);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  max-width: 280px;
  animation: ratingIn .4s ease forwards;
  pointer-events: auto;
  backdrop-filter: blur(12px);
}
.rating-toast.out { animation: ratingOut .4s ease forwards; }
@keyframes ratingIn  { from { opacity:0; transform:translateX(-20px); } to { opacity:1; transform:translateX(0); } }
@keyframes ratingOut { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(-20px); } }
.rating-toast-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
}
.rating-toast-body { flex: 1; min-width: 0; }
.rating-toast-name { font-size: .82rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rating-toast-text { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }
.rating-toast-stars { display: flex; gap: 2px; }
.rating-toast-stars svg { width: 10px; height: 10px; color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }
  .nav-links, .nav-actions .btn-outline { display: none; }
  #burger { display: flex; }
  #mobile-menu { display: flex; }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn-outline { display: none; }

  #services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
  .footer-social { justify-content: center; }
  .footer-links { justify-content: center; }

  .about-cards { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); padding: 24px; }
  #rating-widget { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .modal-pricing { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }
}
