/* ==========================================================================
   ROAS Solutions - Website as a Service (WaaS) Design System & Styles
   Colors: Navy (#2e3192), Red (#ed1c24), Blue (#1b75bc), Light Blue (#00aeef)
   ========================================================================== */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Color Palette */
  --color-navy: #2e3192;
  --color-red: #ed1c24;
  --color-blue: #1b75bc;
  --color-light-blue: #00aeef;

  /* Neutral Color Palette */
  --color-dark: #0f1026;
  --color-dark-accent: #17193b;
  --color-white: #ffffff;
  --color-light-bg: #f5fbff;
  --color-grey-100: #f1f3f9;
  --color-grey-200: #e2e8f5;
  --color-text: #2d3748;
  --color-text-muted: #6b7280;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  --grad-accent: linear-gradient(135deg, var(--color-red) 0%, #ff5252 100%);
  --grad-light: linear-gradient(180deg, var(--color-white) 0%, var(--color-light-bg) 100%);
  --grad-dark: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-accent) 100%);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-width: 1320px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(46, 49, 146, 0.08), 0 4px 6px -2px rgba(46, 49, 146, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(46, 49, 146, 0.12), 0 10px 10px -5px rgba(46, 49, 146, 0.06);
  --shadow-glow: 0 0 30px rgba(0, 174, 239, 0.25);
  --shadow-red-glow: 0 0 20px rgba(237, 28, 36, 0.3);
}

/* ==========================================================================
   1. Reset & Global Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
}

/* Only the root element may own the scroll container. Setting overflow-x on
   BOTH html and body makes body a second scroll box, which renders a duplicate
   vertical scrollbar. `clip` on body still contains stray wide children
   without creating a scroller. */
html {
  overflow-x: hidden;
}

body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 800;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

li {
  list-style: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-blue);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-navy);
}

/* ==========================================================================
   2. Layout & Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 2rem 0;
  position: relative;
}

.section-light {
  background: var(--color-light-bg);
}

.section-dark {
  background: var(--grad-dark);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.text-center {
  text-align: center;
}

.text-red {
  color: var(--color-red) !important;
}

.text-blue {
  color: var(--color-blue) !important;
}

.text-light-blue {
  color: var(--color-light-blue) !important;
}

/* Subtitles above H2 */
.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--color-red);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  color: var(--color-text-muted);
  font-size: 1.15rem;
}

.section-dark .section-desc {
  color: var(--color-grey-200);
}

/* Custom Grid Utility */
/* A `1fr` track defaults to min-width:auto, so one long unbreakable word (Dutch
   compounds especially) blows the column past the viewport. These two rules are
   the standard guard and are why the layout survives 320px. */
.grid-2>*,
.grid-3>*,
.grid-4>*,
.pricing-wrapper>*,
.beats-grid>* {
  min-width: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
.section-title,
.stat-desc {
  overflow-wrap: break-word;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ==========================================================================
   3. Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  font-family: var(--font-heading);
  gap: 0.5rem;
  /* Explicit, because <button> does not inherit line-height from body but <a>
     does. Without this the button CTAs render 57px tall and the link CTAs
     62px, so buttons sitting side by side never line up. */
  line-height: 1.4;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 0%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: var(--transition-smooth);
  opacity: 0;
  z-index: 1;
}

.btn:hover::after {
  height: 300%;
  opacity: 1;
}

.btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 10px 20px rgba(237, 28, 36, 0.25);
}

.btn-primary:hover {
  background-color: #d11219;
  /* Vibrant deeper red */
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(237, 28, 36, 0.4);
}

.btn-secondary {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 10px 20px rgba(46, 49, 146, 0.25);
}

.btn-secondary:hover {
  background-color: var(--color-blue);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(27, 117, 188, 0.4);
}

/* Hero "Check your site" CTA — red, and shifts colour on hover.
   Deliberately not .btn-primary: it sits directly under the primary red CTA,
   so the hover resolves to brand blue instead of a deeper red. That keeps the
   two buttons distinguishable and makes the hover unmistakable. */
.btn-audit {
  background-color: var(--color-red);
  color: var(--color-white);
  gap: 0.6rem;
  box-shadow: 0 10px 20px rgba(237, 28, 36, 0.25);
}

.btn-audit:hover,
.btn-audit:focus-visible {
  background-color: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 12px 24px rgba(27, 117, 188, 0.32);
  transform: translateY(-3px);
}

.btn-audit svg {
  flex-shrink: 0;
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
  box-shadow: none;
}

.btn-ghost:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-ghost-white {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
  box-shadow: none;
}

.btn-ghost-white:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-3px);
}

/* ==========================================================================
   4. Header & Navigation (Strictly aligned with screenshot layout)
   ========================================================================== */
.header-top {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.5rem 0;
  font-size: 0.8rem;
  font-weight: 500;
}

.header-top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-info {
  display: flex;
  gap: 1.5rem;
}

.header-top-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.header-top-socials {
  display: flex;
  gap: 1rem;
}

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-grey-100);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-link {
  display: block;
  width: 190px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-red);
  transition: var(--transition-smooth);
}

.nav-item:hover::after {
  width: 100%;
}

.header-btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mobile-drawer-extras {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-navy);
  margin: 5px 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.mobile-drawer-btn {
  margin-bottom: 0.5rem;
}

