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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
  padding-top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.step-card h4,
.option-title,
.quote-text {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 700;
}

:root {
  --navbar-offset: 0;
  --pg-primary: #ea580c;
  --pg-primary-strong: #d94b04;
  --pg-accent: #ee6b04;
  --pg-sun: #ff9933;
  --pg-warm: #f97316;
  --pg-ink: #0f172a;
  --pg-muted: #6b7280;
  --pg-border: #e5e7eb;
  --pg-surface: #ffffff;
  --pg-pill: #fff3e6;
  --pg-glow: 0 25px 80px -40px rgba(15, 23, 42, 0.55);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

/* Landing Page Styles */

@media (max-width: 576px) {
  body {
    padding-top: 0;
  }

  .page-landing .landing-hero {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }

  .page-landing .hero-title {
    font-size: clamp(1.9rem, 6vw, 2.4rem);
  }

  .page-landing .hero-visual {
    padding: 0;
    margin-top: -0.2rem;
    max-width: 410px;
    margin-bottom: 1rem;
  }

  .page-landing .hero-subtitle {
    font-size: 1rem;
  }

  .page-landing .hero-card img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
  }

}

/* Call-to-Action Buttons */
.cta-button {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  background: linear-gradient(120deg, var(--pg-primary), var(--pg-sun), var(--pg-primary));
  background-size: 200% auto;
  color: #fff;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(234, 88, 12, 0.35);
  box-shadow:
    0 18px 55px -30px rgba(234, 88, 12, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background-position 0.3s ease;
  animation: shimmerButton 4s infinite linear;
}

@keyframes shimmerButton {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

.cta-button:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 24px 70px -34px rgba(234, 88, 12, 0.9);
  filter: saturate(1.02);
  background-position: 100% 50%;
  /* Speed up on hover */
  animation-duration: 2s;
}

.cta-secondary {
  border-radius: 999px;
  border: 1px solid var(--pg-border);
  background: rgba(255, 255, 255, 0.75);
  color: var(--pg-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cta-secondary:hover {
  border-color: #cbd5e1;
  box-shadow: 0 14px 40px -26px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}

/* Media Queries */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .page-landing .landing-hero {
    padding-top: calc(var(--navbar-offset, 5.25rem) + 1rem);
  }

  .page-landing .hero-visual {
    max-width: 460px;
  }

  .page-landing .hero-stack {
    margin: 0 auto;
  }

  .page-landing .hero-logo {
    justify-content: center;
  }

}

/* Landing Page Specific Overrides */
.hero {
  min-height: auto;
  padding-top: 3rem;
  padding-bottom: 2rem;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .page-landing .hero {
    min-height: 70vh;
  }

  .page-landing .hero-stack {
    margin: 0;
  }

  .page-landing .hero-logo {
    justify-content: flex-start;
  }

  .page-landing .hero-logo-img {
    width: clamp(340px, 40vw, 600px);
  }
}

.page-landing .landing-hero {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  text-align: left;
  background: radial-gradient(circle at 14% 30%, rgba(234, 88, 12, 0.1), transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(59, 130, 246, 0.07), transparent 40%),
    linear-gradient(180deg, #fff, #fdf6ec 60%, #fff);
}

.page-landing .landing-blob {
  position: absolute;
  width: 580px;
  height: 580px;
  filter: blur(100px);
  opacity: 0.55;
  z-index: 0;
  animation: blobFloat 8s ease-in-out infinite alternate;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(10px, -15px) scale(1.05);
  }
}

.page-landing .landing-blob--one {
  background: radial-gradient(circle, rgba(234, 88, 12, 0.5), transparent 55%);
  top: -140px;
  left: -100px;
}

.page-landing .landing-blob--two {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 55%);
  right: -160px;
  bottom: -100px;
  animation-delay: -4s;
}

.page-landing .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--pg-ink);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-landing .hero-subtitle {
  font-size: 1.05rem;
  color: #4b5563;

}

.page-landing .hero-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

@media (max-width: 576px) {
  .page-landing .hero-cta-stack {
    align-items: center;
  }
}

