:root {
  --bg: #F9FAFB;
  --text: #111827;
  --muted: #6B7280;
  --border: #E5E7EB;
  --card: #FFFFFF;
  --accent: #F97316;
  --accent-hover: #EA580C;
  --blue: #2563EB;
  --blue-grad-start: #2563EB;
  --blue-grad-end: #1E3A8A;
  --footer-bg: #111827;
  --footer-muted: #9CA3AF;
  --light-blue: #EEF2FF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(249, 250, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-grad-start), var(--blue-grad-end));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: #f1f5f9;
  color: var(--text);
}

.nav-links a.active {
  background: #eef2ff;
  color: var(--blue);
}

.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  height: 52px;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 50px rgba(249, 115, 22, 0.25);
}

.btn.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(234, 88, 12, 0.28);
}

.btn.outline {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}

.btn.outline:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 6px;
}

.star-icon {
  width: 22px;
  height: 22px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

/* =========================
   HERO - Centered variant (no video)
========================= */

.hero.hero-centered {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}

/* Background: soft gradients + subtle grid + blobs */
.hero.hero-centered::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(900px 380px at 20% 20%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(700px 320px at 80% 30%, rgba(249, 115, 22, 0.12), transparent 60%),
    radial-gradient(600px 260px at 50% 85%, rgba(37, 99, 235, 0.08), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.92)),   url("/Resources/Atlas\ promos.jpg");

  pointer-events: none;
  z-index: 0;
}

/* Optional subtle grid texture */
.hero.hero-centered::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 35%, rgba(0,0,0,0.55), transparent 70%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* Center layout */
.hero-grid-centered {
  grid-template-columns: 1fr;
  gap: 0;
  justify-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-text-centered {
  max-width: 860px;
}

/* Keep your typography but make it responsive and centered */
.hero.hero-centered h1 {
  margin: 0 0 18px;
}

.actions-centered {
  justify-content: center;
  margin-bottom: 18px;
}

.rating-centered {
  justify-content: center;
}

/* Make hero headline scale better on small screens */
@media (max-width: 900px) {
  .hero.hero-centered {
    padding: 90px 0 70px;
  }

  .hero.hero-centered h1 {
    font-size: 52px;
  }
}

@media (max-width: 640px) {
  .hero.hero-centered {
    padding: 76px 0 60px;
  }

  .hero.hero-centered h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .lead {
    font-size: 16px;
  }
}

.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  width: 100%;
  max-width: 520px;
}

.video-inner {
  background: linear-gradient(145deg, #435ff1, var(--blue));
  border-radius: 16px;
  padding: 80px 20px 36px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #e0e7ff;
  position: relative;
  overflow: hidden;
}

.video-inner::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.play-button svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.12));
}

.video-caption {
  margin: 18px 0 0;
  color: #e5e7eb;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.trusted {
  padding: 40px 0 20px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 18px;
}

.section-subtext {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 680px;
}

.logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  color: #9ca3af;
  font-weight: 600;
  font-size: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.stats {
  padding: 30px 0 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  text-align: center;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
}

.stat-label {
  color: var(--muted);
  font-weight: 600;
}

.centered-copy {
  padding: 40px 0 20px;
}

.narrow {
  max-width: 900px;
}

.testimonials {
  padding: 30px 0 20px;
}

.testimonial-card {
  background: var(--light-blue);
  border: 1px solid #dfe5ff;
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.05);
  text-align: center;
}

.play-icon svg {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
}

.quote {
  font-size: 22px;
  font-weight: 600;
  margin: 0 auto 22px;
  max-width: 800px;
}

.name {
  font-weight: 700;
  margin: 0 0 6px;
}

.title {
  color: var(--muted);
  margin: 0;
}

.cta-banner {
  background: linear-gradient(90deg, var(--blue-grad-start), var(--blue-grad-end));
  margin: 50px 0 0;
  padding: 60px 0;
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 800;
}

.cta-content p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
}

.footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 60px 0 20px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .brand-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  color: var(--footer-muted);
  max-width: 360px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #fff;
}

.footer-col a {
  display: block;
  color: var(--footer-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-col a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  text-align: center;
  color: var(--footer-muted);
  font-size: 14px;
  margin-top: 30px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Section spacing consistent with other blocks */
.faqs {
  padding: 72px 0;
}

/* Keep typography aligned with the site */
.faqs .section-title {
  text-align: center;
}

.faqs .section-subtext {
  text-align: center;
  max-width: 760px;
  margin: 10px auto 0;
}

/* List spacing */
.faq-list {
  margin-top: 34px;
  display: grid;
  gap: 16px;
}

/* Card look similar to your stat cards */
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

/* Hover like subtle lift */
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.09);
  border-color: rgba(37, 99, 235, 0.22);
}

/* Remove default marker and spacing quirks */
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 18px;
  font-weight: 700;
  color: #0f172a; /* slate-900 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
}

/* Remove default marker (Chrome/Safari) */
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Right-side chevron */
.faq-item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(15, 23, 42, 0.45);
  border-bottom: 2px solid rgba(15, 23, 42, 0.45);
  transform: rotate(45deg);
  transition: transform 180ms ease, border-color 180ms ease;
  flex: 0 0 auto;
}

/* Open state styling */
.faq-item[open] {
  border-color: rgba(37, 99, 235, 0.30);
}

.faq-item[open] summary {
  background: rgba(37, 99, 235, 0.04);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  border-color: rgba(37, 99, 235, 0.60);
}

/* Answer body */
.faq-item > p,
.faq-item > div {
  padding: 0 18px 18px;
  margin: 0;
  color: rgba(15, 23, 42, 0.75);
  line-height: 1.65;
  font-weight: 500;
}

/* If you keep answers as <p> inside, ensure spacing */
.faq-item p {
  margin-top: 12px;
}

/* Optional: nice divider line between question and answer */
.faq-item[open] > p {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 14px;
}

/* Focus accessibility */
.faq-item summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
  border-radius: 14px;
}

/* Responsive tightening */
@media (max-width: 640px) {
  .faqs {
    padding: 56px 0;
  }

  .faq-item summary {
    padding: 16px 16px;
    font-size: 0.98rem;
  }

  .faq-item > p {
    padding: 0 16px 16px;
  }
}

@media (max-width: 960px) {
  .hero {
    padding-top: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 48px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .nav-content {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px;
  }

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

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

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

@media (max-width: 520px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
}
