/* =====================================================
   DOG ROYAL PORTRAIT — PREMIUM DARK LUXURY DESIGN
   ===================================================== */

/* FONTS: Cormorant Garamond (display/editorial) + DM Sans (body) */

:root {
  /* Palette */
  --bg:          #0c0b09;
  --bg-2:        #111009;
  --bg-card:     #16140f;
  --bg-card-2:   #1c1a13;
  --gold:        #c9a84c;
  --gold-light:  #e4c678;
  --gold-muted:  rgba(201,168,76,0.25);
  --gold-border: rgba(201,168,76,0.20);
  --text:        #f5f0e8;
  --text-muted:  rgba(245,240,232,0.55);
  --text-dim:    rgba(245,240,232,0.35);
  --line:        rgba(255,255,255,0.07);
  --line-gold:   rgba(201,168,76,0.20);

  /* Radii */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;

  /* Shadows */
  --shadow-sm:   0 4px 20px rgba(0,0,0,0.4);
  --shadow-md:   0 12px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 8px 40px rgba(201,168,76,0.15);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-mid:  0.25s ease;
}

/* ==================== RESET + BASE ==================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; }
ul { list-style: none; margin: 0; padding: 0; }

/* Background texture / grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.5;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

h1 { font-size: clamp(48px, 7vw, 88px); }
h2 { font-size: clamp(36px, 5vw, 60px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }

.section__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--t-mid);
  user-select: none;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  text-decoration: none;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Gold primary */
.btn--gold {
  background: linear-gradient(135deg, #c9a84c, #a8832b);
  color: #0c0b09;
  font-weight: 600;
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 4px 20px rgba(201,168,76,0.2);
}
.btn--gold:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.35);
  background: linear-gradient(135deg, #d4b45c, #c9a84c);
}
.btn--gold:active:not(:disabled) { transform: translateY(0); }

/* Gold outline */
.btn--outline-gold {
  background: transparent;
  border-color: var(--gold-border);
  color: var(--gold-light);
}
.btn--outline-gold:hover:not(:disabled) {
  border-color: var(--gold);
  background: var(--gold-muted);
  transform: translateY(-1px);
}

/* Ghost light */
.btn--ghost-light {
  background: rgba(255,255,255,0.06);
  border-color: var(--line);
  color: var(--text-muted);
}
.btn--ghost-light:hover:not(:disabled) {
  background: rgba(255,255,255,0.10);
  color: var(--text);
  transform: translateY(-1px);
}

.btn--lg  { padding: 14px 24px; font-size: 15px; }
.btn--xl  { padding: 16px 28px; font-size: 15px; border-radius: var(--r-lg); }
.btn--full { width: 100%; }

.btn__arrow {
  transition: transform var(--t-fast);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Loading state */
.btn-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: rgba(255,255,255,0.9);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== TOPBAR ==================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(12,11,9,0.7);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid), background var(--t-mid);
}
.topbar.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(12,11,9,0.92);
}

.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.brand__crown {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topnav > a:not(.btn) {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast);
}
.topnav > a:not(.btn):hover { color: var(--text); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-mid);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
  background: rgba(12,11,9,0.98);
}
.mobile-nav a {
  font-size: 16px;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border: none; }
.mobile-nav a.btn { margin-top: 12px; }
.mobile-nav.is-open { display: flex; }

@media (max-width: 840px) {
  .topnav { display: none; }
  .burger { display: flex; }
}

/* ==================== SECTIONS ==================== */
.section {
  position: relative;
  z-index: 1;
}
.section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
}
.section__title {
  margin-bottom: 16px;
}
.section__title em { color: var(--gold-light); }
.section__sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 50ch;
  margin-bottom: 48px;
}
.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 68px;
  overflow: hidden;
}

/* Ambient background glow */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.06);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hero__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
  background: rgba(201,168,76,0.07);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero__title {
  margin-bottom: 24px;
  color: var(--text);
}
.hero__title em {
  color: var(--gold-light);
  font-style: italic;
}

