/* === VARIABLES === */
:root {
  --bg: hsl(40, 30%, 97%);
  --fg: hsl(220, 40%, 13%);
  --card: hsl(40, 25%, 99%);
  --card-fg: hsl(220, 40%, 13%);
  --primary: hsl(220, 45%, 20%);
  --primary-fg: hsl(40, 30%, 97%);
  --secondary: hsl(40, 25%, 94%);
  --secondary-fg: hsl(220, 40%, 13%);
  --muted: hsl(40, 20%, 95%);
  --muted-fg: hsl(220, 15%, 50%);
  --accent: hsl(43, 80%, 58%);
  --accent-fg: hsl(220, 45%, 12%);
  --border: hsl(40, 20%, 90%);
  --gold: hsl(43, 80%, 58%);
  --gold-light: hsl(43, 70%, 75%);
  --gold-dark: hsl(43, 85%, 42%);
  --navy: hsl(220, 45%, 20%);
  --cosmic: hsl(240, 30%, 8%);
  --radius: 0.75rem;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: 'Cormorant Garamond', serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, select, input, textarea { font-family: inherit; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* === TEXT GRADIENT === */
.text-gradient-gold {
  background-image: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === COSMIC BG === */
.cosmic-bg {
  background-image: radial-gradient(circle at 20% 50%, hsla(43,80%,58%,0.03) 1px, transparent 1px),
                     radial-gradient(circle at 80% 20%, hsla(43,80%,58%,0.02) 1px, transparent 1px),
                     radial-gradient(circle at 50% 80%, hsla(220,45%,20%,0.02) 1px, transparent 1px);
  background-size: 60px 60px, 90px 90px, 120px 120px;
}

/* === BUTTONS === */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--accent-fg); padding: 1rem 2rem; border-radius: 9999px;
  font-weight: 600; letter-spacing: 0.02em; border: none; cursor: pointer;
  box-shadow: 0 4px 20px -4px hsla(43,80%,58%,0.3);
  transition: all 0.3s; font-size: 1rem;
}
.btn-gold:hover { transform: scale(1.05); box-shadow: 0 6px 30px -4px hsla(43,80%,58%,0.4); }
.btn-gold:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-full { width: 100%; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 1px solid hsla(40,30%,97%,0.3); color: var(--primary-fg);
  padding: 1rem 2rem; border-radius: 9999px; font-weight: 500;
  letter-spacing: 0.02em; background: transparent; cursor: pointer;
  transition: all 0.3s; font-size: 1rem;
}
.btn-outline:hover { background: hsla(40,30%,97%,0.1); }

/* === NAVBAR === */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.5s;
}
#navbar.scrolled {
  background: hsla(40,30%,97%,0.95); backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px hsla(220,40%,13%,0.04), 0 8px 24px hsla(220,40%,13%,0.06);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.nav-logo span { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; letter-spacing: 0.05em; color: var(--primary-fg); transition: color 0.3s; }
