/* --- CSS VARIABLES & THEMING --- */
:root {
  /* Brand Colors from Guidelines */
  --primary: #00A3E4;
  --primary-hover: #008cc4;
  --secondary: #1D3557;
  --bg-main: #FFFFFF;
  --bg-theme: #F5F5F5;
  --bg-accent: #F1F4F9;

  /* Text Colors */
  --text-heading: #1D3557;
  --text-body: #333333;
  --text-muted: #6b7280;

  /* UI Elements */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --box-shadow-sm: 0 4px 6px rgba(29, 53, 87, 0.05);
  --box-shadow-lg: 0 20px 40px rgba(29, 53, 87, 0.1);
  --box-shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);

  /* Fonts */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

/* --- RESET & GLOBAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

.icon {
  vertical-align: middle;
}

.highlight {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.py-lg {
  padding: 80px 0;
}

.bg-theme {
  background-color: var(--bg-theme);
}

.bg-accent {
  background-color: var(--bg-accent);
}

.mt-4 {
  margin-top: 24px;
}

.full-width {
  grid-column: 1 / -1;
}

.flex-grow {
  flex-grow: 1;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 20px 24px;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

/* Solid state after scroll (added by JS) */
.navbar.scrolled {
  background: rgba(11, 31, 56, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 12px 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
    gap: 32px;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 600;
  }

  .nav-links a:hover {
    color: var(--primary);
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
}

.navbar-dark .nav-contact {
  color: #fff;
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.875rem;
  border-radius: 50px;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 60px;
  /* top padding accounts for fixed transparent navbar */
  overflow: hidden;
  background-color: var(--bg-accent);
}

.hero-dark {
  background-color: #0b1f38;
  background-image:
    linear-gradient(135deg, #0b1f38 0%, #112845 40%, #0d2540 70%, #091929 100%);
  color: #fff;
  isolation: isolate;
}

/* --- Dot grid overlay --- */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 163, 228, 0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* --- Glowing orbs --- */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  z-index: 2;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 163, 228, 0.22) 0%, transparent 70%);
  top: -120px;
  right: 5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(29, 53, 87, 0.8) 0%, rgba(0, 100, 180, 0.15) 60%, transparent 100%);
  bottom: -80px;
  left: 10%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 163, 228, 0.12) 0%, transparent 70%);
  top: 30%;
  left: 40%;
  animation-delay: -5s;
  animation-duration: 11s;
}

@keyframes orbPulse {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.12) translate(20px, -15px);
    opacity: 1;
  }

  100% {
    transform: scale(0.95) translate(-10px, 10px);
    opacity: 0.8;
  }
}

/* --- Decorative rings --- */
.hero-bg-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  animation: ringExpand 12s ease-in-out infinite alternate;
  box-shadow: 0 0 60px rgba(0, 163, 228, 0.15), inset 0 0 60px rgba(0, 163, 228, 0.1);
}

.hero-ring-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -120px;
  animation-delay: 0s;
}

.hero-ring-2 {
  width: 380px;
  height: 380px;
  bottom: -40px;
  left: -100px;
  animation-delay: -4s;
  animation-duration: 9s;
}

@keyframes ringExpand {
  from {
    transform: scale(1) rotate(0deg);
    opacity: 0.6;
  }

  to {
    transform: scale(1.15) rotate(15deg);
    opacity: 1;
  }
}


.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 100px;
  align-items: center;
}

/* Hero Typography & Trust */
.trust-badge-top-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 163, 228, 0.2);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 163, 228, 0.3);
}

.hero-headline {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-dark .hero-headline {
  color: #fff;
}

.hero-dark .hero-subheadline {
  color: rgba(255, 255, 255, 0.8);
}

.hero-subheadline {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.6;
}

/* New Trust Box */
.hero-trust-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-trust-left,
.hero-trust-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-trust-right {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  margin-left: -10px;
  background-size: cover;
}

.avatar:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
}

.trust-text strong {
  color: #fff;
  font-size: 0.85rem;
}

.stars-blue {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 2px;
}

/* Mini Benefits */
.hero-mini-benefits {
  display: flex;
  gap: 24px;
  max-width: 480px;
}

.mini-benefit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.mini-text {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

.mini-text strong {
  color: #fff;
  font-size: 0.85rem;
}

/* --- CLEAN FORM (White Background) --- */
.hero-form-wrapper {
  position: relative;
}

.form-container-clean {
  background: var(--bg-main);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: var(--box-shadow-lg);
  color: var(--text-body);
  position: relative;
  overflow: hidden;
}

.progress-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--primary);
  width: 33%;
  transition: width 0.4s ease;
}

.step-header-clean {
  margin-bottom: 24px;
}

.step-header-clean h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.step-header-clean p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-step {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary);
  font-family: var(--font-heading);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: var(--border-radius-sm);
  background: #f9fafb;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  transition: all 0.3s ease;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 163, 228, 0.1);
}

/* Input with icon */
.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper .input-icon {
  position: absolute;
  left: 14px;
  color: var(--primary);
  pointer-events: none;
  flex-shrink: 0;
  z-index: 2;
}

