/* ============================================
   CSS Variables (Light Mode - Default)
   ============================================ */
:root {
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-primary: #0b5fff;
  --color-primary-dark: #0846b0;
  --color-primary-light: #4d8aff;
  --color-accent: #00a884;
  --color-text: #1e293b;
  --color-text-light: #475569;
  --color-text-muted: #64748b;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max-width: 1100px;
  font-size: 16px;
}

/* ============================================
   Dark Mode Variables
   ============================================ */
[data-theme="dark"] {
  --color-bg: #0f172a;
  --color-surface: #1e293b;
  --color-primary: #4d8aff;
  --color-primary-dark: #2b6beb;
  --color-primary-light: #7aa7ff;
  --color-accent: #00d9a5;
  --color-text: #e2e8f0;
  --color-text-light: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-muted: #94a3b8;
  --color-border: #334155;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Scroll padding to account for fixed header */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* Header height + extra space */
}

/* Smooth transitions for theme changes */
body,
.card,
.btn,
.header,
.footer,
.hero,
.section {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 15px;
}

/* ============================================
   Dark Mode Toggle Button (Fixed Position)
   ============================================ */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border: none;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(11, 95, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 24px rgba(11, 95, 255, 0.5);
}

.theme-toggle__icon {
  position: absolute;
  color: white;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

[data-theme="dark"] .theme-toggle {
  background: #7aa7ff;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

[data-theme="dark"] .theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Dark mode specific adjustments */
[data-theme="dark"] .hero--with-bg {
  background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('hero-bg.png');
}

[data-theme="dark"] .hero__cta-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="dark"] .card {
  background: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="dark"] .testimonial-card {
  background: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="dark"] .privacy-promise {
  background: var(--color-surface);
  border-color: var(--color-border);
}

[data-theme="dark"] .section--privacy {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="dark"] .section--privacy::before {
  background: radial-gradient(circle, rgba(77, 138, 255, 0.05) 0%, transparent 70%);
}

[data-theme="dark"] .trust-banner {
  background: linear-gradient(135deg, rgba(77, 138, 255, 0.1), rgba(0, 217, 165, 0.1));
  border-color: var(--color-border);
}

[data-theme="dark"] .testimonials-scroll {
  background: linear-gradient(90deg, #0f172a 0%, transparent 5%, transparent 95%, #0f172a 100%);
}

[data-theme="dark"] .cta {
  background: linear-gradient(135deg, rgba(77, 138, 255, 0.1), rgba(0, 217, 165, 0.1));
  border-color: var(--color-border);
}

[data-theme="dark"] .footer {
  background: #0a0f1a;
  border-top-color: #1e293b;
}

[data-theme="dark"] .header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

[data-theme="dark"] .privacy-promise__icon {
  background: linear-gradient(135deg, rgba(77, 138, 255, 0.15) 0%, rgba(77, 138, 255, 0.08) 100%);
}

[data-theme="dark"] .testimonial-card__quote {
  background: linear-gradient(135deg, rgba(77, 138, 255, 0.15) 0%, rgba(77, 138, 255, 0.08) 100%);
}

/* Mobile adjustments for theme toggle */
@media (max-width: 768px) {
  .theme-toggle {
    width: 48px;
    height: 48px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

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

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

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-weight: 600;
}

.brand span {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.875rem;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: white;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
}

.btn--outline {
  border-color: var(--color-border);
  color: var(--color-text-light);
  background: white;
}

.btn--outline:hover {
  background: var(--color-bg);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--accent {
  background: var(--color-accent);
  color: white;
}

.btn--accent:hover {
  background: #00956f;
}

.hero {
  padding: 3rem 0 2.5rem;
}

.hero__grid {
  display: grid;
  gap: 2rem;
}

.hero__content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__content p {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.hero__highlights {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero__card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.section {
  padding: 3rem 0;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section__subtitle {
  color: var(--color-text-light);
  max-width: 700px;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(11, 95, 255, 0.1);
  color: var(--color-primary);
  border-radius: 999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Process flow animation */
.section--process {
  overflow: hidden;
}

.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 4rem 0 3rem;
  gap: 1.5rem;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.process-step__icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(11, 95, 255, 0.25);
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible;
}

.process-step__icon:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 12px 32px rgba(11, 95, 255, 0.4);
}

.process-step__icon svg {
  color: white;
  stroke-width: 2.5;
  position: relative;
  z-index: 3;
}

.process-step__number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: white;
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(11, 95, 255, 0.3);
  z-index: 4;
  transition: transform 0.3s ease;
}

.process-step__ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 95, 255, 0.4) 0%, transparent 70%);
  z-index: 1;
}

@keyframes rippleEffect {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.process-step__content {
  text-align: center;
  max-width: 180px;
  opacity: 0;
  height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-shrink: 0;
}

.process-step__content strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.process-step__content p {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0;
}

.process-step__progress {
  width: 100%;
  max-width: 120px;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin-top: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.process-step__progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Connector line + arrow between steps (CSS-only) */
.process-step__connector {
  position: absolute;
  left: calc(50% + 45px);
  top: 45px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: width 0.6s ease-in-out, opacity 0.3s ease;
}

.process-step__connector.active {
  width: calc(100% + 1.5rem - 90px);
  opacity: 1;
}

.process-step__connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--color-primary-light);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  opacity: 0;
  transition: opacity 0.3s ease 0.4s;
}

.process-step__connector.active::after {
  opacity: 1;
}

.process-step:last-child .process-step__connector {
  display: none;
}

/* Responsive design for process flow */
@media (max-width: 1024px) {
  .process-flow {
    flex-wrap: wrap;
    gap: 3rem 2rem;
    padding: 3rem 0 2rem;
  }
  
  .process-step {
    flex: 0 0 calc(50% - 1rem);
  }
  
  .process-step__connector {
    display: none;
  }
}

@media (max-width: 640px) {
  .process-flow {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
  }
  
  .process-step {
    width: 100%;
    max-width: 300px;
  }
  
  .process-step__connector {
    display: none;
  }
  
  .process-step__icon {
    width: 80px;
    height: 80px;
  }
  
  .process-step__icon svg {
    width: 30px;
    height: 30px;
  }
  
  .process-step__number {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
}

.pricing-group {
  display: grid;
  gap: 1.25rem;
}

.pricing-list {
  display: grid;
  gap: 0.625rem;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}

.pricing-item:last-child {
  border-bottom: none;
}

.pricing-item strong {
  font-weight: 500;
}

.pricing-item span {
  color: var(--color-primary);
  font-weight: 600;
}

.cta {
  background: linear-gradient(135deg, rgba(11, 95, 255, 0.08), rgba(0, 168, 132, 0.08));
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  display: grid;
  gap: 1.5rem;
}

.cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cta .section__subtitle {
  font-size: 0.9375rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form__grid {
  display: grid;
  gap: 1rem;
}

/* ============================================
   Footer - Modern Design
   ============================================ */

.footer {
  background: linear-gradient(135deg, #0a0f1a 0%, #0f172a 100%);
  color: #e2e8f0;
  padding: 4rem 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

/* Brand Column */
.footer__brand {
  max-width: 350px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__logo img {
  height: 32px;
  width: auto;
}

.footer__logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.footer__tagline {
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Social Links */
.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 138, 255, 0.1);
  border-radius: 50%;
  color: var(--color-primary-light);
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-3px);
}

/* Footer Columns */
.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__list a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer__list a:hover {
  color: var(--color-primary-light);
  transform: translateX(3px);
}

/* Contact List with Icons */
.footer__list--contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #cbd5e1;
  font-size: 0.9375rem;
}

.footer__list--contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary-light);
}

.footer__list--contact a {
  color: #cbd5e1;
}

/* Service Areas with Icons */
.footer__list--areas li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  font-size: 0.9375rem;
}

.footer__list--areas svg {
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.footer__areas-more {
  color: #94a3b8;
  font-style: italic;
  padding-left: 1.25rem;
}

/* Footer Bottom */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  color: #94a3b8;
  font-size: 0.875rem;
  margin: 0;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer__legal a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--color-primary-light);
}

