/* ═══════════════════════════════════════
   DeepEdge AI — Shared Design System
   ═══════════════════════════════════════ */

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

:root {
  --black:   #0f0e17;
  --dark:    #13122a;
  --dark2:   #1a1836;
  --indigo:  #6366f1;
  --indigo2: #4f46e5;
  --violet:  #8b5cf6;
  --offwhite:#f5f5ff;
  --white:   #ffffff;
  --muted:   #9ca3af;
  --border:  rgba(255,255,255,0.08);
  --border-light: rgba(99,102,241,0.12);
  --font: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--offwhite);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px; display: flex; align-items: center;
  padding: 0 40px; justify-content: space-between;
  background: rgba(15,14,23,0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(15,14,23,0.98); }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.65); text-decoration: none;
  letter-spacing: 0.02em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { border-bottom: 2px solid var(--indigo); padding-bottom: 2px; }
.nav-cta {
  background: var(--indigo) !important; color: var(--white) !important;
  font-weight: 600 !important; padding: 9px 20px !important;
  border-radius: 6px; border-bottom: none !important; padding-bottom: 9px !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--indigo2) !important; transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-locale { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; }
.nav-locale:hover { color: var(--white); }
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-menu-btn span {
  display: block; width: 22px; height: 2px; background: white; margin: 5px 0; transition: 0.3s;
}
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--black); border-bottom: 1px solid var(--border);
  padding: 24px 40px; z-index: 99; flex-direction: column; gap: 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.75);
  text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--indigo); }

/* ── HERO BANNER ── */
.page-hero {
  min-height: 52vh; display: flex; align-items: flex-end;
  padding: 0; position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,14,23,0.85) 0%, rgba(15,14,23,0.4) 60%, rgba(15,14,23,0.15) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 40px 64px;
  width: 100%;
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.3);
  border-radius: 100px; padding: 5px 14px; margin-bottom: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--indigo);
}
.page-hero h1 {
  font-size: clamp(36px, 4.5vw, 64px); font-weight: 800;
  color: var(--white); line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.page-hero p {
  font-size: 18px; line-height: 1.7; font-weight: 300;
  color: rgba(255,255,255,0.65); max-width: 520px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--indigo); color: var(--white);
  font-size: 15px; font-weight: 600; padding: 13px 26px;
  border-radius: 8px; text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s; white-space: nowrap;
  font-family: var(--font);
}
.btn-primary:hover { background: var(--indigo2); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,0.75);
  font-size: 15px; font-weight: 500; padding: 13px 26px;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none; cursor: pointer; transition: all 0.2s;
  white-space: nowrap; font-family: var(--font);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: white; }
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--black);
  font-size: 14px; font-weight: 600; padding: 12px 24px;
  border-radius: 8px; border: 1.5px solid rgba(0,0,0,0.18);
  text-decoration: none; cursor: pointer; transition: all 0.2s;
  white-space: nowrap; font-family: var(--font);
}
.btn-outline-dark:hover { border-color: var(--indigo); color: var(--indigo); }

/* ── SECTION HELPERS ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--indigo); margin-bottom: 16px;
}
.section-eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--indigo); }
.section-title {
  font-size: clamp(28px, 3.5vw, 46px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em;
}
.section-title-dark { color: var(--white); }
.section-title-light { color: var(--black); }

/* ── FOOTER ── */
footer {
  background: var(--black); padding: 80px 0 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid var(--border); margin-bottom: 40px;
}
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
.footer-tagline {
  font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.4);
  font-weight: 300; max-width: 280px; margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px; background: rgba(255,255,255,0.06);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background 0.2s;
}
.footer-social:hover { background: rgba(99,102,241,0.15); }
.footer-social svg { width: 15px; height: 15px; stroke: rgba(255,255,255,0.5); }
.footer-social:hover svg { stroke: var(--indigo); }
.footer-col h5 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 14px; color: rgba(255,255,255,0.45); text-decoration: none;
  font-weight: 300; transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); font-weight: 300; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-right .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-nav { padding: 24px 20px; }
  .container { padding: 0 20px; }
  .page-hero-content { padding: 80px 20px 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
