/*
Theme Name: OjasAstro
Theme URI: https://ojasastro.com
Author: OjasAstro
Author URI: https://ojasastro.com
Description: Premium Vedic Astrology Website Theme for OjasAstro
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ojasastro
Tags: astrology, vedic, premium, responsive
*/

/* ========================================
   CSS RESET & BASE
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --astro-orange: #e67e22;
  --astro-orange-light: #f39c12;
  --astro-gold: #d4a843;
  --astro-dark: #1a1a1a;
  --astro-darker: #111111;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-900: #171717;
  --white: #ffffff;
  --primary: #2c1810;
  --font-sans: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--astro-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.2;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neutral-500);
  font-weight: 400;
  margin-bottom: 0.75rem;
  display: block;
  font-family: var(--font-body);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--astro-dark);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--neutral-600);
  line-height: 1.7;
  max-width: 40rem;
}

/* ========================================
   LAYOUT
======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.animate-fade-up   { animation: fadeUp   0.7s ease forwards; }
.animate-fade-in   { animation: fadeIn   0.7s ease forwards; }
.animate-fade-left { animation: fadeLeft 0.7s ease forwards; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  white-space: nowrap;
}

.btn-primary {
  background: var(--astro-orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--astro-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230,126,34,0.4);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--astro-dark);
}

.btn-outline-dark {
  border: 2px solid var(--neutral-200);
  color: var(--astro-dark);
  background: transparent;
}
.btn-outline-dark:hover {
  border-color: var(--astro-orange);
  color: var(--astro-orange);
}

/* ========================================
   NAVBAR
======================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem 0;
}

#site-header.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.05em;
}

.navbar-logo span {
  color: var(--astro-orange);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.navbar-nav a:hover {
  color: var(--astro-orange);
}

.navbar-cta {
  background: var(--astro-orange);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s !important;
}

.navbar-cta:hover {
  background: var(--astro-orange-light) !important;
  color: var(--white) !important;
}

.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.navbar-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(26,26,26,0.97);
  padding: 1.5rem;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 900px) {
  .navbar-nav { display: none; }
  .navbar-hamburger { display: flex; }
}

/* ========================================
   HERO SECTION
======================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--neutral-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hero-inner {
  max-width: 720px;
  width: 100%;
}

.hero-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.75rem;
  display: block;
  font-family: var(--font-body);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-tagline {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.hero-scroll-dot {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: pulse 2s infinite;
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
  border: none;
}

.hero-dot.active {
  background: var(--astro-orange);
  transform: scale(1.3);
}

/* ========================================
   ABOUT SECTION
======================================== */
#about {
  padding: 6rem 0;
  background: var(--neutral-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.about-feature-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.about-feature-card h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.about-feature-card p {
  font-size: 0.9rem;
  color: var(--neutral-600);
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--astro-orange);
  font-weight: 500;
  transition: gap 0.2s;
}

.about-link:hover { gap: 0.75rem; color: var(--astro-orange-light); }

.about-image-wrap {
  position: relative;
}

.about-image-wrap .image-box {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  aspect-ratio: 4/3;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-quote-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  max-width: 280px;
}

.about-quote-card p:first-child {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  line-height: 1.5;
}

.about-quote-card .author {
  text-align: right;
  color: var(--astro-orange);
  font-weight: 600;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { order: -1; }
  .about-quote-card { left: 0; bottom: -1.5rem; }
}

/* ========================================
   SERVICES SECTION
======================================== */
#services {
  padding: 6rem 0;
  background: var(--white);
}

.services-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--neutral-50);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  transform: translateY(-4px);
}

.service-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.06);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.service-price {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
  font-family: var(--font-sans);
}

.service-body { padding: 1.5rem; }

.service-body h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  transition: color 0.2s;
}

.service-card:hover .service-body h4 { color: var(--astro-orange); }

.service-body p {
  font-size: 0.875rem;
  color: var(--neutral-600);
  margin-bottom: 1rem;
}

.service-learn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--astro-orange);
  font-size: 0.875rem;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========================================
   COURSES SECTION
======================================== */
#courses {
  padding: 6rem 0;
  background: var(--neutral-50);
}