.footer__separator {
  color: #475569;
}

/* Dark Mode Footer Adjustments */
[data-theme="dark"] .footer {
  background: linear-gradient(135deg, #000000 0%, #0a0f1a 100%);
  border-top-color: rgba(148, 163, 184, 0.05);
}

/* Make logo white in footer and dark mode */
.footer__logo img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .brand__logo {
  filter: brightness(0) invert(1);
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer__brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 3rem 0 0;
  }
  
  .footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 0;
  }
  
  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

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

  .grid--three {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav__links {
    gap: 1.5rem;
  }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
}

/* Brand container: force horizontal layout */
.brand {
  display: flex;
  flex-direction: row;     /* ⬅️ ensures logo is LEFT of text */
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

/* Logo sizing */
.brand__logo {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;          /* prevents logo from shrinking */
}

/* Brand text styling (optional but clean) */
/* Make brand text match nav items */
.brand span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  line-height: 1;
}


/* Mobile tweak */
@media (max-width: 768px) {
  .brand__logo {
    height: 32px;
  }
}

/* Hamburger button - hidden on desktop */
.nav__toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Flex for brand logo + text */
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Make brand text match nav items */
.brand span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  line-height: 1;
}

/* Mobile / narrow screens */
@media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none; /* hide nav items by default */
    flex-direction: column;
    gap: 1rem;
  }

  .nav__toggle {
    display: block;
  }

  /* Hide mobile nav by default, show when active */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
    transition: all 0.3s ease;
    display: none; /* Hidden by default */
  }

  .nav.active {
    display: flex; /* Show when hamburger is clicked */
  }

  .nav__links,
  .nav__cta {
    display: none; /* Hidden by default */
  }

  .nav.active .nav__links,
  .nav.active .nav__cta {
    display: flex;
  }
}

