/* ============================================================
   KIDOOS V3 — Branding Kit
   Palette: Creme #FFF9E1, Navy #1A202C, Green #38A169,
            Orange #F6AD55, Purple #805AD5
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Mono:wght@400;700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --cream: #FFF9E1;
  --cream-strong: #FFFEF7;
  --navy: #1A202C;
  --ink: #111118;
  --green: #38A169;
  --green-dark: #2D8555;
  --orange: #F6AD55;
  --orange-dark: #E09A3E;
  --purple: #805AD5;
  --purple-dark: #6B46C1;

  --border: 3px solid var(--ink);
  --border-thick: 4px solid var(--ink);
  --border-light: 2px solid var(--ink);

  --shadow-xs: 3px 3px 0 var(--ink);
  --shadow-sm: 5px 5px 0 var(--ink);
  --shadow-md: 8px 8px 0 var(--ink);
  --shadow-lg: 12px 12px 0 var(--ink);
  --shadow-xl: 16px 16px 0 var(--ink);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --font-display: 'Archivo Black', Impact, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --grid-size: 48px;
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-snap: cubic-bezier(0.25, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--navy);
  font-size: 16px;
}

html.i18n-pending body { opacity: 0; }
html.i18n-ready body { opacity: 1; transition: opacity .2s ease; }

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grid overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26,32,44,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,32,44,.06) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  z-index: 0;
}

/* Noise texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { border: 0; background: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---- LAYOUT ---- */
.v3-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.v3-section {
  padding: 120px 0;
  position: relative;
}

/* ---- TYPOGRAPHY ---- */
.v3-display {
  font-family: var(--font-display);
  line-height: .92;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.v3-mono {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---- LABELS / TAGS ---- */
.v3-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  background: var(--cream-strong);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.v3-tag--green { background: var(--green); color: var(--cream); }
.v3-tag--orange { background: var(--orange); color: var(--ink); }
.v3-tag--purple { background: var(--purple); color: var(--cream); }
.v3-tag--navy { background: var(--navy); color: var(--cream); }

/* ---- BUTTONS ---- */
.v3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 16px 28px;
  border: var(--border-thick);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .14s var(--ease-bounce), box-shadow .14s var(--ease-bounce);
  position: relative;
  overflow: hidden;
}

.v3-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .4s ease;
}

.v3-btn:hover::after { transform: translateX(100%); }
.v3-btn:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-lg); }
.v3-btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 transparent; }

.v3-btn--green { background: var(--green); color: var(--cream); }
.v3-btn--purple { background: var(--purple); color: var(--cream); }
.v3-btn--orange { background: var(--orange); color: var(--ink); }
.v3-btn--white { background: var(--cream-strong); color: var(--ink); }
.v3-btn--navy { background: var(--navy); color: var(--cream); }

/* ---- SCROLL REVEAL ---- */
.v3-reveal {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease-snap), transform .6s var(--ease-snap);
}

.v3-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.v3-reveal-enabled .v3-reveal {
  opacity: 0;
  transform: translateY(40px);
}

html.v3-reveal-enabled .v3-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.v3-reveal-d1 { transition-delay: .08s; }
.v3-reveal-d2 { transition-delay: .16s; }
.v3-reveal-d3 { transition-delay: .24s; }
.v3-reveal-d4 { transition-delay: .32s; }
.v3-reveal-d5 { transition-delay: .40s; }

/* ---- NAVBAR ---- */
.v3-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 24px));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: rgba(255,249,225,.94);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, background .2s ease;
}

.v3-nav--static {
  position: sticky;
  top: 16px;
  transform: none;
  left: auto;
  margin: 16px auto 0;
}

.v3-nav.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255,254,247,.97);
}

.v3-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.v3-nav__mark {
  width: 52px;
  height: 52px;
  border: var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v3-nav__mark svg { width: 34px; height: 34px; }

.v3-nav__wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v3-nav__wordmark strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.04em;
}

.v3-nav__wordmark span {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .65;
}

.v3-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.v3-nav__links a {
  font-weight: 700;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: color .15s ease;
}

.v3-nav__links a:hover { color: var(--green); }

.v3-nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.v3-lang {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: var(--cream-strong);
  box-shadow: var(--shadow-xs);
}

.v3-lang button {
  min-width: 36px;
  padding: 7px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .12s, color .12s;
}

.v3-lang button.active,
.v3-lang button:hover {
  background: var(--navy);
  color: var(--cream);
}

