/* ============================================================
   VISTA Interface — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400&display=swap');

/* ── Variables ── */
:root {
  --royal-blue:  #223E91;
  --soft-blue:   #B2CBDE;
  --dark-navy:   #111C2E;
  --light-gray:  #EAEAEA;
  --accent-green:#A3E64B;
  --white:       #FFFFFF;
  --text-dark:   #1A1A2E;
  --text-mid:    #4A5568;
  --overlay:     rgba(17, 28, 46, 0.72);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark-navy);
  margin-bottom: 1.25rem;
}
.section-title span { color: var(--royal-blue); }
.section-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 640px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--royal-blue);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.25s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #1a3078; transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--royal-blue);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 2px solid var(--royal-blue);
  transition: all 0.25s;
  cursor: pointer;
}
.btn-outline-dark:hover {
  background: var(--royal-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
.nav.scrolled {
  background: var(--dark-navy);
  padding: 0.85rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent-green);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-login {
  background: var(--royal-blue);
  color: var(--white) !important;
  padding: 0.55rem 1.35rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.25s !important;
}
.nav-login:hover { background: #1a3078 !important; }
.nav-login::after { display: none !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,28,46,0.82) 0%, rgba(34,62,145,0.65) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: heroFadeUp 1s ease both;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--accent-green);
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: normal;
  color: var(--accent-green);
}
.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 560px;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll svg { opacity: 0.5; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--dark-navy);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-number span { color: var(--accent-green); }
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   INTRO / WHAT IS VISTA
   ============================================================ */
.intro {
  padding: 7rem 0;
  background: var(--white);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.intro-image-wrap {
  position: relative;
}
.intro-image-wrap img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  height: 480px;
}
.intro-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--royal-blue);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  min-width: 160px;
  box-shadow: 0 8px 30px rgba(34,62,145,0.35);
}
.intro-image-badge strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}
.intro-image-badge span {
  font-size: 0.75rem;
  opacity: 0.8;
  letter-spacing: 0.06em;
}
.intro-text .section-body { margin-bottom: 2rem; }
.intro-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.pillar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--light-gray);
  color: var(--dark-navy);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pillar-chip::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--royal-blue);
}

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain {
  padding: 6rem 0;
  background: var(--dark-navy);
}
.pain-header {
  text-align: center;
  margin-bottom: 4rem;
}
.pain-header .section-label { color: var(--accent-green); }
.pain-header .section-title { color: var(--white); }
.pain-header .section-body {
  color: rgba(255,255,255,0.6);
  margin: 0 auto;
  text-align: center;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pain-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 2rem;
  transition: background 0.3s, transform 0.3s;
}
.pain-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}
.pain-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.pain-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.pain-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.pain-cta {
  text-align: center;
  margin-top: 3.5rem;
}
.pain-cta p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.pain-cta p strong { color: var(--white); font-style: normal; }

/* ============================================================
   FEATURES / WHAT YOU GET
   ============================================================ */
.features {
  padding: 7rem 0;
  background: var(--light-gray);
}
.features-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.features-header .section-body { margin: 0 auto; text-align: center; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(34,62,145,0.15);
}
.feature-card-img {
  height: 200px;
  overflow: hidden;
}
.feature-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.feature-card:hover .feature-card-img img { transform: scale(1.04); }
.feature-card-body {
  padding: 1.75rem;
}
.feature-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0.6rem;
}
.feature-card-body p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.feature-card-tag {
  display: inline-block;
  background: var(--light-gray);
  color: var(--royal-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

/* ============================================================
   HOW IT WORKS TEASER
   ============================================================ */
.process-teaser {
  padding: 7rem 0;
  background: var(--white);
}
.process-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0.35rem;
}
.step-content p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.process-image img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  height: 480px;
  box-shadow: 0 20px 60px rgba(17,28,46,0.18);
}

/* ============================================================
   STORY TEASER
   ============================================================ */
.story-teaser {
  padding: 7rem 0;
  background: var(--royal-blue);
  position: relative;
  overflow: hidden;
}
.story-teaser::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.story-teaser::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.story-teaser-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.story-teaser-text .section-label { color: var(--accent-green); }
.story-teaser-text .section-title { color: var(--white); }
.story-teaser-text .section-body {
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}
.story-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--white);
  border-left: 3px solid var(--accent-green);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.story-teaser-image img {
  border-radius: 8px;
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 6rem 0;
  background: var(--dark-navy);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.cta-band p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.cta-band .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0a1320;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 52px; margin-bottom: 1.25rem; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer-social a:hover {
  border-color: var(--royal-blue);
  color: var(--white);
  background: var(--royal-blue);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .intro-grid,
  .process-teaser-grid,
  .story-teaser-inner { grid-template-columns: 1fr; gap: 3rem; }
  .intro-image-wrap { order: -1; }
  .intro-image-badge { bottom: 1rem; right: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark-navy);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open a { font-size: 1.3rem; }
  .nav-hamburger { display: flex; z-index: 1001; }
  .features-grid,
  .pain-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.5rem; }
  .cta-band h2 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