.nav-star-icon { width: 1.5rem; height: 1.5rem; color: var(--gold-light); transition: color 0.3s; }
#navbar.scrolled .nav-logo span { color: var(--fg); }
#navbar.scrolled .nav-star-icon { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.05em; color: hsla(40,30%,97%,0.8); transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }
#navbar.scrolled .nav-links a { color: hsla(220,40%,13%,0.7); }
#navbar.scrolled .nav-links a:hover { color: var(--gold); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--primary-fg); cursor: pointer; }
#navbar.scrolled .mobile-menu-btn { color: var(--fg); }
.mobile-nav { display: none; background: hsla(40,30%,97%,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.mobile-nav.open { display: flex; flex-direction: column; gap: 1rem; padding: 1rem 2rem 1.5rem; }
.mobile-nav a { color: hsla(220,40%,13%,0.7); font-weight: 500; transition: color 0.3s; }
.mobile-nav a:hover { color: var(--gold); }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
}

/* === HERO === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, hsla(240,30%,8%,0.6), hsla(240,30%,8%,0.4), hsla(240,30%,8%,0.8)); }
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 1.5rem; max-width: 56rem; margin: 0 auto; }
.hero-badge { color: var(--gold-light); font-size: 0.875rem; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 1.5rem; animation: fadeUp 0.8s ease-out; }
.hero-title { font-size: clamp(3.5rem, 10vw, 8rem); font-weight: 700; color: var(--primary-fg); margin-bottom: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; animation: fadeUp 0.8s ease-out 0.2s both; }
.hero-subtitle { color: hsla(40,30%,97%,0.75); font-size: clamp(1rem, 2.5vw, 1.25rem); max-width: 40rem; margin: 0 auto 2.5rem; line-height: 1.7; animation: fadeUp 0.8s ease-out 0.4s both; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; animation: fadeUp 0.8s ease-out 0.6s both; }
.hero-arrow { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: hsla(40,30%,97%,0.5); font-size: 1.25rem; animation: bounce 2s infinite; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* === SECTIONS === */
.section { padding: 6rem 1.5rem; }
.bg-secondary { background: var(--secondary); }

/* === SECTION HEADING === */
.section-heading { text-align: center; margin-bottom: 4rem; }
.heading-line { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; }
.heading-line .line { height: 1px; width: 3rem; background: hsla(43,80%,58%,0.4); }
.heading-star { width: 1rem; height: 1rem; color: var(--gold); }
.section-heading h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: var(--fg); margin-bottom: 1rem; }
.section-sub { color: var(--muted-fg); max-width: 36rem; margin: 0 auto; }

/* === ZODIAC GRID (daily) === */
.zodiac-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .zodiac-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .zodiac-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.zodiac-card {
  background: var(--card); border-radius: var(--radius); padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px hsla(220,40%,13%,0.04), 0 8px 24px hsla(220,40%,13%,0.06);
  border: 1px solid hsla(40,20%,90%,0.5); cursor: pointer; text-align: left;
  transition: all 0.3s;
}
.zodiac-card:hover { box-shadow: 0 4px 12px hsla(220,40%,13%,0.06), 0 16px 40px hsla(220,40%,13%,0.1); transform: translateY(-4px); }
.zodiac-card .symbol { font-size: 2rem; margin-bottom: 0.75rem; display: block; transition: transform 0.3s; }
.zodiac-card:hover .symbol { transform: scale(1.1); }
.zodiac-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.125rem; font-weight: 600; color: var(--fg); margin-bottom: 0.25rem; }
.zodiac-card .dates { font-size: 0.75rem; color: var(--muted-fg); margin-bottom: 0.75rem; }
.zodiac-card .teaser { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* === MODAL === */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: hsla(240,30%,8%,0.5); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--card); border-radius: 1rem; padding: 2rem; max-width: 32rem; width: 100%;
  box-shadow: 0 25px 50px -12px hsla(0,0%,0%,0.25); border: 1px solid var(--border);
  position: relative; animation: fadeUp 0.3s ease-out;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  color: var(--muted-fg); cursor: pointer; font-size: 1.25rem; line-height: 1;
}
.modal-close:hover { color: var(--fg); }
.modal-symbol { font-size: 3rem; margin-bottom: 1rem; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--fg); margin-bottom: 0.25rem; }
.modal-dates { font-size: 0.875rem; color: var(--gold); margin-bottom: 1rem; }
.modal-text { color: hsla(220,40%,13%,0.8); line-height: 1.7; }

