/* Landing page layout - Ultra modern professional design */
:root {
  --text: #ffffff;
  --text-dark: #1a1f2e;
  --text-darker: #0d1117;
  --muted: rgba(255, 255, 255, 0.85);
  --muted2: rgba(255, 255, 255, 0.65);
  --muted-dark: #4a5568;
  --muted-darker: #5a6478;
  --card-white: #ffffff;
  --card-light: rgba(255, 255, 255, 0.98);
  --card-dark: rgba(255, 255, 255, 0.04);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-white: rgba(26, 31, 46, 0.1);
  --brand: #0066ff;
  --brand-hover: #0052cc;
  --brand-light: #e6f0ff;
  --accent: #00d9a6;
  --accent2: #ff6b35;
  --bg-dark: #0a0f1a;
  --bg-section: #f8fafc;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing {
  color: var(--text);
  padding: 0;
  background: linear-gradient(180deg, #0a0f1a 0%, #0d1420 50%, #0a0f1a 100%);
  overflow-x: hidden;
}

/* Safe area support for notched devices */
@supports (padding: env(safe-area-inset-top)) {
  .landing {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  align-items: center;
  gap: 48px;
  padding: 80px 0 60px;
  min-height: 85vh;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 16px;
}

.hero__copy h1 {
  margin: 0 0 20px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 700;
  color: var(--text);
}

.hero__copy .lede {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

.cta:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta.primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.cta.primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
  transform: translateY(-2px);
}

.cta.ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  box-shadow: none;
}

.cta.ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero__panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.panel-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.panel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.panel-card .label {
  color: rgba(0, 0, 0, 0.9);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px;
  font-weight: 700;
}

.panel-card .value {
  margin: 0 0 10px;
  font-size: 36px;
  font-weight: 800;
  color: #000000;
  line-height: 1;
}

.panel-card .sub {
  margin: 0;
  color: rgba(0, 0, 0, 0.95);
  font-size: 13px;
  line-height: 1.5;
}

.panel-card.highlight {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.35), rgba(0, 217, 166, 0.25));
  border-color: rgba(0, 102, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

.panel-card.highlight:hover {
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.4);
}

.panel-card.accent {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 80px 0;
}

.section-head h2 {
  margin: 0 0 18px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: #ffffff;
}

.section-head .muted {
  margin: 0;
  font-size: 18px;
  max-width: 720px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(26, 31, 46, 0.08);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  min-height: 200px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 102, 255, 0.3);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px 20px 0 0;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1f2e;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: #5a6478;
  line-height: 1.7;
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: center;
}

.list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.list-item {
  padding: 24px 28px;
  border-radius: 14px;
  border: 1px solid rgba(26, 31, 46, 0.1);
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.list-item:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.list-item strong {
  display: block;
  margin-bottom: 8px;
  color: #1a1f2e;
  font-size: 17px;
  font-weight: 700;
}

.list-item span {
  color: #5a6478;
  line-height: 1.7;
  font-size: 15px;
}

.testimonial {
  border-left: 4px solid var(--brand);
  padding-left: 24px;
  color: #1a1f2e;
  line-height: 1.8;
  font-size: 18px;
  font-style: italic;
  margin: 24px 0;
  font-weight: 500;
}

.assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.assurance .pill {
  background: var(--brand-light);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--brand);
  font-weight: 600;
  padding: 10px 16px;
}

.footer-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  border: none;
  border-radius: 24px;
  padding: 60px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  box-shadow: 0 24px 48px rgba(0, 102, 255, 0.3);
  color: white;
}

.footer-cta h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-cta p {
  font-size: 17px;
  opacity: 0.9;
}

.footer-cta .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-cta .cta {
  background: white;
  color: var(--brand);
  border: none;
}

