/* --- BASE RESET & SETUP --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors - Black, White, Light Blue */
  --color-bg: #0a0a0a;
  --color-bg-alt: #171717;
  --color-text: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-primary: #3b82f6;
  --color-primary-dark: #2563eb;
  --color-primary-light: #60a5fa;
  --color-primary-rgb: 59, 130, 246;

  /* Typography Scale */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.5rem;
  /* 24px */
  --text-3xl: 1.875rem;
  /* 30px */
  --text-4xl: 2.25rem;
  /* 36px */

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Easing */
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0.0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* --- TYPOGRAPHY --- */
h1 {
  font-size: clamp(2rem, 5vw + 1rem, 4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw + 1rem, 3rem);
  line-height: 1.2;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 2vw + 1rem, 1.75rem);
  line-height: 1.3;
  font-weight: 600;
}

p {
  font-size: clamp(1rem, 1vw + 0.875rem, 1.125rem);
  color: var(--color-text-muted);
  max-width: 65ch;
  text-align: left;
}

.text-blue {
  color: var(--color-primary-light);
}

.text-center {
  text-align: center;
}

.text-center p {
  margin: 0 auto;
  text-align: center;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 3rem;
  }
}

.container-sm {
  max-width: 900px;
}

.section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-20) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-24) 0;
  }
}

.dark-bg {
  background-color: var(--color-bg-alt);
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* CSS Grid Options */
.grid {
  display: grid;
  gap: 1.5rem;
}

.layout-3-col {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .layout-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .layout-3-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- COMPONENTS --- */

/* Badge */
.badge {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  background: rgba(var(--color-primary-rgb), 0.15);
  color: var(--color-primary-light);
  border-radius: 100px;
  margin-bottom: 1rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  min-height: 48px;
  min-width: 48px;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  will-change: transform;
}

.btn:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition-duration: 0.05s;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.4);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.6);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: var(--text-lg);
  padding: 1rem 2rem;
  border-radius: 10px;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

.btn-full {
  width: 100%;
}

/* Cards */
.card {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  will-change: transform;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(59, 130, 246, 0.3);
}

/* --- NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  min-height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: white;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg-alt);
  flex-direction: column;
  padding: 1rem;
  list-style: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.nav-links.is-open {
  display: flex;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  min-height: 48px;
  position: relative;
}

.nav-link:hover {
  color: white;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease-out);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (min-width: 768px) {
  .navbar {
    padding: 0 2rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 1.5rem;
  }

  .nav-link {
    padding: 0.5rem;
  }

  .nav-link::after {
    bottom: -2px;
    left: 0.5rem;
    right: 0.5rem;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding-top: calc(var(--space-20) + 80px);
  /* Account for fixed header */
  position: relative;
  overflow: hidden;
  overflow-x: clip;
}

/* Base glowing orb effect */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
  transform: translateX(-50%);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-headline {
  margin-bottom: 1.5rem;
}

.hero-subhead {
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-size: clamp(1.125rem, 1.5vw + 1rem, 1.25rem);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 480px) {
  .hero-cta-group {
    align-items: flex-start;
  }
}