.v3-hamburger {
  display: none;
  width: 48px;
  height: 48px;
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  background: var(--cream-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.v3-hamburger span {
  width: 22px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.v3-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.v3-hamburger.is-open span:nth-child(2) { opacity: 0; }
.v3-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- HERO ---- */
.v3-hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
}

.v3-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.v3-hero__orb {
  position: absolute;
  border: var(--border);
  box-shadow: var(--shadow-md);
  will-change: transform;
}

.v3-hero__orb--1 {
  top: 5%;
  left: -12%;
  width: 28rem;
  height: 14rem;
  border-radius: var(--radius-xl);
  background: var(--green);
  transform: rotate(-8deg);
  animation: v3-float-slow 8s ease-in-out infinite;
}

.v3-hero__orb--2 {
  bottom: 5%;
  right: -10%;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: var(--orange);
  transform: rotate(6deg);
  animation: v3-float-slow 10s ease-in-out infinite reverse;
}

.v3-hero__orb--3 {
  top: 50%;
  right: 15%;
  width: 10rem;
  height: 10rem;
  border-radius: var(--radius-xl);
  background: var(--purple);
  transform: rotate(15deg);
  animation: v3-float-slow 7s ease-in-out infinite;
  opacity: .5;
}

.v3-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.v3-hero__copy {
  display: grid;
  gap: 24px;
  max-width: 640px;
}

/* WORDMARK — CSS-only logo tiles */
.v3-wordmark {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
}

.v3-wordmark__tile {
  min-width: 72px;
  min-height: 86px;
  padding: 10px 14px;
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--navy);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: .85;
  text-transform: uppercase;
  letter-spacing: -.08em;
  transition: transform .2s var(--ease-bounce), box-shadow .2s var(--ease-bounce);
}

.v3-wordmark__tile:hover {
  transform: translate(-3px, -3px) rotate(-2deg);
  box-shadow: var(--shadow-lg);
}

.v3-wordmark--sm .v3-wordmark__tile {
  min-width: 40px;
  min-height: 48px;
  padding: 6px 10px;
  border-width: 3px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  font-size: 1.6rem;
}

/* Face letter — the O with eyes and smile */
.v3-face {
  position: relative;
  padding: 0 !important;
}

.v3-face::before,
.v3-face::after {
  content: '';
  position: absolute;
  top: 32%;
  width: 10%;
  height: 10%;
  border-radius: 50%;
  background: var(--cream);
}

.v3-face::before { left: 28%; }
.v3-face::after { right: 28%; }

.v3-face__smile {
  position: absolute;
  left: 50%;
  bottom: 20%;
  width: 54%;
  height: 14%;
  border-bottom: 4px solid var(--cream);
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
  transform: translateX(-50%);
}

.v3-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  line-height: .88;
  letter-spacing: -.07em;
  text-transform: uppercase;
  max-width: 9ch;
}

.v3-hero__title span {
  display: inline;
}

.v3-hero__title .v3-text-green { color: var(--green); }
.v3-hero__title .v3-text-purple { color: var(--purple); }

.v3-hero__desc {
  max-width: 52ch;
  font-size: 1.1rem;
  line-height: 1.65;
}

.v3-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.v3-hero__trust {
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.v3-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- HERO SHOWCASE (Device mockup) ---- */
.v3-showcase {
  position: relative;
  display: grid;
  gap: 20px;
  justify-items: center;
  perspective: 1200px;
}

.v3-device {
  position: relative;
  width: min(100%, 400px);
  padding: 14px;
  border: var(--border-thick);
  border-radius: 42px;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(160deg, rgba(255,254,247,.95), rgba(255,249,225,.7));
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .25s ease;
  transform-style: preserve-3d;
}

.v3-device__screen {
  border: var(--border-thick);
  border-radius: 34px;
  background: linear-gradient(180deg, var(--cream-strong), #f5f0dc);
  padding: 20px;
  display: grid;
  gap: 16px;
  min-height: 480px;
  overflow: hidden;
}

.v3-device__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v3-device__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.v3-device__cell {
  min-height: 110px;
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 14px;
  text-align: center;
}

.v3-device__cell--green { background: var(--green); color: var(--cream); }
.v3-device__cell--orange { background: var(--orange); }
.v3-device__cell--purple { background: var(--purple); color: var(--cream); }
.v3-device__cell--navy { background: var(--navy); color: var(--cream); }

/* Equalizer */
.v3-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  height: 32px;
}

.v3-eq span {
  width: 8px;
  border-radius: var(--radius-pill);
  background: currentColor;
  animation: v3-pulse-bar 1.3s ease-in-out infinite;
}

.v3-eq span:nth-child(1) { height: 14px; }
.v3-eq span:nth-child(2) { height: 26px; animation-delay: .15s; }
.v3-eq span:nth-child(3) { height: 18px; animation-delay: .3s; }
.v3-eq span:nth-child(4) { height: 30px; animation-delay: .45s; }
.v3-eq span:nth-child(5) { height: 22px; animation-delay: .6s; }

/* Floating chips */
.v3-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}