.hero__sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.trust-icon { font-size: 16px; }

/* Portrait showcase */
.portrait-showcase {
  position: relative;
  padding: 20px;
}

.portrait-card {
  background: var(--bg-card);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadow-gold), var(--shadow-md);
  transition: transform var(--t-mid);
}
.portrait-card:hover { transform: translateY(-4px); }

.portrait-card__inner { display: flex; flex-direction: column; gap: 16px; }

.portrait-card__img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-2);
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1708, #261f0a, #1a1708);
  position: relative;
}

.portrait-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0.8;
}

.art-frame-deco {
  position: absolute;
  inset: 16px;
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  pointer-events: none;
}
.art-crown { font-size: 48px; color: var(--gold); }
.art-dog { font-size: 80px; }
.art-flourish { font-size: 18px; color: var(--gold-light); opacity: 0.5; }

.portrait-card__caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.portrait-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.portrait-card__tag {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* Floating callouts */
.portrait-float {
  position: absolute;
  background: var(--bg-card-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.portrait-float--1 {
  bottom: 40px;
  left: -20px;
  max-width: 200px;
}
.portrait-float--1 span { color: var(--gold); font-size: 12px; }
.portrait-float--1 p { margin: 6px 0 4px; font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.portrait-float--1 small { font-size: 11px; color: var(--text-dim); }

.portrait-float--2 {
  top: 30px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pf2-icon { font-size: 24px; }
.portrait-float--2 b { display: block; font-size: 13px; font-weight: 500; }
.portrait-float--2 small { font-size: 11px; color: var(--text-muted); }

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.scroll-hint__line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold-light), transparent);
  animation: scrollPulse 2s ease infinite;
}
.scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; gap: 40px; }
  .portrait-showcase { max-width: 380px; margin: 0 auto; }
  .hero__bg-text { display: none; }
  .scroll-hint { display: none; }
}

/* ==================== HOW IT WORKS ==================== */
.how-section {
  border-top: 1px solid var(--line);
}
.how-section .section__inner {
  text-align: center;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--t-mid), border-color var(--t-mid);
}
.step.is-visible { opacity: 1; transform: translateY(0); }
.step:nth-child(3) { transition-delay: 0.1s; }
.step:nth-child(5) { transition-delay: 0.2s; }

.step:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
}

.step__num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background: var(--bg);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  color: var(--gold);
}

.step__icon { font-size: 40px; margin-bottom: 16px; }
.step h3 { margin-bottom: 12px; font-size: 22px; }
.step p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin: 0; }

.step-arrow {
  font-size: 24px;
  color: var(--gold-border);
  padding: 0 8px;
  align-self: center;
  flex-shrink: 0;
}

.how__cta {
  margin-top: 56px;
}

@media (max-width: 780px) {
  .step-arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
}

/* ==================== GALLERY ==================== */
.gallery-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--bg), var(--bg-2));
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 20px;
  margin-top: 48px;
  align-items: end;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
  opacity: 0;
  transform: translateY(24px);
}
.gallery-card.is-visible { opacity: 1; transform: translateY(0); }
.gallery-card:nth-child(2) { transition-delay: 0.1s; }
.gallery-card:nth-child(3) { transition-delay: 0.2s; }
.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
}

.gallery-card--featured {
  border-color: var(--gold-border);
}

