@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');

/* ===== Petchi design system ===== */
:root {
  --primary: #28439b;
  --primary-dark: #172b72;
  --primary-soft: #dfe6ff;
  --purple: #6657d8;
  --purple-soft: #eeeaff;
  --accent: #20cbb7;
  --accent-dark: #079b8d;
  --accent-soft: #d7faf4;
  --bg: #f8faff;
  --bg-alt: #eef2fb;
  --surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --text: #26345a;
  --text-heading: #203b91;
  --text-muted: #68738b;
  --border: #e0e6f2;
  --shadow-sm: 0 10px 30px rgba(42, 61, 121, 0.08);
  --shadow-lg: 0 28px 70px rgba(42, 61, 121, 0.16);
  --radius: 24px;
  --radius-lg: 38px;

  font-family: 'Fredoka', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% 6%, rgba(102, 87, 216, 0.12), transparent 28rem),
    radial-gradient(circle at 5% 28%, rgba(32, 203, 183, 0.09), transparent 24rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-heading);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3.4rem, 6.1vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.55rem);
  text-align: center;
  margin-bottom: 1rem;
}

h3 { font-size: 1.4rem; }

p {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

section { position: relative; }

/* ===== Motion ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== Header ===== */
header.container {
  width: min(1228px, calc(100% - 32px));
  height: 82px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 12px;
  z-index: 20;
  border: 1px solid transparent;
  border-radius: 22px;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(219, 226, 241, 0.85);
  box-shadow: 0 10px 35px rgba(37, 58, 118, 0.09);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.22s ease;
}

.logo:hover { transform: rotate(-2deg) scale(1.04); }

.logo img {
  width: auto;
  height: 47px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(65, 50, 171, 0.18));
}

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

