/* ═══════════════════════════════════════════════════
   DataNexus — Light & Energetic Theme
   ═══════════════════════════════════════════════════ */

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

:root {
  /* Backgrounds — warm cream / off-white */
  --bg:        #fdfbf6;
  --bg-2:      #f6f1e8;
  --bg-3:      #ffffff;
  --bg-warm:   #fdf6e8;
  --surface:   #ffffff;
  --surface-2: #faf6ec;
  --border:    rgba(22, 59, 94, 0.10);
  --border-2:  rgba(22, 59, 94, 0.18);

  /* Text */
  --text:      #163B5E;
  --text-2:    #1C4A75;
  --text-muted:#5878A0;
  --text-soft: #94adc6;

  /* Brand palette — Mafaza Stack navy + gold */
  --navy-900:  #0E2A45;
  --navy-800:  #163B5E;
  --navy-700:  #1C4A75;
  --navy-500:  #2E6CA4;
  --navy-300:  #5C8BC0;

  --gold-500:  #E9A23B;
  --gold-600:  #C98A2E;
  --gold-300:  #F3C679;

  --emerald:   #10b981;
  --amber:     #f59e0b;
  --pink:      #C98A2E; /* keep variable name for backward compat; now points to gold */
  --violet:    #1C4A75; /* repurposed → navy */

  /* Gradients */
  --grad:        linear-gradient(135deg, #163B5E 0%, #2E6CA4 50%, #E9A23B 100%);
  --grad-2:      linear-gradient(135deg, #163B5E 0%, #2E6CA4 100%);
  --grad-cool:   linear-gradient(135deg, #163B5E, #2E6CA4);
  --grad-warm:   linear-gradient(135deg, #E9A23B, #C98A2E);
  --grad-gold:   linear-gradient(135deg, #F3C679 0%, #E9A23B 50%, #C98A2E 100%);
  --grad-soft:   linear-gradient(135deg, #fdf6e8 0%, #f6f1e8 50%, #eef3fa 100%);

  --shadow-sm: 0 1px 2px rgba(22, 59, 94, 0.05), 0 1px 3px rgba(22, 59, 94, 0.07);
  --shadow:    0 4px 12px rgba(22, 59, 94, 0.08), 0 8px 24px rgba(22, 59, 94, 0.05);
  --shadow-lg: 0 12px 32px rgba(22, 59, 94, 0.14), 0 24px 64px rgba(233, 162, 59, 0.10);
  --shadow-xl: 0 20px 60px rgba(22, 59, 94, 0.20), 0 30px 80px rgba(233, 162, 59, 0.12);

  --radius:    14px;
  --radius-lg: 22px;
  --nav-h:     84px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--navy-800), var(--gold-500)); border-radius: 4px; }

::selection { background: rgba(233, 162, 59, 0.3); color: var(--navy-900); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  background: var(--grad-warm);
  background-size: 200% 200%;
  color: var(--navy-900);
  box-shadow: 0 6px 20px rgba(201, 138, 46, 0.35), 0 2px 6px rgba(22, 59, 94, 0.15);
  animation: gradient-shift 6s ease infinite;
  font-weight: 700;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 138, 46, 0.5), 0 4px 12px rgba(22, 59, 94, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn--ghost:hover {
  border-color: var(--navy-700);
  color: var(--navy-700);
  background: rgba(22, 59, 94, 0.05);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border: 1.5px solid var(--border-2);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.btn--glass:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--navy-700);
  color: var(--navy-700);
}

.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Section Headers ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: linear-gradient(135deg, rgba(233, 162, 59, 0.10), rgba(22, 59, 94, 0.06));
  border: 1px solid rgba(233, 162, 59, 0.28);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 580px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-desc { margin: 0 auto; }

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════ NAV ══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(15, 23, 42, 0.04);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; gap: 40px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  height: 100%;
}
.nav__logo-icon { width: 32px; height: 32px; }
.nav__logo-img {
  height: 54px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.nav__logo:hover .nav__logo-img { opacity: 0.85; }
.footer__logo-img { height: 64px; }
@media (max-width: 768px) {
  .nav__logo-img { height: 42px; }
}
.nav__links {
  display: flex; list-style: none; gap: 32px;
  margin-left: auto;
}
.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; gap: 10px; flex-shrink: 0; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav__mobile {
  display: none;
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 24px;
}
.nav__mobile.open { display: block; }
.nav__mobile ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.nav__mobile a { color: var(--text-muted); text-decoration: none; font-size: 1rem; font-weight: 500; display: block; padding: 4px 0; }

/* ══════════════════════════════════ HERO ══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(233, 162, 59, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(22, 59, 94, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(46, 108, 164, 0.10) 0%, transparent 70%),
    var(--grad-soft);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.7; }
.hero__grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(22, 59, 94, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 59, 94, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 60% 60% at center, black, transparent 80%);
}
.hero__content {
  position: relative; z-index: 2;
  padding-top: 80px; padding-bottom: 120px;
  max-width: 880px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--emerald); }
  50% { opacity: 0.6; box-shadow: 0 0 16px var(--emerald); }
}
.hero__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.hero__trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__trust > span { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }
.hero__trust-logos { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.trust-logo {
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  transition: var(--transition);
}
.trust-logo:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-1px); }

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 2;
  animation: float-up 2s ease-in-out infinite;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--pink)); }
@keyframes float-up {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ══════════════════════════════════ STATS ══════════════════════════════════ */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-card {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: var(--bg-warm); }
.stat-card__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card__label { font-weight: 600; font-size: 1rem; margin-bottom: 4px; color: var(--text); }
.stat-card__sub { font-size: 0.8rem; color: var(--text-muted); }

/* ══════════════════════════════════ SERVICES ══════════════════════════════════ */
.services { padding: 120px 0; background: var(--bg-2); position: relative; }
.services::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 30% 40% at 90% 0%, rgba(233, 162, 59, 0.08), transparent 60%),
    radial-gradient(ellipse 30% 40% at 0% 100%, rgba(22, 59, 94, 0.08), transparent 60%);
  pointer-events: none;
}
.services .container { position: relative; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233, 162, 59, 0.06), rgba(22, 59, 94, 0.06));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(233, 162, 59, 0.3);
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card__icon {
  width: 56px; height: 56px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(233, 162, 59, 0.1), rgba(22, 59, 94, 0.1));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 24px; }