/* Breadcrumbs Section */
.breadcrumbs {
  background: var(--color-grey-100);
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumb-list {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb-separator {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.breadcrumb-active {
  color: var(--color-navy);
  font-weight: 600;
}

/* ==========================================================================
   5. Section 1: Hero
   ========================================================================== */
.hero-section {
  padding: 8rem 0;
  background: radial-gradient(circle at 90% 10%, rgba(237, 28, 36, 0.05) 0%, rgba(255, 255, 255, 1) 70%),
    radial-gradient(circle at 10% 90%, rgba(46, 49, 146, 0.04) 0%, rgba(255, 255, 255, 1) 70%);
  overflow: hidden;
}

.hero-title {
  font-size: 3.75rem;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Three CTAs no longer fit the hero column on one line. Without these the
   labels break mid-phrase ("Scan / jouw / site") and each button inflates to
   two or three lines tall. Labels stay on one line and the row wraps instead,
   so every button keeps a single consistent pill height. */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
}

.hero-ctas .btn {
  white-space: nowrap;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  flex: 0 0 auto;
}

.hero-ctas .btn span {
  white-space: nowrap;
}

.hero-visual-container {
  position: relative;
}

.hero-visual-card {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
}

.hero-visual-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 30px 45px rgba(46, 49, 146, 0.15);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--color-white);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.badge-1 {
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 10%;
  right: -5%;
  animation-delay: 2s;
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text p {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-navy);
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ==========================================================================
   6. Section 2: The Problem (Comparison Table & Stats Callout)
   ========================================================================== */
.problem-stats-box {
  background: var(--color-white);
  border-left: 5px solid var(--color-red);
  padding: 2.5rem;
  border-radius: 0 16px 16px 0;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-red);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.stat-quote {
  font-style: italic;
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-grey-200);
  padding-left: 1rem;
  margin-top: 1.5rem;
  position: relative;
}

.stat-quote::before {
  content: '“';
  font-size: 3rem;
  position: absolute;
  top: -1.5rem;
  left: -0.25rem;
  color: rgba(46, 49, 146, 0.08);
  font-family: Georgia, serif;
}

#problem .grid-2 {
  grid-template-columns: 0.85fr 1.15fr; /* Gives the comparison card more width */
}

.problem-compare-card {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2rem; /* Reduced padding to give columns more internal space */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem; /* Reduced gap */
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.compare-col {
  display: flex;
  flex-direction: column;
}

.compare-header {
  font-size: 1.35rem; /* Slightly smaller to ensure single-line fit */
  font-weight: 800;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 4.5rem;
}

.compare-header svg {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.compare-list svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.divider-line {
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background-color: var(--color-grey-200);
}

/* ==========================================================================
   7. Section 3: How it Works (Connected SVG animated timeline)
   ========================================================================== */
.timeline-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
  margin-top: 3rem;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 4px;
  background-color: var(--color-grey-200);
  z-index: 1;
}

.timeline-progress-bar {
  position: absolute;
  top: 50%;
  left: 15%;
  width: 0%;
  height: 4px;
  background: var(--color-blue);
  z-index: 2;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  z-index: 3;
  transition: var(--transition-smooth);
  border: 1px solid var(--color-grey-100);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue);
}

.timeline-node {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--color-light-bg);
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
  margin: 0 auto 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 4;
  transition: var(--transition-smooth);
}

.timeline-card:hover .timeline-node {
  background: var(--color-blue);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
}

.timeline-card:hover .timeline-node svg {
  fill: var(--color-white);
  stroke: var(--color-white);
}

.timeline-step {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-red-glow);
}

.timeline-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.timeline-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.timeline-footer-note {
  max-width: 800px;
  margin: 4rem auto 0 auto;
  text-align: center;
  font-weight: 600;
  color: var(--color-navy);
  background: linear-gradient(135deg, rgba(0, 129, 204, 0.04), rgba(0, 129, 204, 0.08));
  padding: 1.5rem 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 129, 204, 0.15);
  box-shadow: 0 10px 30px rgba(0, 129, 204, 0.05);
  line-height: 1.6;
}

/* ==========================================================================
   8. Section 4: What's Included (Interactive Toggle Tabs & Checklists)
   ========================================================================== */
.tabs-control-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.tabs-controls {
  background: var(--color-grey-100);
  padding: 0.5rem;
  border-radius: 50px;
  display: inline-flex;
  gap: 0.5rem;
  max-width: 100%;
}

/* Two pill tabs at 2rem side padding cannot fit a 320px screen, and flex items
   will not shrink below min-content — so stack them instead. */
@media (max-width: 400px) {
  .tabs-controls {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 24px;
  }

  .tab-btn {
    padding: 0.8rem 1rem;
    width: 100%;
  }
}

.tab-btn {
  padding: 0.8rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
  animation: scaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-content.active {
  display: block;
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.inclusion-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-box {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-grey-200);
}

.feature-box-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(237, 28, 36, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-box-desc h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-box-desc p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   9. Section 5: Pricing (Elevated Recommended Center Card & Scarcity)
   ========================================================================== */
.pricing-wrapper {
  margin-top: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-white);
  border-radius: 20px;
  border: 1px solid var(--color-grey-200);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-recommended {
  border: 3px solid var(--color-navy);
  box-shadow: var(--shadow-md);
  transform: scale(1.04);
  z-index: 5;
}

.pricing-card-recommended:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.recommended-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-accent);
  color: var(--color-white);
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-red-glow);
}

.pricing-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pricing-plan-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  /* min-height, not height: this reserves the space that keeps the three price
     rows aligned, but a fixed 40px lets the longer Dutch copy overflow into the
     "Vanaf" label once it wraps to a third line. */
  min-height: 40px;
}

.price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 2rem;
}

.price-currency {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  font-family: var(--font-heading);
}

.price-val {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--color-navy);
  font-family: var(--font-heading);
  line-height: 1;
}

.price-period {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-left: 0.25rem;
}