.input-icon-wrapper input,
.input-icon-wrapper select {
  padding-left: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-muted {
  background: #9ca3af;
  color: #fff;
}

.btn-muted:hover {
  background: #8b919d;
}

.btn-secondary {
  background: var(--bg-theme);
  color: var(--secondary);
}

.btn-secondary:hover {
  background: #e5e5e5;
}

.button-group {
  display: flex;
  gap: 16px;
}

.risk-reduction {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.risk-reduction svg {
  width: 20px;
  /* Make icon larger */
  height: 20px;
}

/* File Upload Custom */
.file-upload-wrapper {
  position: relative;
  background: var(--bg-theme);
  border: 2px dashed #d1d5db;
  border-radius: var(--border-radius-sm);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
  border-color: var(--primary);
  background: rgba(0, 163, 228, 0.02);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  pointer-events: none;
}

.file-upload-custom svg {
  color: var(--primary);
}

.file-names {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 700;
  word-break: break-all;
}

/* --- STEPS SECTION --- */
.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--bg-main);
  padding: 40px 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-lg);
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin: 0 auto 24px auto;
  box-shadow: 0 4px 14px rgba(0, 163, 228, 0.3);
}

.step-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- REASONS GRID --- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.reason-item {
  display: flex;
  gap: 20px;
  background: var(--bg-accent);
  padding: 24px;
  border-radius: var(--border-radius);
}

.reason-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.reason-content h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.reason-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- SCREENSHOT SECTIONS --- */
/* Section 1: Problem vs Solution */
.bg-light-blue {
  background-color: #f4f9fb;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.problem-card {
  padding: 40px;
  border-radius: 12px;
}

.problem-card.old-way {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.problem-card.new-way {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 10px 30px rgba(29, 53, 87, 0.15);
}

.problem-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.125rem;
  margin-bottom: 24px;
  font-weight: 700;
}

.problem-card.new-way .problem-card-title {
  color: #fff;
}

.icon-red-cross {
  color: #e53e3e;
  background: #fed7d7;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.icon-blue-check {
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.problem-list {
  list-style: none;
}

.problem-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.problem-list.red-list li {
  color: var(--text-muted);
}

.problem-list.red-list li::before {
  content: "⊗";
  color: #e53e3e;
  font-weight: bold;
  font-size: 1.2rem;
}

.problem-list.blue-list li {
  color: rgba(255, 255, 255, 0.9);
}

.problem-list.blue-list li::before {
  content: "✓";
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
}

/* Section 2: Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.process-step {
  text-align: center;
}

.process-icon-wrapper {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(29, 53, 87, 0.08);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--primary);
}

.process-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Section 3: Testimonials Stack */
.testimonial-main-title {
  font-size: 3rem;
  font-style: italic;
  letter-spacing: -1px;
}

.testimonials-wrapper {
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testi-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  gap: 32px;
  align-items: center;
}

.testi-img {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.testi-content {
  flex-grow: 1;
}

.testi-content .stars-blue {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #f59e0b;
  letter-spacing: 2px;
}

.testi-content h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.testi-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
}

.testi-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
}

.testi-link {
  font-weight: 700;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Section 4: Features Grid */
.fb-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.fb-left h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.fb-left p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.fb-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  background-image: url('img/1737718182779610356253183064245-scaled-1.webp');
  background-size: cover;
  background-position: center;
}

.fb-quote {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 24px 24px;
  background: linear-gradient(to top, rgba(29, 53, 87, 0.9) 0%, transparent 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.fb-right-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card-small {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e8eef4;
  box-shadow: 0 2px 8px rgba(29, 53, 87, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card-small:hover {
  box-shadow: 0 8px 24px rgba(29, 53, 87, 0.1);
}

.fc-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 163, 228, 0.1);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card-small h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.feature-card-small p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.fc-highlight {
  color: var(--primary);
  font-weight: 600;
}

/* Section 5: FAQ Dark */
.faq-dark-section {
  background: var(--secondary);
  padding: 80px 0;
}

.faq-grid {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card-dark {
  background: #25394d;
  border-radius: 8px;
  padding: 24px;
}

.faq-card-dark h4 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1rem;
}

.faq-card-dark p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 992px) {

  .problem-grid,
  .fb-main-grid,
  .fb-right-grid {
    grid-template-columns: 1fr;
  }

  .testi-card {
    flex-direction: column;
    text-align: center;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FOOTER --- */
.footer {
  background: #0b1f38;
  color: rgba(255, 255, 255, 0.6);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 40px;
  margin-bottom: 24px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-made-with {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.4);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-section {
    padding-top: 40px;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .input-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 24px;
  }

  .nav-contact {
    font-size: 0;
  }

  /* Hide text, keep icon */
  .footer-content {
    flex-direction: column;
  }
}

/* =====================================================
   PREMIUM ANIMATION SYSTEM
===================================================== */

/* --- Keyframes --- */
@keyframes float {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-10px);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 163, 228, 0.35);
  }

  50% {
    box-shadow: 0 0 0 14px rgba(0, 163, 228, 0);
  }
}

@keyframes rotateIcon {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* --- Scroll Reveal Base State ---
   Only hidden when JS has loaded (html.js-loaded).
   Without JS, content stays visible as fallback. --- */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-loaded .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero entrance animations --- */
.hero-content .trust-badge-top-dark {
  animation: fadeSlideUp 0.7s ease both;
  animation-delay: 0.1s;
}

.hero-headline {
  animation: fadeSlideUp 0.75s ease both;
  animation-delay: 0.25s;
}

.hero-subheadline {
  animation: fadeSlideUp 0.75s ease both;
  animation-delay: 0.4s;
}

.hero-trust-box {
  animation: fadeSlideUp 0.75s ease both;
  animation-delay: 0.55s;
}

.form-container {
  animation: fadeSlideLeft 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.35s;
}

/* --- Typing cursor --- */
.hero-headline .highlight::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: var(--primary);
  animation: cursorBlink 0.9s step-end infinite;
}

/* --- CTA Button glow pulse --- */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 150%;
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(0, 163, 228, 0.4);
}

