/* =====================================================
   SHARED STYLES — Valentine Pages
   Gemeinsame Styles für index, create, afterpay-basic/plus.
   Homepage-spezifische Regeln stehen weiter unten und werden über .homePage gekapselt.
   Create-spezifische Regeln stehen ganz unten und werden über .createPage gekapselt.
   v.html hat weiterhin sein eigenes Template-System.
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,650;0,9..144,850;1,9..144,600&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #FFF6FA;
  --surface: rgba(255, 255, 255, .90);
  --surface-solid: #FFFFFF;
  --ink: #1E1A1A;
  --muted: #6D5F63;
  --pink: #FF4FA3;
  --rose: #FF86C5;
  --berry: #C21E72;
  --gold: #F2D2A9;
  --border: rgba(30, 26, 26, .10);
  --shadow: 0 18px 60px rgba(30, 26, 26, .10);
  --shadow-soft: 0 10px 30px rgba(30, 26, 26, .08);
  --radius: 22px;
  --radius-sm: 16px;
  --max: 1140px;
  --focus: 0 0 0 4px rgba(255, 79, 163, .22);
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Fraunces', ui-serif, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 15% 0%, rgba(255, 134, 197, .20), transparent 55%),
    radial-gradient(900px 600px at 90% 8%, rgba(242, 210, 169, .18), transparent 60%),
    radial-gradient(900px 700px at 45% 100%, rgba(255, 79, 163, .12), transparent 60%),
    linear-gradient(180deg, var(--bg), #fff 55%, var(--bg));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

:is(a, button, input, summary, video, textarea, select):focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 14px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 250, .80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 26, 26, .06);
}
.topbar {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.logo {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(255, 79, 163, .22), rgba(242, 210, 169, .22));
  border: 1px solid rgba(255, 79, 163, .18);
  display: grid;
  place-items: center;
}
.logo svg { width: 17px; height: 17px; }
.navRight { display: flex; align-items: center; gap: 10px; }
.langSelect {
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .85);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btnPrimary {
  color: #fff;
  background: linear-gradient(135deg, #FF3D9E, var(--berry));
  box-shadow: 0 10px 28px rgba(194, 30, 114, .32);
}
.btnPrimary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(194, 30, 114, .40);
  filter: saturate(1.03);
}
.btnGhost {
  color: var(--ink);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

/* Cards */
.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pad { padding: 22px; }

/* Full language dropdown (used elsewhere) */
.langWrap { position: relative; }
.langBtn {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
  color: rgba(30, 26, 26, .90);
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.langBtn:active { transform: translateY(1px) scale(.99); }
.langFlag { font-size: 16px; line-height: 1; }
.langCode { font-size: 13px; letter-spacing: -.01em; }
.langChevron { width: 14px; height: 14px; opacity: .75; }
.langMenu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 190px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 60px rgba(30, 26, 26, .12);
  padding: 6px;
  display: none;
  z-index: 80;
  backdrop-filter: blur(8px);
}
.langMenu.open { display: block; }
.langItem {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font-weight: 800;
  color: rgba(30, 26, 26, .86);
}
.langItem:hover { background: rgba(255, 79, 163, .08); border-color: rgba(255, 79, 163, .16); }
.langLeft { display: flex; align-items: center; gap: 10px; }
.langName { font-weight: 700; font-size: 13px; color: rgba(30, 26, 26, .72); }
.langActiveMark { font-size: 13px; font-weight: 900; color: var(--pink); opacity: 0; }
.langItem.active .langActiveMark { opacity: 1; }

/* Shared celebration layers */
.floatLayer,
.confettiLayer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.floatLayer { z-index: 40; }
.confettiLayer { z-index: 60; display: none; }
.heart {
  position: absolute;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  opacity: .9;
  filter: drop-shadow(0 10px 14px rgba(30, 26, 26, .10));
  animation: floatUp 1.05s ease-out forwards;
}
.heart::before,
.heart::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 79, 163, .65);
}
.heart::before { transform: translateX(-50%); border-radius: 999px 999px 7px 7px; }
.heart::after { transform: translateY(-50%); border-radius: 999px 999px 7px 7px; }
@keyframes floatUp {
  from { transform: translateY(0) rotate(45deg) scale(.85); opacity: 0; }
  12% { opacity: .9; }
  to { transform: translateY(-60px) rotate(45deg) scale(1.05); opacity: 0; }
}
.confettiPiece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  opacity: .9;
}

/* Footer */
footer { padding: 34px 0 32px; color: rgba(30, 26, 26, .62); font-size: 13px; }
.footRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 26, 26, .08);
}
.footLinks { display: flex; gap: 10px; flex-wrap: wrap; }
.footLinks a {
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .70);
  border: 1px solid rgba(30, 26, 26, .08);
  font-weight: 600;
}

