/* ═══════════════════════════════════════════════════════════════════
   ro-numerolog.com — Stylesheet principal
   Design: mistic-modern, editorial de lux
   ═══════════════════════════════════════════════════════════════════ */

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

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

:root {
  --bg:          #0D0D0D;
  --bg-card:     #141414;
  --bg-elevated: #1A1A1A;
  --text:        #F5F0E8;
  --text-muted:  #8A8070;
  --text-soft:   #C8C0B0;
  --gold:        #C9A84C;
  --gold-dark:   #8B6914;
  --gold-light:  #E8C96A;
  --border:      #222222;
  --border-gold: #2E2410;
  --error:       #E05555;
  --success:     #5CA87A;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --radius:  6px;
  --radius-lg: 12px;
  --shadow:  0 8px 40px rgba(0,0,0,.6);
  --glow:    0 0 30px rgba(201,168,76,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  /* Noise texture overlay */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.04'/%3E%3C/svg%3E");
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

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

/* ── Typography ────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

.text-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: block;
  margin-bottom: 12px;
}

/* ── Layout ────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(13,13,13,.95), transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34,34,34,.4);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: .85rem;
  letter-spacing: 1px;
  color: var(--text-soft);
  transition: color .2s;
}

.nav__links a:hover { color: var(--gold); }

.nav__cta {
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: .8rem;
  letter-spacing: 1px;
  transition: all .25s;
}

.nav__cta:hover {
  background: rgba(201,168,76,.08);
  border-color: var(--gold);
  box-shadow: var(--glow);
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .5px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: #0D0D0D;
  font-weight: 600;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201,168,76,.35);
  color: #0D0D0D;
}

.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.btn--outline:hover {
  border-color: var(--gold-dark);
  color: var(--gold);
  background: rgba(201,168,76,.04);
}

.btn--lg { padding: 18px 48px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ── Section dividers ──────────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto;
}

.section-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 80px 0;
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201,168,76,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 110%, rgba(139,105,20,.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero__eyebrow {
  font-size: .7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero__description {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero__trust {
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__trust span { display: flex; align-items: center; gap: 5px; }

/* ── What is it — 3 columns ────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 12px;
}

.section__lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 56px;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: border-color .3s, box-shadow .3s;
}

.system-card:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--glow);
}

.system-card__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.system-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 10px;
}

.system-card__body {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── What's included ──────────────────────────────────────────────── */
.includes-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
}

.include-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}

.include-item:hover { background: var(--bg-elevated); }

.include-item__icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
  display: block;
}

.include-item__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.include-item__desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Pricing / CTA section ────────────────────────────────────────── */
.pricing-section {
  text-align: center;
  padding: 96px 0;
}

.price-card {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px 64px;
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 4px;
}

.price-currency {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 300;
}

.price-label {
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: block;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.price-features li {
  padding: 8px 0;
  font-size: .9rem;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
}

/* ── Testimonials ─────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-card__author {
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover { color: var(--gold); }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .25s;
  font-weight: 300;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }

.faq-answer p {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer__desc {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer__col-title {
  font-size: .72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.footer__links { list-style: none; }

.footer__links li { margin-bottom: 8px; }

.footer__links a {
  font-size: .85rem;
  color: var(--text-muted);
  transition: color .2s;
}

.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: .78rem;
  color: #444;
}

.footer__legal {
  font-size: .75rem;
  color: #383838;
}

/* ── Form ─────────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-label span { color: var(--gold); margin-left: 2px; }

.form-input,
.form-select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201,168,76,.08);
}

.form-input::placeholder { color: var(--text-muted); }

.form-select option {
  background: var(--bg-card);
  color: var(--text);
}

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

.form-hint {
  font-size: .77rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: .85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.form-checkbox label a { color: var(--gold); }

.form-error {
  background: rgba(224,85,85,.1);
  border: 1px solid rgba(224,85,85,.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .88rem;
  color: #F08080;
  margin-bottom: 20px;
  display: none;
}

.form-error.visible { display: block; }

/* ── Stripe Elements ──────────────────────────────────────────────── */
.stripe-element-container {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  transition: border-color .2s;
}

.stripe-element-container.focused { border-color: var(--gold-dark); }

/* ── Order page ───────────────────────────────────────────────────── */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  padding-top: 100px;
  padding-bottom: 80px;
  align-items: start;
}

.order-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 100px;
}

.order-sidebar__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.order-sidebar__price {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 24px;
}

.order-sidebar__price sup {
  font-size: 1.2rem;
  vertical-align: super;
  color: var(--text-muted);
}

.order-sidebar__features {
  list-style: none;
  margin-bottom: 24px;
}

.order-sidebar__features li {
  font-size: .85rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-sidebar__features li::before {
  content: '✓';
  color: var(--gold);
  font-size: .8rem;
}

.order-sidebar__trust {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── Thank you page ───────────────────────────────────────────────── */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.thankyou-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  max-width: 540px;
  position: relative;
}

.thankyou-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--success), transparent);
}

.thankyou-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* ── Animations ───────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Blog ─────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}

.blog-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.blog-card__body { padding: 24px; }

.blog-card__date {
  font-size: .72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
  display: block;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Calculator preview ───────────────────────────────────────────── */
.calc-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
}

.calc-result {
  text-align: center;
  padding: 32px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  margin-top: 24px;
  display: none;
}

.calc-result.visible { display: block; }

.calc-result__number {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  font-weight: 300;
}

.calc-result__label {
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

.calc-result__description {
  font-size: .93rem;
  color: var(--text-soft);
  margin-top: 16px;
  line-height: 1.7;
}

/* ── Utility classes ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav__links { display: none; }

  .order-layout {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }
  .order-sidebar { position: static; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .form-row { grid-template-columns: 1fr; }

  .price-card { padding: 36px 28px; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .hero__title { font-size: 2.4rem; }
  .section { padding: 64px 0; }
  .systems-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .includes-grid { grid-template-columns: 1fr; }
}