.pricing-features-list {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.pricing-features-list svg {
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* Scarcity Banner */
.scarcity-banner {
  background: rgba(237, 28, 36, 0.06);
  border: 1px dashed var(--color-red);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  max-width: 760px;
  margin: 4rem auto 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.scarcity-banner:hover {
  transform: scale(1.02);
}

.scarcity-indicator {
  width: 12px;
  height: 12px;
  background-color: var(--color-red);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 0.4rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
}

.scarcity-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.scarcity-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   10. Section 6: Why This Beats DIY (Grid checklist crossing out pain points)
   ========================================================================== */
.diy-beats-card {
  background: #f5fbff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 2.5rem; /* Slightly reduced padding to offset the taller vertical layout */
  transition: var(--transition-smooth);
}

.diy-beats-card:hover {
  box-shadow: var(--shadow-lg);
}

.beats-headline-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.beats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.beats-item {
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-left: 4px solid var(--color-red);
  transition: var(--transition-smooth);
}

.beats-item:hover {
  transform: translateY(-2px);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.beats-item-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.beats-item-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-navy);
}

.beats-item-text p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   11. Portfolio Showcase (Zoom Hover Showcase)
   ========================================================================== */
.portfolio-grid {
  margin-top: 1rem;
}

.portfolio-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-grey-100);
  transition: var(--transition-smooth);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  /* Close to the 2:1 of a desktop screenshot, so the site being shown is not
     cropped down to an unreadable strip. */
  aspect-ratio: 16 / 10;
}

/* <picture> is inline by default, which leaves the image's height: 100% with
   nothing to resolve against. */
.portfolio-img-wrapper picture {
  display: block;
  width: 100%;
  height: 100%;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 49, 146, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 2rem;
  text-align: center;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-badge {
  background: var(--color-red);
  color: var(--color-white);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.portfolio-overlay h4 {
  color: var(--color-white);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  color: var(--color-grey-200);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Portfolio slider (9 live projects)
   ========================================================================== */
.portfolio-slider {
  margin-top: 2rem;
}

.portfolio-viewport {
  overflow: hidden;
}

.portfolio-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* 3 per view on desktop; the gap is shared between the visible cards. */
.portfolio-track>.portfolio-card {
  flex: 0 0 calc((100% - 4rem) / 3);
  min-width: 0;
}

@media (max-width: 1024px) {
  .portfolio-track>.portfolio-card {
    flex-basis: calc((100% - 2rem) / 2);
  }
}

@media (max-width: 768px) {
  .portfolio-track {
    gap: 1.25rem;
  }

  .portfolio-track>.portfolio-card {
    flex-basis: 100%;
  }
}

.portfolio-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.p-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--color-grey-200);
  background: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.p-arrow:hover:not(:disabled) {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  transform: scale(1.08);
}

.p-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.portfolio-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  /* One dot per card means 9 dots on mobile. Let them wrap inside their own
     box and shrink, so the arrows never get pushed off-screen. */
  flex-wrap: wrap;
  min-width: 0;
}

@media (max-width: 480px) {
  .portfolio-nav {
    gap: 0.5rem;
  }

  .p-arrow {
    width: 40px;
    height: 40px;
  }

  .p-dot {
    width: 18px;
    height: 18px;
  }

  .p-dot::after {
    width: 7px;
    height: 7px;
  }

  .p-dot.is-active::after {
    width: 18px;
  }
}

.p-dot {
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.p-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-grey-200);
  transition: var(--transition-smooth);
}

.p-dot.is-active::after {
  background: var(--color-red);
  width: 26px;
  border-radius: 50px;
}

/* The domain replaces the old "Live Client Project" label. */
.portfolio-url {
  color: var(--color-blue) !important;
  font-weight: 600;
  word-break: break-all;
}

/* Stacked rather than a space-between row: real project names vary in length,
   and a single long one would otherwise collide with the label or wrap only on
   that one card. */
.portfolio-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  border-top: 1px solid var(--color-grey-100);
}

.portfolio-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.portfolio-info span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* ==========================================================================
   12. Testimonials (Cards with ratings & accents)
   ========================================================================== */
.testimonials-grid {
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Testimonial slider (5 reviews, one at a time)
   ========================================================================== */
.testimonials-slider-box {
  width: 100%;
}

/* Only the active review is in flow; the rest are removed so the card never
   stacks. min-height keeps the box from jumping between short/long quotes. */
.testimonials-slider-box .testimonial-card {
  display: none;
}

.testimonials-slider-box .testimonial-card.is-active {
  display: flex;
  animation: reviewFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  min-height: 340px;
}

@keyframes reviewFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.t-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.t-arrow:hover,
.t-arrow:focus-visible {
  background: var(--color-white);
  transform: scale(1.08);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.t-dot {
  /* 10px visual dot, 28px tap target via transparent padding. */
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}

.t-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: var(--transition-smooth);
}

.t-dot.is-active::after {
  background: var(--color-white);
  width: 26px;
  border-radius: 50px;
}

.testimonial-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-quote-icon {
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  color: rgba(46, 49, 146, 0.05);
  font-size: 5rem;
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 1;
  user-select: none;
}

.stars-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--color-grey-100);
  padding-top: 1.25rem;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-grey-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-navy);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.user-details h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-navy);
}

.user-details p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   13. FAQ Accordion (Smooth Expand & Collapse)
   ========================================================================== */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--color-grey-200);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-smooth);
}

.faq-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-navy);
  transition: var(--transition-smooth);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: var(--color-light-blue);
}

.faq-icon svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-md);
}

.faq-item.open .faq-header h3 {
  color: var(--color-blue);
}

.faq-item.open .faq-icon {
  background: var(--color-navy);
  color: var(--color-white);
}

