/* ============================================================
   Born Decoded — Global Styles
   Design: "Mystic Modern"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ivory:   #F5EDE4;
  --blush:   #EDD8D0;
  --gold:    #C9A96E;
  --brown:   #3D3028;
  --brown-light: #5A4A3A;
  --dark:    #1A1410;
  --wood:    #7BA67B;
  --fire:    #D4766A;
  --earth:   #C9A96E;
  --metal:   #B8B0A4;
  --water:   #6B9EC4;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--brown);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--ivory); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
.font-serif { font-family: var(--font-serif); }
.text-gold  { color: var(--gold); }
.text-ivory { color: var(--ivory); }
.text-brown { color: var(--brown); }
.text-muted { color: rgba(90, 74, 58, 0.7); }

/* ---------- Container ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.container-md { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.02em;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: #b8963e; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,169,110,0.35); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }

.btn-dark {
  background: var(--dark);
  color: var(--ivory);
}
.btn-dark:hover { background: #2a2018; }

.btn:disabled, .btn.disabled {
  background: var(--metal);
  color: rgba(90,74,58,0.5);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-sm { padding: 10px 24px; font-size: 0.875rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 237, 228, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.12);
  height: 72px;
  padding-top: 6px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--brown);
}
.header-logo img { width: 36px; height: 36px; border-radius: 50%; }
.header-nav { display: flex; gap: 8px; }
.header-nav .btn { padding: 8px 20px; font-size: 0.85rem; }
.header-nav .btn-nav {
  background: #E8DDD2;
  color: var(--dark);
  border: 1.5px solid rgba(201,169,110,0.3);
}
.header-nav .btn-nav:hover { background: #ddd0c3; color: var(--dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
  text-align: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner.png') center/cover no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(245,237,228,0.82) 0%,
    rgba(245,237,228,0.75) 40%,
    rgba(245,237,228,0.88) 100%
  );
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-profile {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto 24px;
  box-shadow: 0 4px 24px rgba(201,169,110,0.25);
}
.hero-tag {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-buttons .btn-cta {
  background: #E8DDD2;
  color: var(--dark);
  border: 1.5px solid rgba(201,169,110,0.3);
}
.hero-buttons .btn-cta:hover { background: #ddd0c3; color: var(--dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,169,110,0.2); }
.hero h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--brown);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--brown-light);
  margin-bottom: 32px;
  opacity: 0.85;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (min-width: 768px) {
  .hero { padding: 160px 20px 120px; }
  .hero h1 { font-size: 3.4rem; }
  .hero-sub { font-size: 1.15rem; }
}

/* ---------- Section Utility ---------- */
.section { padding: 80px 20px; }
.section-blush { background: linear-gradient(to bottom, rgba(237,216,208,0.2), var(--ivory)); }
.section-dark { background: var(--dark); color: var(--ivory); }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}
.section-dark .section-title h2 { color: var(--ivory); }
.section-title p {
  font-size: 1rem;
  color: var(--brown-light);
  opacity: 0.7;
}
.section-dark .section-title p { color: rgba(245,237,228,0.6); }
.gold-line {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}

/* ---------- How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(201,169,110,0.1);
  transition: transform 0.2s;
}
.step-card:hover { transform: translateY(-4px); }
.step-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201,169,110,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.step-num {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 8px;
}
.step-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-card p { font-size: 0.9375rem; color: var(--brown-light); opacity: 0.7; }

/* ---------- Product Cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
.product-card {
  background: white;
  border-radius: 20px;
  padding: 36px 28px;
  border: 1.5px solid rgba(201,169,110,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(201,169,110,0.15); }
.product-emoji { font-size: 2rem; margin-bottom: 12px; }
.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.product-price {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}
.product-features { list-style: none; margin-bottom: 28px; flex: 1; }
.product-features li {
  font-size: 0.9375rem;
  color: var(--brown);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.product-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.product-card .btn { width: 100%; }

/* ---------- Sample Report ---------- */
.samples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 600px) { .samples-grid { grid-template-columns: 1fr; max-width: 280px; } }
.sample-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: transform 0.3s;
}
.sample-card:hover { transform: scale(1.03); }
.sample-img {
  width: 100%;
  display: block;
  aspect-ratio: 2/3;
  object-fit: cover;
}
.sample-label {
  padding: 8px 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--brown-light);
  font-family: var(--font-serif);
}