/* Hover effect for nav links */
.nav__links a {
  position: relative;
  transition: color 0.2s ease;
}

/* Highlight color and underline on hover */
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px; /* space below text */
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: var(--color-primary-dark);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Hero background with dark overlay */
.hero--with-bg {
  position: relative;
  padding: 3.5rem 1rem; /* top/bottom padding */
  color: white;
  overflow: hidden;
  border-radius: 0; /* perfect square edges */
  background: url('hero-bg.png') center/cover no-repeat;
  background-size: cover; /* full coverage */
  background-position: center;
  min-height: 480px; /* ensure visible height */
  display: flex;
  align-items: center; /* vertical center */
}

/* Dark glass overlay effect */
.hero--with-bg::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.65); /* darker translucent overlay for glass effect */
  backdrop-filter: blur(2px); /* subtle blur for glass effect */
  -webkit-backdrop-filter: blur(2px);
  z-index: 0;
}

/* Ensure content sits above overlay */
.hero--with-bg .hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hero__content {
  max-width: 580px;
}

.hero__content h1,
.hero__content p,
.badge {
  color: white;
}

/* Hero structure */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hero__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__cta-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hero__cta-card h2 {
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero__cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.hero__response-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  padding: 0.625rem 0.75rem;
  background: rgba(11, 95, 255, 0.08);
  border-radius: var(--radius-sm);
  margin: 0;
}

.hero__response-time svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* Trust badges section - matching CTA style */
.trust-banner {
  background: linear-gradient(135deg, rgba(11, 95, 255, 0.08), rgba(0, 168, 132, 0.08));
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.trust-badges-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trust-badge-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-badge__circle {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--color-primary);
  box-shadow: 0 4px 12px rgba(11, 95, 255, 0.12);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.trust-badge-inline:hover .trust-badge__circle {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(11, 95, 255, 0.2);
  border-color: var(--color-primary-dark);
}

.trust-badge__circle svg {
  color: var(--color-primary);
  stroke-width: 2.5;
  width: 32px;
  height: 32px;
}

/* Lightning spark animation */
.trust-badge-inline[data-badge="lightning"] .trust-badge__circle.animate svg {
  animation: lightningFlash 0.6s ease-in-out;
}

@keyframes lightningFlash {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0));
  }
  25% {
    opacity: 0.3;
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
  }
  50% {
    opacity: 1;
    transform: scale(0.9);
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 1));
  }
  75% {
    opacity: 0.5;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
  }
}

.trust-badge-inline[data-badge="lightning"] .trust-badge__circle.animate {
  animation: circlePulse 0.6s ease-in-out;
}