.gallery-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.gp--1 { background: linear-gradient(135deg, #141008, #1e1a0c, #0e0c06); }
.gp--2 { background: linear-gradient(135deg, #0d1008, #141e0c, #0a0e06); }
.gp--3 { background: linear-gradient(135deg, #100814, #180c1e, #0c0610); }

.gp__crown { font-size: 36px; color: var(--gold); opacity: 0.7; }
.gp__emoji { font-size: 72px; }
.gp__style {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--gold-border);
}

.gallery-card__info {
  padding: 16px 20px 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.gallery-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
}
.gallery-card__style {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.gallery-card__quote {
  padding: 4px 20px 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.gallery__note {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 840px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card:nth-child(2) { transform: translateY(24px); }
}

/* ==================== PRICING ==================== */
.pricing-section {
  border-top: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  gap: 16px;
  margin-top: 48px;
  align-items: start;
  justify-content: center;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: all var(--t-mid);
  opacity: 0;
  transform: translateY(20px);
}
.price-card.is-visible { opacity: 1; transform: translateY(0); }
.price-card:nth-child(2) { transition-delay: 0.1s; }
.price-card:nth-child(3) { transition-delay: 0.2s; }
.price-card:nth-child(4) { transition-delay: 0.3s; }
.price-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.price-card--popular {
  background: var(--bg-card-2);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
}

.price-card--gift {
  background: var(--bg-card);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c9a84c, #a8832b);
  color: #0c0b09;
}

.price-card__header {
  margin-bottom: 24px;
}
.price-card__icon { font-size: 28px; margin-bottom: 12px; }
.price-card__header h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}
.price-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.price-card__freq {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0;
}

.price-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}
.check { color: var(--gold); flex-shrink: 0; font-size: 13px; margin-top: 1px; }

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 1000px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); justify-content: center; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ==================== REVIEWS ==================== */
.reviews-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--bg-2), var(--bg));
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: all var(--t-mid);
  opacity: 0;
  transform: translateY(20px);
}
.review-card.is-visible { opacity: 1; transform: translateY(0); }
.review-card:nth-child(2) { transition-delay: 0.1s; }
.review-card:nth-child(3) { transition-delay: 0.2s; }
.review-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.review-card--featured {
  border-color: var(--gold-border);
  background: var(--bg-card-2);
}

.review-card__stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.review-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-style: italic;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #7a5e1e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #0c0b09;
  flex-shrink: 0;
}
.review-card__author b { display: block; font-size: 14px; }
.review-card__author small { color: var(--text-dim); font-size: 12px; }

/* Social proof bar */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-xl);
  flex-wrap: wrap;
}
.sp-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sp-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.sp-label { font-size: 13px; color: var(--text-dim); }
.sp-divider { width: 1px; height: 48px; background: var(--line); }

@media (max-width: 780px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .sp-divider { display: none; }
}

/* ==================== FAQ ==================== */
.faq-section {
  border-top: 1px solid var(--line);
}

.faq-inner {
  max-width: 760px;
}

.faq-list { margin-top: 48px; }

.faq-item {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.faq-item.is-visible { opacity: 1; transform: translateY(0); }
.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  gap: 16px;
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--t-mid);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-light); }

.faq-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
  border-top: 1px solid var(--line);
}

.cta-banner__content {
  text-align: center;
  padding: 80px 32px;
  background: linear-gradient(135deg, rgba(201,168,76,0.06), transparent 50%, rgba(201,168,76,0.04));
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.cta-banner__content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08), transparent 70%);
  pointer-events: none;
}

.cta-banner__crown {
  font-size: 64px;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
  animation: crownFloat 3s ease-in-out infinite;
}
@keyframes crownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.cta-banner__content h2 {
  margin-bottom: 16px;
  color: var(--text);
}
.cta-banner__content h2 em { color: var(--gold-light); }
.cta-banner__content p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 16px;
}

/* ==================== FOOTER ==================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 13px; color: var(--text-dim); margin: 0; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: 13px; color: var(--text-dim); transition: color var(--t-fast); }
.footer__links a:hover { color: var(--gold-light); }

/* ==================== CREATE PAGE ==================== */
.page-create {
  background: var(--bg);
}
.page-create .topbar .topnav { gap: 12px; }

.create-main {
  padding-top: 68px;
  min-height: 100vh;
}

.create-header {
  border-bottom: 1px solid var(--line);
  padding: 40px 32px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(201,168,76,0.04), transparent);
}
.create-header__inner { max-width: 800px; margin: 0 auto; }