/* === WEEKLY === */
.weekly-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; }
.weekly-tab {
  padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--border); background: var(--card); color: var(--muted-fg);
  cursor: pointer; transition: all 0.3s;
}
.weekly-tab:hover { color: var(--fg); }
.weekly-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--accent-fg); border-color: transparent;
  box-shadow: 0 4px 20px -4px hsla(43,80%,58%,0.3);
}
.weekly-card {
  max-width: 42rem; margin: 0 auto; background: var(--card); border-radius: 1rem;
  padding: 2rem 2.5rem; box-shadow: 0 1px 3px hsla(220,40%,13%,0.04), 0 8px 24px hsla(220,40%,13%,0.06);
  border: 1px solid hsla(40,20%,90%,0.5);
}
.weekly-card .wc-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.weekly-card .wc-symbol { font-size: 3rem; }
.weekly-card .wc-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--fg); }
.weekly-card .wc-dates { font-size: 0.875rem; color: var(--gold); }
.weekly-card .wc-text { color: hsla(220,40%,13%,0.8); line-height: 1.7; font-size: 1.125rem; }

/* === ZODIAC DETAIL GRID === */
.zodiac-detail-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .zodiac-detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .zodiac-detail-grid { grid-template-columns: repeat(3, 1fr); } }
.zodiac-detail-card {
  background: var(--card); border-radius: 1rem; padding: 1.5rem 2rem;
  box-shadow: 0 1px 3px hsla(220,40%,13%,0.04), 0 8px 24px hsla(220,40%,13%,0.06);
  border: 1px solid hsla(40,20%,90%,0.5); transition: all 0.3s;
}
.zodiac-detail-card:hover { box-shadow: 0 4px 12px hsla(220,40%,13%,0.06), 0 16px 40px hsla(220,40%,13%,0.1); }
.zdc-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.zdc-header .symbol { font-size: 2.5rem; }
.zdc-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 700; color: var(--fg); }
.zdc-header .sub { font-size: 0.75rem; color: var(--gold); }
.zdc-personality { font-size: 0.875rem; color: hsla(220,40%,13%,0.8); margin-bottom: 1rem; line-height: 1.6; }
.zdc-traits { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.zdc-traits .label { color: var(--gold); font-weight: 600; }
.zdc-traits .value { color: var(--muted-fg); }

/* === COMPATIBILITY === */
.compat-form { max-width: 36rem; margin: 0 auto; background: var(--card); border-radius: 1rem; padding: 2rem; box-shadow: 0 1px 3px hsla(220,40%,13%,0.04), 0 8px 24px hsla(220,40%,13%,0.06); border: 1px solid hsla(40,20%,90%,0.5); }
.compat-selects { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .compat-selects { grid-template-columns: 1fr 1fr; } }
.compat-selects label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--muted-fg); margin-bottom: 0.5rem; }
.compat-selects select, .contact-form select {
  width: 100%; border-radius: 0.5rem; border: 1px solid var(--border); background: var(--bg);
  padding: 0.75rem 1rem; color: var(--fg); font-size: 0.875rem; outline: none; transition: all 0.3s;
}
.compat-selects select:focus, .contact-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px hsla(43,80%,58%,0.2); }

/* compat modal extras */
.compat-modal-signs { font-size: 2.5rem; margin-bottom: 0.5rem; }
.compat-modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--fg); margin-bottom: 1rem; }
.progress-bar { width: 100%; background: var(--muted); border-radius: 9999px; height: 0.75rem; margin-bottom: 0.5rem; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 9999px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); transition: width 1s ease-out; }
.compat-score { color: var(--gold); font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem; }

/* === ABOUT === */
.about-text { max-width: 48rem; margin: 0 auto; text-align: center; }
.about-text p { font-size: 1.125rem; color: hsla(220,40%,13%,0.8); line-height: 1.7; margin-bottom: 2rem; }
.about-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.about-badges span { font-size: 0.875rem; color: var(--muted-fg); display: flex; align-items: center; gap: 0.5rem; }

