/* ============================================================
   BilFotografen Landing Page — Apple Light + 3D Depth System
   White backgrounds, #0071e3 accent, Inter font
   Inspired by apple.com with modern 3D depth effects

   3D EFFECTS:
   - Hero float animation with multi-layer shadows
   - Cards with depth-on-hover (translateY + shadow growth)
   - Perspective tilt on showroom gallery (mouse-tracking)
   - Scroll-triggered spring slide-in (staggered)
   - Frosted glass nav on scroll
   - Subtle gradient mesh on hero background
   ============================================================ */


/* ==========================================================
   1. COLOR TOKENS — Apple Light System
   ========================================================== */
:root {
  /* ---- Background Layers ---- */
  --bg-page:        #ffffff;
  --bg-section-alt: #f5f5f7;
  --bg-card:        #ffffff;
  --bg-hover:       #f5f5f7;

  /* Legacy aliases */
  --bg-surface:     #ffffff;
  --bg-elevated:    #ffffff;
  --bg-subtle:      #f5f5f7;
  --bg-primary:     var(--bg-page);

  /* ---- Text ---- */
  --text-primary:   #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary:  #86868b;
  --text-dim:       #d2d2d7;

  /* Legacy alias */
  --text-muted:     var(--text-tertiary);

  /* ---- Accent: Apple CTA Blue ---- */
  --accent-300:     #2997ff;
  --accent-400:     #0071e3;
  --accent-500:     #0066cc;
  --accent-600:     #005bb5;
  --accent-700:     #004d99;
  --accent-hover:   #0077ed;

  /* Brand aliases */
  --brand-400:      var(--accent-300);
  --brand-500:      var(--accent-400);
  --brand-600:      var(--accent-500);
  --brand-700:      var(--accent-600);
  --brand-hover:    var(--accent-hover);

  /* ---- Semantic Colors ---- */
  --semantic-success:  #34c759;
  --semantic-warning:  #ff9f0a;
  --semantic-error:    #ff3b30;
  --semantic-info:     #5ac8fa;

  /* Legacy aliases */
  --accent-success:  var(--semantic-success);
  --accent-warning:  var(--semantic-warning);
  --accent-error:    var(--semantic-error);

  /* ---- Borders ---- */
  --border-default:   rgba(0, 0, 0, 0.08);
  --border-hover:     rgba(0, 0, 0, 0.12);
  --border-active:    rgba(0, 113, 227, 0.40);
  --border-accent:    rgba(0, 113, 227, 0.20);

  /* Legacy aliases */
  --border-subtle:    var(--border-default);
  --border-light:     var(--border-hover);
  --border-brand:     var(--border-active);

  /* ---- 3D Shadow System (multi-layer for depth) ---- */
  --shadow-sm:    0 1px 3px rgba(0, 0, 0, 0.04),
                  0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md:    0 4px 6px rgba(0, 0, 0, 0.04),
                  0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg:    0 10px 25px rgba(0, 0, 0, 0.06),
                  0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl:    0 20px 40px rgba(0, 0, 0, 0.08),
                  0 8px 16px rgba(0, 0, 0, 0.04);
  --shadow-2xl:   0 25px 50px rgba(0, 0, 0, 0.10),
                  0 12px 24px rgba(0, 0, 0, 0.06);

  /* Card-specific shadows */
  --shadow-card:       0 2px 8px rgba(0, 0, 0, 0.04),
                       0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.08),
                       0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-lift:       0 16px 40px rgba(0, 0, 0, 0.10),
                       0 6px 16px rgba(0, 0, 0, 0.06);

  /* Hero floating shadow (large diffuse) */
  --shadow-float:      0 30px 60px rgba(0, 0, 0, 0.10),
                       0 15px 30px rgba(0, 0, 0, 0.06),
                       0 5px 10px rgba(0, 0, 0, 0.04);


  /* ==========================================================
     2. TYPOGRAPHY SCALE
     ========================================================== */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1.0625rem;  /* 17px — Apple's body size */
  --text-lg:    1.1875rem;  /* 19px */
  --text-xl:    1.3125rem;  /* 21px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   2rem;       /* 32px */
  --text-4xl:   2.5rem;     /* 40px */
  --text-5xl:   3rem;       /* 48px */
  --text-6xl:   3.5rem;     /* 56px */
  --text-7xl:   4rem;       /* 64px */
  --text-8xl:   5rem;       /* 80px */

  /* Weights */
  --weight-light:     300;
  --weight-regular:   400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      700;
  --weight-extrabold: 800;


  /* ==========================================================
     3. SPACING SYSTEM
     ========================================================== */
  --space-0:   0;
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;
  --space-40:  10rem;

  /* Layout containers */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   980px;
  --container-xl:   980px;
  --container-2xl:  1120px;

  /* Radii */
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-2xl:   32px;
  --radius-full:  9999px;

  /* Transitions — spring easing for 3D feel */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-premium: cubic-bezier(0.22, 0.68, 0, 1.0);
  --ease-bounce:  cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --duration-fast:  150ms;
  --duration-base:  300ms;
  --duration-slow:  500ms;
  --duration-reveal: 700ms;

  /* Z-index scale */
  --z-behind:     -1;
  --z-base:        0;
  --z-elevated:   10;
  --z-sticky:     50;
  --z-overlay:   100;
  --z-modal:     200;
}