.v3-float--1 { top: 6%; right: -4%; background: var(--orange); animation: v3-bob 3.5s ease-in-out infinite; }
.v3-float--2 { bottom: 22%; left: -8%; background: var(--green); color: var(--cream); animation: v3-bob 3.5s ease-in-out infinite .4s; }
.v3-float--3 { bottom: 4%; right: 4%; background: var(--purple); color: var(--cream); animation: v3-bob 3.5s ease-in-out infinite .8s; }

/* ---- STICKER ROW ---- */
.v3-stickers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.v3-sticker {
  width: 68px;
  height: 68px;
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  display: inline-grid;
  place-items: center;
  transition: transform .2s var(--ease-bounce);
}

.v3-sticker:hover { transform: scale(1.12) rotate(-6deg); }

.v3-sticker svg { width: 32px; height: 32px; }

.v3-sticker--green { background: var(--green); color: var(--cream); }
.v3-sticker--orange { background: var(--orange); color: var(--ink); }
.v3-sticker--purple { background: var(--purple); color: var(--cream); }
.v3-sticker--navy { background: var(--navy); color: var(--cream); }

/* ---- TICKER BAND ---- */
.v3-ticker {
  overflow: hidden;
  border-block: var(--border-thick);
  background: var(--navy);
  color: var(--cream);
  position: relative;
  z-index: 1;
}

.v3-ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  animation: v3-marquee 22s linear infinite;
}

.v3-ticker__track:hover { animation-play-state: paused; }

.v3-ticker__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 2px solid rgba(255,249,225,.3);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.v3-ticker__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px var(--cream);
  animation: v3-glow-dot 2s ease-in-out infinite;
}

/* ---- JOURNEY / AGE MODES ---- */
.v3-journey__grid {
  display: grid;
  grid-template-columns: .38fr .62fr;
  gap: 24px;
}

.v3-journey__tabs {
  display: grid;
  gap: 14px;
}

.v3-journey__tab {
  padding: 24px;
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--cream-strong);
  cursor: pointer;
  transition: transform .16s var(--ease-bounce), box-shadow .16s, background .16s, color .16s;
}

.v3-journey__tab strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
  display: block;
  margin-top: 10px;
}

.v3-journey__tab:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-md);
}

.v3-journey__tab.is-active {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-md);
  transform: translate(-3px, -3px);
}

.v3-journey__stage {
  position: relative;
  min-height: 440px;
  padding: 32px;
  border: var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, rgba(56,161,105,.08), transparent 30%),
              linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0)),
              var(--cream-strong);
  overflow: hidden;
}

.v3-journey__panel {
  position: absolute;
  inset: 32px;
  display: grid;
  gap: 24px;
  align-content: start;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease;
}

.v3-journey__panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.v3-journey__panel h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: .92;
  letter-spacing: -.06em;
  text-transform: uppercase;
  max-width: 12ch;
}

.v3-journey__list {
  display: grid;
  gap: 12px;
}

.v3-journey__list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
  font-size: 1.02rem;
}

.v3-journey__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: var(--border-light);
  box-shadow: var(--shadow-xs);
  background: var(--orange);
}

/* Process steps */
.v3-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.v3-process__card {
  padding: 28px;
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--cream-strong);
  display: grid;
  gap: 12px;
  transition: transform .16s var(--ease-bounce), box-shadow .16s;
}

.v3-process__card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-md);
}

.v3-process__idx {
  width: 48px;
  height: 48px;
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.v3-process__card:nth-child(1) .v3-process__idx { background: var(--green); color: var(--cream); }
.v3-process__card:nth-child(2) .v3-process__idx { background: var(--orange); }
.v3-process__card:nth-child(3) .v3-process__idx { background: var(--purple); color: var(--cream); }

.v3-process__card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: -.04em;
}

