/* TreatMeHome – landing page styling
   Premium beauty & wellness landing. Warm gold/beige palette, glassmorphism,
   floating elements, scroll-reveal animations. */

:root {
  --primary: #D4AF6A;
  --primary-light: #F0E6D3;
  --primary-soft: #FAF4E8;
  --primary-dark: #B8956B;
  --primary-deeper: #8E6F4A;
  --accent-gold: #C9B896;
  --on-gold: #4A3C28;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-warm: #FFFDF9;
  --text-primary: #1F1B16;
  --text-secondary: #6B6157;
  --text-muted: rgba(31, 27, 22, 0.55);
  --border: rgba(31, 27, 22, 0.08);
  --shadow-sm: 0 2px 8px rgba(184, 149, 107, 0.08);
  --shadow: 0 8px 28px rgba(184, 149, 107, 0.12);
  --shadow-lg: 0 24px 60px rgba(184, 149, 107, 0.18);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

::selection { background: var(--primary); color: white; }

/* ── Decorative orbs ──────────────────────────────────────── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -120px; right: -160px;
  animation: float-slow 18s ease-in-out infinite;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #E8C9A0 0%, transparent 70%);
  top: 40%; left: -180px;
  opacity: 0.35;
  animation: float-slow 22s ease-in-out infinite reverse;
}
.orb-3 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  bottom: 10%; right: 5%;
  opacity: 0.5;
  animation: float-slow 26s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* ── Navigation ────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary-deeper);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(184, 149, 107, 0.2);
}

.logo-mark svg { width: 22px; height: 22px; fill: var(--primary); }

.logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:not(.nav-cta):hover { color: var(--primary-deeper); }

.nav-cta {
  background: var(--text-primary);
  color: white !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(31, 27, 22, 0.18);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px 90px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-deeper);
  background: var(--primary-soft);
  padding: 7px 14px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
  border: 1px solid rgba(184, 149, 107, 0.18);
}

.hero-text h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 5.8vw, 64px);
  line-height: 1.05;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-text h1 .gold {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}

.hero-text p.lead {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-group-center { justify-content: center; }

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #111;
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
.btn-store:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}
.btn-store svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-store span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.btn-store span small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.78;
  margin-bottom: 1px;
}

.btn-store.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Trust row */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.trust-avatars {
  display: flex;
}
.trust-avatars span {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid var(--surface-warm);
  margin-left: -10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.trust-avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, #E8C9A0, var(--primary)); }
.trust-avatars span:nth-child(2) { background: linear-gradient(135deg, var(--primary), var(--primary-deeper)); }
.trust-avatars span:nth-child(3) { background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.trust-avatars span:nth-child(4) { background: linear-gradient(135deg, var(--primary-deeper), #4A3C28); }
.trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-stars { color: var(--primary); font-size: 14px; letter-spacing: 1.5px; }
.trust-text span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Hero visual + phone stack */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-stack {
  position: relative;
  width: 320px;
  height: 640px;
  perspective: 1200px;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  background: linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 46px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(184, 149, 107, 0.28),
    0 20px 40px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
  position: relative;
  animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--surface-warm) 100%);
  border-radius: 36px;
  padding: 50px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  position: relative;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}
.app-greeting small {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.app-greeting strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 2px;
  line-height: 1.15;
}
.app-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deeper));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 12px;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(184, 149, 107, 0.08);
}
.app-search svg { width: 14px; height: 14px; fill: var(--text-muted); }

.app-chips {
  display: flex;
  gap: 6px;
  overflow: hidden;
}
.chip {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 999px;
  background: white;
  color: var(--text-secondary);
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(184, 149, 107, 0.06);
  white-space: nowrap;
}
.chip-active {
  background: var(--text-primary);
  color: white;
}

.app-card {
  background: white;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(184, 149, 107, 0.1);
}

.app-card-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-card-img svg { width: 30px; height: 30px; fill: white; }

.app-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.app-card-body strong {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
}
.app-card-meta {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.app-rating { color: var(--primary-deeper); font-weight: 600; }

.app-card-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.app-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.app-card-cta {
  font-size: 10px;
  background: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.app-card-sm { padding: 8px; }
.app-card-img-sm { width: 48px; height: 48px; }
.app-card-img-sm svg { width: 24px; height: 24px; }

/* Floating cards around phone */
.floating-card {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(31, 27, 22, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  font-size: 12px;
  animation: float-card 5s ease-in-out infinite;
}
.floating-card-1 {
  top: 60px;
  left: -60px;
  animation-delay: 0.5s;
}
.floating-card-2 {
  bottom: 80px;
  right: -50px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  animation-delay: 1.5s;
}
.floating-card small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
}
.floating-card strong {
  display: block;
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 600;
}
.float-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-icon svg { width: 16px; height: 16px; fill: var(--primary-deeper); }
.float-stars {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 1.5px;
}

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

/* ── Stats ────────────────────────────────────────────────── */
.stats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 30px;
  position: relative;
  z-index: 1;
}
.stats-inner {
  background: white;
  border-radius: var(--radius);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.stat {
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--primary-deeper);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.stat span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Sections ──────────────────────────────────────────────── */
section.features {
  padding: 110px 24px 80px;
  position: relative;
  z-index: 1;
}

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-deeper);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 60px;
}

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

.feature-card {
  background: white;
  padding: 36px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 149, 107, 0.25);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-soft), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.35s var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-3deg); }
.feature-icon svg { width: 28px; height: 28px; fill: var(--primary-deeper); }

.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* How it works */
section.how {
  padding: 80px 24px 110px;
  position: relative;
  z-index: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--primary-light) 0,
    var(--primary-light) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 6px 18px rgba(184, 149, 107, 0.18);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.step:hover .step-number {
  background: var(--primary);
  color: white;
  transform: translateY(-4px);
}

