/* ═══════════════════════════════════════════════════════════════
   KARTA LANDING PAGE — STYLES
   Design system based on brand colors extracted from main-logo.svg
   Primary: #9edd0f (lime green accent)
   Secondary: #038306 (deep green)
   Dark base: #060e07 / #0a1a0b
═══════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  /* Brand colors */
  --karta-lime:        #9edd0f;
  --karta-lime-bright: #b3e449;
  --karta-lime-dark:   #7ab80a;
  --karta-green:       #038306;
  --karta-green-deep:  #017c07;
  --karta-green-mid:   #249f32;
  --karta-green-light: #5fab06;

  /* Theme A (sections 1-3): lime-forward */
  --theme-a-accent:    #9edd0f;
  --theme-a-glow:      rgba(158, 221, 15, 0.18);
  --theme-a-tag-bg:    rgba(158, 221, 15, 0.12);
  --theme-a-tag-color: #b3e449;

  /* Theme B (sections 4-6): emerald-forward */
  --theme-b-accent:    #38b53c;
  --theme-b-glow:      rgba(36, 159, 50, 0.18);
  --theme-b-tag-bg:    rgba(36, 159, 50, 0.12);
  --theme-b-tag-color: #5fab06;

  /* Dark backgrounds */
  --bg-base:           #050c06;
  --bg-surface:        #091409;
  --bg-card:           #0d1f0e;
  --bg-card-hover:     #122114;
  --bg-elevated:       #162b17;

  /* Text */
  --text-primary:      #f0faf0;
  --text-secondary:    #8da88d;
  --text-muted:        #4a6b4a;
  --text-accent:       #9edd0f;

  /* Borders */
  --border-subtle:     rgba(158, 221, 15, 0.08);
  --border-mid:        rgba(158, 221, 15, 0.15);
  --border-strong:     rgba(158, 221, 15, 0.3);

  /* Spacing */
  --nav-h: 72px;
  --section-pad: 120px;
  --section-pad-sm: 72px;

  /* Typography */
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* ─── TYPOGRAPHY SCALE ───────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--karta-lime);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 56ch;
  line-height: 1.7;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--karta-lime);
  color: #050c06;
  box-shadow: 0 0 0 0 rgba(158, 221, 15, 0);
}
.btn--primary:hover {
  background: var(--karta-lime-bright);
  box-shadow: 0 0 32px rgba(158, 221, 15, 0.35);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--karta-lime);
  border: 1.5px solid var(--border-strong);
}
.btn--outline:hover {
  background: var(--theme-a-tag-bg);
  border-color: var(--karta-lime);
  box-shadow: 0 0 20px rgba(158, 221, 15, 0.15);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.12);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.btn--lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn--xl { padding: 1.125rem 2.5rem; font-size: 1.125rem; }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(5, 12, 6, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__logo img {
  height: 52px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.navbar__link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.navbar__link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.navbar__cta { margin-left: 1rem; }

/* Language toggle button */
.navbar__lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit;
  line-height: 1;
  margin-left: 0.5rem;
}
.navbar__lang-btn:hover {
  border-color: var(--karta-lime);
  color: var(--karta-lime);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Backdrop overlay — shown on mobile when menu is open */
.navbar__backdrop {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.navbar__backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* CTA item inside dropdown — only visible on mobile */
.navbar__cta-item { display: none; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fade-out bottom edge into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-surface) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(3, 131, 6, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(36, 159, 50, 0.12) 0%, transparent 50%),
    var(--bg-base);
  z-index: 0;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

/* ─── SECTION PARTICLE CANVASES ─────────────────────────────── */
.section-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ─── PHONE FAN ──────────────────────────────────────────────── */
.hero__fan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Base phone style */
.hero__phone {
  position: absolute;
  top: 50%;
  width: clamp(120px, 20vw, 300px);
  border-radius: clamp(16px, 2vw, 28px);
  background: #0d1f0e;
  border: 2px solid rgba(158, 221, 15, 0.2);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 30px 80px rgba(0,0,0,0.7),
    0 0 60px rgba(3,131,6,0.18);
  overflow: hidden;
  aspect-ratio: 9/19.5;
  transform-origin: center center;
  --rot: 0deg;
  transform: translateY(-50%) rotate(var(--rot));
  transition:
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  pointer-events: none;
  cursor: default;
}

/* ─── CAMERA ISLANDS ─────────────────────────────────────────── */
.phone-cam {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: #000;
}

/* iPhone 14 Pro+ — Dynamic Island ancho */
.phone-cam--dynamic-island {
  width: 38%;
  height: clamp(14px, 1.5vw, 22px);
  border-radius: clamp(12px, 1.2vw, 20px);
}
.phone-cam--dynamic-island::after {
  content: '';
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(5px, 0.65vw, 9px);
  height: clamp(5px, 0.65vw, 9px);
  border-radius: 50%;
  background: #0d0d1a;
  box-shadow: 0 0 0 2px #111, inset 0 0 3px rgba(80,120,255,0.25);
}

/* Pixel / Google — punch hole centrado */
.phone-cam--punch-center {
  width: clamp(7px, 0.9vw, 13px);
  height: clamp(7px, 0.9vw, 13px);
  border-radius: 50%;
}
.phone-cam--punch-center::after {
  content: '';
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: #0a0a1a;
  box-shadow: inset 0 0 0 2px rgba(80,80,120,0.5);
}

/* Samsung Galaxy S — punch hole izquierda */
.phone-cam--punch-left {
  width: clamp(7px, 0.9vw, 13px);
  height: clamp(7px, 0.9vw, 13px);
  border-radius: 50%;
  left: 18%;
  transform: none;
}
.phone-cam--punch-left::after {
  content: '';
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: #0a0a1a;
  box-shadow: inset 0 0 0 2px rgba(80,80,120,0.5);
}

/* iPhone X / 11 / OnePlus — notch ancho */
.phone-cam--notch-wide {
  top: 0;
  width: 54%;
  height: clamp(16px, 1.8vw, 27px);
  border-radius: 0 0 clamp(10px, 1.2vw, 18px) clamp(10px, 1.2vw, 18px);
}
.phone-cam--notch-wide::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  height: 4px;
  border-radius: 2px;
  background: #1c1c1c;
}
.phone-cam--notch-wide::after {
  content: '';
  position: absolute;
  right: 22%;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0d0d1a;
  box-shadow: inset 0 0 0 2px rgba(60,60,100,0.6);
}

/* iPhone 15 estándar — Dynamic Island pequeño */
.phone-cam--island-small {
  width: 27%;
  height: clamp(11px, 1.2vw, 18px);
  border-radius: clamp(9px, 1vw, 14px);
}
.phone-cam--island-small::after {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(5px, 0.55vw, 8px);
  height: clamp(5px, 0.55vw, 8px);
  border-radius: 50%;
  background: #0d0d1a;
  box-shadow: 0 0 0 1.5px #111, inset 0 0 2px rgba(80,120,255,0.2);
}

/* Samsung Note / Ultra — dual punch hole */
.phone-cam--dual-punch {
  width: clamp(18px, 2.2vw, 32px);
  height: clamp(7px, 0.9vw, 13px);
  border-radius: clamp(6px, 0.7vw, 10px);
}
.phone-cam--dual-punch::before,
.phone-cam--dual-punch::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(4px, 0.55vw, 8px);
  height: clamp(4px, 0.55vw, 8px);
  border-radius: 50%;
  background: #0d0d1a;
}
.phone-cam--dual-punch::before { left:  2px; }
.phone-cam--dual-punch::after  { right: 2px; }


.hero__phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Template image — covers phone when src is set */
.phone-tpl-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  z-index: 3;
  border-radius: inherit;
}
.phone-tpl-img:not([src]),
.phone-tpl-img[src=""] {
  display: none;
}