.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
  padding: 0 2rem 2rem 2rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   14. Final CTA (Calendly Integration Panel)
   ========================================================================== */
/* ==========================================================================
   14. Seamless Pre-Footer CTA (Frameless Full-Width Integration)
   ========================================================================== */
.final-cta-section {
  background: #090e1a;
  /* matches luxury dark footer */
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle background glowing radial light to give it award-winning motion depth */
.final-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.08) 0%, rgba(237, 28, 36, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.final-cta-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.final-cta-content-wrapper h2 {
  color: var(--color-white) !important;
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  font-family: var(--font-heading);
  letter-spacing: -0.8px;
}

.final-cta-content-wrapper p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75) !important;
  line-height: 1.65;
  margin-bottom: 3rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.final-cta-action-btn {
  font-size: 1.15rem !important;
  padding: 1.2rem 3rem !important;
  border-radius: 50px !important;
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(237, 28, 36, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-weight: 700 !important;
  font-family: var(--font-heading) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.50rem;
  cursor: pointer;
}

.final-cta-action-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px rgba(237, 28, 36, 0.55) !important;
  background: #ff2a33 !important;
}

.final-cta-tiers {
  display: flex;
  gap: 1rem;
}

.final-cta-tiers .btn-ghost-white {
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  font-size: 0.85rem !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-family: var(--font-heading) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
}

.final-cta-tiers .btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: var(--color-white) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px) !important;
}

.final-cta-trust-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta-trust-bar .trust-signal-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65) !important;
}

.final-cta-trust-bar .trust-signal-item svg {
  color: var(--color-red) !important;
  flex-shrink: 0;
}

/* Background organic waves - updated with glowing, soft translucent gradients */
.cta-wave-accent {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.15) 0%, rgba(237, 28, 36, 0) 75%) !important;
  filter: blur(15px);
  z-index: 1;
  pointer-events: none;
}

.wave-1 {
  top: -120px;
  left: -120px;
}

.wave-2 {
  bottom: -120px;
  right: -120px;
}

.final-cta-card * {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   15. Sticky bottom CTA bar (Mobile-only)
   ========================================================================== */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-grey-200);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 1.5rem;
  z-index: 999;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.sticky-bar-text {
  font-family: var(--font-heading);
  min-width: 0;
}

/* At 320px the longer Dutch CTA label ("Boek Strategiesessie") spills out of
   the button, so tighten the bar rather than clip the text. */
@media (max-width: 360px) {
  .sticky-bottom-bar {
    padding: 0.65rem 0.85rem;
    gap: 0.5rem;
  }

  .sticky-bottom-bar .btn {
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  .sticky-bar-desc {
    display: none;
  }
}

.sticky-bar-title {
  font-weight: 800;
  color: var(--color-navy);
  font-size: 0.95rem;
}

.sticky-bar-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.sticky-bottom-bar .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Pricing Calculator
   ========================================================================== */
#pricing-calculator {
  padding: 5rem 0;
}
.calculator-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}
.calc-step {
  display: none;
  animation: fadeIn 0.4s ease-out;
}
.calc-step.active {
  display: block;
}
.calc-progress-container {
  height: 6px;
  background: var(--color-grey-200);
  border-radius: 3px;
  margin-bottom: 2rem;
  overflow: hidden;
}
.calc-progress-bar {
  height: 100%;
  background: var(--color-blue);
  width: 12.5%;
  transition: width 0.4s ease;
}
.calc-question {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-navy);
  text-align: center;
}
.calc-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.calc-option {
  display: block;
  position: relative;
  cursor: pointer;
}
.calc-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.calc-option-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  text-align: center;
  border: 2px solid var(--color-grey-200);
  border-radius: 12px;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition-smooth);
  background: var(--color-white);
  height: 100%;
}
.calc-option:hover .calc-option-text {
  border-color: var(--color-light-blue);
  background: rgba(0, 174, 239, 0.05);
}
.calc-option input:checked ~ .calc-option-text {
  border-color: var(--color-blue);
  background: rgba(27, 117, 188, 0.05);
  color: var(--color-navy);
  box-shadow: 0 4px 10px rgba(27, 117, 188, 0.1);
}
.calc-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.calc-result-box {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--grad-primary);
  color: var(--color-white);
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.5s ease-out;
}
.calc-result-box h3 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.calc-result-box .price-val {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .calc-options {
    grid-template-columns: 1fr;
  }
  .calculator-card {
    padding: 1.5rem;
  }
  .calc-question {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   16. Minimalist Footer
   ========================================================================== */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  width: 180px;
  margin-bottom: 1.5rem;
}

.footer-desc {
  color: var(--color-grey-200);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-red);
}

.footer-links li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-links li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 52%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--color-red);
  border-radius: 50%;
  background: transparent;
}

.footer-links a {
  color: var(--color-grey-200);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-red);
  padding-left: 3px;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--color-grey-200);
}

.footer-contact a {
  color: var(--color-grey-200);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--color-red);
}

.footer-contact svg {
  color: var(--color-red) !important;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--color-dark-accent);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   17. Interactive Calendly Modal Setup
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 16, 38, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--color-white);
  width: 90%;
  max-width: 900px;
  height: 90%;
  max-height: 700px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-grey-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--color-navy);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--color-red);
  color: var(--color-white);
  transform: rotate(90deg);
}

.modal-body-content {
  flex-grow: 1;
  height: 100%;
  width: 100%;
}

.modal-body-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Modal Fallback Form (If iFrame/Calendly unavailable) */
.modal-fallback-wrapper {
  padding: 3rem;
  overflow-y: auto;
  height: 100%;
}

.fallback-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--color-grey-200);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 10px rgba(27, 117, 188, 0.15);
}