@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .topbar { min-height: 56px; }
  .brand { font-size: 15px; }
  .logo { width: 30px; height: 30px; }
  .navRight { gap: 7px; }
  .langSelect { padding: 8px 8px; }
  .topbar .btn { padding: 10px 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .langBtn { transition: none; }
  .heart, .confettiPiece { animation: none !important; opacity: 0; }
}
/* =====================================================
   HOMEPAGE ONLY — Valentinepage.ch
   Nur für <body class="homePage"> auf index.html.
   Die Klassen sind homepage-spezifisch und beeinflussen create/pay nicht.
   ===================================================== */

.homePage main { padding: 0 0 28px; }
.homePage section { padding: 64px 0 0; }

/* Hero */
.homeHero { padding: 36px 0 10px !important; }
.heroGrid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, .97fr);
  gap: 56px;
  align-items: center;
  min-height: 620px;
}
.heroGrid::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  top: -60px;
  right: 2%;
  background: radial-gradient(circle, rgba(255, 79, 163, .19), transparent 68%);
  pointer-events: none;
  filter: blur(2px);
}
.heroCopy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--berry);
  background: rgba(255, 79, 163, .09);
  border: 1px solid rgba(255, 79, 163, .16);
  font-size: 12.5px;
  font-weight: 800;
}
.heroTitle {
  max-width: 720px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.1vw, 4.4rem);
  line-height: .99;
  letter-spacing: -.035em;
  font-weight: 650;
}
.heroTitle em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, var(--berry), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.heroSub {
  max-width: 50ch;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  font-weight: 500;
}
.heroCta { font-size: 1.04rem; padding: 15px 24px; }
.microCopy {
  display: flex;
  gap: 7px 14px;
  flex-wrap: wrap;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}
.microCopy span { white-space: nowrap; }
.heroMiniNote {
  margin: 17px 0 0;
  color: rgba(30, 26, 26, .58);
  font-size: 12px;
  line-height: 1.5;
}

/* Phone demo */
.phoneWrap { position: relative; z-index: 2; }
.demoHint {
  margin: 0 0 12px;
  text-align: center;
  color: var(--berry);
  font-size: 12.5px;
  font-weight: 800;
}
.phoneStage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.phoneStage::before,
.phoneStage::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.phoneStage::before {
  width: 320px;
  height: 320px;
  background: rgba(255, 134, 197, .18);
  filter: blur(50px);
}
.phoneStage::after {
  width: 210px;
  height: 210px;
  right: 6%;
  bottom: 6%;
  background: rgba(242, 210, 169, .22);
  filter: blur(45px);
}
.phoneMockup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 305px;
  margin: 0 auto;
  padding: 9px;
  border-radius: 42px;
  border: 3px solid rgba(255, 255, 255, .96);
  background: #171515;
  box-shadow: 0 34px 80px rgba(143, 26, 86, .24), 0 10px 30px rgba(30, 26, 26, .12);
  transform: rotate(1.2deg);
  animation: phoneFloat 5.4s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: rotate(1.2deg) translateY(0); }
  50% { transform: rotate(1.2deg) translateY(-8px); }
}
.phoneScreen {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 33px;
  background:
    radial-gradient(220px 170px at 80% 2%, rgba(255, 134, 197, .18), transparent 70%),
    var(--bg);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.phoneTop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 7px;
  font-size: 12px;
  font-weight: 800;
}
.phoneDI {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 22px;
  border-radius: 14px;
  background: #000;
}
.statusIcons { display: flex; align-items: center; gap: 4px; }
.phoneContent {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px 6px;
}
.previewBadge {
  display: inline-block;
  margin: 0 auto 11px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--berry);
  background: rgba(255, 79, 163, .12);
  font-size: 9px;
  letter-spacing: .07em;
  font-weight: 900;
}
.previewImg {
  height: 158px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -34px 26px rgba(0, 0, 0, .20), 0 9px 22px rgba(30, 26, 26, .10);
  transition: opacity .22s ease, transform .22s ease;
}
.previewTitle {
  min-height: 46px;
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 650;
  transition: opacity .18s ease;
}
.previewBtns { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.previewYes,
.previewNo {
  padding: 9px 17px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}
.previewYes {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #FF3D9E, var(--berry));
  box-shadow: 0 8px 20px rgba(194, 30, 114, .34);
  cursor: pointer;
  animation: pulseBtn 2.2s ease-in-out infinite;
}
.previewYes:hover { transform: translateY(-1px); }
.previewNo {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .86);
  color: var(--muted);
  cursor: default;
}
@keyframes pulseBtn { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.mockMusicBar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--berry);
  background: rgba(255, 79, 163, .11);
  font-size: 10.5px;
  font-weight: 700;
}
.musicDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--berry);
  animation: musicPulse 1.1s ease-in-out infinite;
}
@keyframes musicPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.phoneHomeBar { width: 118px; height: 4px; margin: 9px auto 11px; border-radius: 999px; background: rgba(30, 26, 26, .25); }
.demoConfetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 8; }
.demoCelebrate {
  position: absolute;
  inset: 0;
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(255, 246, 250, .94);
  backdrop-filter: blur(7px);
  transition: opacity .28s ease;
}
.demoCelebrate.show { opacity: 1; pointer-events: auto; }
.celebrateInner { transform: scale(.96); transition: transform .28s ease; }
.demoCelebrate.show .celebrateInner { transform: scale(1); }
.celebrateEmoji { display: block; font-size: 44px; margin-bottom: 10px; }
.celebrateTitle {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
  color: var(--berry);
  font-weight: 650;
}
.celebrateSub { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; font-weight: 700; }
.demoFootnote {
  width: min(330px, 90%);
  margin: 16px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

/* Shared section headers */
.sectionHeader { max-width: 610px; margin: 0 auto 30px; text-align: center; }
.sectionEyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--berry);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 800;
}
.sectionTitle {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  font-weight: 650;
}
.sectionSubtitle { margin: 0; color: var(--muted); line-height: 1.6; font-size: .98rem; }