.page-landing .hero-stack {
  max-width: 680px;
  margin: 0;
}

.page-landing .hero-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.page-landing .hero-logo-img {
  width: clamp(300px, 50vw, 550px);
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-separator {
  width: 100%;
  max-width: none;
  height: 2px;
  background-color: var(--pg-ink);
  opacity: 0.1;
  margin-top: 0;
  margin-bottom: 2rem;
}

/* Create Page: Media Upload */
.page-create .pg-media-upload {
  display: grid;
  gap: 1rem;
}

.page-create .pg-media-drop {
  border: 1px dashed #f1a168;
  background: #fff7ed;
  border-radius: 18px;
  padding: 1.25rem;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-create .pg-media-drop:hover,
.page-create .pg-media-drop.is-dragover {
  border-color: #ea580c;
  box-shadow: 0 12px 30px -24px rgba(234, 88, 12, 0.6);
  transform: translateY(-1px);
}

.page-create .pg-media-drop__icon {
  font-size: 1.6rem;
  background: #fed7aa;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.page-create .pg-media-drop__text {
  display: grid;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.page-create .pg-media-drop__text span {
  color: var(--pg-muted);
  font-size: 0.85rem;
}

.page-create .pg-media-drop__meta {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--pg-muted);
}

.page-create .pg-media-progress__bar {
  height: 8px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}

.page-create .pg-media-progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(120deg, #ea580c, #f97316);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.page-create .pg-media-progress__text {
  margin-top: 0;
  font-size: 0.85rem;
  color: var(--pg-muted);
}

.page-create .pg-media-progress__meta {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.page-create .pg-media-drop.is-busy {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.page-create .pg-media-preview img,
.page-create .pg-media-preview video {
  width: 100%;
  border-radius: 18px;
  max-height: 320px;
  object-fit: cover;
  box-shadow: 0 18px 45px -30px rgba(15, 23, 42, 0.35);
}

.page-create .pg-media-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-create .pg-media-status {
  font-size: 0.9rem;
  color: var(--pg-ink);
}

.page-create .pg-media-status[data-tone='error'] {
  color: #b91c1c;
}

.page-create .pg-media-status[data-tone='success'] {
  color: #047857;
}

/* Create Page: Preview media — matches reveal-media sizing */
.page-create .preview-media {
  margin: 1rem 0;
  border-radius: 14px;
  overflow: hidden;
}

.page-create .preview-media__asset {
  width: 100%;
  display: block;
  max-height: 160px;
  object-fit: contain;
}

.page-landing .meta-label {
  font-weight: 800;
  color: var(--pg-ink);
  letter-spacing: -0.01em;
}

.page-landing .meta-text {
  color: var(--pg-muted);
}

.page-landing .hero-visual {
  max-width: 540px;
  padding: 0.75rem;
}

.page-landing .hero-card {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: none;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 30px 90px -60px rgba(15, 23, 42, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.page-landing .hero-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.06),
    0 50px 130px -70px rgba(15, 23, 42, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Entry Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-landing .hero-title {
  animation: fadeInUp 0.8s ease-out forwards;
}

.page-landing .hero-subtitle {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.page-landing .hero .d-flex {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

@media (prefers-reduced-motion: reduce) {

  .page-landing .hero-title,
  .page-landing .hero-subtitle,
  .page-landing .hero .d-flex {
    animation: none;
    opacity: 1;
  }
}

.page-landing .feature-icon svg {
  width: 1.4em;
  height: 1.4em;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
}

.page-landing .landing-section {
  padding: 3.5rem 0;
}

.page-landing .landing-soft {
  background: linear-gradient(180deg, #fffaf5, #fff);
}

.page-landing .section-head {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

.page-landing .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pg-primary);
  font-size: 0.85rem;
}

.page-landing .section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  color: var(--pg-ink);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.page-landing .section-subtitle {
  color: #4b5563;
  max-width: 620px;
  margin: 0 auto;
}

.step-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  padding: 1rem;
  border-radius: 20px;
  border: none;
  background: linear-gradient(180deg, #fffbf7 0%, #ffffff 100%);
  box-shadow:
    0 1px 0 0 rgba(234, 88, 12, 0.08),
    0 16px 50px -40px rgba(15, 23, 42, 0.5),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pg-primary), var(--pg-sun), var(--pg-primary));
  background-size: 200% 100%;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 1px 0 0 rgba(234, 88, 12, 0.12),
    0 32px 80px -50px rgba(15, 23, 42, 0.65),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.step-card:hover::before {
  opacity: 1;
}

.step-icon-wrapper {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.step-icon-wrapper picture {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.step-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.step-kicker {
  color: var(--pg-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}


.page-landing .feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-landing .feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #ffffff 0%, #fffbf8 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 45px -30px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-landing .feature-row:hover {
  transform: translateX(4px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 18px 50px -30px rgba(15, 23, 42, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.page-landing .feature-row h5 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.page-landing .feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff7ed;
  font-size: 1.2rem;
  color: #c2410c;
  font-weight: 800;
}

.page-landing .experience-media img {
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.page-landing .quote-card {
  position: relative;
  border-radius: 24px;
  padding: 2.5rem;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  overflow: hidden;
  box-shadow:
    0 25px 60px -20px rgba(15, 23, 42, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-landing .quote-mark {
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(234, 88, 12, 0.15);
  line-height: 1;
}

.page-landing .quote-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.65;
  margin: 0 0 1.25rem 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.page-landing .quote-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #cbd5e1;
  font-weight: 700;
}

.page-landing .guarantee-card {
  border-radius: 24px;
  padding: 2rem;
  background: linear-gradient(145deg, #fffbf7 0%, #fff8f2 100%);
  border: none;
  box-shadow:
    0 1px 0 rgba(234, 88, 12, 0.08),
    0 20px 60px -40px rgba(234, 88, 12, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.page-landing .guarantee-card h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.page-landing .guarantee-list li {
  margin-bottom: 0.35rem;
  color: #5b6472;
  font-weight: 600;
}

.page-landing .landing-cta {
  padding: 4rem 0 5rem 0;
}

.page-landing .cta-shell {
  padding: 3rem 2.75rem;
  border-radius: 28px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  box-shadow:
    0 30px 80px -48px rgba(15, 23, 42, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: none;
  position: relative;
  overflow: hidden;
}

.page-landing .cta-shell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 88, 12, 0.5), transparent);
}

.page-landing .cta-shell .section-title {
  color: #fff;
}

.page-landing .cta-shell .section-subtitle {
  color: #cbd5e1;
}

/* Order Success/Confirmation Page Styles */
.success-section {
  padding-top: 8rem;
  padding-bottom: 4rem;
  min-height: 80vh;
}

.order-number {
  font-family: 'Courier New', Courier, monospace;
  color: #6c757d;
  letter-spacing: 1px;
}

.summary-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-icon {
  width: 36px;
  height: 36px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-weight: 700;
  color: #495057;
  flex-shrink: 0;
}

.check-circle {
  color: #198754;
  margin-bottom: 1rem;
}

.detail-row {
  margin-bottom: 1rem;
}

.detail-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: #212529;
}

.message-box {
  background-color: #f8f9fa;
  border-left: 4px solid #dee2e6;
  padding: 1rem;
  border-radius: 4px;
  font-style: italic;
  color: #555;
}

/* Create / Checkout Page */
body.page-create {
  background: radial-gradient(circle at 20% 20%, #fff7ed, #f8fafc 40%);
}

.page-create .create-section {
  padding-top: calc(var(--navbar-offset, 0px) + 1.5rem);
  padding-bottom: 4rem;
}

/* ── Progress Bar ── */
.page-create .pg-progress {
  max-width: 480px;
  margin: 0 auto 2rem;
}

.page-create .pg-progress__track {
  height: 4px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.page-create .pg-progress__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--pg-primary), var(--pg-sun));
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-create .pg-progress__labels {
  display: flex;
  justify-content: space-between;
}

.page-create .pg-progress__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pg-muted);
  background: none;
  border: none;
  padding: 0.25rem 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.page-create .pg-progress__label:hover {
  color: var(--pg-ink);
}

.page-create .pg-progress__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.page-create .pg-progress__label.is-active .pg-progress__dot {
  background: var(--pg-primary);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.18);
  transform: scale(1.15);
}

.page-create .pg-progress__label.is-active {
  color: var(--pg-ink);
}

.page-create .pg-progress__label.is-complete .pg-progress__dot {
  background: #059669;
}

.page-create .pg-progress__label.is-complete {
  color: #065f46;
}

/* ── Phase Containers ── */
.page-create .pg-phase {
  display: none;
}

.page-create .pg-phase.is-active {
  display: block;
  animation: pgPhaseIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes pgPhaseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-create .pg-phase.is-active {
    animation: none;
  }
}

/* ── Design Phase: Two-column Grid ── */
.page-create .pg-design-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .page-create .pg-design-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .page-create .pg-design-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.page-create .pg-design-forms {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}



.page-create .pg-preview-sticky {
  position: sticky;
  top: 1.5rem;
}

.page-create .pg-preview-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pg-muted);
  margin-bottom: 0.65rem;
  text-align: center;
}

/* ── Card Component (Step Cards) ── */
.page-create .pg-card {
  background: var(--pg-surface);
  border-radius: 20px;
  border: 1px solid var(--pg-border);
  box-shadow: 0 20px 60px -25px rgba(15, 23, 42, 0.15);
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-create .pg-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
}

.page-create .pg-card__number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pg-primary), var(--pg-sun));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.page-create .pg-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--pg-ink);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

.page-create .pg-card__subtitle {
  font-size: 0.9rem;
  color: var(--pg-muted);
  margin: 0.15rem 0 0;
  line-height: 1.45;
}

.page-create .pg-step-card.is-complete .pg-card__number {
  background: linear-gradient(135deg, #059669, #10b981);
}

.page-create .pg-step-card.is-complete .step-body,
.page-create .pg-step-card:not(.is-active) .step-body {
  display: none;
}

.page-create .pg-step-card:not(.is-active) {
  opacity: 0.5;
  cursor: pointer;
  transform: scale(0.98);
}

.page-create .pg-step-card:not(.is-active):hover {
  opacity: 0.7;
  transform: scale(0.99);
}

.page-create .step-body {
  padding: 0 1.5rem 1.5rem;
}

.page-create .pg-step-actions {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.page-create .pg-step-hint {
  margin-right: auto;
  font-weight: 600;
}

.page-create .pg-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 14px;
  font-family: var(--font-display);
  background: linear-gradient(120deg, var(--pg-primary), var(--pg-sun));
  border: none;
  color: #fff;
  box-shadow: 0 12px 35px -18px rgba(234, 88, 12, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.page-create .pg-btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px -20px rgba(234, 88, 12, 0.85);
  color: #fff;
}

.page-create .pg-btn-next svg {
  transition: transform 0.18s ease;
}

.page-create .pg-btn-next:hover svg {
  transform: translateX(2px);
}

/* ── Checkout Phase: Two-column Grid ── */
.page-create .pg-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .page-create .pg-checkout-grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2.5rem;
    align-items: start;
  }
}

/* ── Order Summary Strip ── */
.page-create .pg-order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #fffbf7 0%, #fff 100%);
  border: 1px solid var(--pg-border);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px -8px rgba(15, 23, 42, 0.08);
}

.page-create .pg-order-summary__info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.page-create .pg-order-summary__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.page-create .pg-order-summary__details {
  min-width: 0;
}

.page-create .pg-order-summary__type {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--pg-ink);
  letter-spacing: -0.01em;
}

.page-create .pg-order-summary__desc {
  font-size: 0.85rem;
  color: var(--pg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.page-create .pg-order-summary__edit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--pg-border);
  background: #fff;
  color: var(--pg-primary);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.page-create .pg-order-summary__edit:hover {
  border-color: var(--pg-primary);
  box-shadow: 0 8px 20px -12px rgba(234, 88, 12, 0.4);
  transform: translateY(-1px);
}

/* ── Checkout Card ── */
.page-create .pg-checkout-card {
  background: var(--pg-surface);
  border-radius: 20px;
  border: 1px solid var(--pg-border);
  box-shadow: 0 20px 60px -25px rgba(15, 23, 42, 0.15);
  padding: 1.5rem;
  overflow: hidden;
}

/* ── Checkout Preview (mini) ── */
.page-create .pg-checkout-preview {
  display: none;
}

@media (min-width: 768px) {
  .page-create .pg-checkout-preview {
    display: block;
  }
}

.page-create .preview-phone-container--mini {
  max-width: 280px;
  aspect-ratio: 9/16;
}

.page-create .preview-phone-container--mini .preview-card {
  padding: 16px;
}

.page-create .preview-phone-container--mini .preview-title {
  font-size: 1.2rem;
}

.page-create .preview-phone-container--mini .preview-meta {
  font-size: 0.8rem;
}

.page-create .preview-phone-container--mini .preview-message-box {
  font-size: 0.8rem;
  padding: 10px 14px;
}

/* ── Reused styles (kept from original) ── */

.page-create .option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 0.85rem;
}

.page-create .option-card-label {
  display: block;
  cursor: pointer;
  height: 100%;
  margin: 0;
}

.page-create .option-card-input {
  display: none;
}

.page-create .option-card {
  height: 100%;
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  border: 2px solid var(--pg-border);
  background: #fff;
  transition: all 0.2s ease;
}

.page-create .option-card:hover {
  border-color: #fdba74;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.35);
}

.page-create .option-card-input:checked+.option-card {
  border-color: var(--pg-primary);
  background: #fff7ed;
  box-shadow: 0 0 0 1px var(--pg-primary);
}

.page-create .option-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pg-ink);
  letter-spacing: -0.01em;
}

.page-create .option-desc {
  color: var(--pg-muted);
  font-size: 0.95rem;
}

.page-create .content-shell {
  padding: 1.1rem;
  border: 1px dashed var(--pg-border);
  border-radius: 12px;
  background: #fafaf9;
}

.page-create .form-label {
  font-weight: 600;
  color: #1f2937;
}

.page-create .form-control,
.page-create .form-select {
  border-radius: 10px;
  border-color: #d1d5db;
  padding: 0.75rem 0.9rem;
}

.page-create .form-control:focus,
.page-create .form-select:focus {
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
  border-color: var(--pg-primary);
}

/* Shared page spacing */
.page-section {
  padding-top: calc(var(--navbar-offset, 6rem) + 1rem);
}

.site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0;
  background: linear-gradient(180deg, #faf9f7 0%, #f5f3f0 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 -1px 0 0 rgba(255, 255, 255, 0.8),
    0 -12px 40px rgba(15, 23, 42, 0.04);
  color: #0f172a;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pg-primary), transparent);
  opacity: 0.4;
  border-radius: 2px;
}

.site-footer .footer-meta {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pg-ink);
}

.site-footer .footer-links {
  gap: 1.5rem;
}

.site-footer a {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--pg-primary);
  text-decoration: none;
}