/* ---- FEATURES ---- */
.v3-features__stack { display: grid; gap: 20px; }

.v3-feature {
  display: grid;
  grid-template-columns: 110px 1fr 200px;
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  border: var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--cream-strong);
  transition: transform .2s var(--ease-bounce), box-shadow .2s;
}

.v3-feature:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-xl);
}

.v3-feature__num {
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.06em;
  background: var(--navy);
  color: var(--cream);
}

.v3-feature__body { display: grid; gap: 16px; }

.v3-feature__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
  max-width: 14ch;
}

.v3-feature__body ul { display: grid; gap: 10px; }

.v3-feature__body li {
  position: relative;
  padding-left: 20px;
  line-height: 1.55;
}

.v3-feature__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--orange);
}

.v3-feature__poster {
  display: grid;
  gap: 12px;
}

.v3-feature__card {
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  display: grid;
  place-items: center;
  min-height: 90px;
  padding: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
}

.v3-feature:nth-child(1) .v3-feature__card { background: var(--green); color: var(--cream); }
.v3-feature:nth-child(2) .v3-feature__card { background: var(--orange); }
.v3-feature:nth-child(3) .v3-feature__card { background: var(--purple); color: var(--cream); }
.v3-feature:nth-child(4) .v3-feature__card { background: var(--navy); color: var(--cream); }

/* ---- PRICING ---- */
.v3-pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.v3-pricing__toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 10px;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
}

.v3-pricing__toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.02em;
  cursor: pointer;
  transition: transform .2s var(--ease-bounce), box-shadow .2s, background .2s, color .2s;
}

.v3-pricing__toggle-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
}

.v3-pricing__toggle-btn.is-active {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.v3-pricing__toggle-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.v3-pricing__card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 26px;
  border: var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  background: var(--cream-strong);
  transition: transform .2s var(--ease-bounce), box-shadow .2s;
}

.v3-pricing__card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-md);
}

.v3-pricing__card--featured {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px);
}

.v3-pricing__card--featured:hover {
  transform: translate(-3px, -17px);
  box-shadow: var(--shadow-xl);
}

.v3-pricing__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.v3-pricing__tier {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -.04em;
}

.v3-pricing__price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: .9;
  letter-spacing: -.06em;
}

.v3-pricing__period {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.v3-pricing__discount {
  min-height: 18px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.v3-pricing__features { display: grid; gap: 10px; }

.v3-pricing__features li {
  position: relative;
  padding-left: 20px;
  line-height: 1.55;
  font-size: .95rem;
}

.v3-pricing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--green);
}

.v3-pricing__card--featured .v3-pricing__features li::before {
  color: var(--orange);
}

/* ---- SECURITY ---- */
.v3-security__shell {
  display: grid;
  grid-template-columns: .45fr .55fr;
  gap: 28px;
  padding: 32px;
  border: var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, rgba(128,90,213,.1), transparent 40%),
              linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0)),
              var(--cream-strong);
}

.v3-security__copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.v3-security__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.v3-security__card {
  padding: 20px;
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  min-height: 120px;
  display: grid;
  gap: 8px;
  align-content: end;
  transition: transform .16s var(--ease-bounce), box-shadow .16s;
}

.v3-security__card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
}

.v3-security__card:nth-child(1) { background: var(--green); color: var(--cream); }
.v3-security__card:nth-child(2) { background: var(--orange); }
.v3-security__card:nth-child(3) { background: var(--cream-strong); }
.v3-security__card:nth-child(4) { background: var(--purple); color: var(--cream); }
.v3-security__card:nth-child(5) { background: var(--navy); color: var(--cream); grid-column: span 2; }

.v3-security__card strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.v3-security__region {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .7;
}

/* ---- SEO TOPIC HUB ---- */
.v3-seo {
  background:
    radial-gradient(circle at 8% 10%, rgba(128,90,213,.14), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(56,161,105,.14), transparent 28%),
    var(--cream-strong);
  border-top: var(--border-light);
  border-bottom: var(--border-light);
}

.v3-seo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.v3-seo__card,
.v3-seo__answers {
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--cream);
}

.v3-seo__card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 24px;
}

.v3-seo__card:nth-child(1) { background: var(--green); color: var(--cream); }
.v3-seo__card:nth-child(2) { background: var(--orange); }
.v3-seo__card:nth-child(3) { background: var(--purple); color: var(--cream); }
.v3-seo__card:nth-child(4) { background: var(--navy); color: var(--cream); }

