/*
 * COLOR SYSTEM — WCAG AA+ accessible
 * Change the palette by editing the :root variables below.
 */
:root {
  --dark:        #00072D;  /* Prussian Blue — dark bg, headings      */
  --dark-alt:    #000520;  /* deeper Prussian — footer               */
  --mid:         #0A2472;  /* Imperial Blue — section bg             */
  --mid-text:    #0A2472;  /* Imperial Blue — secondary text (8.5:1 on white) */
  --border:      #7CC8ED;  /* Mid Frosted Blue — borders, dividers (3:1 on light bg) */
  --light:       #EDF6FC;  /* Ice Blue — page background            */
  --white:       #FFFFFF;
  --accent:      #A6E1FA;  /* Frosted Blue — accent on dark bgs     */
  --accent-deep: #0B5689;  /* Cornflower Ocean — CTA buttons (5.8:1 on white, 4.5:1 w/ white text) */
  --accent-hover:#084468;  /* darker Cornflower — hover CTAs        */
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter Tight', Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
}
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea { font-family: inherit; }

/* ========== SKIP LINK (accessibility) ========== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--dark);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== SECTION BADGE ========== */
.section-badge {
  display: inline-block;
  background: var(--mid);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* ========== HEADER / NAV ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
}
.logo span { color: var(--accent-deep); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.2s;
}
.nav a:hover { color: var(--accent-deep); }
.nav a.btn-primary { color: var(--white); }
.nav a.btn-primary:hover { color: var(--accent-deep); }
.nav a.btn-login:hover { color: var(--white); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-deep);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  border: 2px solid var(--accent-deep);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--white); color: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); }
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  border: 2px solid var(--accent-deep);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-login:hover { background: var(--accent-deep); color: var(--white); border-color: var(--accent-deep); transform: translateY(-1px); }

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

/* ========== HERO ========== */
.hero {
  padding: 80px 0 100px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: var(--white);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--white);
}
.hero-subtitle {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}
.hero .btn-primary {
  background: var(--accent-deep);
  color: var(--white);
}
.hero .btn-primary:hover {
  background: var(--accent-hover);
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: background 0.3s;
}
.hero-stat:hover {
  background: rgba(255, 255, 255, 0.12);
}
.hero-stat-number {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.hero-stat:nth-child(2) .hero-stat-number,
.hero-stat:nth-child(3) .hero-stat-number {
  color: var(--accent);
}
.hero-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.3px;
}

/* ========== PLATFORM / SERVICES ========== */
.services {
  padding: 100px 0;
  background: var(--white);
}
.services-header {
  margin-bottom: 60px;
}
.services-header h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}
.service-item {
  display: grid;
  grid-template-columns: 100px 200px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-number {
  font-size: 56px;
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1;
}
.service-name {
  font-size: 28px;
  font-weight: 600;
  padding-top: 8px;
  color: var(--dark);
}
.service-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--mid-text);
}

/* ========== ABOUT / WHY US ========== */
.about-business {
  padding: 100px 0;
  background: var(--mid);
}
.about-business .section-badge {
  background: var(--accent-deep);
  color: var(--white);
}
.about-business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-business h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}
.about-business p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}
.about-visual {
  position: relative;
  height: 400px;
}
.about-shape {
  position: absolute;
  border-radius: 50%;
}
.about-shape-1 {
  top: 0;
  right: 40px;
  width: 180px;
  height: 180px;
  background: var(--dark);
}
.about-shape-2 {
  top: 80px;
  right: 180px;
  width: 120px;
  height: 120px;
  background: var(--accent);
}
.about-shape-3 {
  bottom: 40px;
  right: 80px;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,0.15);
}
.about-shape-4 {
  bottom: 80px;
  right: 220px;
  width: 100px;
  height: 100px;
  background: var(--border);
}

/* ========== WHO IT'S FOR / TEAM ========== */
.about-us {
  padding: 100px 0;
  background: var(--white);
}
.about-us h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark);
}
.about-us-intro {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 900px;
  color: var(--mid-text);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.team-member {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.team-member.visible {
  opacity: 1;
  transform: translateY(0);
}
.team-photo {
  width: 100%;
  height: 260px;
  background: var(--light);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: var(--mid-text);
  border: 1px solid var(--border);
}
.team-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}
.team-title {
  font-size: 14px;
  color: var(--mid-text);
  margin-bottom: 4px;
}
.team-tagline {
  font-size: 14px;
  font-style: italic;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.team-bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid-text);
}

/* ========== HOW IT WORKS / APPROACH ========== */
.approach {
  padding: 100px 0;
  background: var(--light);
}
.approach h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}
.approach-title-line {
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--accent-deep);
}
.approach-dark {
  background: var(--dark);
  color: var(--white);
  border-radius: 24px;
  padding: 60px;
  margin-top: 32px;
}
.approach-dark p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.92);
}

/* ========== BENEFITS ========== */
.benefits {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
}
.benefits h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 48px;
  color: var(--white);
}
.benefits .section-badge {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 40px 32px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.benefit-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.benefit-card:nth-child(2) {
  background: var(--accent);
  border-color: var(--accent-deep);
}
.benefit-card:nth-child(2) h3,
.benefit-card:nth-child(2) p {
  color: var(--dark);
}
.benefit-card h3 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--white);
}
.benefit-card p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* ========== COMPETITIVE / QUOTES ========== */
.quotes {
  padding: 100px 0;
  background: var(--white);
}
.quotes-header h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}
.quotes-header .subtitle {
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 48px;
  color: var(--mid-text);
}
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.quote-card {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.quote-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.quote-card:last-child {
  border-right: none;
  background: var(--light);
}
.quote-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--light);
  margin: 0 auto 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  border: 2px solid var(--border);
}
.quote-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--mid-text);
}
.quote-author {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

/* ========== CONTACT FORM ========== */
.contact {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
}
.contact h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--white);
}
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.85);
}
.form-group input,
.form-group textarea {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  padding: 10px 0;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  color: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent);
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.form-submit {
  text-align: center;
  margin-top: 32px;
}
.btn-submit {
  background: var(--accent-deep);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 48px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
  max-width: 400px;
}
.btn-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }
.contact-success {
  max-width: 700px;
  margin: 0 auto 32px;
  padding: 16px 24px;
  background: rgba(166, 225, 250, 0.15);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark-alt);
  color: #fff;
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-weight: 800;
  font-size: 18px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footer-social a {
  color: #fff;
  font-size: 20px;
  transition: opacity 0.2s;
}
.footer-social a:hover { opacity: 0.7; }
.footer h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--accent);
}
.footer p, .footer a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}
.footer a:hover { text-decoration: underline; color: #fff; }
.footer-links a {
  display: block;
  margin-bottom: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: right;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in, .service-item, .benefit-card, .quote-card, .team-member {
    opacity: 1;
    transform: none;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 16px; }
  .hero h1 { font-size: 44px; }
  .service-item { grid-template-columns: 80px 160px 1fr; gap: 24px; }
  .about-business-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .menu-toggle { display: flex; }
  .hero { padding: 40px 0 60px; min-height: auto; }
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 18px; }
  .hero-stats { gap: 12px; }
  .hero-stat { padding: 24px 20px; }
  .hero-stat-number { font-size: 32px; }
  .service-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-number { font-size: 40px; }
  .service-name { font-size: 22px; padding-top: 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .quote-card { border-right: none; border-bottom: 1px solid var(--border); }
  .quote-card:last-child { border-bottom: none; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .approach-dark { padding: 32px 24px; }
  .services, .about-business, .about-us, .benefits, .quotes, .contact, .approach { padding: 60px 0; }
}