.service-card__tags li {
  font-size: 0.72rem; font-weight: 600;
  color: var(--violet);
  background: rgba(22, 59, 94, 0.08);
  border: 1px solid rgba(22, 59, 94, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
}
.service-card__link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--pink);
  text-decoration: none;
  transition: gap var(--transition);
  display: inline-flex; align-items: center; gap: 4px;
}
.service-card__link:hover { gap: 8px; color: var(--violet); }

/* ══════════════════════════════════ PLATFORM ══════════════════════════════════ */
.platform { padding: 120px 0; background: var(--surface); position: relative; overflow: hidden; }
.platform__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(233, 162, 59, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(233, 162, 59, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.platform__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.platform__text { max-width: 520px; }
.platform__text > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.platform__features { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.platform__feature { display: flex; gap: 16px; align-items: flex-start; }
.platform__feature-icon {
  font-size: 1.4rem; flex-shrink: 0;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--bg-warm), #fef0f8);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.platform__feature strong { display: block; font-weight: 600; margin-bottom: 2px; color: var(--text); }
.platform__feature span { font-size: 0.85rem; color: var(--text-muted); }

.platform__visual { display: flex; justify-content: center; align-items: center; }
.platform__diagram { position: relative; width: 340px; height: 340px; }
.diagram__core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.78rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 60px rgba(233, 162, 59, 0.5), 0 0 120px rgba(22, 59, 94, 0.25);
  z-index: 2;
}
.diagram__pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(233, 162, 59, 0.35);
  animation: diagram-pulse 2.5s ease-out infinite;
}
@keyframes diagram-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.diagram__orbit {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(22, 59, 94, 0.3);
  animation: spin-slow 20s linear infinite;
}
.diagram__node {
  position: absolute;
  top: 50%; left: 50%;
  width: 72px; height: 72px;
  transform-origin: center;
  transform: rotate(var(--angle)) translateX(150px) rotate(calc(-1 * var(--angle)));
  margin-top: -36px; margin-left: -36px;
}
.diagram__node-inner {
  width: 100%; height: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.diagram__node-inner:hover {
  background: var(--bg-warm);
  color: var(--pink);
  border-color: var(--pink);
  transform: scale(1.05);
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ══════════════════════════════════ RESULTS ══════════════════════════════════ */
.results { padding: 120px 0; background: var(--bg-2); }
.results__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; align-items: stretch; }
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm);
}
.result-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
}
.result-card--featured {
  background: linear-gradient(145deg, #fff7f0, #fef0f8, #f3eaff);
  border-color: rgba(233, 162, 59, 0.25);
}
.result-card__industry {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-600);
}
.result-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.result-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.result-card__metrics {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.metric { display: flex; flex-direction: column; gap: 2px; }
.metric span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric small { font-size: 0.75rem; color: var(--text-muted); }

/* ══════════════════════════════════ PARTNERS ══════════════════════════════════ */
.partners { padding: 120px 0; background: var(--surface); }
.partners__tiers { display: flex; flex-direction: column; gap: 40px; }
.tier-label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.partners__logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.partner-logo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: center;
  min-width: 140px;
  transition: var(--transition);
  cursor: default;
  box-shadow: var(--shadow-sm);
}
.partner-logo:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.partner-logo svg { height: 28px; }
.partner-text { font-weight: 800; font-size: 1rem; }