@media (max-width: 576px) {
  .site-footer {
    margin-top: 3rem;
    padding: 1.75rem 0 2rem;
  }

  .site-footer .footer-links {
    gap: 1rem;
  }
}

.page-create .secure-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--pg-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.page-create .pg-embedded-checkout {
  min-height: 420px;
  border-radius: 16px;
  border: 1px solid var(--pg-border);
  background: #fff;
  overflow: hidden;
  position: relative;
}

.page-create .pg-embedded-checkout:empty {
  min-height: 420px;
}

.page-create .pg-checkout-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  z-index: 2;
}

.page-create .pg-checkout-overlay__inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 88, 12, 0.18);
  background: #fff;
  box-shadow: 0 18px 45px -28px rgba(15, 23, 42, 0.35);
  color: #4b5563;
  font-weight: 600;
}

@media (max-width: 767px) {
  .page-create .create-section {
    padding-top: calc(var(--navbar-offset, 0px) + 0.75rem);
  }

  .page-create .pg-step-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-create .pg-btn-next {
    justify-content: center;
  }

  .page-create .pg-embedded-checkout {
    min-height: 360px;
  }

  .page-create .pg-checkout-overlay__inner {
    width: 100%;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .page-create .pg-order-summary__desc {
    max-width: 140px;
  }

  .page-create .pg-checkout-preview {
    display: none;
  }
}

/* Narrow Container for Consistent Layout */
@media (min-width: 1400px) {
  .container-narrow {
    max-width: 1140px;
  }
}

/* FAQ Accordion Styles */
.custom-accordion .accordion-item {
  border: 1px solid var(--pg-border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.custom-accordion .accordion-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.custom-accordion .accordion-button {
  font-weight: 600;
  color: var(--pg-ink);
  background: transparent;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--pg-primary);
  background: #fff;
  box-shadow: none;
}

.custom-accordion .accordion-button:focus {
  border-color: rgba(234, 88, 12, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(234, 88, 12, 0.15);
}

.custom-accordion .accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #4b5563;
  line-height: 1.6;
}

.custom-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236b7280'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.2s ease-in-out;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ea580c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/*
   -------------------------------------------------------------------------
   ACTIVE LIVE PREVIEW STYLES (Matching generic_ecard.html / Surprise_4.png)
   -------------------------------------------------------------------------
*/

.preview-phone-container {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 16px 20px -5px rgba(0, 0, 0, 0.1),
    0 8px 8px -4px rgba(0, 0, 0, 0.04),
    0 0 0 6px #1e293b;
  /* "Phone bezel" look */
  background: #fff7ed;
  position: relative;
  aspect-ratio: 9/16;
  display: flex;
  flex-direction: column;
}

.preview-screen {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  touch-action: auto;
}

/* Background Animation */
.preview-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(249, 115, 22, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(234, 88, 12, 0.15), transparent 25%);
  filter: blur(40px);
  animation: preview-pulse-bg 8s ease-in-out infinite alternate;
}

@keyframes preview-pulse-bg {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Card Container */
.preview-card-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
}

.preview-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 18px;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  text-align: left;
}