/* ==========================================================
   4. RESET & BASE
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.47;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(0, 113, 227, 0.20);
  color: #1d1d1f;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ==========================================================
   5. CONTAINER & SECTION SPACING
   ========================================================== */
.landing-container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

@media (min-width: 768px) {
  .landing-container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

.landing-section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
  position: relative;
}

@media (min-width: 768px) {
  .landing-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  .landing-section {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
}

.landing-section--alt {
  background: var(--bg-section-alt);
}


/* ==========================================================
   6. TYPOGRAPHY COMPONENTS
   ========================================================== */

/* Eyebrow / Section Label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-400);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-400);
}

/* Display Headline */
.heading-display {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .heading-display {
    font-size: var(--text-6xl);
  }
}

@media (min-width: 1024px) {
  .heading-display {
    font-size: var(--text-7xl);
    line-height: 1.05;
  }
}

/* Section Heading */
.heading-section {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .heading-section {
    font-size: var(--text-3xl);
  }
}

@media (min-width: 1024px) {
  .heading-section {
    font-size: var(--text-4xl);
    line-height: 1.10;
  }
}

/* Card Heading */
.heading-card {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: 1.30;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/* Body Text */
.text-body {
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
  line-height: 1.47;
}

@media (min-width: 768px) {
  .text-body {
    font-size: var(--text-lg);
  }
}

.text-body-sm {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
  line-height: 1.47;
}

/* Stats/Numbers */
.text-stat {
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Caption */
.text-caption {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}


/* ==========================================================
   7. BUTTONS — Apple Light Style
   ========================================================== */

.btn-primary,
.btn-secondary,
.btn-ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: inherit;
  font-weight: var(--weight-medium);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  border-radius: var(--radius-md);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost-link:focus-visible {
  outline: 2px solid var(--accent-400);
  outline-offset: 2px;
}

/* Primary Button: Apple Blue */
.btn-primary {
  padding: 12px 24px;
  font-size: var(--text-base);
  color: #ffffff;
  background: var(--accent-400);
  border: none;
  box-shadow: 0 1px 3px rgba(0, 113, 227, 0.20);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);
}

.btn-primary:active {
  background: var(--accent-600);
  transform: translateY(0);
}

.btn-primary svg,
.btn-secondary svg {
  transition: transform var(--duration-base) var(--ease-out);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

/* Large CTA variant (hero) */
.btn-primary-lg {
  padding: 16px 36px;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-md);
}

/* Secondary Button: text link style, Apple blue */
.btn-secondary {
  padding: 12px 24px;
  font-size: var(--text-base);
  color: var(--accent-400);
  background: transparent;
  border: none;
}

.btn-secondary:hover {
  color: var(--accent-hover);
}

/* Ghost Link Button */
.btn-ghost-link {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-base);
  color: var(--accent-400);
  background: transparent;
  border: none;
}

.btn-ghost-link:hover {
  color: var(--accent-hover);
}

.btn-ghost-link:hover svg {
  transform: translateX(3px);
}


/* ==========================================================
   8. CARD SYSTEM — 3D Depth on Hover
   ========================================================== */

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}

.glass-card--featured {
  border-color: var(--accent-400);
  box-shadow: var(--shadow-md);
}

.glass-card--featured:hover {
  box-shadow: var(--shadow-lift);
}


/* ==========================================================
   9. HERO IMAGE — 3D Float Effect
   The showroom image appears to float above the page
   with a large diffuse shadow below it.
   Subtle translateY animation creates living depth.
   ========================================================== */

.hero-img-frame {
  position: relative;
  perspective: 1200px;
}

.hero-img-frame img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  will-change: transform;
}