.phone-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-placeholder--a { background: linear-gradient(160deg, #0f2e10 0%, #1a4d1c 40%, #0a3e0a 100%); }
.phone-placeholder--b { background: linear-gradient(160deg, #1a2e05 0%, #2a4a08 40%, #162808 100%); }
.phone-placeholder--c { background: linear-gradient(160deg, #101a10 0%, #1e351e 40%, #0d1e0d 100%); }
.phone-placeholder--d { background: linear-gradient(160deg, #0a1e0a 0%, #143014 40%, #091509 100%); }
.phone-placeholder--e { background: linear-gradient(160deg, #162616 0%, #254025 40%, #0f1f0f 100%); }
.phone-placeholder--f { background: linear-gradient(160deg, #0d260e 0%, #163e18 40%, #0a1e0a 100%); }
.phone-placeholder--g { background: linear-gradient(160deg, #111e11 0%, #1e311e 40%, #0b140b 100%); }

/* Mock menu cover image area */
.phone-placeholder::before {
  content: '';
  position: absolute;
  top: 18px; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(160deg, rgba(158,221,15,0.12) 0%, rgba(3,131,6,0.07) 100%);
  border-bottom: 1px solid rgba(158,221,15,0.1);
}

/* Mock menu item card rows */
.phone-placeholder::after {
  content: '';
  position: absolute;
  left: 10px; right: 10px;
  top: calc(30% + 28px);
  bottom: 38px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 34px,
    transparent 34px,
    transparent 42px
  );
}

/* Per-variant cover tint */
.phone-placeholder--a::before { background: linear-gradient(160deg, rgba(158,221,15,0.15) 0%, rgba(3,131,6,0.08) 100%); }
.phone-placeholder--b::before { background: linear-gradient(160deg, rgba(91,171,6,0.14)  0%, rgba(36,159,50,0.08) 100%); }
.phone-placeholder--c::before { background: linear-gradient(160deg, rgba(36,159,50,0.13)  0%, rgba(3,131,6,0.07)  100%); }
.phone-placeholder--e::before { background: linear-gradient(160deg, rgba(179,228,73,0.13) 0%, rgba(91,171,6,0.07)  100%); }
.phone-placeholder--f::before { background: linear-gradient(160deg, rgba(3,131,6,0.17)    0%, rgba(5,48,8,0.1)    100%); }
.phone-placeholder--g::before { background: linear-gradient(160deg, rgba(158,221,15,0.10) 0%, rgba(36,159,50,0.06) 100%); }

/* Mock UI elements */
.tpl-mock {
  position: absolute;
  inset: 0;
  padding: 18px 10px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.tpl-mock__cover {
  flex: 0 0 28%;
  border-radius: 6px;
  background: rgba(158, 221, 15, 0.08);
  border: 1px solid rgba(158, 221, 15, 0.1);
}
.tpl-mock__cover--tall { flex: 0 0 36%; }

.tpl-mock__row {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  width: 55%;
  margin: 2px 2px 0;
}
.tpl-mock__row--wide { width: 75%; }

.tpl-mock__card {
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
}
.tpl-mock__card--sm { height: 24px; }

.tpl-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  z-index: 4;
}

/* ── Fan layout — phones always centered ── */

/* LEFT cluster */
.hero__phone--1 { left: 8%;  right: auto; --rot: -20deg; z-index: 3; filter: brightness(0.75); }
.hero__phone--2 { left: 16%; right: auto; --rot: -13deg; z-index: 4; filter: brightness(0.75); }
.hero__phone--3 { left: 26%; right: auto; --rot: -6deg;  z-index: 5; filter: brightness(0.75); }

/* Center — hidden */
.hero__phone--4 { display: none; }

/* RIGHT cluster */
.hero__phone--5 { right: 26%; left: auto; --rot: 6deg;  z-index: 5; filter: brightness(0.75); }
.hero__phone--6 { right: 16%; left: auto; --rot: 13deg; z-index: 4; filter: brightness(0.75); }
.hero__phone--7 { right: 8%;  left: auto; --rot: 20deg; z-index: 3; filter: brightness(0.75); }

/* ── Card-from-deck hover — disabled ── */
.hero__phone:hover {
  transform: translateY(-50%) rotate(var(--rot));
  filter: inherit;
  z-index: inherit;
  border-color: rgba(158, 221, 15, 0.2);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 30px 80px rgba(0,0,0,0.7),
    0 0 60px rgba(3,131,6,0.18);
}

.hero__fan:has(.hero__phone:hover) .hero__phone:not(:hover) {
  transform: translateY(-50%) rotate(var(--rot));
  filter: inherit;
}

/* ─── HERO CONTENT ───────────────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 15;
  text-align: center;
  max-width: 680px;
  padding: 2rem;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--karta-lime);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-pill);
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  background: rgba(158, 221, 15, 0.07);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-shadow:
    0 0 30px rgba(158, 221, 15, 0.4),
    0 0 60px rgba(158, 221, 15, 0.2);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(
    135deg,
    #9edd0f,
    #b3e449,
    #5fab06,
    #038306,
    #249f32,
    #7ab80a
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: karta-em-shimmer 6s linear infinite;
}

@keyframes karta-em-shimmer {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* ── K brand mark over the 'c' in 'carta' ── */
.title-mark {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}

.title-mark__letter {
  position: relative;
  z-index: 1;
}

.title-mark__k {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(160px, 24vw, 340px);
  max-width: 130%;
  height: auto;
  filter: none;
  opacity: 1;
  transform: translate(-50%, -52%) rotate(-8deg);
  transform-origin: center center;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
  text-shadow:
    0 0 20px rgba(158, 221, 15, 0.2),
    0 0 40px rgba(158, 221, 15, 0.1);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.hero__trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--karta-green-mid);
  box-shadow: 0 0 8px var(--karta-green-mid);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--karta-green-mid); }
  50% { opacity: 0.6; box-shadow: 0 0 16px var(--karta-green-mid); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.hero__scroll-line {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--karta-lime), transparent);
  margin: 0 auto;
  animation: scroll-line 2.5s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40% { opacity: 1; transform: scaleY(1); }
  80% { opacity: 0; transform: scaleY(1) translateY(10px); }
  100% { opacity: 0; }
}

/* ─── FEATURES SECTION ───────────────────────────────────────── */
.features {
  position: relative;
  background: var(--bg-surface);
  padding: 0 0 var(--section-pad);
  overflow: hidden;
}

.features__bg-details {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.features__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.features__orb--1 {
  width: 500px; height: 500px;
  top: 10%;  left: -10%;
  background: radial-gradient(circle, rgba(3,131,6,0.12) 0%, transparent 70%);
}
.features__orb--2 {
  width: 400px; height: 400px;
  top: 50%; right: -5%;
  background: radial-gradient(circle, rgba(158,221,15,0.08) 0%, transparent 70%);
}
.features__orb--3 {
  width: 600px; height: 400px;
  bottom: 5%; left: 30%;
  background: radial-gradient(circle, rgba(36,159,50,0.08) 0%, transparent 70%);
}

/* ─── FEATURE ROW ────────────────────────────────────────────── */
.feature-row {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.feature-row.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row--reverse .feature-row__text  { order: 1; }

/* Feature 1 (plantillas): keep catalog phones behind the copy block */
.feature-row[data-feature="1"] {
  isolation: isolate;
  padding-top: 0;
}
.feature-row[data-feature="1"] .feature-row__media {
  z-index: 1;
}
.feature-row[data-feature="1"] .feature-row__text {
  position: relative;
  z-index: 2;
}

/* Theme A → lime green accents */
.theme-a .feature-row__tag { background: var(--theme-a-tag-bg); color: var(--theme-a-tag-color); border-color: rgba(158,221,15,0.2); }
.theme-a .feature-row__title em { color: var(--theme-a-accent); }
.theme-a .plan-feat__check { color: var(--theme-a-accent); }

/* Theme B → emerald accents */
.theme-b .feature-row__tag { background: var(--theme-b-tag-bg); color: var(--theme-b-tag-color); border-color: rgba(36,159,50,0.2); }
.theme-b .feature-row__title em { color: var(--theme-b-accent); }
.theme-b .feature-row__glow { background: radial-gradient(circle, var(--theme-b-glow) 0%, transparent 70%); }

/* ─── FEATURE ROW TEXT ───────────────────────────────────────── */
.feature-row__tag-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.feature-row__tag-row .feature-row__tag {
  margin-bottom: 0;
}

.feature-row__coming-soon {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(251,191,36,0.12);
  color: #f59e0b;
  border: 1px solid rgba(251,191,36,0.35);
}

.feature-row__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: var(--r-pill);
  border: 1px solid;
  margin-bottom: 1.25rem;
}

.feature-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.125rem;
  color: var(--text-primary);
}

.feature-row__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.feature-row__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-row__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.feature-row__list li::before {
  content: '→';
  color: var(--karta-lime);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── FEATURE MOCK (PHONE VISUAL) ────────────────────────────── */
.feature-row__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-row__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--theme-a-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.feature-row__glow--b,
.feature-row__glow--c { background: radial-gradient(circle, rgba(96,182,96,0.14) 0%, transparent 70%); }
.feature-row__glow--d,
.feature-row__glow--e,
.feature-row__glow--f { background: radial-gradient(circle, var(--theme-b-glow) 0%, transparent 70%); }

.feature-mock {
  position: relative;
  z-index: 1;
}

.feature-mock--phone {
  width: 300px;
  max-width: 100%;
  aspect-ratio: 9/19.5;
  border-radius: 28px;
  background: var(--bg-card);
  border: 2px solid var(--border-mid);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(3,131,6,0.15),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  animation: float-phone 6s ease-in-out infinite;
}
@keyframes float-phone {
  0%, 100% { transform: translateY(0px) rotate(1deg); }
  50% { transform: translateY(-12px) rotate(-0.5deg); }
}
.feature-mock--phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 5px;
  border-radius: 3px;
  background: var(--border-mid);
  z-index: 5;
}

.feature-mock__screen {
  width: 100%;
  height: 100%;
  padding: 24px 12px 12px;
}

.feature-mock__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: inherit;
}

.feature-mock__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: inherit;
  pointer-events: none;
}

.feature-mock--wide {
  width: 480px;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: var(--bg-card);
  border: 2px solid var(--border-mid);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(158,221,15,0.12),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
  animation: float-phone 6s ease-in-out infinite;
}

.feature-mock__screen--a { background: linear-gradient(160deg, #0f2e10 0%, #1d4e20 100%); }
.feature-mock__screen--b { background: linear-gradient(160deg, #0a1e0b 0%, #162e17 100%); }
.feature-mock__screen--c { background: linear-gradient(160deg, #091809 0%, #142514 100%); }
.feature-mock__screen--d { background: linear-gradient(160deg, #0d200d 0%, #1a381b 100%); }
.feature-mock__screen--e { background: linear-gradient(160deg, #090f09 0%, #111e12 100%); }
.feature-mock__screen--f { background: linear-gradient(160deg, #0e1e0f 0%, #182e19 100%); }

/* Mock UI elements inside phones */
.mock-header {
  height: 10px;
  border-radius: 4px;
  background: rgba(158,221,15,0.35);
  margin-bottom: 12px;
}
.mock-header--b { background: rgba(96,182,96,0.35); }

.mock-item {
  height: 8px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 8px;
  width: 80%;
}
.mock-item--wide { width: 100%; }
.mock-item--sm { width: 50%; }
.mock-item--b { background: rgba(96, 182, 96, 0.12); }

.mock-badge {
  display: inline-flex;
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #050c06;
  background: var(--karta-lime);
  border-radius: 4px;
  padding: 3px 7px;
  margin-top: 8px;
}
.mock-badge--b { background: #67ba47; }
.mock-badge--c { background: #7acf5a; }
.mock-badge--d { background: #a9e31f; }
.mock-badge--e { background: #4cad46; }
.mock-badge--f { background: #5fab06; }
.mock-badge--g { background: #3db54a; }
.mock-badge--h { background: #9edd0f; color: #0d1a00; }

.feature-mock__screen--g { background: linear-gradient(160deg, #0b1f0c 0%, #162b17 100%); }
.feature-mock__screen--h { background: linear-gradient(160deg, #0f1f10 0%, #192e1a 100%); }

.mock-schedule {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 6px 4px;
  margin-bottom: 8px;
}
.mock-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 6px 8px;
}
.mock-rule--active {
  background: rgba(158,221,15,0.10);
  border-color: rgba(158,221,15,0.35);
}
.mock-rule__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.mock-rule--active .mock-rule__dot {
  background: var(--karta-lime);
  box-shadow: 0 0 5px var(--karta-lime);
}
.mock-rule__info { flex: 1; min-width: 0; }
.mock-rule__time {
  font-size: 8px;
  color: rgba(255,255,255,0.45);
  line-height: 1.2;
}
.mock-rule__action {
  font-size: 9px;
  color: rgba(255,255,255,0.80);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-rule--active .mock-rule__action { color: var(--karta-lime-bright); }
.mock-rule__live {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--karta-lime);
  flex-shrink: 0;
}

.mock-lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px 4px;
  margin-bottom: 8px;
}
.mock-lang-chip {
  background: rgba(158, 221, 15, 0.10);
  border: 1px solid rgba(158, 221, 15, 0.22);
  border-radius: 20px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.80);
  padding: 4px 6px;
  text-align: center;
  white-space: nowrap;
}
.mock-lang-chip--more {
  font-size: 8px;
  color: var(--karta-lime);
  border-color: rgba(158, 221, 15, 0.45);
  background: rgba(158, 221, 15, 0.07);
}

.mock-qr {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background:
    repeating-linear-gradient(0deg, rgba(158,221,15,0.3) 0, rgba(158,221,15,0.3) 3px, transparent 3px, transparent 7px),
    repeating-linear-gradient(90deg, rgba(158,221,15,0.3) 0, rgba(158,221,15,0.3) 3px, transparent 3px, transparent 7px);
  border: 1.5px solid rgba(158,221,15,0.3);
  margin: 10px auto;
}

/* Photo grid mock */
.mock-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 10px;
}
.mock-photo {
  height: 36px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(158,221,15,0.15), rgba(36,159,50,0.1));
  border: 1px solid rgba(158,221,15,0.1);
}

/* ─── FOTO STUDIO IMAGE COMPARE SLIDER ─────────────────────── */
.img-compare {
  position: relative;
  width: 420px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border-mid);
  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 60px rgba(3,131,6,.15);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: col-resize;
}

.img-compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.img-compare__img--before {
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
  z-index: 1;
}

.img-compare__handle {
  position: absolute;
  top: 0;
  left: var(--split, 50%);
  transform: translateX(-50%);
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: col-resize;
}

.img-compare__line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 8px rgba(0,0,0,.5);
}

.img-compare__btn {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.45);
  flex-shrink: 0;
  transition: transform .15s ease;
}

.img-compare:active .img-compare__btn,
.img-compare__handle:focus-visible .img-compare__btn {
  transform: scale(1.12);
}

.img-compare__handle:focus-visible {
  outline: none;
}
.img-compare__handle:focus-visible .img-compare__btn {
  outline: 3px solid #a9e31f;
  outline-offset: 2px;
}

/* Chart mock */
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-bottom: 8px;
}
.mock-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(3,131,6,0.5), rgba(158,221,15,0.4));
  transition: height 0.6s ease;
}
.mock-stats { display: flex; gap: 8px; }
.mock-stat {
  flex: 1;
  height: 8px;
  border-radius: 3px;
  background: rgba(158, 221, 15, 0.2);
}

/* Edit UI mock */
.mock-edit-ui { padding: 4px 0; }
.mock-edit-row { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.mock-edit-label { width: 28px; height: 7px; border-radius: 2px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.mock-edit-input { flex: 1; height: 14px; border-radius: 4px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.mock-edit-input--wide { width: 100%; }
.mock-save-btn {
  font-size: 0.45rem;
  font-weight: 700;
  text-align: center;
  background: var(--karta-lime);
  color: #050c06;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

/* Multi phone mock */
.feature-mock--multi {
  position: relative;
  width: 340px;
  height: 360px;
}
.feature-mock__phone-mini {
  position: absolute;
  width: 140px;
  height: 250px;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--border-mid);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.feature-mock__phone-mini--1 { left: 0; top: 30px; transform: rotate(-8deg); z-index: 1; opacity: 0.8; }
.feature-mock__phone-mini--2 { left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; }
.feature-mock__phone-mini--3 { right: 0; top: 30px; transform: rotate(8deg); z-index: 2; opacity: 0.8; }
.mini-screen { width: 100%; height: 100%; }
.mini-screen--a { background: linear-gradient(160deg, #0f2e10, #1a4d1c); }
.mini-screen--b { background: linear-gradient(160deg, #1a2e05, #2d4e0a); }
.mini-screen--c { background: linear-gradient(160deg, #0a1e0a, #143014); }

/* ─── TEMPLATE CATALOG (Feature 1) ───────────────────────────── */
.tpl-catalog {
  position: relative;
  --tpl-catalog-phone-width: 190px;
  --tpl-catalog-offset-near: 56px;
  --tpl-catalog-offset-far: 104px;
  --tpl-catalog-hover-near: 146px;
  --tpl-catalog-hover-far: 280px;
  width: 420px;
  height: 500px;
  cursor: pointer;
}

/* Each phone card */
.tpl-catalog__phone {
  position: absolute;
  bottom: 0;
  width: var(--tpl-catalog-phone-width);
  aspect-ratio: 9/19.5;
  border-radius: clamp(16px, 1.5vw, 24px);
  overflow: hidden;
  border: 2px solid rgba(158, 221, 15, 0.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 24px 60px rgba(0,0,0,0.65),
    0 0 40px rgba(3,131,6,0.12);
  background: #0d1f0e;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity 0.4s ease,
    filter 0.4s ease,
    z-index 0s;
  will-change: transform;
}

.tpl-catalog__phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.tpl-catalog__label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  z-index: 5;
  background: rgba(0,0,0,0.4);
  padding: 2px 8px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Camera islands */
.tpl-catalog__cam {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  z-index: 10;
}
.tpl-catalog__cam--dynamic-island {
  width: 38%; height: clamp(12px, 1.2vw, 18px);
  border-radius: 20px;
}
.tpl-catalog__cam--island {
  width: 32%; height: clamp(12px, 1.2vw, 18px);
  border-radius: 20px;
}
.tpl-catalog__cam--island-small {
  width: 24%; height: clamp(10px, 1vw, 15px);
  border-radius: 20px;
}
.tpl-catalog__cam--punch {
  width: clamp(7px, 0.7vw, 11px); height: clamp(7px, 0.7vw, 11px);
  border-radius: 50%;
}
.tpl-catalog__cam--notch {
  top: 0; width: 52%; height: clamp(14px, 1.4vw, 22px);
  border-radius: 0 0 16px 16px;
  transform: translateX(-50%);
}

/* Default stacked positions (collapsed) */
.tpl-catalog__phone--0 { left: 50%; transform: translateX(-50%)                     rotate(0deg);   z-index: 5; opacity: 1;    filter: brightness(1); }
.tpl-catalog__phone--1 { left: 50%; transform: translateX(calc(-50% - var(--tpl-catalog-offset-near))) rotate(-8deg);  z-index: 4; opacity: 0.75; filter: brightness(0.65); }
.tpl-catalog__phone--2 { left: 50%; transform: translateX(calc(-50% - var(--tpl-catalog-offset-far)))  rotate(-16deg); z-index: 3; opacity: 0.55; filter: brightness(0.45); }
.tpl-catalog__phone--3 { left: 50%; transform: translateX(calc(-50% + var(--tpl-catalog-offset-near))) rotate(8deg);   z-index: 4; opacity: 0.75; filter: brightness(0.65); }
.tpl-catalog__phone--4 { left: 50%; transform: translateX(calc(-50% + var(--tpl-catalog-offset-far)))  rotate(16deg);  z-index: 3; opacity: 0.55; filter: brightness(0.45); }

/* Hint label */
.tpl-catalog__hint {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

/* ── Expanded state on hover ── */
.tpl-catalog:hover .tpl-catalog__hint { opacity: 0; }

.tpl-catalog:hover .tpl-catalog__phone--0 {
  transform: translateX(-50%) translateY(-10px) rotate(0deg);
  z-index: 5; opacity: 1; filter: brightness(1);
}
.tpl-catalog:hover .tpl-catalog__phone--1 {
  transform: translateX(calc(-50% - var(--tpl-catalog-hover-near))) translateY(0px) rotate(-6deg);
  z-index: 4; opacity: 0.9; filter: brightness(0.85);
}
.tpl-catalog:hover .tpl-catalog__phone--2 {
  transform: translateX(calc(-50% - var(--tpl-catalog-hover-far))) translateY(16px) rotate(-14deg);
  z-index: 3; opacity: 0.75; filter: brightness(0.7);
}
.tpl-catalog:hover .tpl-catalog__phone--3 {
  transform: translateX(calc(-50% + var(--tpl-catalog-hover-near))) translateY(0px) rotate(6deg);
  z-index: 4; opacity: 0.9; filter: brightness(0.85);
}
.tpl-catalog:hover .tpl-catalog__phone--4 {
  transform: translateX(calc(-50% + var(--tpl-catalog-hover-far))) translateY(16px) rotate(14deg);
  z-index: 3; opacity: 0.75; filter: brightness(0.7);
}
.tpl-catalog:hover .tpl-catalog__label { opacity: 1; }
.tpl-catalog:hover .tpl-catalog__phone--center { border-color: rgba(158, 221, 15, 0.5); box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 30px 80px rgba(0,0,0,0.8), 0 0 60px rgba(158,221,15,0.2); }

/* ─── THEME TRANSITION ───────────────────────────────────────── */
.theme-transition {
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.theme-transition__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(158,221,15,0.2) 20%,
    rgba(36,159,50,0.4) 50%,
    rgba(3,131,6,0.2) 80%,
    transparent
  );
}

/* ─── WHY SECTION ────────────────────────────────────────────── */
.why {
  background: var(--bg-base);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-mid), transparent);
}

.why__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.why__header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.why__header .section-desc { margin: 0 auto; }

.why-menu {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(170deg, #111315 0%, #0d0f10 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 3px;
  padding: 3rem 3.5rem;
  position: relative;
  box-shadow:
    0 0 0 6px rgba(255,255,255,0.015),
    0 0 0 7px rgba(255,255,255,0.045),
    0 40px 100px rgba(0,0,0,0.65);
}
/* inner decorative inset frame */
.why-menu::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 1px;
  pointer-events: none;
}

/* ── Crown ornament ── */
.why-menu__crown {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.why-menu__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(158,221,15,0.28));
}
.why-menu__rule--end {
  background: linear-gradient(to left, transparent, rgba(158,221,15,0.28));
}
.why-menu__emblem {
  font-size: 0.7rem;
  color: var(--karta-lime);
  opacity: 0.5;
  line-height: 1;
}

/* ── Menu header ── */
.why-menu__header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.why-menu__estab {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  margin-bottom: 0.6rem;
}
.why-menu__section-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.why-menu__tagline {
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(158,221,15,0.5);
  letter-spacing: 0.04em;
}

/* ── Full-width rule ── */
.why-menu__rule-full {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.10) 20%,
    rgba(255,255,255,0.10) 80%,
    transparent
  );
  margin: 0.25rem 0 0;
}

/* ── Dish list ── */
.why-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Single dish entry ── */
.why-dish {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.why-dish:last-child { border-bottom: none; }
.why-dish.visible { opacity: 1; transform: none; }

/* Name ····· Price row */
.why-dish__row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.why-dish__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
  line-height: 1.3;
}
/* dot leader */
.why-dish__dots {
  flex: 1;
  min-width: 12px;
  align-self: flex-end;
  margin-bottom: 0.28em;
  border-bottom: 1px dotted rgba(255,255,255,0.14);
}
.why-dish__price {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  white-space: nowrap;
}
.why-dish__price--highlight {
  color: var(--karta-lime);
  opacity: 0.85;
}
/* description — looks like a dish blurb */
.why-dish__desc {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 1.25rem;
}

/* ── Footer ── */
.why-menu__footer {
  text-align: center;
  margin-top: 1.25rem;
}
.why-menu__chef {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.13);
}

/* ─── FOUNDER SECTION ────────────────────────────────────────── */
.founder {
  background: var(--bg-surface);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.founder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(3,131,6,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 50%, rgba(158,221,15,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.founder__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: center;
}

.founder__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.founder__photo-wrap {
  position: relative;
}

.founder__photo-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 2px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: 0 0 0 8px rgba(158,221,15,0.04), 0 20px 60px rgba(0,0,0,0.4);
}

.founder__photo-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.5px solid var(--border-mid);
  animation: ring-rotate 12s linear infinite;
}
.founder__photo-ring::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 8px; height: 8px;
  background: var(--karta-lime);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--karta-lime);
}
@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.founder__quote {
  color: rgba(158,221,15,0.3);
}

.founder__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.founder__blockquote {
  border-left: 3px solid var(--karta-lime);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.founder__blockquote p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
}

.founder__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.founder__role {
  font-size: 0.875rem;
  color: var(--karta-lime);
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.founder__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.875rem;
  transition: color 0.2s ease;
}
.founder__linkedin:hover { color: #0a66c2; }

.founder__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.founder__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.founder__tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.75rem;
  background: var(--bg-card);
}

/* ─── PRICING SECTION ────────────────────────────────────────── */
.pricing {
  background: var(--bg-base);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-mid), transparent);
}
.pricing::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(3,131,6,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pricing__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pricing__header {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing__header .section-desc { margin: 0 auto; }

/* Period toggle */
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  padding: 0.375rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pricing__period-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.pricing__period-btn--active,
.pricing__period-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}
.pricing__period-btn--active {
  color: var(--karta-lime);
  box-shadow: 0 0 0 1px var(--border-mid);
}

.pricing__badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(158,221,15,0.15);
  color: var(--karta-lime);
  border-radius: 4px;
  padding: 2px 5px;
}

/* Pricing grid */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 5rem;
}

/* Plan card */
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.plan-card:hover { border-color: var(--border-mid); }

/* Featured card */
.plan-card--featured {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  transform: scale(1.03);
  box-shadow: 0 0 0 1px rgba(158,221,15,0.15), 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(158,221,15,0.06);
}
.plan-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.plan-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--karta-lime);
  color: #050c06;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.plan-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(158,221,15,0.07);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--karta-lime);
  margin-bottom: 0.875rem;
}

.plan-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.plan-card__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Price display */
.plan-card__price {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  line-height: 1;
}
.plan-card__currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding-bottom: 4px;
}
.plan-card__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: all 0.3s ease;
  line-height: 1;
}
.plan-card__amount.animating {
  transform: scale(0.9);
  opacity: 0.5;
}
.plan-card__period {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-bottom: 6px;
}

.plan-card__billing-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: -1rem;
}

/* Features list */
.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.plan-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.plan-feat__check {
  color: var(--karta-lime);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.875rem;
}
.plan-feat--add-on {
  color: var(--text-muted);
  padding-top: 0.375rem;
  border-top: 1px dashed var(--border-subtle);
  margin-top: 0.25rem;
}
.plan-feat__plus {
  color: var(--karta-green-mid);
  font-weight: 700;
  flex-shrink: 0;
}

/* Foto Studio addon */
.plan-card__foto-studio {
  background: rgba(158,221,15,0.04);
  border: 1px solid rgba(158,221,15,0.1);
  border-radius: var(--r-md);
  padding: 1rem;
}

.plan-card__foto-toggle {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.foto-label__text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.foto-label__price {
  font-size: 0.8125rem;
  color: var(--karta-lime);
  font-weight: 700;
}
.foto-label__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.plan-card__cta { width: 100%; justify-content: center; }

/* Pricing FAQ */
.pricing__faq { max-width: 800px; margin: 0 auto; }
.pricing__faq-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border-mid); }

.faq-item__q {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.faq-item__q::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--karta-lime);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] .faq-item__q::after { transform: rotate(45deg); }

.faq-item__a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 2rem;
  text-align: center;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(3,131,6,0.18) 0%, transparent 70%),
    var(--bg-surface);
  z-index: 0;
}
.cta-banner__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 30px,
      rgba(158,221,15,0.02) 30px,
      rgba(158,221,15,0.02) 31px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 30px,
      rgba(158,221,15,0.02) 30px,
      rgba(158,221,15,0.02) 31px
    );
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cta-banner__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
}

.footer__logo img { height: 32px; width: auto; margin-bottom: 1rem; }

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer__col-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer__col-list { display: flex; flex-direction: column; gap: 0.625rem; }

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__link:hover { color: var(--karta-lime); }
.footer__link svg { flex-shrink: 0; opacity: 0.6; }

/* Footer dots (decorative, matching the screenshot) */
.footer__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1.5rem 0;
}
.footer__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.footer__dot--green { background: var(--karta-green-mid); }
.footer__dot--lime  { background: var(--karta-lime); }
.footer__dot--white { background: rgba(255,255,255,0.4); }

.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem 2rem;
  border-top: 1px solid var(--border-subtle);
}
.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

/* ─── SCROLL ANIMATIONS ──────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }

  /* Hero phones — fixed and blurred on smaller screens */
  .hero__phone {
    pointer-events: none;
    cursor: default;
    filter: brightness(0.4) blur(4px) !important;
  }
  .hero__phone:hover {
    transform: translateY(-50%) rotate(var(--rot)) !important;
    filter: brightness(0.4) blur(4px) !important;
  }
  .hero__fan:has(.hero__phone:hover) .hero__phone:not(:hover) {
    transform: translateY(-50%) rotate(var(--rot)) !important;
    filter: brightness(0.4) blur(4px) !important;
  }

  .why-menu { padding: 2.5rem 2rem; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .plan-card--featured { transform: scale(1); }
  .plan-card--featured:hover { transform: translateY(-4px); }

  .founder__inner { grid-template-columns: 1fr; gap: 3rem; }
  .founder__visual { flex-direction: row; justify-content: flex-start; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 955px) {
  :root { --section-pad: 64px; }

  .tpl-catalog {
    --tpl-catalog-phone-width: 160px;
    --tpl-catalog-offset-near: 48px;
    --tpl-catalog-offset-far: 88px;
    --tpl-catalog-hover-near: 130px;
    --tpl-catalog-hover-far: 248px;
    width: min(100%, 340px);
    height: 420px;
    margin-inline: auto;
  }

  /* Navbar mobile */
  .navbar__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(5, 12, 6, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 2rem 2.5rem;
    gap: 0.5rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.3s ease, visibility 0s 0.35s;
    border-bottom: 1px solid var(--border-subtle);
    z-index: 99;
  }
  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: transform 0.35s ease, opacity 0.3s ease, visibility 0s 0s;
  }
  .navbar__link { width: 100%; padding: 0.75rem 1rem; font-size: 1rem; }

  .navbar__cta { display: none; }
  /* CTA inside dropdown */
  .navbar__cta-item {
    display: block;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
    margin-top: 0.25rem;
  }
  .navbar__cta-item .btn { width: 100%; justify-content: center; }

  /* Layout fix: Logo | (auto space) | Lang | Hamburger */
  .navbar__lang-btn { margin-left: auto; margin-right: 0; }
  .navbar__hamburger { display: flex; order: 10; margin-left: 0.5rem; }
  .navbar__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .navbar__hamburger.open span:nth-child(2) { opacity: 0; }
  .navbar__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Hero phones — no position changes at this breakpoint, phones keep desktop layout */

  /* Feature rows */
  .feature-row {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem;
  }
  .feature-row[data-feature="1"] { padding-top: 0; }
  .feature-row--reverse .feature-row__media { order: unset; }
  .feature-row--reverse .feature-row__text  { order: unset; }

  /* Feature media — wide video & compare slider fill the column */
  .feature-mock--wide {
    width: 100%;
    max-width: 540px;
    aspect-ratio: 16 / 9;
    animation: none;
    transform: none;
  }
  .img-compare {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 3;
    animation: none;
    transform: none;
  }

  /* Why menu — tighter on mobile */
  .why-menu { padding: 2rem 1.5rem; }
  .why-menu::before { inset: 6px; }
  .why-dish__name { font-size: 0.95rem; }

  /* Founder */
  .founder__visual { flex-direction: column; align-items: center; }

  /* Pricing */
  .pricing__inner { padding: 0 1rem; }
  .pricing__header { margin-bottom: 2rem; }
  .pricing__toggle {
    width: 100%;
    max-width: 420px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pricing__period-btn {
    justify-content: center;
    padding: 0.6rem 0.45rem;
    font-size: 0.8rem;
    gap: 0.35rem;
    min-width: 0;
  }
  .pricing__badge { font-size: 0.6rem; }
  .pricing__grid { max-width: 100%; }
  .plan-card {
    padding: 1.375rem;
    border-radius: var(--r-lg);
    gap: 1.125rem;
  }
  .plan-card__amount { font-size: 2.5rem; }
  .plan-card__billing-note { margin-top: -0.5rem; }
  .plan-card__features { padding-top: 1rem; }
  .plan-card__foto-studio { padding: 0.875rem; }
  .foto-label__text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .plan-card__cta { min-height: 44px; }
  .faq-grid { grid-template-columns: 1fr; }

  /* CTA above footer */
  .cta-banner { padding: 4.5rem 1.25rem; }
  .cta-banner__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.12;
  }
  .cta-banner__desc {
    font-size: 0.98rem;
    margin-bottom: 1.75rem;
  }
  .cta-banner__inner .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0.95rem 1rem;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 480px) {
  .pricing__inner { padding: 0 0.875rem; }
  .pricing__toggle {
    gap: 0.25rem;
    padding: 0.25rem;
    margin-bottom: 2.5rem;
  }
  .pricing__period-btn {
    font-size: 0.74rem;
    padding: 0.55rem 0.3rem;
    letter-spacing: -0.01em;
  }
  .pricing__badge {
    font-size: 0.56rem;
    padding: 2px 4px;
  }
  .plan-card { padding: 1.125rem; }
  .plan-card__amount { font-size: 2.2rem; }
  .plan-card__currency { font-size: 1.05rem; }
  .plan-card__period { font-size: 0.78rem; }

  .features { padding-top: 0; }
  .feature-row[data-feature="1"] { padding-top: 0; }
  .feature-mock--wide { aspect-ratio: 16 / 9; }
  .img-compare { aspect-ratio: 1 / 1; max-width: 340px; }

  .cta-banner { padding: 4rem 0.875rem; }
  .cta-banner__title { font-size: clamp(1.55rem, 9vw, 2rem); }
  .cta-banner__desc {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }
  .cta-banner__inner .btn {
    font-size: 0.98rem;
    padding: 0.88rem 0.85rem;
  }

  .hero__title { font-size: 2.25rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ─── LAPTOPS (1024px - 1280px) — fixed, blurred background phones ────────────── */
@media (min-width: 1024px) and (max-width: 1279px) {
  /* Hero phones — fixed and slightly blurred on laptop screens */
  .hero__phone {
    pointer-events: none;
    cursor: default;
    filter: brightness(0.45) blur(2px) !important;
  }
  .hero__phone:hover {
    transform: translateY(-50%) rotate(var(--rot)) !important;
    filter: brightness(0.45) blur(2px) !important;
  }
  .hero__fan:has(.hero__phone:hover) .hero__phone:not(:hover) {
    transform: translateY(-50%) rotate(var(--rot)) !important;
    filter: brightness(0.45) blur(2px) !important;
  }
}

/* ─── XL SCREENS — phones hug the center content ────────────── */
@media (min-width: 1280px) {
  /* Hero phones — fixed and very slightly blurred on XL screens */
  .hero__phone {
    pointer-events: none;
    cursor: default;
    filter: brightness(0.5) blur(1px) !important;
  }
  .hero__phone:hover {
    transform: translateY(-50%) rotate(var(--rot)) !important;
    filter: brightness(0.5) blur(1px) !important;
  }
  .hero__fan:has(.hero__phone:hover) .hero__phone:not(:hover) {
    transform: translateY(-50%) rotate(var(--rot)) !important;
    filter: brightness(0.5) blur(1px) !important;
  }
}

@media (min-width: 1600px) {
  /* Hero phones — fixed and very slightly blurred on XXL screens */
  .hero__phone {
    pointer-events: none;
    cursor: default;
    filter: brightness(0.5) blur(1px) !important;
  }
  .hero__phone:hover {
    transform: translateY(-50%) rotate(var(--rot)) !important;
    filter: brightness(0.5) blur(1px) !important;
  }
  .hero__fan:has(.hero__phone:hover) .hero__phone:not(:hover) {
    transform: translateY(-50%) rotate(var(--rot)) !important;
    filter: brightness(0.5) blur(1px) !important;
  }
}

/* ─── ACCESSIBILITY ──────────────────────────────────────────── */
@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; }
}

:focus-visible {
  outline: 2px solid var(--karta-lime);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── SELECTION ──────────────────────────────────────────────── */
::selection {
  background: rgba(158, 221, 15, 0.25);
  color: var(--text-primary);
}

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--karta-lime); }

/* ─── LEGAL PAGES (Privacy, Terms) ────────────────────────── */
.legal-section {
  background: var(--bg-base);
  padding: calc(var(--nav-h) + 3rem) 2rem var(--section-pad);
  min-height: 100vh;
}

.legal-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  text-align: center;
  margin-bottom: 4rem;
}

.legal-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-shadow:
    0 0 20px rgba(158, 221, 15, 0.15),
    0 0 40px rgba(158, 221, 15, 0.08);
}

.legal-header__subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-block {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  transition: border-color 0.3s ease;
}
.legal-block:hover {
  border-color: var(--border-mid);
}

.legal-block__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(158, 221, 15, 0.15);
}

.legal-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-block p:last-of-type {
  margin-bottom: 0;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0.5rem 0;
  margin-left: 0.5rem;
}

.legal-list li::before {
  content: '→';
  color: var(--karta-lime);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.legal-link {
  color: var(--karta-lime);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.legal-link:hover {
  color: var(--karta-lime-bright);
  text-decoration: underline;
}

/* ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .legal-section {
    padding-top: calc(var(--nav-h) + 2rem);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .legal-header {
    margin-bottom: 2.5rem;
  }

  .legal-header__title {
    font-size: 1.75rem;
  }

  .legal-block {
    padding: 1.5rem;
  }

  .legal-block__title {
    font-size: 1.1rem;
  }

  .legal-list li {
    font-size: 0.9rem;
  }
}

/* ─── SOON BUTTON ANIMATION ──────────────────────────────────── */
@keyframes soonExit {
  0%   { opacity: 1; transform: translateY(0)   scale(1); }
  100% { opacity: 0; transform: translateY(-7px) scale(0.9); }
}
@keyframes soonEnter {
  0%   { opacity: 0; transform: translateY(9px)  scale(0.9); }
  60%  { transform: translateY(-2px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0)    scale(1); }
}

.btn--soon-exit {
  animation: soonExit 0.14s cubic-bezier(0.4, 0, 1, 1) forwards;
  pointer-events: none;
}
.btn--soon {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #f59e0b !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  box-shadow: none !important;
  cursor: default;
  pointer-events: none;
  animation: soonEnter 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.btn--soon::after {
  content: '…';
  display: inline-block;
  animation: dotsLoop 1.4s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes dotsLoop {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50%       { opacity: 1;   transform: translateY(-1px); }
}