.preview-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #ea580c, #c2410c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.preview-meta {
  color: #64748b;
  font-size: 0.82rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-family: 'Outfit', sans-serif;
}

.preview-message-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0;
  color: #1e293b;
  font-size: 0.82rem;
  line-height: 1.5;
  position: relative;
  font-style: italic;
  font-family: 'Outfit', sans-serif;
}

.preview-message-box::before {
  content: '“';
  position: absolute;
  top: -14px;
  left: 12px;
  font-size: 2.2rem;
  color: #e2e8f0;
  font-family: serif;
  pointer-events: none;
}

.preview-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 10px 18px;
  background: #f97316;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.2);
  transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif;
}

.preview-btn:hover {
  background: #ea580c;
  transform: translateY(-1px);
  color: white;
  box-shadow: 0 8px 15px -3px rgba(249, 115, 22, 0.3);
}

.preview-btn.disabled {
  background: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

.preview-footer {
  margin-top: 14px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.65rem;
  opacity: 0.7;
  font-family: 'Outfit', sans-serif;
}

/* Gift Card Preview Component */
.preview-gift-card {
  background: linear-gradient(135deg, #334155, #0f172a);
  border-radius: 10px;
  padding: 14px;
  color: white;
  margin: 12px 0;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
  position: relative;
  overflow: hidden;
  font-family: 'Outfit', sans-serif;
  transition: transform 0.3s ease;
}

.preview-gift-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.preview-gift-card-logo {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  opacity: 0.9;
}

.preview-gift-card-amount {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: right;
  color: #fbbf24;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.preview-gift-card-chip {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  border-radius: 4px;
  margin-bottom: 8px;
  position: relative;
  opacity: 0.9;
}

.preview-gift-card-chip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}

/* Preview Kicker (matches reveal card-kicker) */
.preview-kicker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.preview-kicker__emoji {
  font-size: 1.4rem;
  line-height: 1;
}

.preview-kicker__kind {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f97316;
}