/* ==========================================================================
   18. Scroll-Trigger Animation Classes & Premium Effects
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger reveals */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

.delay-7 {
  transition-delay: 0.7s;
}

.delay-8 {
  transition-delay: 0.8s;
}

/* Page Loading Header Slide Down */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.header {
  animation: slideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hero Graphic Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-visual-card {
  opacity: 1 !important;
  display: block !important;
}

/* Container to physically clip glow spheres at viewport edges */
.bg-blur-spheres-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Floating Gradient backdrop spheres for rich, animated aesthetic */
.bg-blur-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  animation: floatSphere 25s infinite alternate ease-in-out;
}

/* The hero badges are positioned with left/right: -5%. That only clears the
   viewport once the 1320px container starts getting real side margin, i.e.
   above ~1360px. Between there and the mobile breakpoint the badge hangs off
   the right edge, so pin both badges inside the container until then. */
@media (max-width: 1380px) {
  .badge-1 {
    left: 0;
  }

  .badge-2 {
    right: 0;
  }
}

.sphere-1 {
  width: 500px;
  height: 500px;
  background-color: var(--color-navy);
  top: 10%;
  left: -200px;
}

.sphere-2 {
  width: 600px;
  height: 600px;
  background-color: var(--color-red);
  top: 40%;
  right: -250px;
  animation-delay: -6s;
}

.sphere-3 {
  width: 450px;
  height: 450px;
  background-color: var(--color-light-blue);
  top: 75%;
  left: -150px;
  animation-delay: -12s;
}

@keyframes floatSphere {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(60px, 40px) scale(1.15);
  }

  100% {
    transform: translate(-30px, -60px) scale(0.9);
  }
}


/* Specific Custom Branding Adapters from client website */



.hero-visual-card {
  z-index: 2;
}

.hero-banner-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 1rem auto;
}

/* Soft-blue portrait band requested in the homepage review. Layered brand
   glows add depth without reducing text contrast or competing with the photo. */
.founder-highlight-section {
  padding: 2rem 0;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 24%, rgba(0, 174, 239, 0.12), transparent 30%),
    radial-gradient(circle at 82% 76%, rgba(46, 49, 146, 0.08), transparent 34%),
    #f5fbff;
}