.step h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* CTA section */
section.cta-section {
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  padding: 100px 24px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events: none;
}

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

.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-section .btn-store {
  background: white;
  color: var(--text-primary);
}
.cta-section .btn-store:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}
.cta-section .btn-store.disabled {
  background: rgba(255, 255, 255, 0.55);
  color: var(--text-primary);
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: #15110c;
  color: #999;
  padding: 64px 24px 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

footer .logo-text { color: white; }
footer .logo-mark {
  background: rgba(212, 175, 106, 0.15);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 106, 0.25);
}

footer h5 {
  color: white;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
footer ul li a:hover { color: var(--primary); }

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
}

.footer-tagline {
  color: #999;
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.55;
}

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-mockup, .floating-card, .orb { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Legal pages (privacy, terms) ─────────────────────────── */
main.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  position: relative;
  z-index: 1;
}

main.legal h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

main.legal .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

main.legal h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  margin: 36px 0 14px;
  color: var(--text-primary);
}

main.legal h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text-primary);
}

main.legal p, main.legal li {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

main.legal ul, main.legal ol { margin: 0 0 16px 24px; }
main.legal strong { color: var(--primary-deeper); font-weight: 600; }
main.legal a { color: var(--primary-deeper); text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────────── */

/* Tablet landscape — keep grid, reduce gaps */
@media (max-width: 1100px) {
  .hero { gap: 40px; padding: 60px 24px 80px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { padding: 28px 32px; }
}

/* Tablet portrait — stack hero, keep 2-col features and steps */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 60px;
    text-align: center;
    gap: 50px;
  }
  .hero-text p.lead { margin-left: auto; margin-right: auto; }
  .hero-text .cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }
  .phone-stack { transform: scale(0.95); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 28px; }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); padding-bottom: 22px; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 22px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .steps::before { display: none; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
}

/* Mobile — hide desktop nav, show hamburger */
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta {
    background: var(--primary);
    margin-top: 12px;
    text-align: center;
    padding: 14px 18px !important;
    border-radius: 12px;
  }
  .nav-toggle { display: flex; }

  .hero { padding: 36px 22px 50px; gap: 40px; }
  .hero-text p.lead { font-size: 17px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 28px 24px; }
  section.features { padding: 80px 22px 60px; }
  section.how { padding: 60px 22px 80px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  section.cta-section { padding: 80px 22px; }
  .stats { padding: 0 22px 20px; }
  .stats-inner { padding: 24px 20px; gap: 18px; }
  .stat strong { font-size: 30px; }
  .stat span { font-size: 12px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .phone-stack { width: 280px; height: 560px; transform: scale(1); }
  .phone-mockup { width: 280px; height: 560px; border-radius: 40px; }
  .phone-screen { padding: 44px 16px 18px; border-radius: 30px; }
  .floating-card-1 { left: -20px; top: 40px; }
  .floating-card-2 { right: -10px; bottom: 60px; }

  .orb { filter: blur(60px); opacity: 0.3; }
}

@media (max-width: 380px) {
  .floating-card-1 { left: -10px; top: 30px; padding: 8px 10px; font-size: 11px; }
  .floating-card-2 { right: -5px; bottom: 50px; padding: 8px 10px; }
  .float-icon { width: 26px; height: 26px; }
  .float-icon svg { width: 14px; height: 14px; }
}

/* ─────────────────────────────────────────────────────────────
   Subpage hero (For providers, future content pages)
   ───────────────────────────────────────────────────────────── */
.page-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 140px 24px 60px;
  text-align: center;
}
.page-hero-inner { display: flex; flex-direction: column; align-items: center; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 18px 0 0;
}
.page-hero h1 .gold { color: var(--primary); }
.page-hero .lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 20px auto 28px;
}
.page-hero .lead strong { color: var(--primary-deeper); font-weight: 600; }
.page-hero-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 520px;
}

/* ── Pioneer band ──────────────────────────────────────────── */
.pioneer-band {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-soft));
  padding: 64px 24px;
  text-align: center;
}
.pioneer-band-inner { max-width: 720px; margin: 0 auto; }
.pioneer-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--on-gold);
  background: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.pioneer-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  color: var(--text-primary);
  margin: 0 0 16px;
}
.pioneer-band p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ── FAQ (accordion) ───────────────────────────────────────── */
section.faq { padding: 90px 24px; }
.section-inner-narrow { max-width: 760px; margin: 0 auto; }
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease);
}
.faq-list details[open] { border-color: var(--primary); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.2s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 15px;
}

@media (max-width: 720px) {
  .page-hero { padding: 116px 22px 50px; }
  .page-hero .lead { font-size: 17px; }
  .pioneer-band { padding: 52px 22px; }
  section.faq { padding: 64px 22px; }
}

/* ─────────────────────────────────────────────────────────────
   Kontaktskjema
   ───────────────────────────────────────────────────────────── */
.contact-form {
  max-width: 560px;
  margin: 8px auto 0;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  box-sizing: border-box;
}
/* Honeypot: skjult for mennesker, synlig for naive bots */
.cf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.cf-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 18px 0 7px;
}
.cf-label:first-of-type { margin-top: 0; }
.cf-opt { color: var(--text-muted); font-weight: 400; }
.cf-input {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cf-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.18);
}
.cf-textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.cf-submit {
  margin-top: 22px;
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--on-gold);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.cf-submit:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.cf-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.cf-status {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  min-height: 1px;
}
.cf-status.ok { color: #2e7d5b; }
.cf-status.err { color: #b3503f; }

@media (max-width: 720px) {
  .contact-form { padding: 24px; }
}