/* Float animation starts only after entrance completes (1.2s + 0.2s delay) */
.hero-img-frame.entered img {
  animation: heroFloat 6s ease-in-out 1.4s infinite;
}

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

/* Diffuse ground shadow beneath the floating image */
.hero-img-frame::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 10%;
  right: 10%;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(8px);
  animation: shadowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shadowPulse {
  0%, 100% {
    opacity: 1;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.7;
    transform: scaleX(0.95);
  }
}

/* Feature image frames (non-hero) — no float animation */
.feature-img-frame {
  position: relative;
  perspective: 1200px;
}

.feature-img-frame img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
}

.feature-img-frame:hover img {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}


/* ==========================================================
   10. SHOWROOM GALLERY — Perspective Tilt on Hover
   Individual showroom images tilt slightly toward the
   cursor on hover (max 3 degrees). Handled by JS for
   mouse-tracking, but base styles defined here.
   ========================================================== */

.img-showroom {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}

.img-showroom:hover {
  box-shadow: var(--shadow-lg);
}

.img-showroom img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

/* Subtle shine overlay on hover — gives gloss/glass feel on light bg */
.img-showroom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
  pointer-events: none;
  border-radius: inherit;
}

.img-showroom:hover::after {
  opacity: 1;
}

.img-premium {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out);
}

.img-premium:hover {
  transform: scale(1.01);
}


/* ==========================================================
   11. SCROLL REVEAL — Spring Slide-In (Staggered)
   Elements slide up with a spring-like ease, different
   "depths" stagger their entrance for parallax feel.
   ========================================================== */

.rv {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--duration-reveal) var(--ease-premium),
    transform var(--duration-reveal) var(--ease-spring);
}

.rv.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays — each "layer" enters slightly later */
.rv-d1 { transition-delay: 0.06s; }
.rv-d2 { transition-delay: 0.12s; }
.rv-d3 { transition-delay: 0.18s; }
.rv-d4 { transition-delay: 0.24s; }
.rv-d5 { transition-delay: 0.30s; }
.rv-d6 { transition-delay: 0.36s; }

/* Slide from left/right variants */
.rv-left {
  opacity: 0;
  transform: translateX(-40px) translateY(16px);
  transition:
    opacity var(--duration-reveal) var(--ease-premium),
    transform var(--duration-reveal) var(--ease-spring);
}

.rv-right {
  opacity: 0;
  transform: translateX(40px) translateY(16px);
  transition:
    opacity var(--duration-reveal) var(--ease-premium),
    transform var(--duration-reveal) var(--ease-spring);
}

.rv-left.visible,
.rv-right.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}


/* ==========================================================
   12. NAVIGATION — Frosted Glass on Scroll
   Exactly like Apple: backdrop-filter:blur(20px) with
   rgba(255,255,255,0.80) background when scrolled.
   ========================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-overlay);
  padding: 14px 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background var(--duration-base) var(--ease-out),
    backdrop-filter var(--duration-base) var(--ease-out),
    padding var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border-default);
  padding: 10px 0;
}

.nav-cta {
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: #ffffff;
  background: var(--accent-400);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: background 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
}


/* ==========================================================
   13. HERO — Subtle Gradient Mesh Background
   Apple uses very subtle color shifts in hero backgrounds.
   Near-invisible radial gradient from pure white to #f5f5f7.
   ========================================================== */

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-400);
  margin-bottom: var(--space-4);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 30% 40%,
      rgba(245, 245, 247, 0.6) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 50% at 80% 60%,
      rgba(245, 245, 247, 0.4) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}


/* ==========================================================
   14. SHOWROOM ITEM
   ========================================================== */
.showroom-item:hover .img-showroom {
  box-shadow: var(--shadow-lg);
}


/* ==========================================================
   15. PRICING CARD — Overridden by inline v2 styles in landing.html
   ========================================================== */
/* All pricing styles now managed via inline <style> in landing.html */


/* ==========================================================
   16. STEP CARDS — 3D Depth
   ========================================================== */