.create-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}
.csi-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--t-mid);
}
.csi-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-card);
  transition: all var(--t-mid);
}
.csi-step.is-active, .csi-step.is-done { color: var(--gold); }
.csi-step.is-active span, .csi-step.is-done span {
  border-color: var(--gold);
  background: var(--gold-muted);
  color: var(--gold-light);
}
.csi-line {
  width: 40px;
  height: 1px;
  background: var(--line);
  margin: 0 12px;
}

.create-title {
  margin-bottom: 10px;
}
.create-title em { color: var(--gold-light); }
.create-sub { color: var(--text-muted); font-size: 15px; margin: 0; }

.create-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.create-col { display: flex; flex-direction: column; gap: 20px; }

/* Tips card */
.tips-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.tips-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tips-col ul { display: flex; flex-direction: column; gap: 6px; }
.tips-col li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 4px;
  line-height: 1.4;
}
.tips-col__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  margin-bottom: 10px;
}
.tips-col__label--good {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.2);
  color: #4ade80;
}
.tips-col__label--bad {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.2);
  color: #f87171;
}

/* Generator card */
.gen-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gen-section { display: flex; flex-direction: column; gap: 12px; }
.gen-section__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sex-selector {
  display: flex;
  gap: 10px;
}
.sex-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-mid);
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.sex-btn:hover {
  border-color: var(--gold-border);
  color: var(--text);
  background: var(--bg-card-2);
}
.sex-btn.is-active {
  border-color: var(--gold);
  background: var(--gold-muted);
  color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}
.sex-btn__icon { font-size: 24px; }

.upload-zone {
  width: 100%;
  min-height: 140px;
  background: var(--bg);
  border: 2px dashed var(--line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-mid);
  padding: 24px;
  font-family: 'DM Sans', sans-serif;
}
.upload-zone:hover {
  border-color: var(--gold-border);
  background: rgba(201,168,76,0.03);
}
.upload-zone__content { text-align: center; pointer-events: none; }
.upload-zone__icon { font-size: 32px; margin-bottom: 10px; }
.upload-zone__title { font-size: 15px; font-weight: 500; color: var(--text-muted); margin-bottom: 4px; }
.upload-zone__sub { font-size: 12px; color: var(--text-dim); }

.gen-hint {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  font-style: italic;
}

/* Preview panels */
.preview-panels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.preview-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.preview-panel__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.preview-panel__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text-dim);
  text-transform: uppercase;
}
.preview-panel__tag--gold {
  background: var(--gold-muted);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.imgbox {
  position: relative;
  background: var(--bg);
}

.imgbox:has(.empty-state) {
  min-height: 280px;
}

.panel-img {
  width: 100%;
  height: auto;
  display: block;
}

.output-img-wrap .panel-img {
  width: 100%;
  height: auto;
  display: block;
}

.empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  gap: 10px;
}
.empty-state__icon { font-size: 36px; opacity: 0.5; }
.empty-state__title { font-weight: 600; color: var(--text-muted); font-size: 15px; }
.empty-state__sub { font-size: 13px; color: var(--text-dim); }

.panel-actions {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.watermark-notice {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
  margin: 0;
}

/* Fade-in */
.fade-in { animation: fadeIn 0.4s ease both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== TOAST ==================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(22,20,15,0.96);
  backdrop-filter: blur(12px);
  color: var(--text);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9000;
  max-width: 92vw;
  font-weight: 500;
  font-size: 14px;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: rgba(16,120,76,0.96); border-color: rgba(16,185,129,0.3); }
.toast.error { background: rgba(120,30,30,0.96); border-color: rgba(239,68,68,0.3); }

/* ==================== LOADER ==================== */
.loader {
  position: fixed;
  inset: 0;
  background: rgba(12,11,9,0.85);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  z-index: 9999;
  padding: 24px;
}
.loader.is-visible { display: grid; }

.loader__card {
  width: min(520px, 90vw);
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-gold), 0 48px 120px rgba(0,0,0,0.6);
}

.loader__crown-anim {
  font-size: 56px;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
  animation: crownFloat 2s ease-in-out infinite;
}