/* Occasion inspiration — moved out of Hero */
.occasionTabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.occasionTab {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .84);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 7px 22px rgba(30, 26, 26, .06);
  transition: .18s ease;
}
.occasionTab:hover { transform: translateY(-1px); border-color: rgba(255, 79, 163, .35); }
.occasionTab.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--berry));
  box-shadow: 0 8px 22px rgba(194, 30, 114, .26);
}
.inspireGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.inspireCard {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(30, 26, 26, .09);
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.inspireCard:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(30, 26, 26, .13); }
.inspireCard .bgImg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); transition: transform .35s ease; }
.inspireCard:hover .bgImg { transform: scale(1.06); }
.inspireCard .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 26, 26, .02) 35%, rgba(30, 26, 26, .82) 100%); }
.inspireCard .content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 15px; color: #fff; }
.inspireEmoji { display: block; margin-bottom: 4px; font-size: 20px; }
.inspireText { font-family: var(--serif); font-size: 15px; line-height: 1.28; font-weight: 600; }
.inspireMeta { display: block; margin-top: 7px; font-size: 10px; opacity: .82; font-weight: 700; }

/* Steps */
.stepsGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stepCard { padding: 24px; }
.stepNumber {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--berry));
  box-shadow: 0 8px 18px rgba(255, 79, 163, .28);
  font-size: 14px;
  font-weight: 800;
}
.stepCard h3 { margin: 0 0 7px; font-size: 1.02rem; font-weight: 800; }
.stepCard p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.58; }