.trust-line {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hero Visual (Chat Mockup) */
.mockup-card {
  background: #111;
  border-radius: 20px;
  border: 1px solid #333;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mockup-header {
  background: #1a1a1a;
  padding: 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #333;
}

.mockup-dots {
  display: flex;
  gap: 6px;
  margin-right: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ef4444;
}

.dot.yellow {
  background: #eab308;
}

.dot.green {
  background: #22c55e;
}

.mockup-title {
  font-size: 0.875rem;
  color: #888;
  font-weight: 500;
}

.chat-container {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #0f0f0f;
  min-height: 350px;
}

.bubble {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.bubble.bot {
  background: #262626;
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.bubble.user {
  background: var(--color-primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.booked-notification {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.booked-notification i {
  font-size: 1.5rem;
  color: #22c55e;
}

.notification-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
}

.notification-desc {
  color: #a3a3a3;
  font-size: 0.8125rem;
  margin: 0;
}

/* --- SOCIAL PROOF LOGOS --- */
.proof-section {
  padding: var(--space-8) 0 var(--space-16) 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #666;
  font-weight: 600;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .logo-grid {
    gap: 4rem;
  }
}

/* --- PARTNER LOGOS PROOF --- */
.partner-logo-wrapper {
  display: inline-block;
  /* Screen blend mode turns the black background of the logo transparent, leaving just the white 3D text! */
  mix-blend-mode: screen;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo-wrapper:hover {
  opacity: 1;
  transform: scale(1.05);
}

.partner-img {
  height: 120px;
  /* Scaled down slightly so both fit nicely side by side */
  object-fit: contain;
  /* Optional slight boost to the whites */
  filter: contrast(1.1) brightness(1.1);
}

@media (min-width: 768px) {
  .partner-img {
    height: 160px;
  }
}

/* --- HOW IT WORKS & BENEFITS --- */
.section-header {
  margin-bottom: var(--space-12);
}

.section-title {
  margin-bottom: 1rem;
}

/* Timeline Structure */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: var(--space-8) auto 0;
  padding: 1rem 0;
  overflow: hidden;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  top: 0;
  bottom: 0;
  left: 31px;
  /* Center of mobile marker (7px + 24px) */
}

.timeline-item {
  padding: 1rem 0 2rem 70px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.timeline-marker {
  position: absolute;
  width: 48px;
  height: 48px;
  left: 7px;
  top: 2.5rem;
  background-color: var(--color-bg-alt);
  border: 3px solid var(--color-primary-light);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.timeline-content {
  position: relative;
}

@media (min-width: 768px) {
  .timeline::after {
    left: 50%;
    margin-left: -1px;
  }

  .timeline-item {
    width: 50%;
    padding: 2rem 50px;
  }

  .timeline-item.left {
    left: 0;
    text-align: right;
  }

  .timeline-item.right {
    left: 50%;
    text-align: left;
  }

  .timeline-item.left .timeline-marker {
    left: auto;
    right: -24px;
  }

  .timeline-item.right .timeline-marker {
    left: -24px;
  }
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: white;
  margin-bottom: 1rem;
}

.step-number.text-blue {
  color: var(--color-primary-light);
}

.step-title {
  margin-bottom: 0.5rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.feature-text {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.benefit-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 1.5rem;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.benefit-list i {
  margin-top: 0.3rem;
  font-size: 1.25rem;
}

.benefit-list strong {
  color: white;
}

.mb-16 {
  margin-bottom: 4rem;
}

.feature-center {
  max-width: 650px;
  margin: 0 auto;
}

@media (max-width: 639px) {
  .desktop-only {
    display: none;
  }
}

/* --- DELIVERABLES --- */
.deliverables-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.deliverables-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {

  .deliverables-top,
  .deliverables-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .deliverables-top {
    grid-template-columns: repeat(4, 1fr);
  }

  .deliverables-bottom {
    grid-template-columns: repeat(3, 1fr);
    /* Set custom width to center the 3 items under the 4 */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
}

.deliv-card {
  background: var(--color-bg-alt);
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.deliv-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.deliv-card p {
  text-align: left;
  margin-left: 0;
}

.icon-lg {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.deliv-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.deliv-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin-top: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -2rem;
  right: 2rem;
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.03);
  font-family: serif;
  line-height: 1;
}

.test-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .test-layout {
    flex-direction: row;
    padding: 2rem;
    gap: 4rem;
  }
}

.test-img-wrapper {
  flex-shrink: 0;
}

.test-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

@media (min-width: 768px) {
  .test-img {
    width: 200px;
    height: 200px;
  }
}

.test-content {
  display: flex;
  flex-direction: column;
  text-align: center;
}

@media (min-width: 768px) {
  .test-content {
    text-align: left;
  }
}

.stars {
  color: #fbbf24;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.25rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .stars {
    justify-content: flex-start;
  }
}

.test-quote {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 2rem;
  font-style: italic;
}

.test-author h4 {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.test-author p {
  color: #9ca3af;
  font-size: 1rem;
}

/* --- QUALIFICATION SECTION --- */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .qual-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.qual-col {
  display: flex;
  flex-direction: column;
}

.qual-card {
  border-radius: 16px;
  padding: 2.5rem 2rem;
  flex-grow: 1;
  /* Make both cards equal height if grid stretches */
}

/* Light Card */
.qual-card-light {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.qual-card-light .qual-list li span {
  color: #9ca3af;
}

/* Dark gradient card for 'ARE for you' */
.qual-card-dark {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.2) 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15), inset 0 0 20px rgba(59, 130, 246, 0.05);
}

.qual-card-dark .qual-list li span {
  color: #ffffff;
  font-weight: 500;
}

.qual-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.qual-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.qual-list i {
  margin-top: 0.25rem;
  font-size: 1.25rem;
}

.qual-list-x i {
  color: #ef4444;
  /* Subtle red X */
}

.qual-list-check i {
  color: var(--color-primary);
  /* Bright blue check */
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: var(--space-8);
}

.faq-item {
  background: var(--color-bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  will-change: transform, box-shadow;
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.faq-item.is-active {
  border-color: var(--color-primary-light);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-primary-light);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.4s var(--ease-spring), background-color 0.2s ease;
  color: var(--color-primary-light);
}

.faq-item:hover .faq-icon {
  background: rgba(59, 130, 246, 0.1);
}

.faq-item.is-active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: white;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq-item.is-active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 1.5rem;
  /* Horizontal padding always present */
}

/* Add vertical padding only when active via the inner para, avoids jumpy borders */
.faq-item.is-active .faq-answer-inner {
  padding-bottom: 1.5rem;
}

.faq-answer-inner p {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-item.is-active .faq-answer-inner p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
  /* text appears slightly after box opens */
}

/* --- GUARANTEE --- */
.shield-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-lg {
  max-width: 32rem;
}

/* --- CONTACT / CTA FORM --- */
.cta-content {
  margin-bottom: 2rem;
}

.cta-headline {
  margin-bottom: 1rem;
}

.cta-desc {
  margin-bottom: 2rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.check-list i {
  color: #22c55e;
}

/* Green check */

@media (min-width: 1024px) {
  .layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

/* Forms Rule Application */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-title {
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #d1d5db;
  min-height: auto;
}

input {
  font-family: inherit;
  font-size: 16px !important;
  /* iOS zoom prevention */
  color: #000;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #4b5563;
  background: #f9fafb;
  -webkit-appearance: none;
  appearance: none;
  transition: all 0.2s ease;
}

input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

.form-trust {
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.success-message {
  text-align: center;
  padding: 2rem 0;
}

/* --- FOOTER --- */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem;
}

.footer-content {
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: #888;
  margin-top: 0.5rem;
  max-width: 300px;
}

.footer-heading {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links .nav-link {
  min-height: auto;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.875rem;
  color: #666;
}

/* --- ANIMATIONS (Reduced Motion Included) --- */

[data-reveal] {
  opacity: 0;
  transition-duration: 0.8s;
  transition-timing-function: var(--ease-out);
  transition-property: opacity, transform;
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="up"] {
  transform: translateY(40px);
}

[data-reveal="down"] {
  transform: translateY(-40px);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- MOBILE OVERFLOW & CENTERING FIXES --- */
main {
  overflow-x: hidden;
}

.section {
  overflow-x: hidden;
}

@media (max-width: 767px) {

  /* Ensure all sections take full width with equal padding */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Center the section header text properly */
  .section-header,
  .section-header p {
    text-align: center;
  }

  .section-header p {
    margin-left: auto;
    margin-right: auto;
  }

  /* Timeline fixes for mobile */
  .timeline {
    padding-left: 0;
    padding-right: 0;
  }

  .timeline-item {
    padding-left: 65px;
    padding-right: 0;
  }

  .timeline-content.card {
    padding: 1.5rem;
  }

  /* Guarantee section heading */
  .hero-headline {
    font-size: clamp(1.75rem, 5vw, 3rem) !important;
  }

  /* Qualification cards */
  .qual-card {
    padding: 1.75rem 1.25rem;
  }

  /* FAQ items */
  .faq-question {
    padding: 1.25rem;
    font-size: 1rem;
  }

  /* CTA / Form section */
  .cta-form-container.card {
    padding: 1rem;
  }

  .calendly-inline-widget {
    min-width: 100% !important;
  }

  /* Footer centering */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    text-align: left;
  }
}