.footer-cta .cta:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.footer-cta .cta.ghost {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.footer-cta .cta.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.trust-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.accent-rail {
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 999px;
  margin: 0 0 24px;
}

.hero-glow {
  position: relative;
}

.hero-glow::after {
  content: "";
  position: absolute;
  inset: -18px;
  background: radial-gradient(420px 240px at 40% 40%, rgba(108, 199, 255, 0.16), transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.hero__copy,
.hero__panel,
.section,
.footer-cta {
  position: relative;
  z-index: 1;
}

/* Themed section backgrounds - modern white sections */
.theme-midnight,
.theme-cerulean,
.theme-aurora,
.theme-onyx,
.theme-sunset {
  background: var(--card-white);
  border: 1px solid var(--border-white);
  border-radius: 24px;
  padding: 60px 48px;
  box-shadow: var(--shadow-xl);
  margin: 60px auto;
}

.theme-midnight .section-head h2,
.theme-cerulean .section-head h2,
.theme-aurora .section-head h2,
.theme-onyx .section-head h2,
.theme-sunset .section-head h2 {
  color: var(--text-dark);
}

.theme-midnight .section-head .muted,
.theme-cerulean .section-head .muted,
.theme-aurora .section-head .muted,
.theme-onyx .section-head .muted,
.theme-sunset .section-head .muted {
  color: var(--muted-dark);
}

.theme-midnight .eyebrow {
  color: var(--brand);
}

.theme-cerulean .eyebrow {
  color: var(--accent);
}

.theme-aurora .eyebrow {
  color: var(--brand);
}

.theme-onyx .eyebrow {
  color: var(--accent2);
}

.theme-sunset .eyebrow {
  color: var(--accent);
}

.visuals {
  padding: 80px 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: none;
  box-shadow: var(--shadow-xl);
  background: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.20);
}

.image-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 26, 0) 0%, rgba(10, 15, 26, 0.85) 100%);
  color: var(--text);
  padding: 24px;
  display: grid;
  align-content: end;
  gap: 8px;
}

.image-overlay h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.image-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  font-size: 14px;
}

.image-overlay .tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* Scrollable/alternate bands */
.band {
  width: 100%;
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.band.alt {
  background: rgba(0, 102, 255, 0.03);
}

.band__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.marquee {
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.marquee-track {
  display: flex;
  gap: 18px;
  padding: 12px 16px;
  min-width: 200%;
  animation: marquee 22s linear infinite;
}

.badge {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 13px;
  white-space: nowrap;
}

.spotlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.spot-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-white);
  background: var(--card-white);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.spot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand);
}

.spot-card h4 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}

.spot-card p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.6;
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.step {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-white);
  background: var(--card-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.step::before {
  content: attr(data-step);
  position: absolute;
  top: 20px;
  right: 24px;
  font-weight: 800;
  color: rgba(0, 102, 255, 0.15);
  font-size: 48px;
  line-height: 1;
}

.step h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

.step p {
  margin: 0;
  color: var(--muted-dark);
  line-height: 1.6;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.stat-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.12);
}

.stat-card .value {
  font-size: 38px;
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
}

.stat-card .label {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.footer-cta h3 {
  margin: 0 0 6px;
}

.footer-cta p {
  margin: 0;
  color: var(--muted);
}

.footer-cta .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .panel-card:hover,
  .card:hover,
  .image-card:hover,
  .stat-card:hover,
  .spot-card:hover,
  .step:hover {
    transform: none;
    box-shadow: var(--shadow-lg);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 22px 0;
    gap: 20px;
  }

  .hero__copy h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  .hero__copy .lede {
    font-size: 16px;
    max-width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta {
    /* width: 100%; */
    justify-content: center;
  }

  .hero__panel {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  .card-grid,
  .spotlights,
  .steps,
  .stat-band,
  .hero__panel,
  .image-grid {
    gap: 12px;
  }

  .theme-midnight,
  .theme-cerulean,
  .theme-aurora,
  .theme-onyx,
  .theme-sunset {
    padding: 22px 14px;
    border-radius: 16px;
  }

  .card,
  .spot-card,
  .step,
  .panel-card,
  .stat-card {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  }

  .marquee-track {
    animation: none;
  }

  /* Larger tap targets on small screens */
  .pill,
  .trust-pill {
    padding: 10px 16px;
    font-size: 13px;
  }

  .badge {
    padding: 12px 18px;
    font-size: 14px;
  }

  /* Tighter card padding and lighter blur for mobile */
  .panel-card {
    padding: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .card,
  .spot-card,
  .step,
  .stat-card {
    padding: 24px;
  }

  .image-card img {
    height: 180px;
  }
}

/* Disable hover transforms on touch devices */
@media (hover: none) and (pointer: coarse) {
  .panel-card:hover,
  .card:hover,
  .image-card:hover,
  .stat-card:hover,
  .spot-card:hover,
  .step:hover {
    transform: none;
  }
}

@media (max-width: 960px) {
  .container,
  .band__inner {
    max-width: 100%;
    padding: 0 clamp(16px, 4vw, 24px);
  }

  .image-card img {
    height: 200px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero__panel {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .spotlights {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .stat-band {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}