/* Share flow instead of comparison */
.shareCard {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
}
.shareCopy h3 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.55rem, 2.8vw, 2rem); line-height: 1.15; font-weight: 650; }
.shareCopy p { margin: 0 0 18px; color: var(--muted); line-height: 1.65; }
.sharePoints { display: flex; flex-wrap: wrap; gap: 8px; }
.sharePoint { padding: 7px 10px; border-radius: 999px; background: rgba(255, 79, 163, .08); color: var(--berry); font-size: 12px; font-weight: 800; }
.chatDemo {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 18px;
  border-radius: 26px;
  background: #F4F4F6;
  box-shadow: inset 0 0 0 1px rgba(30, 26, 26, .05);
}
.chatTop { margin-bottom: 14px; text-align: center; color: rgba(30, 26, 26, .48); font-size: 11px; font-weight: 800; }
.chatRow { display: flex; margin: 8px 0; }
.chatRow.sent { justify-content: flex-end; }
.chatBubble {
  max-width: 78%;
  padding: 10px 13px;
  border-radius: 17px;
  font-size: 13px;
  line-height: 1.45;
}
.chatRow.received .chatBubble { background: #fff; border-bottom-left-radius: 5px; }
.chatRow.sent .chatBubble { background: #DDF7C9; border-bottom-right-radius: 5px; }
.linkPreview {
  margin-top: 7px;
  padding: 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(30, 26, 26, .07);
}
.linkPreview strong { display: block; color: var(--berry); font-size: 11px; margin-bottom: 2px; }
.linkPreview span { color: var(--muted); font-size: 11px; }
.exampleLabel { margin-top: 10px; color: rgba(30, 26, 26, .46); font-size: 10px; text-align: center; }

/* Pricing / trust */
.trustCard { padding: 38px 28px; text-align: center; }
.trustHeadline { margin: 0 0 9px; font-family: var(--serif); font-size: clamp(1.5rem, 2.7vw, 2rem); font-weight: 650; }
.trustSub { margin: 0 auto 22px; max-width: 580px; color: var(--muted); line-height: 1.6; }
.trustFacts { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 20px; }
.trustFact { min-width: 125px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.trustFactNum { font-family: var(--serif); font-size: 1.55rem; color: var(--berry); font-weight: 650; }
.trustFactLabel { color: var(--muted); font-size: 12px; font-weight: 700; }
.priceTag { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 20px; font-family: var(--serif); font-size: 1.7rem; font-weight: 650; }
.priceTag span { color: var(--muted); font-family: var(--sans); font-size: 12.5px; font-weight: 700; }
.pricingNote { margin: 12px 0 0; color: rgba(30, 26, 26, .56); font-size: 11.5px; }

/* Final CTA */
.finalCta { padding-top: 58px !important; }
.finalCta .card {
  padding: 48px 24px;
  text-align: center;
  background:
    radial-gradient(300px 180px at 20% 0%, rgba(255, 134, 197, .22), transparent 70%),
    linear-gradient(135deg, rgba(255, 79, 163, .11), rgba(242, 210, 169, .16));
}
.finalCta h2 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.1; font-weight: 650; }
.finalCta p { margin: 0 0 23px; color: var(--muted); font-size: 1rem; }

@media (max-width: 900px) {
  .heroGrid { grid-template-columns: 1fr; gap: 34px; min-height: auto; text-align: center; }
  .heroSub { margin-left: auto; margin-right: auto; }
  .microCopy { justify-content: center; }
  .heroMiniNote { text-align: center; }
  .phoneStage { min-height: 500px; }
  .shareCard { grid-template-columns: 1fr; }
  .shareCopy { text-align: center; }
  .sharePoints { justify-content: center; }
  .stepsGrid { grid-template-columns: 1fr; }
  .inspireGrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .homeHero { padding-top: 22px !important; }
  .homePage section { padding-top: 48px; }
  .heroTitle { font-size: clamp(2.25rem, 12vw, 3.15rem); }
  .heroSub { font-size: 1rem; line-height: 1.58; }
  .heroCta { width: 100%; max-width: 360px; }
  .microCopy { display: grid; justify-content: center; gap: 5px; }
  .phoneStage { min-height: 470px; }
  .phoneMockup { max-width: 285px; }
  .inspireGrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .inspireCard { border-radius: 16px; }
  .shareCard { padding: 23px 16px; }
  .trustCard { padding: 32px 18px; }
  .trustFacts { gap: 18px; }
  .finalCta .card { padding: 38px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .phoneMockup,
  .previewYes,
  .musicDot { animation: none; }
  .inspireCard,
  .inspireCard .bgImg,
  .occasionTab,
  .previewImg,
  .previewTitle { transition: none; }
}
/* =====================================================
   CREATE PAGE ONLY — Valentinepage.ch
   Nur für <body class="createPage"> auf create.html.
   Alle Klassen sind unter .createPage gekapselt und beeinflussen
   Homepage/Payment-Seiten nicht. Keine !important-Overrides.
   ===================================================== */

.createPage main { padding: 20px 0 40px; }

.createPage .btnBack {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  color: var(--ink); font-weight: 700; font-size: 13px;
  text-decoration: none; box-shadow: var(--shadow-soft);
  transition: all .15s ease;
}
.createPage .btnBack:hover { border-color: var(--pink); }

/* --- Layout --- */
.createPage .layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 1000px) {
  .createPage .layout { grid-template-columns: 1fr; }
  .createPage .previewPanel { display: none; } /* desktop-only inline preview */
}

/* --- Form panel --- */
.createPage .formPanel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.createPage .progressTrack {
  height: 3px; background: rgba(30,26,26,.06); position: relative; overflow: hidden;
}
.createPage .progressFill {
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--berry));
  transition: width .4s cubic-bezier(.34,1.2,.64,1);
}

.createPage .stepHeader {
  padding: 26px 28px 16px;
  border-bottom: 1px solid var(--border);
}
.createPage .stepMeta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.createPage .stepBadge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255,79,163,.10); border: 1px solid rgba(255,79,163,.18);
  font-size: 11px; font-weight: 800; color: var(--berry);
  text-transform: uppercase; letter-spacing: .05em;
}
.createPage .stepBadgeDot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.createPage .stepCount { font-size: 12px; font-weight: 700; color: var(--muted); }

.createPage .stepTitle {
  font-family: var(--serif); font-weight: 650; font-size: clamp(1.4rem, 3vw, 1.75rem);
  letter-spacing: -.01em; margin: 0 0 6px; line-height: 1.2; color: var(--ink);
}
.createPage .stepSubtitle { font-size: 14.5px; color: var(--muted); line-height: 1.5; margin: 0; }

.createPage .stepBody { padding: 24px 28px 28px; }
.createPage .step { display: none; }
.createPage .step.active { display: block; animation: cpFadeUp .35s cubic-bezier(.16,1,.3,1) both; }
@keyframes cpFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.createPage .toast {
  display: none; padding: 11px 15px; border-radius: 12px;
  background: rgba(255,79,163,.08); border: 1px solid rgba(255,79,163,.18);
  color: var(--berry); font-size: 13.5px; font-weight: 700; margin-bottom: 16px;
}
.createPage .toast.show { display: flex; align-items: center; gap: 8px; animation: cpSlideIn .25s ease both; }
@keyframes cpSlideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