.v3-seo__card h3,
.v3-seo__answers h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.v3-seo__card p,
.v3-seo__answers dd {
  line-height: 1.62;
}

.v3-seo__card ul {
  display: grid;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.v3-seo__card li {
  position: relative;
  padding-left: 18px;
}

.v3-seo__card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: currentColor;
}

.v3-seo__answers {
  margin-top: 20px;
  padding: 28px;
  display: grid;
  gap: 22px;
}

.v3-seo__answers dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
}

.v3-seo__answers dl > div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: var(--border-light);
  border-radius: var(--radius-md);
  background: rgba(255,254,247,.72);
}

.v3-seo__answers dt {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.v3-seo__answers dd {
  margin: 0;
}

/* ---- BLOG ---- */
.blog-page {
  position: relative;
  z-index: 1;
}

.blog-index-hero,
.blog-hero {
  padding: 104px 0 72px;
  background:
    radial-gradient(circle at 8% 8%, rgba(56,161,105,.18), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(246,173,85,.2), transparent 30%),
    var(--cream);
}

.blog-index-hero h1,
.blog-hero h1 {
  margin-top: 22px;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.blog-index-hero p,
.blog-hero p {
  margin-top: 22px;
  max-width: 58ch;
  font-size: 1.12rem;
  line-height: 1.65;
}

.blog-hero__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 44px;
}

.blog-hero img,
.blog-card img {
  width: 100%;
  height: auto;
  border: var(--border-thick);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--cream-strong);
}

.blog-meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  display: grid;
  grid-template-columns: .42fr .58fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--cream-strong);
}

.blog-card img {
  border-width: 3px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.blog-card h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.blog-card p {
  line-height: 1.58;
}

.blog-read {
  display: inline-flex;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-content {
  max-width: 860px;
  padding-top: 72px;
  padding-bottom: 96px;
}

.blog-content section {
  margin-top: 42px;
}

.blog-content h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.blog-content p,
.blog-content li {
  font-size: 1.08rem;
  line-height: 1.78;
}

.blog-lead {
  padding: 26px;
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--cream-strong);
}

.blog-content ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-left: 22px;
  list-style: disc;
}

.blog-faq details {
  margin-top: 12px;
  border: var(--border-light);
  border-radius: var(--radius-md);
  background: var(--cream-strong);
}

.blog-faq summary {
  cursor: pointer;
  padding: 18px;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.blog-faq details p {
  padding: 0 18px 18px;
}

.blog-cta {
  margin-top: 52px;
  padding: 28px;
  border: var(--border-thick);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  color: var(--cream);
}

.blog-cta p {
  margin: 12px 0 22px;
}

/* ---- FAQ ---- */
.v3-faq__list { display: grid; gap: 14px; }

.v3-faq__item {
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--cream-strong);
  overflow: hidden;
  transition: box-shadow .16s;
}

.v3-faq__item:hover { box-shadow: var(--shadow-md); }

.v3-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.v3-faq__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-xs);
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transition: transform .2s ease, background .2s ease;
}

.v3-faq__q[aria-expanded='true'] .v3-faq__arrow {
  transform: rotate(45deg);
  background: var(--green);
  color: var(--cream);
}

.v3-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.v3-faq__a.open { max-height: 300px; }
.v3-faq__a p { padding: 0 26px 24px; max-width: 68ch; line-height: 1.65; }

/* ---- CTA FINAL ---- */
.v3-cta {
  padding: 110px 0 100px;
}

.v3-cta__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 24px;
  padding: 40px;
  border: var(--border-thick);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  background:
    linear-gradient(135deg, rgba(56,161,105,.15), transparent 30%),
    linear-gradient(210deg, rgba(246,173,85,.2), transparent 34%),
    linear-gradient(330deg, rgba(128,90,213,.12), transparent 30%),
    var(--cream-strong);
}

.v3-cta__panel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,.15), transparent 70%);
  pointer-events: none;
}

.v3-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---- FOOTER ---- */
.v3-footer {
  position: relative;
  z-index: 1;
  padding: 40px 0 60px;
  border-top: var(--border-thick);
  background: var(--navy);
  color: var(--cream);
}

.v3-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, .6fr);
  gap: 28px;
}

.v3-footer__brand { display: grid; gap: 14px; align-content: start; }

.v3-footer__brand .v3-nav__mark {
  background: var(--cream);
}

.v3-footer__brand .v3-nav__mark svg { color: var(--navy); }

.v3-footer__col { display: grid; gap: 14px; align-content: start; }