/* ---------- Lightbox ---------- */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}
.lb-overlay.active { display: flex; }
.lb-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  touch-action: pinch-zoom;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  z-index: 10000;
}
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 3rem;
  cursor: pointer;
  padding: 12px;
  z-index: 10000;
}
.lb-arrow:hover { color: #fff; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 600px) {
  .lb-arrow { font-size: 2rem; padding: 8px; }
  .lb-close { font-size: 2rem; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid rgba(201,169,110,0.12);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: white;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--brown);
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(237,216,208,0.2); }
.faq-toggle {
  color: var(--gold);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 0.9375rem;
  color: var(--brown-light);
  opacity: 0.75;
  line-height: 1.7;
}

/* ---------- Social Proof ---------- */
.proof-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
}
.proof-stat { text-align: center; }
.proof-stat .num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}
.proof-stat .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brown-light);
  opacity: 0.6;
  margin-top: 4px;
}
.proof-divider { width: 1px; background: rgba(201,169,110,0.2); }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  background: url('../images/banner.png') center/cover no-repeat;
  z-index: 0;
}
.final-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,20,16,0.75);
}
.final-cta-content { position: relative; z-index: 1; }
.final-cta .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.final-cta h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 32px;
}
.final-cta .hero-buttons { justify-content: center; }
@media (min-width: 768px) {
  .final-cta h2 { font-size: 2.6rem; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: var(--ivory);
  padding: 48px 20px 32px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.footer-logo img { width: 32px; height: 32px; border-radius: 50%; }
.footer-logo span {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.8rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; color: var(--gold); }
.footer-disclaimer {
  font-size: 0.75rem;
  opacity: 0.4;
  margin-bottom: 8px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.footer-copy {
  font-size: 0.75rem;
  opacity: 0.35;
}
.footer-yt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--gold);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-yt:hover { opacity: 1; }
.footer-biz {
  font-size: 0.7rem;
  opacity: 0.35;
  margin-top: 16px;
  line-height: 1.7;
}
.footer-biz span { display: inline; }
.footer-biz br { display: none; }
@media (max-width: 640px) { .footer-biz br { display: block; } }

/* ---------- Form Pages ---------- */
.form-page {
  padding: 96px 20px 60px;
  min-height: 100vh;
}
.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-header h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.form-header .price { color: var(--gold); font-weight: 600; }
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid rgba(201,169,110,0.1);
}
.form-section { margin-bottom: 32px; }
.form-section-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,169,110,0.15);
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 6px;
}
.form-label .required { color: var(--fire); margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(201,169,110,0.2);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--brown);
  background: var(--ivory);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}
.form-textarea { min-height: 60px; resize: vertical; }
.form-input::placeholder,
.form-textarea::placeholder { color: var(--brown-light); opacity: 0.4; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.radio-pill {
  position: relative;
}
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill label {
  display: block;
  padding: 8px 16px;
  border: 1.5px solid rgba(201,169,110,0.2);
  border-radius: 50px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--brown-light);
  background: var(--ivory);
}
.radio-pill input:checked + label {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.radio-pill label:hover { border-color: var(--gold); }

.checkbox-group { display: flex; flex-direction: column; gap: 12px; }
.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}
.checkbox-item span { font-size: 0.82rem; color: var(--brown-light); line-height: 1.5; }

.form-error {
  font-size: 0.78rem;
  color: var(--fire);
  margin-top: 4px;
  display: none;
}
.form-error.show { display: block; }

.form-submit { text-align: center; margin-top: 32px; }
.form-submit .btn { min-width: 280px; }

/* ---------- Success Page ---------- */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 20px 60px;
  text-align: center;
}
.success-card {
  max-width: 480px;
  background: white;
  border-radius: 24px;
  padding: 48px 36px;
  border: 1px solid rgba(201,169,110,0.1);
}
.success-check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(123,166,123,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}
.success-card h1 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.success-card p { font-size: 0.95rem; color: var(--brown-light); margin-bottom: 8px; }
.success-card .highlight { font-weight: 700; color: var(--brown); }
.success-card .note { font-size: 0.82rem; opacity: 0.6; margin-top: 20px; }
.success-card .btn { margin-top: 28px; }

/* ---------- Legal Pages ---------- */
.legal-page {
  padding: 96px 20px 60px;
  min-height: 100vh;
}
.legal-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 48px 36px;
  border: 1px solid rgba(201,169,110,0.1);
}
.legal-card h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.legal-card .date { font-size: 0.82rem; color: var(--brown-light); opacity: 0.6; margin-bottom: 32px; }
.legal-card h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--brown);
}
.legal-card p, .legal-card li {
  font-size: 0.9375rem;
  color: var(--brown-light);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-card ul { padding-left: 20px; margin-bottom: 16px; }
.legal-card li { margin-bottom: 6px; }
.legal-card a { color: var(--gold); text-decoration: underline; }