.createPage .sectionDivider { display: flex; align-items: center; gap: 12px; margin: 30px 0 16px; }
.createPage .sectionDivider:first-child { margin-top: 0; }
.createPage .sectionDivider .sectionTitle {
  font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  margin: 0;
}
.createPage .sectionLine { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }

/* --- Occasion cards (photo-based, not emoji) --- */
.createPage .occasionGrid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 8px;
}
@media (max-width: 640px) {
  .createPage .occasionGrid { grid-template-columns: repeat(2, 1fr); }
}
.createPage .occasionCard {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 4/5; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: var(--shadow-soft);
}
.createPage .occasionCard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.createPage .occasionCard.selected { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,79,163,.14), var(--shadow); }
.createPage .occasionCard .bgImg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .3s ease;
}
.createPage .occasionCard:hover .bgImg { transform: scale(1.05); }
.createPage .occasionCard .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,26,26,0) 45%, rgba(30,26,26,.80) 100%);
}
.createPage .occasionCard .label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px;
  color: #fff; font-family: var(--sans); font-weight: 800; font-size: 13.5px;
}
.createPage .occasionCheck {
  position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pink); color: #fff; display: grid; place-items: center;
  font-size: 11px; font-weight: 900; opacity: 0; transform: scale(.5);
  transition: all .25s cubic-bezier(.34,1.4,.64,1);
}
.createPage .occasionCard.selected .occasionCheck { opacity: 1; transform: scale(1); }

/* --- Template mini-preview cards (real preview, not emoji) --- */
.createPage .templateScroller {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 4px;
}
@media (max-width: 900px) {
  .createPage .templateScroller {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity;
    padding-bottom: 6px; margin: 0 -28px 4px; padding-left: 28px; padding-right: 28px;
  }
  .createPage .templateScroller::-webkit-scrollbar { height: 5px; }
  .createPage .templateScroller::-webkit-scrollbar-thumb { background: rgba(30,26,26,.15); border-radius: 99px; }
  .createPage .templateCard { flex: 0 0 128px; scroll-snap-align: start; }
}
.createPage .templateCard {
  position: relative; border-radius: 16px; overflow: hidden; cursor: pointer;
  border: 2px solid var(--border); background: var(--surface-solid);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.createPage .templateCard:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--pink); }
.createPage .templateCard.selected { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,79,163,.14); }
.createPage .templateMini {
  aspect-ratio: 3/4; position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; overflow: hidden;
}
.createPage .templateMini .miniCardShape {
  width: 78%; padding: 10px 8px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.createPage .templateMini .miniGlyph { font-family: var(--serif); font-weight: 650; font-size: 15px; line-height: 1; }
.createPage .templateMini .miniLine { width: 60%; height: 4px; border-radius: 3px; opacity: .55; }
.createPage .templateMini .miniDot { width: 18px; height: 18px; border-radius: 50%; margin-top: 2px; }
.createPage .templatePlusTag {
  position: absolute; top: 7px; right: 7px; padding: 3px 8px; border-radius: 7px;
  background: rgba(30,26,26,.55); color: #fff; font-size: 9px; font-weight: 800;
  letter-spacing: .04em; backdrop-filter: blur(4px); z-index: 2;
}
.createPage .templateCheck {
  position: absolute; top: 7px; left: 7px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pink); color: #fff; display: grid; place-items: center;
  font-size: 10px; font-weight: 900; opacity: 0; transform: scale(.5);
  transition: all .25s cubic-bezier(.34,1.4,.64,1); z-index: 2;
}
.createPage .templateCard.selected .templateCheck { opacity: 1; transform: scale(1); }
.createPage .templateName {
  padding: 8px 6px; text-align: center; font-size: 11.5px; font-weight: 700;
  color: var(--ink); border-top: 1px solid var(--border);
}

.createPage .planHint {
  display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255,79,163,.07); border: 1px solid rgba(255,79,163,.18);
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.createPage .planHint.show { display: block; animation: cpSlideIn .25s ease both; }
.createPage .planHint strong { color: var(--berry); font-weight: 700; }

