/* ====== BRAND TOKENS ====== */
:root {
  --blue: #0066CC;
  --gold: #F4C542;

  --text: #0F172A;
  --text-muted: #64748B;

  --bg: #FFFFFF;
  --bg-light: #F4F7FA;

  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

  --container: 1180px;
}

/* ====== RESET ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ====== CONTAINER ====== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* ====== HEADER ====== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E2E8F0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text .akili { color: var(--gold); }
.brand-text .edge { color: var(--blue); }

/* ====== NAV ====== */
.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-link:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
}

/* ====== HERO ====== */
/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-block: clamp(96px, 12vh, 140px);
  overflow: hidden;
}

/* Background fills viewport */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(
      to bottom right,
      rgba(0,102,204,0.08),
      transparent 60%
    ),
    repeating-linear-gradient(
      to right,
      rgba(15,23,42,0.05) 0,
      rgba(15,23,42,0.05) 1px,
      transparent 1px,
      transparent 120px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(15,23,42,0.05) 0,
      rgba(15,23,42,0.05) 1px,
      transparent 1px,
      transparent 120px
    );
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      transparent 40%,
      rgba(0,102,204,0.18) 50%,
      transparent 60%
    );
  background-size: 200% 200%;
  animation: heroSweep 16s linear infinite;
}

@keyframes heroSweep {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 6vw, 64px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(
    circle,
    rgba(0,102,204,0.22),
    transparent 65%
  );
  z-index: -1;
}

/* ====== BUTTONS ====== */
.btn {
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

/* ====== SECTIONS ====== */
.section {
  padding-block: clamp(64px, 10vh, 96px);
}

.bg-light {
  background: var(--bg-light);
}

/* ====== FEATURES ====== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.feature-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  color: var(--blue);
  margin-bottom: 8px;
}

/* ====== ABOUT ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.about-img {
  width: 100%;
  border-radius: var(--radius);
}

/* ====== WHY ====== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.why-item {
  background: var(--bg-light);
  padding: 18px;
  border-radius: var(--radius);
}

.why-item h4 {
  margin: 0 0 6px;
  color: var(--gold);
}

/* ====== CTA ====== */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

/* ====== CONTACT ====== */
.contact-form {
  max-width: 720px;
  margin-top: 28px;
}

.form-row {
  margin-bottom: 16px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid #CBD5E1;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: none;
}

/* ====== FOOTER ====== */
.site-footer {
  padding-block: 40px;
  border-top: 1px solid #E2E8F0;
  background: #fff;
  margin-top: 40px;
  text-align: center;
}

.footer-logo {
  width: 42px;
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  margin-inline: 6px;
}

.footer-copy {
  color: var(--text-muted);
  margin-top: 10px;
}
/* ====== MOBILE ====== */
@media (max-width: 920px) {
  .hero {
    min-height: unset;
    padding-block: 72px;
  }

  .hero-grid,
  .about-grid,
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy h1,
  .lead {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .nav-toggle {
    display: block;
    background: transparent;
    border: 1px solid #CBD5E1;
    padding: 8px 12px;
    border-radius: var(--radius);
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    padding-block: 20px;
    gap: 14px;
  }
}
/* ====== HERO BACKGROUND SYSTEM ====== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background:
    linear-gradient(
      to bottom right,
      rgba(0,102,204,0.08),
      transparent 60%
    ),
    repeating-linear-gradient(
      to right,
      rgba(15,23,42,0.05) 0,
      rgba(15,23,42,0.05) 1px,
      transparent 1px,
      transparent 120px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(15,23,42,0.05) 0,
      rgba(15,23,42,0.05) 1px,
      transparent 1px,
      transparent 120px
    );
}

/* Animated financial sweep */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      120deg,
      transparent 40%,
      rgba(0,102,204,0.18) 50%,
      transparent 60%
    );
  background-size: 200% 200%;
  animation: heroSweep 16s linear infinite;
}

@keyframes heroSweep {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

/* Ensure content stays above */
.hero > .container {
  position: relative;
  z-index: 1;
}

/* ====== HERO IMAGE HALO (EXPANSION WITHOUT LYING) ====== */
.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(
      circle at center,
      rgba(0,102,204,0.22),
      transparent 65%
    );
  z-index: -1;
}