/* --- Floating process icons --- */
.process-icon-wrapper {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-icon-wrapper:hover {
  box-shadow: 0 16px 36px rgba(0, 163, 228, 0.2);
}

/* --- Card hover lift (base, JS adds 3D tilt) --- */
.feature-card-small,
.testi-card,
.problem-card {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  will-change: transform;
}

/* --- Navbar smooth transition --- */
.navbar {
  transition: box-shadow 0.4s ease;
}

/* --- FAQ card dark hover --- */
.faq-card-dark {
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-card-dark:hover {
  transform: translateX(6px);
  background: #2d4460;
}

/* --- Stats pulse (for counters) --- */
[data-target] {
  display: inline-block;
  transition: color 0.3s ease;
}

/* --- Hero decorative blobs smooth movement --- */
.hero-decor {
  transition: transform 0.4s ease;
  will-change: transform;
}

/* Section divider shimmer line removed */

/* --- NEW PROCESS GRID (IMAGE BASED) --- */
.new-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.new-process-card {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.npc-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1 / 1;
}

.npc-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.npc-floating-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 163, 228, 0.4);
  backdrop-filter: blur(5px);
}

.npc-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.npc-badge {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.npc-title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--secondary);
}

.npc-desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- LEGAL PAGES --- */
.legal-page {
  max-width: 800px;
  margin: 120px auto 40px;
  padding: 0 20px;
}

.legal-page h1 {
  font-family: var(--font-heading);
  color: var(--secondary);
  margin-bottom: 24px;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--secondary);
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-page h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--secondary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-page h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--secondary);
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-page p,
.legal-page ul {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

.legal-page li {
  margin-bottom: 8px;
  margin-left: 20px;
}

.legal-page a {
  color: var(--primary);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

/* =============================================================
   MOBILE RESPONSIVE STYLES
   ============================================================= */

@media (max-width: 991px) {

  /* Hide phone number on tablet */
  .nav-contact {
    display: none;
  }
}

@media (max-width: 768px) {

  /* --- NAVBAR --- */
  .navbar {
    padding: 12px 16px;
  }

  .navbar.scrolled {
    padding: 10px 16px;
  }

  .nav-container {
    gap: 20px;
    flex-wrap: nowrap;
  }

  .logo img {
    height: 22px;
    max-width: 100%;
    width: auto;
  }

  .nav-contact {
    display: none;
  }

  .nav-actions {
    gap: 0;
  }

  .btn-small {
    padding: 8px 12px;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* --- HERO --- */
  .hero-section {
    padding: 100px 16px 48px;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-headline {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }

  .hero-subheadline {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  /* Trust box: stack vertically on mobile */
  .hero-trust-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 100%;
  }

  .hero-trust-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 16px;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  /* Mini benefits: force 3 columns always */
  .hero-mini-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 100%;
  }

  .mini-benefit {
    min-width: 0;
  }

  /* --- FORM --- */
  .form-container-clean {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .input-grid {
    grid-template-columns: 1fr;
  }

  /* --- GENERAL SECTIONS --- */
  .py-lg {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .section-header {
    margin-bottom: 24px;
  }

  /* --- PROBLEM GRID --- */
  .problem-grid {
    grid-template-columns: 1fr;
  }

  /* --- PROCESS STEPS --- */
  .new-process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* --- TESTIMONIALS --- */
  .testimonials-wrapper {
    flex-direction: column;
  }

  .testi-card {
    width: 100%;
  }

  /* --- FEATURES / VORTEILE --- */
  .fb-main-grid {
    grid-template-columns: 1fr;
  }

  .fb-right-grid {
    grid-template-columns: 1fr;
  }

  /* --- FAQ --- */
  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* --- FOOTER --- */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.9rem;
  }

  /* Still force 3 columns on tiny screens */
  .hero-mini-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .mini-benefit {
    min-width: 0;
  }

  .mini-text {
    font-size: 0.65rem;
    /* Slightly smaller to fit */
  }

  .mini-text strong {
    font-size: 0.75rem;
  }

  .hero-trust-box {
    padding: 14px 16px;
  }
}