.loader__card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text);
}
.loader__card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.loader__barwrap {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.loader__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 999px;
  transition: width 0.25s ease;
}
.loader__pct {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.loader__tip {
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .create-layout {
    grid-template-columns: 1fr;
  }
  .section__inner { padding: 70px 24px; }
  .topbar__inner { padding: 0 24px; }
  .footer__inner { padding: 0 24px; }
}

@media (max-width: 600px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .tips-grid { grid-template-columns: 1fr; }
  .panel-actions { grid-template-columns: 1fr; }
  .social-proof { gap: 20px; }
  .create-header { padding: 28px 20px; }
  .create-layout { padding: 24px 20px 60px; }
}

/* ── Real portrait images ── */
.portrait-card__real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card__img {
  overflow: hidden;
}

.gallery-card:hover .gallery-real-img {
  transform: scale(1.04);
}

/* ══════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════ */
.output-img-wrap {
  position: relative;
  cursor: zoom-in;
}

.zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #f5f0e8;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.output-img-wrap:hover .zoom-hint { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: zoom-out;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.9);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.is-open .lightbox__content { transform: scale(1); }

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
  display: block;
}

.lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(8px);
}

.lightbox__close:hover { background: rgba(255,255,255,0.2); }

/* ══════════════════════════════════════
   CHECKOUT MODAL
══════════════════════════════════════ */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.checkout-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.checkout-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  cursor: pointer;
}

.checkout-modal__panel {
  position: relative;
  z-index: 1;
  background: #13120e;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkout-modal.is-open .checkout-modal__panel { transform: translateY(0); }

.checkout-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #8a8070;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.checkout-modal__close:hover { background: rgba(255,255,255,0.1); color: #f5f0e8; }

.checkout-modal__header { text-align: center; margin-bottom: 28px; }

.checkout-modal__crown {
  display: block;
  font-size: 2rem;
  color: #c9a84c;
  margin-bottom: 12px;
}

.checkout-modal__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #f5f0e8;
  line-height: 1.2;
  margin-bottom: 6px;
}

.checkout-modal__title em { color: #c9a84c; font-style: italic; }

.checkout-modal__sub { color: #8a8070; font-size: 0.88rem; }

/* Product cards */
.checkout-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.checkout-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkout-product:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.04);
}

.checkout-product.is-selected {
  border-color: #c9a84c;
  background: rgba(201,168,76,0.08);
}

.checkout-product__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: all 0.2s;
  position: relative;
}

.checkout-product.is-selected .checkout-product__radio {
  border-color: #c9a84c;
  background: #c9a84c;
}

.checkout-product.is-selected .checkout-product__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #13120e;
}

.checkout-product__icon { font-size: 1.3rem; flex-shrink: 0; }

.checkout-product__info { flex: 1; }

.checkout-product__info strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #f5f0e8;
  margin-bottom: 2px;
}

.checkout-product__info span { font-size: 0.78rem; color: #8a8070; }

.checkout-product__badge {
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(201,168,76,0.15);
  color: #c9a84c;
  padding: 2px 7px;
  border-radius: 20px;
}

.checkout-product__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #c9a84c;
  flex-shrink: 0;
}

/* Form */
.checkout-form { margin-bottom: 16px; }

.checkout-form__field { display: flex; flex-direction: column; gap: 6px; }

.checkout-form__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #8a8070;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.checkout-form__input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: #f5f0e8;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.checkout-form__input:focus { border-color: #c9a84c; }
.checkout-form__input::placeholder { color: #4a4535; }

.checkout-form__hint { font-size: 0.75rem; color: #6b6552; }

/* Address note */
.checkout-address-note {
  display: none;
  align-items: flex-start;
  gap: 10px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: #8a8070;
  line-height: 1.5;
}

/* CTA */
.checkout-modal__cta {
  margin-bottom: 12px;
  padding: 15px;
  font-size: 1rem;
}

.checkout-modal__secure {
  text-align: center;
  font-size: 0.75rem;
  color: #6b6552;
}
