/* ── Fonts ── */
@font-face {
  font-family: 'TT Fors';
  src: url('fonts/TT_Fors_Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'TT Fors';
  src: url('fonts/TT_Fors_DemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'TT Fors';
  src: url('fonts/TT_Fors_Bold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ── Variables ── */
:root {
  --dark:   #003040;
  --blue:   #46A0FF;
  --cyan:   #64DCF0;
  --yellow: #FFE18E;
  --grey:   #cccccc;
  --font:   'TT Fors', system-ui, sans-serif;
  --nav-h:  68px;
  --r:      12px;
  --r-lg:   20px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { margin: 0; padding: 0; } /* scroll-behavior removed to prevent auto-jump on load */
body { font-family: var(--font); color: var(--dark); background: #fff; -webkit-font-smoothing: antialiased; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── Container ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }

/* ────────────────────────────────────────
   NAV
──────────────────────────────────────── */
.nav {
  position: relative;       /* part of page flow — scrolls away naturally */
  z-index: 10;
  background: transparent;
}

/* Nav inner row */
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

/* Logo – left */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { height: 30px; width: auto; }

/* Links – centre */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  color: #fff;
  font-size: 15px;
  font-weight: 600;          /* bold as per design */
  font-family: var(--font);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-link:hover { opacity: 0.75; }

/* Arrow */
.nav-arrow {
  font-size: 11px;
  display: inline-block;
  transition: transform 0.2s;
  line-height: 1;
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r);
  padding: 6px 0;
  min-width: 210px;
  /* Hidden by default – toggled via JS class */
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
  z-index: 300;
}
.nav-dropdown-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-toggle.open .nav-arrow { transform: rotate(180deg); }

.nav-dropdown-item {
  display: block;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  font-family: var(--font);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-dropdown-item:hover { color: #fff; background: rgba(255,255,255,0.07); }

/* CTA – right, pushed all the way */
.btn-nav {
  margin-left: auto;
  display: inline-block;
  padding: 9px 22px;
  background: transparent;
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.65);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-nav:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* nav-underline hidden — removed to fix white line at top */
.nav-underline { display: none; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px; transition: all 0.25s;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--dark);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  color: rgba(255,255,255,0.85); font-size: 16px; font-weight: 600;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-mobile-group { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.nav-mobile-label { color: rgba(255,255,255,0.4); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.nav-mobile-sub { display: block; color: rgba(255,255,255,0.8); font-size: 15px; font-weight: 600; padding: 7px 0 7px 14px; }

/* ────────────────────────────────────────
   HERO
──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;        /* full viewport including nav */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-h));  /* pull hero up behind nav */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* Gradient that kicks in once image runs out – blends into overview section */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  /* subtle dark overlay at top (readability), then fades to white at bottom */
  background: linear-gradient(
    to bottom,
    rgba(0, 20, 35, 0.18) 0%,
    rgba(0, 20, 35, 0.05) 55%,
    rgba(200, 238, 246, 0.7) 80%,
    #ffffff 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 24px 100px;
  padding-top: calc(var(--nav-h) + 60px); /* clear the nav */
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(100, 220, 240, 0.18);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  border: 1px solid rgba(100,220,240,0.4);
}

.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.12);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(0,0,0,0.82);
  line-height: 1.65;
  margin-bottom: 36px;
  font-weight: 400;
}

.btn-primary {
  display: inline-block;
  padding: 14px 34px;
  background: var(--dark);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}
.btn-primary:hover { background: #00202e; transform: translateY(-1px); }

/* ────────────────────────────────────────
   OVERVIEW
──────────────────────────────────────── */
.overview { background: #fff; padding: 80px 0 72px; }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

.overview-title {
  font-size: 32px; font-weight: 600; color: var(--dark);
  letter-spacing: -0.025em; margin-bottom: 16px; line-height: 1.2;
}
.overview-body {
  font-size: 16px; color: rgba(0,48,64,0.65);
  line-height: 1.75; margin-bottom: 32px;
}
.overview-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.overview-col-title {
  font-size: 12px; font-weight: 600; color: var(--dark);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 12px; opacity: 0.45;
}
.overview-list li {
  font-size: 14px; color: rgba(0,48,64,0.72);
  line-height: 1.6; padding: 6px 0 6px 18px;
  position: relative; border-bottom: 1px solid rgba(0,48,64,0.06);
}
.overview-list li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
}

.overview-stats { display: flex; flex-direction: column; gap: 14px; }
.stat-card {
  background: #f0f9fc; border-radius: var(--r); padding: 22px 24px;
  border: 1px solid rgba(100,220,240,0.22);
}
.stat-card--accent { background: var(--dark); border-color: transparent; }
.stat-card--accent .stat-number { color: var(--cyan); }
.stat-card--accent .stat-label  { color: rgba(255,255,255,0.6); }
.stat-number { font-size: 40px; font-weight: 600; color: var(--dark); letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.stat-label  { font-size: 13px; color: rgba(0,48,64,0.6); line-height: 1.55; }

/* ────────────────────────────────────────
   SIMULATOR SECTION
──────────────────────────────────────── */
.simulator-section {
  background: linear-gradient(180deg, #f0f9fc 0%, #e4f5f9 100%);
  padding: 72px 0 96px;
}
.simulator-header { text-align: center; margin-bottom: 48px; }
.simulator-title {
  font-size: 34px; font-weight: 600; color: var(--dark);
  letter-spacing: -0.03em; margin-bottom: 12px;
}
.simulator-sub { font-size: 16px; color: rgba(0,48,64,0.58); line-height: 1.65; }

.simulator-shell {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid rgba(0,48,64,0.08);
  box-shadow: 0 4px 40px rgba(0,48,64,0.07), 0 1px 4px rgba(0,48,64,0.04);
  overflow: hidden;
}

/* Placeholder */
.sim-placeholder {
  padding: 80px 40px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; color: var(--dark);
}

/* ────────────────────────────────────────
   FOOTER
──────────────────────────────────────── */
.footer { position: relative; }

.footer-bg {
  position: absolute; inset: 0;
  /* gradient from cyan-tinted to white, matching etiq.ai footer */
  background: linear-gradient(180deg, #c5ecf5 0%, #dff4f9 40%, #f0fafb 75%, #fff 100%);
  z-index: 0;
}

.footer-inner {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto;
  padding: 56px 40px 32px;
  display: flex; flex-direction: column; align-items: flex-start;
}

/* Logo centred on top */
.footer-logo-wrap { margin-bottom: 28px; align-self: flex-start; }
.footer-logo {
  height: 36px; width: auto;
  /* tint to dark brand colour */
  filter: brightness(0) saturate(100%) invert(11%) sepia(47%) saturate(2000%) hue-rotate(170deg) brightness(85%) contrast(100%);
}

/* Three link columns in a bordered card, left-aligned */
.footer-cols {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,48,64,0.12);
  border-radius: 12px;
  overflow: hidden;
  width: 300px;
  margin-bottom: 44px;
}

.footer-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; font-size: 14px; font-weight: 400;
  color: rgba(0,48,64,0.8); font-family: var(--font);
  border-bottom: 1px solid rgba(0,48,64,0.09);
  transition: color 0.2s, background 0.2s;
}
.footer-link:last-child { border-bottom: none; }
.footer-link:hover { color: var(--dark); background: rgba(0,48,64,0.04); }

/* Bottom bar */
.footer-bottom {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid rgba(0,48,64,0.1);
}
.footer-copy { font-size: 13px; color: rgba(0,48,64,0.42); font-family: var(--font); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal-link {
  font-size: 13px; color: rgba(0,48,64,0.5); font-family: var(--font);
  transition: color 0.2s;
}
.footer-legal-link:hover { color: var(--dark); }

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 960px) {
  .overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .overview-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1; min-width: 160px; }
}

@media (max-width: 680px) {
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: flex; }
  .nav-underline { margin: 0 20px; }
  .container { padding: 0 20px; }
  .hero-title { font-size: 38px; }
  .overview-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { padding: 40px 20px 28px; align-items: flex-start; }
  .footer-logo-wrap { align-self: center; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}
