@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button, input {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ═══════════════════════════════════════
   CUSTOM PROPERTIES
   ═══════════════════════════════════════ */
:root {
  --clr-blue-900: #0f1d36;
  --clr-blue-800: #162a4a;
  --clr-blue-700: #1a3360;
  --clr-blue-600: #1e3c72;
  --clr-blue-500: #2a5298;
  --clr-blue-100: #e8edf5;
  --clr-blue-50: #f3f6fb;

  --clr-orange-600: #e06000;
  --clr-orange-500: #f27a1a;
  --clr-orange-400: #f5923d;
  --clr-orange-100: #fef0e2;
  --clr-orange-50: #fff8f1;

  --clr-white: #ffffff;
  --clr-gray-50: #f9fafb;
  --clr-gray-100: #f3f4f6;
  --clr-gray-200: #e5e7eb;
  --clr-gray-300: #d1d5db;
  --clr-gray-400: #9ca3af;
  --clr-gray-500: #6b7280;
  --clr-gray-600: #4b5563;
  --clr-gray-700: #374151;
  --clr-gray-800: #1f2937;
  --clr-gray-900: #111827;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 29, 54, 0.06), 0 1px 2px rgba(15, 29, 54, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 29, 54, 0.08), 0 2px 6px rgba(15, 29, 54, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 29, 54, 0.1), 0 4px 12px rgba(15, 29, 54, 0.05);
  --shadow-xl: 0 20px 60px rgba(15, 29, 54, 0.12), 0 8px 20px rgba(15, 29, 54, 0.06);
  --shadow-orange: 0 8px 30px rgba(242, 122, 26, 0.3);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ═══════════════════════════════════════
   BODY / PAGE
   ═══════════════════════════════════════ */
body {
  font-family: var(--font-sans);
  font-size: clamp(0.938rem, 0.9rem + 0.25vw, 1.063rem);
  line-height: 1.7;
  color: var(--clr-gray-700);
  background-color: var(--clr-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
}

/* ═══════════════════════════════════════
   CONTAINERS
   ═══════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1400px;
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--clr-blue-900);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 2rem + 2.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
}

p {
  max-width: 65ch;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p + p {
  margin-top: 1em;
}

a {
  color: var(--clr-blue-600);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--clr-orange-500);
}

/* ─── Eyebrow / Label ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-orange-500);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--clr-orange-500);
  border-radius: 1px;
}

/* ─── Lead Paragraph ─── */
.lead-paragraph {
  font-size: clamp(1.063rem, 1rem + 0.4vw, 1.313rem);
  line-height: 1.7;
  color: var(--clr-gray-600);
  max-width: 60ch;
}

/* ─── Body Text ─── */
.body-text {
  color: var(--clr-gray-600);
  line-height: 1.75;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.938rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.3;
}

.btn--primary {
  background: linear-gradient(135deg, var(--clr-orange-500), var(--clr-orange-600));
  color: var(--clr-white);
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--clr-orange-400), var(--clr-orange-500));
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(242, 122, 26, 0.35);
  color: var(--clr-white);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--clr-white);
  color: var(--clr-blue-800);
  border-color: var(--clr-gray-200);
}

.btn--secondary:hover {
  border-color: var(--clr-blue-500);
  color: var(--clr-blue-600);
  background: var(--clr-blue-50);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-blue-700);
  padding: 0.5rem 1rem;
}

.btn--ghost:hover {
  color: var(--clr-orange-500);
  background: var(--clr-orange-50);
}

.btn--sm {
  font-size: 0.813rem;
  padding: 0.5rem 1.25rem;
}

.btn--lg {
  font-size: 1.063rem;
  padding: 1rem 2.25rem;
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ═══════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════ */
.site-header {
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-gray-100);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--clr-gray-100);
}

.header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

/* ─── Logo ─── */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--clr-blue-900);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--clr-blue-900);
}

.site-logo__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.site-logo__text span {
  color: var(--clr-orange-500);
}

/* ─── Top row CTA ─── */
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta__login {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-gray-600);
  padding: 0.5rem 0;
  position: relative;
}

.header-cta__login::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-orange-500);
  transition: width var(--transition-base);
}

.header-cta__login:hover {
  color: var(--clr-orange-500);
}

.header-cta__login:hover::after {
  width: 100%;
}

/* ─── Navigation ─── */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--clr-blue-800);
  background: var(--clr-blue-50);
}

.nav-link--active {
  color: var(--clr-blue-800);
  background: var(--clr-blue-50);
}

.nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--clr-orange-500);
  border-radius: 1px;
}

/* ─── Mobile Menu Toggle ─── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--clr-blue-800);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.page-hero {
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(2.5rem, 5vw, 5rem);
  background: linear-gradient(180deg, var(--clr-blue-50) 0%, var(--clr-white) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 122, 26, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 60, 114, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--clr-orange-500);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.063rem, 1rem + 0.4vw, 1.313rem);
  line-height: 1.7;
  color: var(--clr-gray-500);
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-gray-200);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat__number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-blue-800);
  line-height: 1.2;
}

.hero-stat__label {
  font-size: 0.813rem;
  color: var(--clr-gray-400);
  margin-top: 0.25rem;
}

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

.hero-image {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.hero-image--floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section-wrapper {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.section-wrapper--gray {
  background: var(--clr-gray-50);
}

.section-wrapper--blue {
  background: linear-gradient(135deg, var(--clr-blue-800), var(--clr-blue-900));
  color: var(--clr-white);
}

.section-wrapper--blue .section-heading {
  color: var(--clr-white);
}

.section-wrapper--blue .body-text,
.section-wrapper--blue .lead-paragraph {
  color: rgba(255, 255, 255, 0.7);
}

.section-wrapper--blue .eyebrow {
  color: var(--clr-orange-400);
}

.section-wrapper--blue .eyebrow::before {
  background: var(--clr-orange-400);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem);
}

.section-header .lead-paragraph {
  margin: 0.75rem auto 0;
}

.section-heading {
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════
   CARDS
   ═══════════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}

.card {
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-100);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--clr-gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card--featured {
  border-color: var(--clr-orange-500);
  border-width: 2px;
  position: relative;
}

.card--featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--clr-orange-500), var(--clr-orange-600));
  color: var(--clr-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.card-icon--blue {
  background: var(--clr-blue-50);
  color: var(--clr-blue-600);
}

.card-icon--orange {
  background: var(--clr-orange-50);
  color: var(--clr-orange-500);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-blue-900);
  margin-bottom: 0.625rem;
}

.card-body {
  flex: 1;
}

.card-body p {
  color: var(--clr-gray-500);
  font-size: 0.938rem;
  line-height: 1.65;
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--clr-gray-100);
}

.card-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--clr-gray-100);
}

/* ═══════════════════════════════════════
   IMAGES
   ═══════════════════════════════════════ */
.image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
}

.image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
  background: var(--clr-blue-900);
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(3rem, 5vw, 5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--clr-white);
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--clr-orange-400);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--clr-orange-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.813rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-visual {
    order: -1;
  }

  .hero-image {
    max-width: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .header-bottom {
    position: relative;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-white);
    border-top: 1px solid var(--clr-gray-100);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    flex-direction: column;
  }

  .main-nav--open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-cta {
    gap: 0.5rem;
  }

  .header-cta__login {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════ */
.text-center { text-align: center; }
.text-orange { color: var(--clr-orange-500); }
.text-blue { color: var(--clr-blue-600); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