/* ══════════════════════════════════ TESTIMONIALS ══════════════════════════════════ */
.testimonials { padding: 120px 0; background: var(--bg-2); position: relative; overflow: hidden; }
.testimonials::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(233, 162, 59, 0.06), transparent 70%);
  pointer-events: none;
}
.testimonials .container { position: relative; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px; right: 24px;
  font-family: 'Space Grotesk', serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(233, 162, 59, 0.15);
  font-weight: 700;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card__stars { color: var(--amber); font-size: 1rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 0.95rem; line-height: 1.7;
  color: var(--text-2);
  flex: 1;
  font-style: italic;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.testimonial-card__author strong { display: block; font-size: 0.9rem; color: var(--text); }
.testimonial-card__author span { font-size: 0.78rem; color: var(--text-muted); }

/* ══════════════════════════════════ ABOUT ══════════════════════════════════ */
.about { padding: 120px 0; background: var(--surface); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__text > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; font-size: 1.05rem; }
.about__pillars { display: flex; flex-direction: column; gap: 28px; }
.pillar { display: flex; gap: 20px; align-items: flex-start; }
.pillar__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.pillar strong { display: block; font-size: 0.95rem; margin-bottom: 4px; color: var(--text); }
.pillar p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat-card {
  background: linear-gradient(145deg, var(--surface), var(--bg-warm));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 162, 59, 0.3);
  box-shadow: var(--shadow-lg);
}
.about-stat-card__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat-card > div:last-child { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

/* ══════════════════════════════════ CONTACT ══════════════════════════════════ */
.contact { padding: 120px 0; background: var(--bg-2); position: relative; overflow: hidden; }
.contact__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 5% 50%, rgba(233, 162, 59, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 95% 30%, rgba(22, 59, 94, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact__text > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; font-size: 1.05rem; }
.contact__guarantees { display: flex; flex-direction: column; gap: 12px; }
.guarantee { font-size: 0.88rem; color: var(--emerald); font-weight: 600; }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex; flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__group label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.form__group input,
.form__group select,
.form__group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--text-soft); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(233, 162, 59, 0.12);
  background: #fff;
}
.form__group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.form__group textarea { resize: vertical; min-height: 100px; }
.form__disclaimer { font-size: 0.75rem; color: var(--text-muted); text-align: center; }

/* ══════════════════════════════════ FOOTER ══════════════════════════════════ */
.footer { background: #0f172a; color: #cbd5e1; padding-top: 80px; }
.footer__inner {
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__logo { margin-bottom: 16px; color: #fff !important; }
.footer__logo span { color: #fff; }
.footer__brand > p { font-size: 0.88rem; color: #94a3b8; line-height: 1.6; max-width: 260px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 700; font-size: 0.82rem;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: rgba(233, 162, 59, 0.08);
  transform: translateY(-2px);
}
.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__col h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: #94a3b8; text-decoration: none; font-size: 0.85rem; transition: color var(--transition); }
.footer__col a:hover { color: #fff; }
.footer__bottom { padding: 24px 0; }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: #94a3b8;
  flex-wrap: wrap; gap: 12px;
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: #94a3b8; text-decoration: none; transition: color var(--transition); }
.footer__legal a:hover { color: #fff; }

/* ══════════════════════════════════ TOAST ══════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--grad);
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(233, 162, 59, 0.4);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════ RESPONSIVE ══════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .results__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .platform__inner { grid-template-columns: 1fr; gap: 60px; }
  .platform__visual { display: none; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-card:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-card:last-child { border-bottom: none; }
  .results__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .hero__ctas { flex-direction: column; }
  .about__cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .footer__links { grid-template-columns: 1fr; }
  .about__cards { grid-template-columns: 1fr; }
  .contact__form { padding: 24px; }
  .partners__logos { gap: 10px; }
  .partner-logo { min-width: 120px; padding: 12px 20px; }
}