.step-num {
  font-size: 40px;
  font-weight: var(--weight-bold);
  color: var(--accent-400);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.step-card {
  transition:
    transform var(--duration-base) var(--ease-spring),
    box-shadow var(--duration-base) var(--ease-out);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}


/* ==========================================================
   17. TRUST CARDS — Subtle 3D
   ========================================================== */
.trust-card {
  transition:
    transform var(--duration-base) var(--ease-spring),
    box-shadow var(--duration-base) var(--ease-out);
}

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


/* ==========================================================
   18. LAYOUT UTILITIES
   ========================================================== */
.grid-asymmetric {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.grid-asymmetric-reverse {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 767px) {
  .grid-asymmetric,
  .grid-asymmetric-reverse {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}


/* ==========================================================
   19. PARALLAX DEPTH LAYER SYSTEM
   ========================================================== */

[data-parallax] {
  will-change: transform;
}


/* ==========================================================
   20. MOBILE MENU — Clean Overlay
   ========================================================== */

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

@media (max-width: 767px) {
  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-base) var(--ease-out),
    visibility var(--duration-base) var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  transition: color var(--duration-fast);
}

.mobile-menu a:hover {
  color: var(--accent-400);
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}


/* ==========================================================
   21. FINAL CTA — Clean Center with Subtle Depth
   ========================================================== */

.final-cta-section {
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(0, 113, 227, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}


/* ==========================================================
   22. TEXT BALANCE (Apple uses this)
   ========================================================== */

.text-balance {
  text-wrap: balance;
}


/* ==========================================================
   23. ACCESSIBILITY — Focus Styles for 3D Elements
   ========================================================== */

.img-showroom:focus-visible,
.price-card:focus-visible,
.step-card:focus-visible,
.trust-card:focus-visible {
  outline: 2px solid var(--accent-400);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}


/* ==========================================================
   24. BESPARELSE — Before vs After Comparison
   ========================================================== */

/* Two-column comparison layout */
.compare-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
  padding-top: var(--space-6);
}

/* Shared column card */
.compare-col {
  border-radius: 16px;
  padding: 2rem 1.75rem;
}

/* UDEN column — muted, flat, "old" feeling */
.compare-col--without {
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
}

.compare-col--without .compare-col__title {
  color: #86868b;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.compare-col--without .compare-list__label {
  color: #86868b;
}

.compare-col--without .compare-list__desc {
  color: #aeaeb2;
}

/* MED column — elevated, blue-tinted, "modern" */
.compare-col--with {
  background: #fff;
  border: 1px solid rgba(0, 113, 227, 0.18);
  box-shadow:
    0 1px 3px rgba(0, 113, 227, 0.06),
    0 8px 24px rgba(0, 113, 227, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
  position: relative;
}

.compare-col--with::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.compare-col--with .compare-col__title {
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.compare-col--with .compare-list__label {
  color: var(--text-primary);
  font-weight: 500;
}

.compare-col--with .compare-list__desc {
  color: var(--text-secondary);
}

/* Column header */
.compare-col__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e5e7;
}

.compare-col--with .compare-col__header {
  border-bottom-color: rgba(0, 113, 227, 0.12);
}

.compare-col__icon {
  flex-shrink: 0;
}

/* Comparison list */
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.compare-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.compare-list__icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.compare-list__item div {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.compare-list__label {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  font-family: var(--font-primary, 'Inter', system-ui, sans-serif);
}

.compare-list__desc {
  font-size: 0.8125rem;
  line-height: 1.4;
  font-family: var(--font-primary, 'Inter', system-ui, sans-serif);
}

/* Results row */
.compare-results {
  max-width: 880px;
  margin: 3rem auto 0;
  text-align: center;
}

.compare-results__heading {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin: 0 0 1.5rem 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.compare-results__heading::before,
.compare-results__heading::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d2d2d7, transparent);
}

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

.compare-stat {
  background: #fff;
  border: 1px solid #e5e5e7;
  border-radius: 14px;
  padding: 2rem 1rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.compare-stat:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.compare-stat__number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
  font-family: var(--font-primary, 'Inter', system-ui, sans-serif);
  font-variant-numeric: tabular-nums;
}

.compare-stat__unit {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-400);
  margin-top: 0.25rem;
  min-height: 1.4em;
}

.compare-stat__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}

/* Responsive: stack on mobile */
@media (max-width: 767px) {
  .compare-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: var(--space-4);
  }

  .compare-col--with {
    transform: none;
  }

  .compare-col {
    padding: 1.5rem 1.25rem;
  }

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

  .compare-stat {
    padding: 1.5rem 1rem 1.25rem;
  }

  .compare-stat__number {
    font-size: 2.25rem;
  }

  .compare-results {
    margin-top: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .compare-columns {
    gap: 1.25rem;
  }
}


/* ==========================================================
   25. PRINT STYLES
   ========================================================== */

@media print {
  .nav,
  .mobile-menu,
  .hero-actions,
  .final-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
  }

  .landing-section {
    padding: 2rem 0;
  }

  .rv {
    opacity: 1;
    transform: none;
  }
}