.nav-links a {
  position: relative;
  color: #37415a;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }

.header-controls {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.language-switcher {
  padding: 3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #dce3f1;
  border-radius: 999px;
  background: rgba(235, 239, 248, 0.86);
  box-shadow: inset 0 1px 2px rgba(42, 61, 121, 0.05);
}

.language-switcher a {
  width: 34px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #69748d;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.language-switcher a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.language-switcher a.active {
  background: #fff;
  box-shadow: 0 3px 9px rgba(42, 61, 121, 0.14);
  color: var(--primary);
}

/* ===== Hero ===== */
.hero {
  min-height: 760px;
  padding-top: 10px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: start;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.hero::before {
  content: '';
  position: absolute;
  width: 290px;
  height: 290px;
  left: -230px;
  bottom: 40px;
  border: 58px solid rgba(32, 203, 183, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content { max-width: 610px; }

.hero-content h1 {
  font-size: clamp(3.35rem, 5.1vw, 4.75rem);
}

.hero-eyebrow {
  width: fit-content;
  margin-bottom: 1.4rem;
  padding: 0.55rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #d9e0f4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(32, 203, 183, 0.14);
}

.hero-content h1 span {
  display: inline-block;
  color: var(--primary);
  position: relative;
  z-index: 0;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  right: -0.04em;
  bottom: 0.04em;
  left: -0.03em;
  height: 0.2em;
  border-radius: 999px 55% 999px 45%;
  background: var(--accent);
  opacity: 0.32;
  transform: rotate(-1deg);
  z-index: -1;
}

.hero-subtitle {
  max-width: 590px;
  margin: 1.25rem 0 1.4rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-note {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #788198;
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-note::before {
  content: '✦';
  color: var(--purple);
  font-size: 1rem;
}

/* ===== Waitlist form ===== */
.waitlist-form {
  width: min(100%, 600px);
  padding: 1.15rem;
  border: 1px solid rgba(211, 220, 240, 0.95);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 48px rgba(42, 61, 121, 0.13);
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.waitlist-heading {
  margin-bottom: 0.9rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.waitlist-heading strong {
  color: var(--text-heading);
  font-size: 1rem;
  line-height: 1.25;
}

.waitlist-heading span {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: right;
}

.waitlist-fields {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 0.7rem;
}

.waitlist-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.waitlist-field > span {
  padding-left: 0.2rem;
  color: #515d77;
  font-size: 0.72rem;
  font-weight: 600;
}

.waitlist-field input {
  width: 100%;
  height: 45px;
  padding: 0 0.9rem;
  border: 1px solid #dce3f1;
  border-radius: 13px;
  outline: none;
  background: #f8faff;
  color: var(--text);
  font: 500 0.91rem/1 'Fredoka', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.waitlist-field input::placeholder { color: #9aa3b7; }

.waitlist-field input:focus {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(102, 87, 216, 0.12);
}

.photo-picker {
  min-height: 66px;
  margin-top: 0.7rem;
  padding: 0.7rem 0.8rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  border: 1px dashed #bfcbea;
  border-radius: 15px;
  background: linear-gradient(135deg, #f4f6ff, #f5fffd);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.photo-picker:hover {
  border-color: var(--purple);
  background: linear-gradient(135deg, #eeefff, #eefffb);
  transform: translateY(-1px);
}

.photo-picker:has(input:focus-visible) {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(102, 87, 216, 0.12);
}

.photo-picker input[type='file'] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.photo-icon,
.photo-preview {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.photo-icon {
  display: grid;
  place-items: center;
  background: var(--purple-soft);
  color: var(--purple);
}

.photo-icon svg { width: 23px; height: 23px; }

.photo-preview {
  display: block;
  grid-column: 1;
  grid-row: 1;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(40, 67, 155, 0.16);
}

.photo-preview[hidden] { display: none; }
.photo-picker.has-preview .photo-icon { visibility: hidden; }

.photo-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.photo-copy strong {
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.3;
}

.photo-copy small {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.photo-name {
  max-width: 116px;
  overflow: hidden;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waitlist-consent {
  margin: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #6d7790;
  font-size: 0.72rem;
  line-height: 1.45;
}

.waitlist-consent input {
  width: 16px;
  height: 16px;
  margin: 0.1rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--purple);
}

.waitlist-consent a {
  color: var(--primary);
  font-weight: 600;
}

.waitlist-submit-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.waitlist-submit,
.cta-waitlist-button {
  min-height: 46px;
  padding: 0 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  box-shadow: 0 10px 22px rgba(64, 58, 171, 0.22);
  color: #fff;
  font: 600 0.9rem/1 'Fredoka', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.waitlist-submit:hover,
.cta-waitlist-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(64, 58, 171, 0.28);
}

.waitlist-submit:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.waitlist-submit svg,
.cta-waitlist-button svg { width: 18px; height: 18px; }

.waitlist-trust {
  color: #7b849a;
  font-size: 0.72rem;
}

.waitlist-status {
  min-height: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.waitlist-status:not(:empty) { margin-top: 0.7rem; }
.waitlist-status.is-success { color: var(--accent-dark); }
.waitlist-status.is-error { color: #b2385d; }

.waitlist-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
  isolation: isolate;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 430px;
  aspect-ratio: 1;
  top: 48%;
  left: 50%;
  border-radius: 50%;
  background: linear-gradient(135deg, #dce4ff 0%, #e9e5ff 50%, #d9f9f4 100%);
  transform: translate(-50%, -50%);
  z-index: -2;
}

.hero-image::after {
  content: '';
  position: absolute;
  width: 92px;
  height: 92px;
  right: 3%;
  top: 15%;
  border: 18px solid rgba(102, 87, 216, 0.12);
  border-radius: 50%;
  z-index: -1;
}

.hero-image img {
  display: block;
  width: 355px;
  height: auto;
  padding: 7px;
  border: 5px solid rgba(255, 255, 255, 0.96);
  border-radius: 39px;
  background: #fff;
  box-shadow:
    0 34px 65px rgba(48, 59, 101, 0.22),
    0 12px 24px rgba(48, 59, 101, 0.1);
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0.35deg); }
  50% { transform: translateY(-12px) rotate(-0.35deg); }
}

/* ===== Shared section heading ===== */
.section-label {
  width: fit-content;
  margin: 0 auto 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-subtitle {
  max-width: 610px;
  margin: 0 auto 3.8rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.13rem;
}

/* ===== Features ===== */
.features {
  padding: 112px 0 124px;
  background:
    radial-gradient(circle at 82% 12%, rgba(102, 87, 216, 0.1), transparent 22rem),
    var(--bg-alt);
  border-radius: 56px 56px 0 0;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  top: 170px;
  left: -160px;
  border: 48px solid rgba(32, 203, 183, 0.1);
  border-radius: 50%;
}

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

.card {
  min-height: 365px;
  padding: 2.1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 225, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.card::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--primary-soft);
  opacity: 0.58;
  transition: transform 0.35s ease;
}

.card:nth-child(2)::after { background: var(--accent-soft); }
.card:nth-child(3)::after { background: var(--purple-soft); }

.card:hover {
  transform: translateY(-9px);
  border-color: #cad6f0;
  box-shadow: var(--shadow-lg);
}

.card:hover::after { transform: scale(1.18); }

.card-step {
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2fb;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.card-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 23px;
  background: var(--primary-soft);
  color: var(--primary);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.card:nth-child(2) .card-icon {
  background: var(--accent-soft);
  color: var(--accent-dark);
  transform: rotate(3deg);
}

.card:nth-child(3) .card-icon {
  background: var(--purple-soft);
  color: var(--purple);
}

.card:hover .card-icon { transform: rotate(0) scale(1.05); }

.card-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
}

.card h3 {
  margin-bottom: 0.8rem;
  color: var(--text-heading);
  font-size: 1.45rem;
}

.card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ===== Gallery ===== */
.gallery {
  padding: 120px 0 128px;
  background: #fff;
  overflow: hidden;
}

.gallery::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -250px;
  bottom: -210px;
  border: 72px solid rgba(102, 87, 216, 0.07);
  border-radius: 50%;
}

.gallery-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1.5rem;
}

.gallery-item {
  min-width: 0;
  padding: 12px 12px 18px;
  background: #f7f9fe;
  border: 1px solid var(--border);
  border-radius: 27px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.gallery-item:nth-child(2) { transform: translateY(24px); }
.gallery-item:hover { transform: translateY(-7px) rotate(-0.5deg); box-shadow: var(--shadow-lg); }
.gallery-item:nth-child(2):hover { transform: translateY(17px) rotate(0.5deg); }

.gallery-item img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: var(--primary-soft);
}

.gallery-item-label {
  padding: 1rem 0.5rem 0.25rem;
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

/* ===== Unified product journey ===== */
.journey {
  padding: 118px 0 132px;
  background:
    radial-gradient(circle at 82% 7%, rgba(102, 87, 216, 0.11), transparent 24rem),
    radial-gradient(circle at -3% 82%, rgba(32, 203, 183, 0.1), transparent 23rem),
    var(--bg-alt);
  border-radius: 56px 56px 0 0;
  overflow: hidden;
}

.journey-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.journey-heading h2 br { display: block; }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
}

.journey-grid::before {
  content: '';
  position: absolute;
  top: 220px;
  right: 13%;
  left: 13%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(102, 87, 216, 0.2) 0 7px, transparent 7px 15px);
}

.journey-card {
  min-width: 0;
  padding: 12px 12px 2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 225, 240, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.journey-card:nth-child(2) { transform: translateY(22px); }

.journey-card:hover {
  transform: translateY(-8px) rotate(-0.35deg);
  border-color: #cbd7ef;
  box-shadow: var(--shadow-lg);
}

.journey-card:nth-child(2):hover { transform: translateY(14px) rotate(0.35deg); }

.journey-visual {
  height: 250px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #edf1ff, #f8f9ff);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.journey-card:nth-child(2) .journey-visual {
  background: linear-gradient(145deg, #e4fbf7, #f6fffd);
}

.journey-card:nth-child(3) .journey-visual {
  background: linear-gradient(145deg, #efeaff, #faf8ff);
}

.journey-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-card:hover .journey-visual img { transform: scale(1.035); }

.journey-step {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(43, 57, 113, 0.13);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.journey-copy { padding: 1.65rem 1rem 0; }

.journey-kicker {
  margin-bottom: 0.55rem;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-card:nth-child(3) .journey-kicker { color: var(--purple); }

.journey-copy h3 {
  margin-bottom: 0.75rem;
  color: var(--text-heading);
  font-size: 1.48rem;
}

.journey-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ===== CTA ===== */
.cta {
  padding: 110px 0;
  background: var(--bg);
}

.cta-box {
  padding: 5.5rem 3rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 28%, rgba(32, 203, 183, 0.34), transparent 17rem),
    radial-gradient(circle at 16% 105%, rgba(124, 108, 236, 0.42), transparent 19rem),
    var(--primary-dark);
  box-shadow: 0 28px 70px rgba(26, 42, 100, 0.24);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before,
.cta-box::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-box::before {
  width: 130px;
  height: 130px;
  top: -40px;
  left: 7%;
  border: 24px solid rgba(255, 255, 255, 0.08);
}

.cta-box::after {
  width: 20px;
  height: 20px;
  right: 9%;
  bottom: 18%;
  background: var(--accent);
  box-shadow: 34px 15px 0 rgba(255,255,255,0.14), -16px 38px 0 rgba(255,255,255,0.09);
}

.cta-box h2,
.cta-box p,
.cta-box .store-badges {
  position: relative;
  z-index: 1;
}

.cta-box h2 { color: #fff; }

.cta-box p {
  max-width: 590px;
  margin: 1rem auto 2.2rem;
  color: rgba(255,255,255,0.75);
}

/* ===== Store badge ===== */
.store-badges {
  display: flex;
  justify-content: center;
}

.cta-waitlist-button {
  min-height: 54px;
  padding-inline: 1.45rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(13, 24, 75, 0.25);
  color: var(--primary-dark);
  font-size: 1rem;
}

.store-badge {
  min-width: 188px;
  padding: 0.68rem 1.18rem;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: #0c0c0e;
  box-shadow: 0 10px 22px rgba(25, 31, 60, 0.2);
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(25, 31, 60, 0.28);
}

.badge-icon { display: grid; place-items: center; }
.badge-icon svg { width: 27px; height: 27px; fill: currentColor; }

.badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-sub {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.62rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* ===== Footer ===== */
footer {
  padding: 2.6rem 0;
  background: #fff;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand img { width: auto; height: 30px; }
.footer-brand span { color: var(--text-muted); font-size: 0.86rem; }
.footer-links { display: flex; gap: 1.7rem; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ===== Secondary pages / buttons ===== */
.page-hero { padding-top: 4rem !important; }
.page-hero > h1 { color: var(--text-heading); }

.legal-content,
.support-content {
  box-shadow: var(--shadow-sm);
}

.btn {
  padding: 0.9rem 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(40, 67, 155, 0.2);
  color: #fff;
  font: 600 1rem/1 'Fredoka', sans-serif;
  text-decoration: none;
  transition: transform 0.25s, background 0.25s;
}

.btn:hover { transform: translateY(-2px); background: var(--primary-dark); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr 0.82fr;
    gap: 2rem;
  }

  .hero-image img { width: 310px; }
  .hero-image::before { width: 360px; }
  .features-grid { gap: 1rem; }
  .card { padding: 1.7rem; }

  .journey-grid { gap: 1rem; }
  .journey-copy { padding-inline: 0.65rem; }
  .journey-visual { height: 220px; }
  .journey-grid::before { top: 190px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 620px); }

  header.container {
    width: calc(100% - 24px);
    height: 70px;
    padding-inline: 16px;
    top: 8px;
  }

  .logo img { height: 39px; }
  .header-controls { gap: 1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.84rem; }

  .hero {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 85px;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .hero-content { margin-inline: auto; }
  .hero-eyebrow { margin-inline: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .waitlist-form { margin-inline: auto; }
  .hero-image::before { width: min(390px, 95vw); }

  .features, .gallery { padding: 85px 0 95px; }
  .features { border-radius: 38px 38px 0 0; }
  .features-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }

  .gallery-scroll {
    grid-template-columns: 1fr;
    max-width: 430px;
    margin-inline: auto;
  }

  .gallery-item:nth-child(2) { transform: none; }
  .gallery-item:nth-child(2):hover { transform: translateY(-7px); }
  .gallery-item img { height: auto; max-height: 390px; object-fit: contain; }

  .journey {
    padding: 86px 0 96px;
    border-radius: 38px 38px 0 0;
  }

  .journey-heading h2 br { display: block; }
  .journey-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .journey-grid::before { display: none; }
  .journey-card:nth-child(2) { transform: none; }
  .journey-card:nth-child(2):hover { transform: translateY(-8px); }
  .journey-visual { height: auto; min-height: 240px; }
  .journey-visual img { height: auto; max-height: 330px; }

  .cta { padding: 78px 0; }
  .cta-box { padding: 4rem 1.4rem; border-radius: 28px; }

  .footer-inner,
  .footer-brand { flex-direction: column; text-align: center; }

  .legal-content,
  .support-content { padding: 1.5rem !important; }
}

@media (max-width: 420px) {
  header.container { padding-inline: 12px; }
  .logo img { height: 35px; }
  .header-controls { gap: 0.55rem; }
  .nav-links { gap: 0.55rem; }
  .nav-links a { font-size: 0.72rem; }
  .language-switcher a { width: 29px; height: 27px; font-size: 0.63rem; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.15rem; }
  .hero-image img { width: 292px; }
  .waitlist-form { padding: 1rem; border-radius: 20px; }
  .waitlist-heading { display: block; }
  .waitlist-heading span { margin-top: 0.25rem; display: block; text-align: left; }
  .waitlist-fields { grid-template-columns: 1fr; }
  .photo-name { max-width: 82px; }
  .waitlist-submit-row { align-items: flex-start; flex-direction: column; }
  .waitlist-submit { width: 100%; }
}

@media (max-width: 360px) {
  .nav-links { display: none; }
}

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