/* --- Form fields (Step 2) --- */
.createPage .inputRow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .createPage .inputRow { grid-template-columns: 1fr; } }
.createPage .inputGroup { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.createPage .inputLabel {
  display: flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 800; color: var(--ink);
}
.createPage .inputRequired { color: var(--pink); font-weight: 900; }
.createPage .inputOptional { font-size: 11px; font-weight: 600; color: var(--muted); }
.createPage .inputField, .createPage .inputTextarea {
  padding: 12px 14px; border-radius: 12px; border: 2px solid var(--border);
  background: var(--surface-solid); color: var(--ink); font-size: 15px; font-family: var(--sans);
  transition: border-color .15s ease, box-shadow .15s ease; width: 100%;
}
.createPage .inputField:focus, .createPage .inputTextarea:focus {
  outline: none; border-color: var(--pink); box-shadow: var(--focus);
}
.createPage .inputField.invalid, .createPage .inputTextarea.invalid {
  border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220,38,38,.10);
}
.createPage .inputTextarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.createPage .inputHint { font-size: 11.5px; color: var(--muted); text-align: right; }
.createPage .inputError { display: none; font-size: 12px; color: #DC2626; font-weight: 600; margin-top: 2px; }
.createPage .inputError.show { display: block; }
.createPage .liveNote {
  font-size: 12.5px; color: var(--muted); font-weight: 600; margin: -4px 0 20px;
}

/* --- Step 3: pricing --- */
.createPage .conversionIntro { margin-bottom: 22px; }
.createPage .conversionIntro h2 {
  font-family: var(--serif); font-weight: 650; font-size: 1.3rem; margin: 0 0 6px; color: var(--ink);
}
.createPage .conversionIntro p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

.createPage .pricingGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
@media (max-width: 620px) { .createPage .pricingGrid { grid-template-columns: 1fr; } }
.createPage .pricingCard {
  position: relative; padding: 20px; border-radius: 18px; border: 2px solid var(--border);
  background: var(--surface-solid); cursor: pointer; transition: all .15s ease;
}
.createPage .pricingCard:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.createPage .pricingCard.selected {
  border-color: var(--pink);
  background: linear-gradient(160deg, rgba(255,79,163,.04), var(--surface-solid));
  box-shadow: 0 0 0 4px rgba(255,79,163,.10), var(--shadow-soft);
}
.createPage .pricingTop { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.createPage .pricingName { font-family: var(--serif); font-weight: 650; font-size: 17px; color: var(--ink); }
.createPage .pricingPrice { font-family: var(--serif); font-weight: 650; font-size: 17px; color: var(--berry); }
.createPage .pricingPrice sup { font-size: 10px; font-family: var(--sans); font-weight: 700; }
.createPage .pricingFeaturedTag {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,79,163,.14), rgba(194,30,114,.12));
  border: 1px solid rgba(255,79,163,.22); color: var(--berry); font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px;
}
.createPage .pricingFeatures { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.createPage .pricingFeatures li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.createPage .pricingFeatures li svg { flex-shrink: 0; margin-top: 2px; stroke: var(--pink); }
.createPage .pricingFeatures li.highlight { color: var(--ink); font-weight: 600; }
.createPage .pricingCheck {
  position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pink); color: #fff; display: grid; place-items: center; font-size: 10px;
  opacity: 0; transform: scale(.5); transition: all .25s cubic-bezier(.34,1.4,.64,1);
}
.createPage .pricingCard.selected .pricingCheck { opacity: 1; transform: scale(1); }

.createPage .checkoutBtn {
  width: 100%; text-align: center; padding: 15px; border-radius: 14px;
  font-size: 15.5px; font-weight: 800; text-decoration: none; display: block;
  color: #fff; background: linear-gradient(135deg, #FF3D9E, var(--berry));
  box-shadow: 0 10px 28px rgba(194,30,114,.32); transition: all .15s ease;
}
.createPage .checkoutBtn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(194,30,114,.40); }

.createPage .previewCtaBox {
  margin-bottom: 22px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,79,163,.07), rgba(242,210,169,.06));
  border: 1px solid rgba(255,79,163,.16);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.createPage .previewCtaText { flex: 1; min-width: 180px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.createPage .previewCtaText strong { color: var(--ink); }
.createPage .previewCtaBtn {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface-solid); color: var(--ink); font-weight: 700; font-size: 13px;
  cursor: pointer; white-space: nowrap; box-shadow: var(--shadow-soft);
}

