:root {
  --bg: #080c17;
  --bg-soft: #10172a;
  --card: #131c33;
  --card-hover: #192543;
  --border: #263354;
  --gold: #f5c451;
  --gold-bright: #ffd978;
  --gold-dim: rgba(245, 196, 81, 0.14);
  --text: #f8fafc;
  --muted: #9eb0cf;
  --danger: #f87171;
  --success: #34d399;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

body {
  margin: 0;
  background: radial-gradient(ellipse 90% 50% at 50% -10%, rgba(245, 196, 81, 0.16), transparent 65%), var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 12, 23, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(38, 51, 84, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.brand:hover {
  text-decoration: none;
}
.brand-badge {
  background: linear-gradient(135deg, #ffd978, #e6a82e);
  color: #0b0f1a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.nav a {
  color: #dbe6fb;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover {
  color: var(--gold);
  text-decoration: none;
}
.nav .btn.nav-cta {
  padding: 8px 14px;
  font-size: 0.86rem;
  color: #0b0f1a;
  font-weight: 700;
}
.credit-pill {
  background: var(--gold-dim);
  border: 1px solid rgba(245, 196, 81, 0.45);
  color: var(--gold-bright) !important;
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
}

/* Hero & Studio */
.hero {
  padding: 22px 0 28px;
}
.hero-compact {
  text-align: left;
  margin-bottom: 16px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-bright);
  background: var(--gold-dim);
  border: 1px solid rgba(245, 196, 81, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3.4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 720px;
}
.price-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.86rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Studio Grid: Upload FIRST on mobile so phone visitors see upload + price immediately! */
.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 920px) {
  .studio-grid {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 24px;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.studio-step-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin: 0 0 8px;
}

/* Style cards */
.style-pills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.style-pill {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 11px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.style-pill:hover {
  border-color: rgba(245, 196, 81, 0.55);
}
.style-pill[aria-pressed="true"] {
  background: rgba(245, 196, 81, 0.14);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.style-pill-badge {
  display: block;
  font-size: 0.7rem;
  color: var(--gold-bright);
  font-weight: 700;
}
.style-pill-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Upload dropzone */
.drop {
  position: relative;
  border: 2px dashed rgba(245, 196, 81, 0.5);
  border-radius: 14px;
  background: rgba(16, 23, 42, 0.8);
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.drop:hover {
  border-color: var(--gold-bright);
  background: rgba(25, 37, 67, 0.85);
}
.drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.drop img {
  max-height: 210px;
  max-width: 100%;
  border-radius: 10px;
  object-fit: contain;
}
.slot-photo-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(8, 12, 23, 0.85);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
}
.slot-clear {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(8, 12, 23, 0.9);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.guest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.guest-grid .drop {
  min-height: 108px;
  padding: 10px;
}
@media (max-width: 520px) {
  .guest-grid {
    grid-template-columns: 1fr;
  }
}

/* Folded details */
.studio-fold {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 10px 13px;
}
.studio-fold summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.studio-fold summary::-webkit-details-marker {
  display: none;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.chip small {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
}
.chip[aria-pressed="true"] {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: #fff;
}

/* Buttons & inputs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffd978, #eab308);
  color: #0b0f1a;
  font-weight: 800;
  font-size: 0.98rem;
  border: none;
  border-radius: 12px;
  padding: 13px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s, opacity 0.15s;
}
.btn:hover {
  text-decoration: none;
  opacity: 0.95;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn.block {
  width: 100%;
}
.btn.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}
.btn.outline:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}
.btn.google {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
}

label.field {
  display: block;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: #dbe6fb;
  font-weight: 600;
}
label.field input,
label.field textarea {
  margin-top: 5px;
}

/* Preview Showcase Card */
.showcase-card {
  position: relative;
  overflow: hidden;
}
.animated-poster {
  position: relative;
  aspect-ratio: 9 / 14;
  max-height: 480px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #090e1f 0%, #162244 55%, #2b1f3a 100%);
  border: 1px solid rgba(245, 196, 81, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}
.poster-sky {
  text-align: center;
  padding-top: 12px;
}
.poster-year {
  font-size: clamp(3.1rem, 6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fffdf5 0%, #ffd978 48%, #d9951a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 24px rgba(245, 196, 81, 0.35));
}
.poster-caption {
  background: rgba(8, 12, 23, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 196, 81, 0.3);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.85rem;
}

.sound-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.sound-video video {
  display: block;
  width: 100%;
  max-height: 520px;
}
.sound-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(8, 12, 23, 0.85);
  color: #fff;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

/* Pricing Packs */
.section {
  padding: 44px 0;
  border-top: 1px solid rgba(38, 51, 84, 0.55);
}
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pack.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(245, 196, 81, 0.4), 0 18px 40px rgba(0, 0, 0, 0.4);
}
.pack-badge {
  align-self: flex-start;
  background: var(--gold-dim);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.pack h3 {
  margin: 4px 0 0;
  font-size: 1.15rem;
}
.pack .price {
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
}
.pack .credits {
  font-weight: 700;
  color: var(--gold-bright);
}
.pack .save {
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 700;
}
.pack .save-none {
  color: var(--muted);
  font-weight: 500;
}
.pack .btn {
  margin-top: auto;
}

/* Tables */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.92rem;
}
.cost-table th,
.cost-table td {
  border-bottom: 1px solid var(--border);
  padding: 11px 12px;
  text-align: left;
}
.cost-table th {
  color: var(--gold-bright);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Topic cluster cards & FAQ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
  color: #fff;
}
.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* Breadcrumb & prose */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.prose {
  max-width: 780px;
}
.prose h2 {
  margin-top: 32px;
  font-size: 1.45rem;
}
.prose h3 {
  margin-top: 22px;
  font-size: 1.15rem;
}
.prose p,
.prose li {
  color: #cbd5e1;
}

/* Utilities */
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.84rem;
}
.error {
  color: var(--danger);
  font-size: 0.88rem;
  margin-top: 6px;
}
.success-msg {
  color: var(--success);
  font-size: 0.9rem;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(245, 196, 81, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.uploading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.uploading img {
  max-height: 130px;
  opacity: 0.7;
  border-radius: 8px;
}

/* Modal & Offer bar */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 15, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 100;
}
.modal.open {
  display: flex;
}
.modal-body {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  max-width: 460px;
  width: 100%;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}

.offer-bar {
  background: linear-gradient(90deg, #2a1f08, #1a2442);
  border-bottom: 1px solid rgba(245, 196, 81, 0.45);
  padding: 9px 16px;
  text-align: center;
  font-size: 0.88rem;
}

.apple-pay-slot {
  margin-bottom: 8px;
}
.pay-alt {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 34px 0;
  background: #060912;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px;
}
.footer-grid h4 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 0.9rem;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 6px;
}
.footer-grid a {
  color: var(--muted);
}
.footer-grid a:hover {
  color: var(--gold);
}
