/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@400;600&family=Cormorant+Garamond:ital,wght@1,400;1,600&display=swap');

/* === DESIGN TOKENS === */
:root {
  --color-bg-primary:    #FDF8F0;
  --color-bg-secondary:  #F5EDD8;
  --color-bg-dark:       #2D1F3D;
  --color-gold:          #C4A35A;
  --color-gold-light:    #E8D5B7;
  --color-gold-dark:     #9B7A3A;
  --color-purple:        #7B5EA7;
  --color-purple-light:  #B8A0D4;
  --color-purple-dark:   #5A3D87;
  --color-text-primary:  #2D1F3D;
  --color-text-secondary:#6B5E7A;
  --color-text-muted:    #9B8B6E;
  --color-text-light:    #FDF8F0;
  --color-border:        #E0CEB4;
  --color-shadow:        rgba(45, 31, 61, 0.12);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-input: 4px;
  --max-width: 680px;
  --section-pad-mobile: 48px 20px;
  --section-pad-desktop: 80px 40px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: var(--section-pad-mobile); }
@media (min-width: 768px) { .section { padding: var(--section-pad-desktop); } }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; color: var(--color-text-primary); }
h1 { font-size: clamp(28px, 7vw, 48px); }
h2 { font-size: clamp(22px, 5vw, 36px); }
h3 { font-size: clamp(18px, 4vw, 24px); }
p { font-size: 16px; line-height: 1.7; }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-light { color: var(--color-text-light); }
.text-center { text-align: center; }
.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(18px, 4vw, 24px);
  color: var(--color-gold-dark);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-gold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196, 163, 90, 0.4);
}
.btn-primary:hover { background: var(--color-gold-dark); }
.btn-secondary {
  background: transparent;
  color: var(--color-gold-dark);
  border: 2px solid var(--color-gold);
}
.btn-secondary:hover { background: var(--color-gold-light); }
.btn-full { width: 100%; }

/* === CARDS === */
.card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 2px 12px var(--color-shadow);
}
.card-accent {
  border-left: 4px solid var(--color-gold);
}

/* === FORMS === */
.form-group { margin-bottom: 16px; }
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  font-size: 16px;
  font-family: var(--font-body);
  background: #fff;
  color: var(--color-text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.2);
}
.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text-muted);
}
.birthday-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr;
  gap: 10px;
}
.privacy-note {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 10px;
}

/* === HERO === */
.hero {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
  padding: 60px 20px 40px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(123,94,167,0.35) 0%, transparent 70%),
              radial-gradient(ellipse at bottom, rgba(196,163,90,0.2) 0%, transparent 70%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: var(--color-text-light); margin-bottom: 16px; }
.hero p { color: rgba(253,248,240,0.8); font-size: 18px; }

/* === LOGO === */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 32px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-gold);
  font-weight: 700;
}
.logo img { width: 36px; height: 36px; }

/* === SOCIAL PROOF BAR === */
.proof-bar {
  background: var(--color-bg-dark);
  padding: 14px 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.proof-item {
  font-size: 13px;
  color: rgba(253,248,240,0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}
.proof-item::after {
  content: '|';
  margin-left: 20px;
  color: rgba(253,248,240,0.3);
}
.proof-item:last-child::after { content: ''; }

/* === HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  margin: 0 auto 14px;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-card);
  padding: 20px;
  border-left: 4px solid var(--color-gold);
}
.stars { color: var(--color-gold); font-size: 16px; margin-bottom: 8px; }
.testimonial-author { font-size: 13px; color: var(--color-text-muted); margin-top: 10px; font-weight: 600; }

/* === FAQ ACCORDION === */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after { content: '+'; font-size: 22px; color: var(--color-gold); transition: transform 0.2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 18px 0;
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* === FOOTER === */
.footer {
  background: var(--color-bg-dark);
  padding: 32px 20px;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a { color: rgba(253,248,240,0.6); font-size: 14px; }
.footer-links a:hover { color: var(--color-gold); }
.footer-copy { font-size: 12px; color: rgba(253,248,240,0.4); }

/* === READING CARDS === */
.reading-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-left: 5px solid var(--color-gold);
}
.reading-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.reading-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-purple-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.reading-card-title { font-family: var(--font-display); font-size: 18px; color: var(--color-purple-dark); }
.reading-text { color: var(--color-text-secondary); line-height: 1.8; font-size: 15px; }
.affirmation-card {
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-purple-dark));
  color: var(--color-text-light);
  text-align: center;
  padding: 32px;
}
.affirmation-card .reading-card-title { color: var(--color-gold); }
.affirmation-text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(18px, 4.5vw, 26px);
  line-height: 1.5;
  color: var(--color-text-light);
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--color-purple-dark), var(--color-bg-dark));
  padding: 48px 20px;
  text-align: center;
  color: var(--color-text-light);
}
.cta-section h2 { color: var(--color-text-light); margin-bottom: 16px; }
.cta-price { font-size: 14px; color: rgba(253,248,240,0.7); margin-top: 12px; }

/* === LOADING SKELETON === */
.skeleton {
  background: linear-gradient(90deg, #f0e8d4 25%, #e8dcc8 50%, #f0e8d4 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-line { height: 16px; margin-bottom: 8px; }
.skeleton-line:last-child { width: 70%; }

/* === UTILITIES === */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }
.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; }

/* === READING PAGE SPECIFIC === */
.reading-header {
  background: var(--color-bg-dark);
  padding: 40px 20px;
  text-align: center;
}
.reading-header h1 { color: var(--color-text-light); font-size: clamp(22px, 5vw, 36px); }
.reading-date { color: var(--color-gold); font-size: 14px; margin-top: 8px; }
.reading-sign-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold), var(--color-purple));
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0;
}

/* === FIXED BOTTOM CTA (reading page mobile) === */
.bottom-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-dark);
  padding: 12px 20px;
  border-top: 1px solid rgba(196,163,90,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) { .bottom-cta-bar { display: none; } }

/* === DIVIDER === */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: 32px 0;
}

/* === STAR DECORATIONS === */
.star-accent {
  color: var(--color-gold);
  font-size: 12px;
  letter-spacing: 4px;
}