.courses-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
}

.course-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}

.course-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--astro-orange);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
}

.course-body { padding: 1.5rem; }

.course-body h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.course-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--neutral-500);
  margin-bottom: 0.75rem;
}

.course-body p {
  font-size: 0.875rem;
  color: var(--neutral-600);
  margin-bottom: 1rem;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--neutral-100);
}

.course-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--astro-orange);
  font-family: var(--font-sans);
}

@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .courses-grid { grid-template-columns: 1fr; }
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
#testimonials {
  padding: 6rem 0;
  background: var(--neutral-100);
}

.testimonials-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.testimonials-header .section-tag { color: var(--astro-orange); }

.testimonials-carousel {
  max-width: 56rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.6s ease;
}
.testimonial-slide.active { display: block; }

.testimonial-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .testimonial-card { flex-direction: row; }
}

.testimonial-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid rgba(230,126,34,0.2);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.625rem;
  color: var(--astro-gold);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--neutral-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--astro-dark);
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.t-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 1rem;
  color: var(--neutral-600);
  background: var(--white);
}

.t-nav-btn:hover {
  border-color: var(--astro-orange);
  color: var(--astro-orange);
}

.t-dots {
  display: flex;
  gap: 0.5rem;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutral-300, #d4d4d4);
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s;
}

.t-dot.active {
  background: var(--astro-orange);
  transform: scale(1.3);
}

/* ========================================
   CTA SECTION
======================================== */
#cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, #5c2d0e 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.cta-title {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cta-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.cta-features li::before {
  content: '✦';
  color: var(--astro-gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.promo-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  text-align: center;
  margin-top: 1.5rem;
}

.promo-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.promo-code {
  font-size: 2rem;
  font-weight: 700;
  color: var(--astro-gold);
  letter-spacing: 0.1em;
  font-family: var(--font-sans);
}

.promo-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
}

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

/* ========================================
   FOOTER
======================================== */
#site-footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand .logo span { color: var(--astro-orange); }

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s;
  color: rgba(255,255,255,0.7);
}

.social-link:hover {
  border-color: var(--astro-orange);
  color: var(--astro-orange);
  background: rgba(230,126,34,0.1);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--astro-orange); }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.footer-contact-icon {
  color: var(--astro-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--astro-orange); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { text-align: center; justify-content: center; }
}

/* ========================================
   BOOKING POPUP
======================================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.popup-box {
  background: var(--white);
  border-radius: 1.25rem;
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.popup-overlay.open .popup-box { transform: translateY(0); }

.popup-header {
  background: linear-gradient(135deg, var(--primary), #5c2d0e);
  padding: 2rem;
  color: var(--white);
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.popup-close:hover { background: rgba(255,255,255,0.25); }

.popup-header h3 {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.popup-header p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.popup-header .popup-tag {
  display: inline-block;
  background: var(--astro-orange);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.popup-body { padding: 2rem; }

.popup-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popup-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--neutral-700);
}

.popup-features li::before {
  content: '✓';
  color: var(--astro-orange);
  font-weight: 700;
  flex-shrink: 0;
}

.popup-promo {
  background: var(--neutral-50);
  border: 1px dashed var(--astro-orange);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.popup-promo .promo-label { font-size: 0.75rem; color: var(--neutral-500); margin-bottom: 0.25rem; }
.popup-promo .promo-code { font-size: 1.5rem; font-weight: 700; color: var(--astro-orange); letter-spacing: 0.1em; }

.popup-cta { width: 100%; justify-content: center; border-radius: 0.5rem; padding: 0.875rem 2rem; font-size: 1rem; }

.popup-skip {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--neutral-500);
  cursor: pointer;
  transition: color 0.2s;
}

.popup-skip:hover { color: var(--astro-dark); }

/* ========================================
   MISC UTILITIES
======================================== */
.text-orange { color: var(--astro-orange); }
.mt-center { margin: 0 auto; }
.text-center { text-align: center; }
.section-cta { text-align: center; margin-top: 3rem; }

/* ========================================
   SCROLL REVEAL (via JS class)
======================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