/* --- Nav buttons --- */
.createPage .stepNav { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; gap: 12px; }
.createPage .btnPrev {
  display: inline-flex; align-items: center; gap: 7px; padding: 12px 18px; border-radius: 13px;
  border: 2px solid var(--border); background: transparent; color: var(--muted);
  font-size: 14px; font-weight: 700; cursor: pointer; transition: all .15s ease;
}
.createPage .btnPrev:hover { border-color: var(--pink); color: var(--ink); }
.createPage .btnNext {
  display: inline-flex; align-items: center; gap: 7px; padding: 12px 22px; border-radius: 13px; border: 0;
  background: linear-gradient(135deg, #FF3D9E, var(--berry)); color: #fff;
  font-size: 14.5px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 22px rgba(194,30,114,.30);
  transition: all .15s ease;
}
.createPage .btnNext:hover { transform: translateY(-2px); }

/* --- Desktop inline preview panel --- */
.createPage .previewPanel {
  position: sticky; top: 90px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.createPage .previewPanelHeader {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.createPage .previewLabel { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.createPage .liveDot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: cpPulse 2s ease-in-out infinite; }
@keyframes cpPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.createPage .expandBtn {
  padding: 7px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: rgba(255,79,163,.05); color: var(--berry); font-size: 12px; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}

.createPage .phoneFrame {
  padding: 22px; display: flex; justify-content: center;
}
.createPage .phoneShell {
  width: 100%; max-width: 260px; background: #17151A; border-radius: 34px; padding: 8px;
  box-shadow: 0 20px 50px rgba(30,26,26,.20);
}
.createPage .phoneDynamicIsland {
  width: 68px; height: 18px; background: #000; border-radius: 12px; margin: 4px auto 0;
}
.createPage .phoneScreenWrap {
  border-radius: 27px; overflow: hidden; background: #000; position: relative; height: 500px; margin-top: -12px;
}
.createPage .previewIframe { width: 100%; height: 100%; border: none; display: block; background: var(--bg); }
.createPage .phoneHomeIndicator {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.35); z-index: 5;
}
.createPage .previewLoading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--bg); z-index: 10; transition: opacity .2s ease;
}
.createPage .previewLoading.hidden { opacity: 0; pointer-events: none; }
.createPage .spinner {
  width: 30px; height: 30px; border: 3px solid rgba(255,79,163,.15); border-top-color: var(--pink);
  border-radius: 50%; animation: cpSpin .8s linear infinite;
}
@keyframes cpSpin { to { transform: rotate(360deg); } }

/* =====================================================
   MOBILE PREVIEW SYSTEM
   ===================================================== */
.createPage .mobileBar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,246,250,.92); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(30,26,26,.08);
}
@media (max-width: 1000px) {
  .createPage .mobileBar { display: block; }
  .createPage main { padding-bottom: 104px; } /* room for fixed bar */
}
.createPage .mobileBarInner {
  display: flex; align-items: center; gap: 10px;
}
.createPage .mobilePreviewBtn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px; border-radius: 13px; border: 1px solid var(--border);
  background: var(--surface-solid); color: var(--ink); font-weight: 700; font-size: 13.5px;
  cursor: pointer; box-shadow: var(--shadow-soft); min-height: 44px;
}
.createPage .mobilePreviewBtn .liveDot { flex-shrink: 0; }
.createPage .mobileNavBtns { display: flex; gap: 8px; }
.createPage .mobileNavBtns .btnPrev,
.createPage .mobileNavBtns .btnNext { padding: 11px 16px; min-height: 44px; }

/* Bottom sheet overlay */
.createPage .sheetOverlay {
  position: fixed; inset: 0; z-index: 200; display: none;
}
.createPage .sheetOverlay.open { display: block; }
.createPage .sheetBackdrop {
  position: absolute; inset: 0; background: rgba(20,15,17,.45);
  animation: cpFadeIn .2s ease both;
}
@keyframes cpFadeIn { from { opacity: 0; } to { opacity: 1; } }
.createPage .sheetPanel {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 94dvh; max-height: 94svh;
  background: var(--bg); border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 60px rgba(0,0,0,.25);
  display: flex; flex-direction: column;
  animation: cpSheetUp .3s cubic-bezier(.16,1,.3,1) both;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@keyframes cpSheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.createPage .sheetHandle {
  width: 40px; height: 4px; border-radius: 99px; background: rgba(30,26,26,.18);
  margin: 10px auto 4px; flex-shrink: 0;
}
.createPage .sheetHeader {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 18px 12px; flex-shrink: 0;
}
.createPage .sheetTitle { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--ink); }
.createPage .sheetCloseBtn {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface-solid); display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.createPage .sheetBody {
  flex: 1; overflow-y: auto; padding: 6px 18px 24px; display: flex; flex-direction: column;
}
.createPage .sheetPreviewWrap {
  flex: 1; border-radius: 20px; overflow: hidden; background: #000; position: relative;
  min-height: 300px;
}
.createPage .sheetPreviewIframe { width: 100%; height: 100%; border: none; display: block; background: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  .createPage .step.active,
  .createPage .toast.show,
  .createPage .planHint.show,
  .createPage .sheetPanel,
  .createPage .sheetBackdrop { animation: none; }
  .createPage .liveDot { animation: none; }
  .createPage .spinner { animation: none; }
}

/* =====================================================
   10/10 REFINEMENTS — Brand UI calmer, previews more authentic
   ===================================================== */
.homePage .inspireEmoji { display:none; }