.founder-highlight-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
  background-image: linear-gradient(rgba(27, 117, 188, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 117, 188, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
}

/* 2. Signature Interlocking Red-Blue Wave trust bar */
.interlocking-waves-section {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  min-height: 250px;
  position: relative;
  z-index: 1;
  background: transparent;
}

.interlocking-waves-section::before {
  display: none;
}

.wave-left-half {
  background: linear-gradient(135deg, #e61920, #b81419);
  color: var(--color-white);
  padding: 3rem 5rem 3rem 4rem;
  width: 42%;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 15px 35px rgba(230, 25, 32, 0.2);
}

.wave-left-half h2 {
  color: var(--color-white);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.15;
  margin: 0;
  font-family: var(--font-heading);
  text-align: right;
}

.wave-left-half h2 strong {
  font-weight: 800;
}

.wave-left-half p {
  display: none;
}

.wave-right-half {
  background: linear-gradient(135deg, #0081cc, #00639e);
  color: var(--color-white);
  padding: 3rem 4rem 3rem 5rem;
  width: 42%;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  box-shadow: 0 15px 35px rgba(0, 129, 204, 0.2);
}

.wave-right-half h3 {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.2;
  margin: 0;
}

.wave-right-half h3 strong {
  font-weight: 800;
}

.wave-right-half p {
  display: none;
}

.wave-middle-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--color-white);
  border: 8px solid var(--color-white);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  z-index: 10;
  overflow: hidden;
}

.wave-middle-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* 3. Interlocking Red-Blue Testimonials framework */
.testimonials-interlocking-waves>* {
  min-width: 0;
}

.testimonials-interlocking-waves {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
  position: relative;
  background: var(--color-light-bg);
}



.testimonials-left-wave-card {
  background: linear-gradient(135deg, #e61920, #c01318);
  color: var(--color-white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  /* Top-aligned, not centred. The card is stretched to match the taller
     testimonial card beside it, so centring left ~200px of dead space above
     the heading — exactly where the removed "SOCIAL PROOF" label used to sit.
     The title now starts in that position instead. */
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

.testimonials-left-wave-card h2 {
  color: var(--color-white);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 0;
}

.testimonials-right-wave-card {
  background: linear-gradient(135deg, #00aeef, #0085b8);
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-left: 6rem;
  z-index: 1;
}

.testimonials-right-wave-card .testimonials-slider-box {
  width: 100%;
  position: relative;
  z-index: 10;
}

.testimonials-right-wave-card .testimonial-card {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  margin: 0;
  border-radius: 20px;
}

/* 4. Steps colored footers from screenshot */
.timeline-card:nth-of-type(1) {
  border-bottom: 5px solid var(--color-red);
}

.timeline-card:nth-of-type(2) {
  border-bottom: 5px solid var(--color-blue);
}

.timeline-card:nth-of-type(3) {
  border-bottom: 5px solid var(--color-red);
}



/* Responsive fixes for curved brand elements */
@media (max-width: 991px) {
  /* This is a flex row, not a grid — it has to be stacked with
     flex-direction, and both halves released from their 42% width. */
  .interlocking-waves-section {
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
  }

  .interlocking-waves-section::before,
  .testimonials-interlocking-waves::before {
    display: none;
  }

  .wave-left-half,
  .wave-right-half {
    width: 100%;
    padding: 2.5rem 2rem;
    align-items: flex-start;
    text-align: left;
  }

  .wave-left-half h2 {
    font-size: 2rem;
  }

  .wave-right-half h3 {
    font-size: 1.75rem;
  }

  .wave-middle-avatar {
    display: none;
  }

  .testimonials-interlocking-waves {
    grid-template-columns: 1fr;
  }

  .testimonials-right-wave-card {
    padding-left: 3rem;
  }
}


/* ==========================================================================
   19. Responsive Media Queries
   ========================================================================== */

/* Tablet Viewports */
@media (max-width: 1024px) {
  /* Nav collapses into the hamburger drawer. No !important here: the drawer is
     opened by adding .active, which must be able to win. */
  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-grey-100);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem 1.25rem 2rem 1.25rem;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
    animation: drawerSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .nav-links.active .nav-item {
    font-size: 1.05rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-grey-100);
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-drawer-extras {
    display: block;
    margin-top: 0.5rem;
  }

  /* The desktop CTA is duplicated inside the drawer, so drop it from the bar. */
  .header-btn {
    display: none;
  }

  /* See the wider .badge-1 / .badge-2 correction below; kept here so the
     narrow breakpoints stay explicit. */
  .badge-1 {
    left: 0;
  }

  .badge-2 {
    right: 0;
  }

  h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .final-cta-content-wrapper h2 {
    font-size: 2.6rem;
  }

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

  .pricing-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 500px;
    margin: 2rem auto 0 auto;
  }

  .pricing-card-recommended {
    transform: none !important;
  }

  .timeline-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-line,
  .timeline-progress-bar {
    display: none;
  }

  .timeline-card {
    text-align: left;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
  }

  .timeline-node {
    margin: 0;
    flex-shrink: 0;
  }

  .diy-beats-card {
    padding: 2rem;
  }

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

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

  .footer-col-desc {
    grid-column: span 2;
  }
}

/* Mobile Viewports */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
    /* Space for sticky bottom bar */
  }

  .section {
    padding: 4.5rem 0;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .hero-section {
    padding: 5rem 0 3rem 0;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .floating-badge {
    display: none;
  }

  .nav-container {
    height: 70px;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .logo-link {
    width: 150px;
    flex-shrink: 0;
  }

  .logo-link img {
    width: 100%;
    height: auto;
  }

  .header-right-actions {
    gap: 0.5rem;
  }

  /* The problem section overrides .grid-2 with an ID selector, so the generic
     mobile collapse below never applies to it without matching specificity. */
  #problem .grid-2 {
    grid-template-columns: 1fr;
  }

  .problem-compare-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .divider-line {
    display: none;
  }

  .inclusion-features-grid {
    grid-template-columns: 1fr;
  }

  .feature-box {
    padding: 1.5rem;
  }

  .pricing-card {
    padding: 2.5rem 1.5rem;
  }

  .scarcity-banner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .portfolio-info {
    padding: 1.25rem 1rem;
  }

  .portfolio-info h3 {
    font-size: 1rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .faq-header {
    padding: 1.25rem 1rem;
  }

  .faq-content-inner {
    padding: 0 1rem 1.5rem 1rem;
  }

  .final-cta-section {
    padding: 4.5rem 0;
  }

  .final-cta-content-wrapper h2 {
    font-size: 2.2rem;
  }

  .final-cta-content-wrapper p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .final-cta-actions {
    gap: 1rem;
    margin-bottom: 2.5rem;
    width: 100%;
  }

  .final-cta-action-btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem !important;
    padding: 1.05rem 2rem !important;
  }

  .final-cta-tiers {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .final-cta-tiers .btn-ghost-white {
    width: 100%;
    text-align: center;
  }

  .final-cta-trust-bar {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .sticky-bottom-bar {
    display: flex;
  }

  /* Section 3: How It Works mobile overrides */
  .timeline-card {
    padding: 1.75rem 1.25rem;
  }

  .timeline-node {
    width: 70px !important;
    height: 70px !important;
  }

  .timeline-node svg {
    width: 28px !important;
    height: 28px !important;
  }

  .timeline-step {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.75rem !important;
    top: -4px !important;
    right: -4px !important;
  }

  .timeline-title {
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem;
  }

  .timeline-card p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

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

  .footer-col-desc {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }
}

/* The offer now follows the hero in the document itself, so the mobile-only
   flex-order override this used to need is gone. Just soften the seam. */
@media (max-width: 768px) {
  #pricing {
    padding-top: 2.5rem;
  }
}

/* Extra-Small Mobile Viewports (Samsung S8+, iPhones, etc.) */
@media (max-width: 480px) {
  /* Logo + two 44px flags + a 44px hamburger no longer fit a 320px bar, and
     the touch targets are the part that must not shrink. */
  .logo-link {
    width: 116px;
  }

  .header-right-actions {
    gap: 0.25rem;
  }

  .header-lang {
    gap: 0;
  }

  .timeline-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 2.25rem 1.5rem !important;
  }

  .timeline-node {
    margin: 0 auto 1.5rem auto !important;
  }
}

/* ==========================================================================
   20. AWARD-WINNING AGENCY MOTION DESIGN SYSTEM (OVERRIDES)
   ========================================================================== */

/* A. Premium Nav Link Custom Slide-Underbars */
.nav-links a {
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red) 0%, var(--color-blue) 100%);
  border-radius: 20px;
  transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover::after {
  width: 100%;
}

/* B. Stripe-style Premium Gradient Headlines */
.section-title {
  background: linear-gradient(135deg, var(--color-navy) 20%, var(--color-blue) 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

/* C. Sweeping Metallic Reflection Sweep for CTAs */
.btn-primary,
.btn-secondary {
  position: relative !important;
  overflow: hidden !important;
}

.btn-primary::before,
.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: none;
  pointer-events: none;
  z-index: 1;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
  animation: btnSweepShine 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes btnSweepShine {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}

/* D. 3D Hover lifts and zoom effect on Portfolio cards */
.portfolio-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-card:hover {
  transform: translateY(-10px) scale(1.015) !important;
  box-shadow: 0 25px 50px rgba(46, 49, 146, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

.portfolio-img-wrapper {
  overflow: hidden !important;
}

.portfolio-img-wrapper img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.08) rotate(0.8deg) !important;
}

/* E. High-End Float and Shadows on Pricing cards */
.pricing-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pricing-card:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 30px 60px rgba(27, 117, 188, 0.14) !important;
}

.pricing-card-recommended {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pricing-card-recommended:hover {
  transform: translateY(-15px) scale(1.025) !important;
  box-shadow: 0 35px 70px rgba(237, 28, 36, 0.2) !important;
}

/* F. Lift transformations for Approach step cards */
.timeline-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.timeline-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07) !important;
}

/* G. Liquid Backdrop Sphere Flow animation rules */
.bg-blur-sphere {
  animation: liquidFlow 25s infinite alternate ease-in-out !important;
}

@keyframes liquidFlow {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  33% {
    transform: translateY(-40px) scale(1.15) rotate(120deg);
    filter: blur(95px);
  }

  66% {
    transform: translateY(30px) translateX(-30px) scale(0.9) rotate(240deg);
  }

  100% {
    transform: translateY(0) scale(1) rotate(360deg);
  }
}

/* H. Custom Scroll Reveals to match Award-Winning easing */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  /* Premium luxury easing decel */
}

.reveal {
  transform: translateY(45px);
}

.reveal-left {
  transform: translateX(-45px);
}

.reveal-right {
  transform: translateX(45px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* I. High-End Motion Enhancements for Hero Section */
.hero-visual-card {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation: floatHeroCard 6s ease-in-out infinite alternate;
}

@keyframes floatHeroCard {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

.hero-visual-card:hover {
  transform: scale(1.01) translateY(-12px) rotate(-0.5deg) !important;
  box-shadow: 0 35px 70px rgba(46, 49, 146, 0.15) !important;
}

/* Floating badges micro-swaying */
.floating-badge {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.badge-1 {
  animation: swayBadge1 5s ease-in-out infinite alternate;
}

.badge-2 {
  animation: swayBadge2 6s ease-in-out infinite alternate 0.5s;
}

@keyframes swayBadge1 {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-6px) rotate(1deg);
  }
}

@keyframes swayBadge2 {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(5px) rotate(-1.5deg);
  }
}

.floating-badge:hover {
  transform: scale(1.08) translateY(-5px) !important;
  box-shadow: var(--shadow-lg), 0 0 15px rgba(27, 117, 188, 0.25) !important;
}

/* J. Interactive Timeline Node Scaling */
.timeline-node {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, color 0.3s ease !important;
}

.timeline-card:hover .timeline-node {
  transform: scale(1.22) !important;
  background-color: var(--color-red) !important;
  color: var(--color-white) !important;
  box-shadow: 0 0 15px rgba(237, 28, 36, 0.4) !important;
}

/* K. Luxury FAQ Accordion sliding headers */
.faq-header {
  transition: background-color 0.3s ease, padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.faq-header:hover {
  background-color: var(--color-grey-100) !important;
  padding-left: 2rem !important;
}

.faq-item.open .faq-header {
  border-left: 5px solid var(--color-blue) !important;
}

/* ==========================================================================
   21. LIVE PREMIUM DIGITAL DASHBOARD MOCKUP
   ========================================================================== */
.dashboard-mockup {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 380px;
  font-family: var(--font-heading);
  color: var(--color-navy);
  position: relative;
  z-index: 2;
  border-bottom: 5px solid var(--color-red);
  /* High contrast accent line */
}

.dash-header {
  background: var(--color-grey-100);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-grey-200);
}

.dash-dots {
  display: flex;
  gap: 6px;
  margin-right: 2rem;
}

.dash-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dash-dots .dot.red {
  background: #ff5f56;
}

.dash-dots .dot.yellow {
  background: #ffbd2e;
}

.dash-dots .dot.green {
  background: #27c93f;
}

.dash-search {
  flex-grow: 1;
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: 6px;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.dash-body {
  display: flex;
  flex-grow: 1;
}

.dash-sidebar {
  width: 130px;
  background: var(--color-grey-100);
  border-right: 1px solid var(--color-grey-200);
  padding: 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-item.active,
.sidebar-item:hover {
  background: var(--color-white);
  color: var(--color-blue);
  box-shadow: var(--shadow-sm);
}

.dash-content {
  flex-grow: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--color-white);
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dash-stat {
  background: var(--color-grey-100);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--color-grey-200);
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0.25rem 0;
  font-family: var(--font-heading);
}

.stat-value.speed-color {
  color: #27c93f;
}

.stat-value.updates-color {
  color: var(--color-blue);
}

.performance-bar {
  width: 100%;
  height: 6px;
  background: var(--color-grey-200);
  border-radius: 3px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.performance-bar .fill {
  height: 100%;
  background: #27c93f;
  border-radius: 3px;
  width: 99%;
}

.stat-sub {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.dash-chart-card {
  background: var(--color-grey-100);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--color-grey-200);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.chart-title {
  font-size: 0.75rem;
  font-weight: 700;
}

.chart-legend {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
  display: inline-block;
}

.svg-chart-container {
  flex-grow: 1;
  position: relative;
  height: 75px;
}

.svg-chart {
  width: 100%;
  height: 100%;
}

/* Flat Language Switcher matching client screenshot */
.lang-switcher-flat {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 0.5rem;
}

.lang-btn-flat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-red) !important;
  opacity: 0.65;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn-flat img {
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  display: block;
}

.lang-btn-flat:hover,
.lang-btn-flat.active {
  opacity: 1;
}

.lang-btn-flat.active {
  position: relative;
}

.lang-btn-flat.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background-color: var(--color-red);
}

/* Drawer copy: full width, centred. Scoped so it cannot hit the compact
   switcher that stays in the header bar. */
.mobile-drawer-lang {
  margin-left: 0;
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  border-top: 1px solid var(--color-grey-100);
  padding-top: 1.25rem;
}

@media (max-width: 1024px) {
  .header-lang {
    margin-left: 0;
    gap: 0.5rem;
  }

  .header-lang .lang-btn-flat {
    padding: 0.35rem;
    font-size: 0.8rem;
  }
}

/* Below ~560px the header bar only has room for the flags themselves. The flag
   image is only 20x15, so the button is padded out to a 44px touch target
   rather than left at the size of its contents. */
@media (max-width: 560px) {
  .header-lang .lang-btn-flat span {
    display: none;
  }

  .header-lang .lang-btn-flat {
    padding: 0;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
  }

  .header-lang .lang-btn-flat.active::after {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

/* Touch targets for the drawer's language buttons and the hamburger. */
@media (max-width: 1024px) {
  .mobile-drawer-lang .lang-btn-flat {
    min-height: 44px;
    padding: 0.5rem 0.75rem;
  }

  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   22. UPDATED ADDITIONS (Brand Logos, Price Badges, and Testimonial Footnotes)
   ========================================================================== */

/* A. Platform Logos Bar (Grayscale with Color Glow Hover) */
.platform-logos-bar-wrapper {
  background: var(--color-light-bg);
  padding: 3.5rem 0;
  border-top: 1px solid var(--color-grey-100);
  border-bottom: 1px solid var(--color-grey-100);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.platform-logos-bar-content {
  text-align: center;
}

.platform-logos-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2.25rem;
}

.platform-logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.platform-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  filter: grayscale(100%) contrast(0.8) brightness(0.9);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.platform-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%) contrast(1) brightness(1);
  transform: translateY(-4px) scale(1.06);
}

.platform-logo-item svg {
  height: 38px;
  width: auto;
  max-width: 160px;
  display: block;
}

/* B. Price Hosting Badge */
.price-hosting-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-blue);
  background: rgba(27, 117, 188, 0.08);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  margin-top: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
  border: 1px solid rgba(27, 117, 188, 0.12);
  transition: var(--transition-smooth);
}

.pricing-card:hover .price-hosting-badge {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}

.pricing-card-recommended:hover .price-hosting-badge {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.price-hosting-badge svg {
  flex-shrink: 0;
}

/* C. Testimonials Privacy Footnote */
.testimonials-disclaimer {
  font-size: 0.82rem;
  color: var(--color-text-muted) !important;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
  line-height: 1.6;
  font-style: italic;
  position: relative;
  z-index: 10;
  padding: 0 1.5rem;
  grid-column: span 2;
  transition: opacity 0.3s ease;
}

.testimonials-disclaimer:hover {
  color: var(--color-navy) !important;
}

@media (max-width: 1024px) {
  .testimonials-disclaimer {
    grid-column: span 1;
    margin-top: 1.5rem;
    color: var(--color-text-muted) !important;
  }

  .testimonials-disclaimer:hover {
    color: var(--color-navy) !important;
  }
}

@media (max-width: 768px) {
  .platform-logos-bar-wrapper {
    padding: 2.5rem 0;
  }

  .platform-logos-grid {
    gap: 3rem;
  }

  .platform-logo-item svg {
    height: 32px;
  }
}

/* D. Crossed Logo Container (Section 6 Beats DIY logos) */
.crossed-logo-container {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 14px;
  /* background: var(--color-white); */
  /* border: 1px solid var(--color-grey-200); */
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  /* Reduced padding for larger logos */
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0.1rem;
}

.crossed-logo-container img {
  max-width: 100%;
  /* Much bigger logo size inside the box */
  max-height: 100%;
  object-fit: cover;
  /* filter: grayscale(100%) opacity(0.65) contrast(0.9); */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Big Red Cross Overlay (Perfect Center Diagonal Strikethroughs) */
.crossed-logo-container::after,
.crossed-logo-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.5px;
  height: 140%;
  background-color: var(--color-red);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  border-radius: 10px;
  opacity: 0.35;
  /* Semi-transparent to keep the underlying brand logo legible */
}

/* Diagonal Line 1 (Top-Left to Bottom-Right) */
.crossed-logo-container::after {
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 5px rgba(237, 28, 36, 0.35);
}

/* Diagonal Line 2 (Top-Right to Bottom-Left) */
.crossed-logo-container::before {
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 0 5px rgba(237, 28, 36, 0.35);
}

/* Interactive Hover States */
.beats-item:hover .crossed-logo-container {
  transform: scale(1.08) rotate(-4deg);
  border-color: rgba(237, 28, 36, 0.3);
  box-shadow: 0 8px 20px rgba(237, 28, 36, 0.15), var(--shadow-sm);
}

.beats-item:hover .crossed-logo-container img {
  filter: grayscale(0%) opacity(1) contrast(1);
  transform: scale(1.05);
}

.beats-item:hover .crossed-logo-container::after,
.beats-item:hover .crossed-logo-container::before {
  background-color: #ff2a33;
  box-shadow: 0 0 10px rgba(237, 28, 36, 0.7);
  width: 4px;
  opacity: 0.6;
  /* Keep semi-transparent on hover for legibility */
}