.v3-footer__col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.v3-footer__col a {
  font-size: .92rem;
  opacity: .7;
  transition: opacity .15s;
}

.v3-footer__col a:hover { opacity: 1; }

.v3-footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,249,225,.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .6;
}

/* ---- SECTION HEADS ---- */
.v3-section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 44px;
}

.v3-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.06em;
  text-transform: uppercase;
  max-width: 16ch;
}

/* ---- DECORATIVE SHAPES ---- */
.v3-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.v3-shape--star {
  width: 48px;
  height: 48px;
  animation: v3-spin-slow 12s linear infinite;
}

.v3-shape--circle {
  width: 32px;
  height: 32px;
  border: var(--border);
  border-radius: 50%;
  animation: v3-bob 4s ease-in-out infinite;
}

.v3-shape--cross {
  width: 28px;
  height: 28px;
  animation: v3-spin-slow 8s linear infinite reverse;
}

/* ---- KEYFRAMES ---- */
@keyframes v3-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes v3-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes v3-float-slow {
  0%, 100% { transform: translateY(0) rotate(var(--r, -8deg)); }
  50% { transform: translateY(-18px) rotate(var(--r, -8deg)); }
}

@keyframes v3-pulse-bar {
  0%, 100% { transform: scaleY(.65); }
  50% { transform: scaleY(1.15); }
}

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

@keyframes v3-glow-dot {
  0%, 100% { box-shadow: 0 0 0 2px var(--cream); }
  50% { box-shadow: 0 0 8px 3px rgba(56,161,105,.5); }
}

@keyframes v3-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  75% { transform: rotate(-3deg); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1120px) {
  .v3-nav__links { gap: 16px; }
  .v3-feature { grid-template-columns: 90px 1fr 180px; }
  .v3-seo__grid { grid-template-columns: repeat(2, 1fr); }
  .v3-pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .v3-pricing__card--featured { transform: none; }
  .v3-pricing__card--featured:hover { transform: translate(-3px, -3px); }
}

@media (max-width: 920px) {
  .v3-nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    border: var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: rgba(255,254,247,.98);
  }

  .v3-nav__links.open { display: flex; }
  .v3-nav__links a {
    padding: 14px 16px;
    border: var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    background: var(--cream-strong);
  }
  .v3-nav__actions .v3-btn { display: none; }
  .v3-hamburger { display: inline-flex; }

  .v3-hero__layout,
  .v3-journey__grid,
  .v3-security__shell,
  .v3-footer__grid { grid-template-columns: 1fr; }

  .v3-hero__copy, .v3-hero__title, .v3-section-title { max-width: none; }
  .v3-feature { grid-template-columns: 1fr; }
  .v3-feature__num { width: 80px; height: 80px; }
  .v3-process { grid-template-columns: 1fr; }
  .v3-seo__answers dl { grid-template-columns: 1fr; }
  .blog-hero__grid { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .v3-nav { padding: 10px 14px; }
  .v3-nav__wordmark span { display: none; }
  .v3-container { width: min(1200px, calc(100% - 24px)); }
  .v3-hero { padding-top: 116px; }
  .v3-hero__title { font-size: clamp(2.6rem, 15vw, 4rem); }
  .v3-section { padding: 80px 0; }

  .v3-wordmark__tile {
    min-width: 54px;
    min-height: 66px;
    padding: 8px 10px;
    font-size: 2rem;
  }

  .v3-wordmark--sm .v3-wordmark__tile {
    min-width: 34px;
    min-height: 40px;
    font-size: 1.3rem;
  }

  .v3-device__screen { min-height: 420px; }
  .v3-journey__stage { min-height: 400px; padding: 24px; }
  .v3-journey__panel { inset: 24px; }

  .v3-security__grid,
  .v3-seo__grid,
  .v3-pricing__grid { grid-template-columns: 1fr; }
  .v3-security__card:nth-child(5) { grid-column: span 1; }

  .v3-cta__panel { padding: 24px; }
  .blog-index-hero,
  .blog-hero { padding: 80px 0 52px; }
  .blog-index-hero h1,
  .blog-hero h1 { max-width: none; }
  .blog-content { padding-top: 52px; }
  .v3-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v3-reveal,
  .v3-journey__panel,
  .v3-eq span,
  .v3-ticker__track,
  .v3-float,
  .v3-hero__orb,
  .v3-shape,
  .v3-device {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .v3-reveal { opacity: 1; }
}