/* Template cards now render the actual selected visual language */
.createPage .templateMini {
  background-size:cover;
  background-position:center;
}
.createPage .templateMiniOverlay { position:absolute; inset:0; backdrop-filter:blur(1.5px); }
.createPage .miniCardShape {
  position:relative; z-index:1;
  width:78%; min-height:58%; padding:12px 8px;
  border:1px solid rgba(30,26,26,.09); border-radius:12px;
  background:rgba(255,255,255,.78); box-shadow:0 8px 22px rgba(0,0,0,.14);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px;
  text-align:center; backdrop-filter:blur(6px);
}
.createPage .miniCardShape.dark { border-color:rgba(255,255,255,.15); background:rgba(15,13,20,.65); }
.createPage .miniEyebrow { font-size:5px; font-weight:800; letter-spacing:.12em; opacity:.55; }
.createPage .miniTitle { max-width:90%; font-family:var(--serif); font-size:10px; font-weight:650; line-height:1.15; }
.createPage .miniLine { width:46%; height:3px; border-radius:99px; opacity:.72; }
.createPage .miniButtons { display:flex; gap:4px; margin-top:2px; }
.createPage .miniButtons span { width:20px; height:7px; border-radius:4px; background:rgba(30,26,26,.13); }

.createPage .selectionIntro { margin:-4px 0 14px; color:var(--muted); font-size:12.5px; line-height:1.5; }
.createPage .pricingShort { margin:0 0 14px; color:var(--muted); font-size:12px; line-height:1.45; }
.createPage .featureCheck { color:var(--pink); font-weight:900; }
.createPage .checkoutMicrocopy { margin:9px 0 0; color:var(--muted); font-size:10.5px; text-align:center; }

.createPage .previewCtaIcon {
  width:38px; height:38px; flex:0 0 auto; display:grid; place-items:center;
  border:1px solid rgba(255,79,163,.15); border-radius:12px;
  background:rgba(255,255,255,.78); color:var(--berry);
}
.createPage .plusUsageNotice {
  display:flex; align-items:flex-start; gap:10px; margin-bottom:18px; padding:12px 14px;
  border:1px solid rgba(255,79,163,.18); border-radius:13px;
  background:rgba(255,79,163,.055); color:var(--muted); font-size:12.5px; line-height:1.45;
}
.createPage .plusUsageNotice[hidden] { display:none; }
.createPage .plusUsageNotice strong { display:block; margin-bottom:2px; color:var(--ink); }
.createPage .plusUsageMark { color:var(--berry); font-size:16px; line-height:1.1; }

.createPage .orderingHint { margin:-4px 0 12px; color:var(--muted); font-size:11.5px; line-height:1.5; }
.createPage .sectionsList { display:grid; gap:8px; }
.createPage .sectionItem {
  display:flex; align-items:center; gap:10px; padding:11px 12px;
  border:1px solid var(--border); border-radius:13px; background:var(--surface-solid);
}
.createPage .sectionItem.dragging { opacity:.55; }
.createPage .dragHandle { color:rgba(30,26,26,.38); cursor:grab; }
.createPage .sectionItemCopy { flex:1; min-width:0; }
.createPage .sectionItemCopy strong { display:block; font-size:12.5px; }
.createPage .sectionItemCopy small { display:block; margin-top:1px; color:var(--muted); font-size:10.5px; }
.createPage .sectionMoveBtns { display:flex; gap:3px; }
.createPage .sectionMoveBtns button {
  width:30px; height:30px; border:1px solid var(--border); border-radius:8px;
  background:#fff; color:var(--muted); cursor:pointer;
}
.createPage .sectionMoveBtns button:disabled { opacity:.3; cursor:default; }
.createPage .sectionToggle {
  position:relative; width:40px; height:24px; flex:0 0 auto; padding:0; border:0;
  border-radius:999px; background:rgba(30,26,26,.14); cursor:pointer;
}
.createPage .sectionToggle span {
  position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%;
  background:#fff; box-shadow:0 2px 5px rgba(0,0,0,.18); transition:transform .16s ease;
}
.createPage .sectionToggle.active { background:var(--pink); }
.createPage .sectionToggle.active span { transform:translateX(16px); }

.createPage .mobileIconBtn,
.createPage .mobileNextBtn { min-height:44px; }
.createPage .mobileIconBtn {
  width:44px; border:1px solid var(--border); border-radius:13px;
  background:#fff; color:var(--muted); cursor:pointer;
}
.createPage .mobileNextBtn {
  padding:10px 17px; border:0; border-radius:13px;
  background:linear-gradient(135deg,#FF3D9E,var(--berry)); color:#fff;
  font-size:13.5px; font-weight:800; cursor:pointer;
}

/* Do not let the mobile creator bar cover inputs while the virtual keyboard is open. */
@media (max-width:1000px) {
  .createPage.keyboardOpen .mobileBar { display:none; }
  .createPage.keyboardOpen main { padding-bottom:38px; }
}
@media (max-width:430px) {
  .createPage .sectionMoveBtns { display:none; }
}
