:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F6F3;
  --surface: #FFFFFF;
  --text: #151413;
  --muted: #5F5C58;
  --border: rgba(21, 20, 19, 0.10);
  --border-strong: rgba(21, 20, 19, 0.22);
  --accent: #C85A3A;
  --accent-hover: #B04A2C;
  --ink-btn: #151413;
  --ink-btn-text: #FFFFFF;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-soft: 0 12px 32px rgba(21, 20, 19, 0.06);
  --shadow-phone: 0 24px 60px rgba(21, 20, 19, 0.16);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101010;
    --bg-alt: #161615;
    --surface: #1A1A19;
    --text: #F5F4F0;
    --muted: #A19E99;
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.22);
    --ink-btn: #F5F4F0;
    --ink-btn-text: #101010;
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-phone: 0 24px 60px rgba(0, 0, 0, 0.55);
  }
}

:root[data-theme="dark"] {
  --bg: #101010;
  --bg-alt: #161615;
  --surface: #1A1A19;
  --text: #F5F4F0;
  --muted: #A19E99;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.22);
  --ink-btn: #F5F4F0;
  --ink-btn-text: #101010;
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-phone: 0 24px 60px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand-mark { border-radius: 7px; }
.brand-region {
  display: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0.01em;
}
@media (min-width: 480px) {
  .brand-region { display: inline-flex; }
}
.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.pill-toggle {
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}
.pill-toggle:hover { border-color: var(--border-strong); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--ink-btn);
  color: var(--ink-btn-text);
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline, .btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover, .btn-secondary:hover { background: var(--bg-alt); }
.btn-sm { min-height: 36px; padding: 0 15px; font-size: 13px; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 48px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow, .kicker, .section-kicker {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.65rem, 6vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 500px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-checks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-checks li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
  font-weight: 700;
}

/* Kululu-style Dual Product Stage */
.hero-stage {
  position: relative;
  padding-bottom: 24px;
}
.stage-wall {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}
.stage-wall-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 600;
}
.stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22A06B;
}
.stage-wall-count {
  margin-left: auto;
  color: var(--muted);
  font-weight: 500;
}
.stage-wall-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stage-wall-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}
.stage-phone {
  width: 196px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 9px;
  box-shadow: var(--shadow-phone);
  margin: -110px 14px 0 auto;
  position: relative;
  z-index: 2;
}
.stage-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0 2px;
}
.live-pill {
  font-size: 10px;
  font-weight: 700;
  color: #1A7F52;
  background: rgba(34, 160, 107, 0.14);
  padding: 2px 7px;
  border-radius: 999px;
}
.stage-phone-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
}
.stage-phone-foot {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* Occasion strip */
.occasion-strip {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.occasion-label {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.occasion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.occasion-list span {
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

/* Sections */
.section { padding: 72px 0; }
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.center-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.split-head {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.step-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.step-body { padding: 22px; }
.step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.step-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* Real Moments Gallery */
.moments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.moment-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.moment-item img, .moment-item video {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}
.moment-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(16, 16, 16, 0.72);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* Editorial Feature List */
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.feature-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.feature-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.feature-row p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.price-featured {
  border: 2px solid var(--text);
  box-shadow: var(--shadow-soft);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--ink-btn);
  color: var(--ink-btn-text);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-top h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}
.price-desc {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}
.price-amount {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.price-amount span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  vertical-align: top;
}
.price-unit {
  margin: 4px 0 22px;
  font-size: 13px;
  color: var(--muted);
}
.price-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  flex: 1;
}
.price-features li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--accent);
  font-weight: 700;
}
.pricing-note {
  margin: 26px auto 0;
  text-align: center;
  max-width: 600px;
  font-size: 14px;
  color: var(--muted);
}

/* FAQ */
.faq-wrap { max-width: 780px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--muted);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* Final CTA & Footer */
.cta-band { border-bottom: 1px solid var(--border); }
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  line-height: 1.08;
}
.cta-sub {
  margin: 0;
  color: var(--muted);
}
.site-footer { padding: 32px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.footer-brand strong { color: var(--text); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a:hover { color: var(--text); }

/* ================= DEMO CAMERA PAGE ================= */
.demo-main { padding: 28px 0 64px; }
.demo-header { margin-bottom: 16px; }
.demo-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
}
.demo-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 24px;
}
.demo-notice-icon { color: var(--accent); font-size: 10px; }
.camera-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.camera-shell {
  background: #111111;
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.viewfinder-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 520px;
  width: 100%;
  background: #000000;
  overflow: hidden;
}
.viewfinder-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.viewfinder-top-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 3;
}
.cam-chip-group { display: flex; gap: 6px; }
.cam-chip {
  background: rgba(0, 0, 0, 0.56);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.countdown-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  z-index: 5;
}
.countdown-overlay[hidden] { display: none; }
.countdown-num {
  font-size: 84px;
  font-weight: 700;
  color: #FFFFFF;
}
.flash-overlay {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transition: opacity 0.22s ease;
}
.flash-overlay.is-flashing { opacity: 1; transition: none; }
.camera-fallback {
  position: absolute;
  inset: 0;
  background: #141413;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 14px;
  z-index: 4;
}
.camera-fallback[hidden] { display: none; }
.camera-fallback p { margin: 0; max-width: 320px; font-size: 14px; color: #D4D1CC; }
.camera-controls {
  padding: 16px;
  background: #111111;
}
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #CFCBC4;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.filter-btn[aria-pressed="true"] {
  background: #FFFFFF;
  color: #111111;
  border-color: #FFFFFF;
}
.shutter-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.shutter-spacer { font-size: 12.5px; color: #CFCBC4; }
.shutter-spacer.right { text-align: right; }
.upload-fallback-label {
  cursor: pointer;
  color: #E5E2DC;
  font-weight: 500;
}
.shutter-btn {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  border: 4px solid #FFFFFF;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.shutter-inner {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #FFFFFF;
  transition: transform 0.1s ease;
}
.shutter-btn:active .shutter-inner { transform: scale(0.9); }

.album-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.album-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.album-title-group { display: flex; align-items: center; gap: 10px; }
.album-title { margin: 0; font-size: 18px; font-weight: 700; }
.count-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}
.icon-btn.danger {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #C93B2B;
  cursor: pointer;
}
.album-empty {
  padding: 36px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}
.album-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.album-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.album-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.album-card-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.album-del-btn {
  background: rgba(0, 0, 0, 0.55);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
}

/* Desktop breakpoints */
@media (min-width: 820px) {
  .nav-links { display: flex; }
  .hero { padding: 72px 0 44px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .stage-phone { width: 224px; margin: -130px 18px 0 auto; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .moments-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
  }
  .moment-tall { grid-row: span 2; }
  .moment-wide { grid-column: span 2; }
  .feature-row {
    grid-template-columns: 0.42fr 0.58fr;
    gap: 32px;
    align-items: baseline;
  }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .camera-workspace { grid-template-columns: 420px 1fr; }
  .album-grid { grid-template-columns: repeat(3, 1fr); }
}