/* === GALLERY === */
.gallery-masonry { columns: 2; gap: 1rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .gallery-masonry { columns: 3; } }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; }
.gallery-item img { width: 100%; border-radius: var(--radius); box-shadow: 0 1px 3px hsla(220,40%,13%,0.04), 0 8px 24px hsla(220,40%,13%,0.06); transition: box-shadow 0.3s; }
.gallery-item img:hover { box-shadow: 0 4px 12px hsla(220,40%,13%,0.06), 0 16px 40px hsla(220,40%,13%,0.1); }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; gap: 1.5rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--card); border-radius: 1rem; padding: 1.5rem; border: 1px solid hsla(40,20%,90%,0.5);
  box-shadow: 0 1px 3px hsla(220,40%,13%,0.04), 0 8px 24px hsla(220,40%,13%,0.06);
}
.tc-stars { color: var(--gold); margin-bottom: 1rem; letter-spacing: 0.1em; }
.tc-text { font-size: 0.875rem; color: hsla(220,40%,13%,0.8); line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.tc-name { font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--fg); }
.tc-sign { font-size: 0.75rem; color: var(--gold); }

/* === BLOG === */
.blog-grid { display: grid; gap: 1.5rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
.blog-card {
  background: var(--card); border-radius: 1rem; padding: 1.5rem; border: 1px solid hsla(40,20%,90%,0.5);
  box-shadow: 0 1px 3px hsla(220,40%,13%,0.04), 0 8px 24px hsla(220,40%,13%,0.06);
  cursor: pointer; transition: all 0.3s;
}
.blog-card:hover { box-shadow: 0 4px 12px hsla(220,40%,13%,0.06), 0 16px 40px hsla(220,40%,13%,0.1); }
.blog-cat { font-size: 0.75rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.blog-title { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 700; color: var(--fg); margin: 0.5rem 0; transition: color 0.3s; }
.blog-card:hover .blog-title { color: var(--gold); }
.blog-date { font-size: 0.75rem; color: var(--muted-fg); margin-bottom: 0.75rem; }
.blog-excerpt { font-size: 0.875rem; color: hsla(220,40%,13%,0.7); line-height: 1.6; margin-bottom: 1rem; }
.blog-link { font-size: 0.875rem; color: var(--gold); font-weight: 500; }

/* === FAQ === */
.faq-list { max-width: 42rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--card); border-radius: var(--radius); border: 1px solid hsla(40,20%,90%,0.5);
  box-shadow: 0 1px 2px hsla(220,40%,13%,0.04); overflow: hidden;
}
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: 'Cormorant Garamond', serif; font-size: 1.125rem; font-weight: 600; color: var(--fg);
  transition: color 0.3s;
}
.faq-question:hover { color: var(--gold); }
.faq-question .chevron { transition: transform 0.3s; font-size: 0.875rem; }
.faq-item.open .faq-question .chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.25rem; }
.faq-answer p { color: hsla(220,40%,13%,0.7); line-height: 1.6; }

/* === CONTACT === */
.contact-grid { max-width: 56rem; margin: 0 auto; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-icon { font-size: 1.25rem; margin-top: 0.125rem; }
.contact-item strong { display: block; color: var(--fg); font-weight: 600; }
.contact-item p { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.25rem; }
.contact-item a { color: var(--muted-fg); transition: color 0.3s; }
.contact-item a:hover { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea {
  width: 100%; border-radius: 0.5rem; border: 1px solid var(--border); background: var(--card);
  padding: 0.75rem 1rem; color: var(--fg); font-size: 0.875rem; outline: none; transition: all 0.3s;
  resize: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px hsla(43,80%,58%,0.2); }

/* === FOOTER === */
.footer { background: var(--primary); color: var(--primary-fg); padding: 4rem 1.5rem; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-desc { font-size: 0.875rem; color: hsla(40,30%,97%,0.6); line-height: 1.6; }
.footer h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.footer a { display: block; font-size: 0.875rem; color: hsla(40,30%,97%,0.6); transition: color 0.3s; margin-bottom: 0.5rem; }
.footer a:hover { color: var(--gold); }
.social-icons { display: flex; gap: 0.75rem; }
.social-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid hsla(40,30%,97%,0.2); display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; font-size: 0.875rem; font-weight: 700;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom { border-top: 1px solid hsla(40,30%,97%,0.1); padding-top: 2rem; text-align: center; font-size: 0.875rem; color: hsla(40,30%,97%,0.4); }