/* Lock: Simple, elegant closing animation */
.trust-badge-inline[data-badge="lock"] svg .lock-shackle {
  stroke-dasharray: 30;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.trust-badge-inline[data-badge="lock"] svg .lock-body {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trust-badge-inline[data-badge="lock"] svg .lock-keyhole {
  transition: transform 0.3s ease;
}

/* Animated state: shackle closes, body bounces slightly */
.trust-badge-inline[data-badge="lock"] .trust-badge__circle.animate svg .lock-shackle {
  stroke-dashoffset: -15;
}

.trust-badge-inline[data-badge="lock"] .trust-badge__circle.animate svg .lock-body {
  transform: translateY(1px) scale(1.05);
}

.trust-badge-inline[data-badge="lock"] .trust-badge__circle.animate svg .lock-keyhole {
  transform: rotate(90deg);
}

/* Checkmark: visible by default; on click it “draws” (dashoffset 50 → 0) */
.trust-badge-inline[data-badge="check"] .checkmark-path {
  stroke-dasharray: 50;
  stroke-dashoffset: 0;
}

.trust-badge-inline[data-badge="check"] .trust-badge__circle.animate .checkmark-path {
  animation: drawCheck 0.6s ease-in-out forwards;
}

@keyframes drawCheck {
  0% {
    stroke-dashoffset: 50;
    opacity: 0;
  }
  50% {
    stroke-dashoffset: 25;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.trust-badge-inline[data-badge="check"] .trust-badge__circle.animate {
  animation: checkBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkBounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

@keyframes circlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(11, 95, 255, 0.12);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  }
}

.trust-badge-inline strong {
  display: block;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.trust-badge-inline p {
  color: var(--color-text-light);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   Privacy & Safety Promise Section
   ============================================ */

.section--privacy {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.section--privacy::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 95, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.privacy-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  position: relative;
}

.privacy-header__badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(11, 95, 255, 0.2);
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.privacy-header__badge svg {
  color: white;
  width: 36px;
  height: 36px;
  stroke-width: 2.5;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
}

.privacy-promise {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.privacy-promise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.privacy-promise:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(11, 95, 255, 0.12);
  transform: translateY(-6px);
}

.privacy-promise:hover::before {
  transform: scaleX(1);
}

.privacy-promise__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e6edff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.privacy-promise:hover .privacy-promise__icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  transform: scale(1.1) rotate(-5deg);
}

.privacy-promise__icon svg {
  color: var(--color-primary);
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
  transition: color 0.3s ease;
}

.privacy-promise:hover .privacy-promise__icon svg {
  color: white;
}

.privacy-promise__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.privacy-promise__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   Testimonials Scrolling Section
   ============================================ */

.section--testimonials {
  overflow: hidden;
  padding-bottom: 4rem;
}

.section--testimonials .container {
  margin-bottom: 2rem;
}

.testimonials-scroll {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(90deg, #ffffff 0%, transparent 5%, transparent 95%, #ffffff 100%);
  padding: 2rem 0;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  animation: scrollTestimonials 30s linear infinite;
  will-change: transform;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  min-width: 400px;
  max-width: 400px;
  background: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.testimonial-card__quote {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e6edff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.testimonial-card__quote svg {
  color: var(--color-primary);
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-card__author {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .trust-banner {
    padding: 1.5rem;
  }
  
  .trust-badges-inline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .trust-badge__circle {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }
  
  .trust-badge__circle svg {
    width: 28px;
    height: 28px;
  }
  
  .trust-badge-inline strong {
    font-size: 0.875rem;
  }
  
  .trust-badge-inline p {
    font-size: 0.8125rem;
  }

  /* Privacy Section - Mobile */
  .privacy-header {
    margin-bottom: 2rem;
  }
  
  .privacy-header__badge {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
  }
  
  .privacy-header__badge svg {
    width: 32px;
    height: 32px;
  }
  
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .privacy-promise {
    padding: 1.5rem;
  }
  
  .privacy-promise__icon {
    width: 48px;
    height: 48px;
  }
  
  .privacy-promise__icon svg {
    width: 24px;
    height: 24px;
  }
  
  .privacy-promise__title {
    font-size: 1rem;
  }
  
  .privacy-promise__text {
    font-size: 0.875rem;
  }

  /* Testimonials - Mobile */
  .testimonial-card {
    min-width: 300px;
    max-width: 300px;
    padding: 1.5rem;
  }
  
  .testimonial-card__quote {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
  }
  
  .testimonial-card__quote svg {
    width: 20px;
    height: 20px;
  }
  
  .testimonial-card__text {
    font-size: 0.9375rem;
  }
  
  .testimonial-card__author {
    font-size: 0.8125rem;
  }
}


/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  background: var(--color-surface);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.breadcrumbs__item a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs__item a:hover {
  color: var(--color-primary);
}

.breadcrumbs__item a svg {
  flex-shrink: 0;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--color-text-muted);
}

.breadcrumbs__item--active {
  color: var(--color-text);
  font-weight: 500;
}


/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 95, 255, 0.3);
}

.back-to-top:active {
  transform: translateY(-1px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

[data-theme="dark"] .back-to-top:hover {
  box-shadow: 0 8px 20px rgba(77, 138, 255, 0.3);
}


/* ============================================
   FORM MESSAGES (Success/Error)
   ============================================ */
.form-message {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.form-message strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.form-message p {
  font-size: 0.875rem;
  margin: 0;
}

.form-message a {
  color: inherit;
  text-decoration: underline;
}

.form-message--success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

[data-theme="dark"] .form-message--success {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .form-message--error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
}


/* ============================================
   BUTTON LOADING STATE
   ============================================ */
.btn {
  position: relative;
}

.btn__text,
.btn__loader {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn.loading .btn__text {
  display: none;
}

.btn.loading .btn__loader {
  display: inline-flex !important;
}

.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/* ============================================
   SCROLL ANIMATIONS (Micro-interactions)
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animations for groups */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }


/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
  .breadcrumbs {
    padding: 0.75rem 0;
  }

  .breadcrumbs__item {
    font-size: 0.8125rem;
  }

  .back-to-top {
    bottom: 80px;
    right: 1rem;
    width: 44px;
    height: 44px;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }

  .form-message {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
  }

  .form-message svg {
    width: 18px;
    height: 18px;
  }
}


