/* ── reset & variables ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── skip link (accessibility) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
}
:root {
  --navy: #0b2d4f;
  --blue: #1d83b6;
  --bright: #3a9dcd;
  --light-blue: #a0d4f2;
  --very-light: #e8f6ff;
  --dark-surface: #0c1920;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 1px 12px rgba(11,45,79,0.06); }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { height: 54px; }
.nav-logo-text {
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.nav-ctas { display: flex; gap: 0.75rem; align-items: center; }
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  user-select: none;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover { background: var(--bright); border-color: var(--bright); }

/* language toggle */
.lang-toggle {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1.5px solid var(--gray-200);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.25s;
  line-height: 1;
}
.lang-toggle:hover {
  border-color: var(--navy);
  background: var(--very-light);
}

/* mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
/* radial glow behind logo */
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(160,212,242,0.18) 0%, rgba(232,246,255,0.1) 40%, transparent 70%);
  pointer-events: none;
}
/* subtle angled accent lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(32deg, transparent 48.5%, rgba(160,212,242,0.06) 48.5%, rgba(160,212,242,0.06) 49%, transparent 49%),
    linear-gradient(32deg, transparent 51%, rgba(160,212,242,0.04) 51%, rgba(160,212,242,0.04) 51.5%, transparent 51.5%);
  pointer-events: none;
}
.hero-logo {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}
.hero-logo img {
  height: clamp(80px, 12vw, 140px);
  margin: 0 auto;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.hero-content h1 .accent {
  color: var(--blue);
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 2.25rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── editorial section break ── */
.editorial-break {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 3rem;
}
.editorial-break .line { flex: 1; height: 1px; background: var(--gray-200); }
.editorial-break .label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gray-400);
  white-space: nowrap;
}

/* ── sections ── */
.section { padding: 6rem 3rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; }
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy);
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.7;
}
.section-header.center p { margin: 0 auto; }

/* ── features section graph paper ── */
.section-graph-paper {
  position: relative;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 15px,
      rgba(148,163,184,0.10) 15px,
      rgba(148,163,184,0.10) 16px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 15px,
      rgba(148,163,184,0.15) 15px,
      rgba(148,163,184,0.15) 16px
    ),
    var(--off-white);
  background-size: 16px 16px, 16px 16px, auto;
}
.section-graph-paper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--white), transparent);
  pointer-events: none;
  z-index: 1;
}
.section-graph-paper::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--off-white), transparent);
  pointer-events: none;
  z-index: 1;
}

/* ── value list (big-type right column) ── */
.value-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.value-list .bullet {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--very-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--blue);
  margin-top: 2px;
}
.value-list strong {
  color: var(--navy);
  font-weight: 600;
}

/* ── oversized typography section ── */
.big-type-section {
  padding: 5rem 3rem;
  background: var(--off-white);
}
.big-type-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.big-type-text h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.big-type-text p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
/* ── feature showcase carousel ── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 1.5rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* tabs (left column) */
.showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.showcase-tab {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-left: 3px solid var(--gray-200);
  transition: all 0.3s;
  font-family: inherit;
}
.showcase-tab:hover {
  background: rgba(255,255,255,0.5);
}
.showcase-tab.active {
  border-left-color: var(--blue);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(11,45,79,0.06);
  border-radius: 0 10px 10px 0;
}
.showcase-tab-number {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
  min-width: 1.5rem;
  padding-top: 2px;
  transition: color 0.3s;
}
.showcase-tab.active .showcase-tab-number {
  color: var(--blue);
}
.showcase-tab-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.showcase-tab-content p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  margin-top: 0;
}
.showcase-tab.active .showcase-tab-content p {
  max-height: 120px;
  opacity: 1;
  margin-top: 0.35rem;
}

/* display (right column) */
.showcase-display {
  position: sticky;
  top: 7rem;
  margin-left: -4rem;
}
.showcase-img-wrap {
  position: relative;
}
.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.showcase-img.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

/* ── cta ── */
.cta-section {
  padding: 6rem 3rem;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: linear-gradient(135deg, transparent, rgba(29,131,182,0.15));
  transform: skewX(-8deg);
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p {
  font-size: 1.1rem;
  color: var(--light-blue);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-section .hero-ctas { justify-content: center; position: relative; }

/* ── footer ── */
.footer {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  padding: 3rem 3rem 1.5rem;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ── responsive ── */
@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .nav-ctas .btn-outline { display: none; }
  .nav-ctas .nav-login { font-size: 0.75rem; padding: 0.4rem 1rem; }
  .mobile-toggle { display: none; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .big-type-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 4rem 1.5rem; }
  .editorial-break { padding: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .showcase { grid-template-columns: 1fr; gap: 2rem; }
  .showcase-display { position: static; order: -1; margin: 0 -1.5rem; }
  .showcase-tab { border-left: none; border-bottom: 2px solid var(--gray-200); border-radius: 0; }
  .showcase-tab.active { border-bottom-color: var(--blue); border-radius: 0; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.9rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
}
