/* learn-what-is-vedic.css - Styles for learn_what_is_vedic.html */
/* Extracted from inline <style> blocks - Phase 3c */

/* Scoped variables mapping local --luxe-* to design tokens */
.vedic-luxe-hero,
.luxe-breadcrumb,
.luxe-snippet-box,
.luxe-section,
.luxe-cta-box,
.mobile-sticky-cta {
  --luxe-indigo: #1e1b4b;
  --luxe-indigo-light: var(--color-indigo-600);
  --luxe-gold: var(--color-amber);
  --luxe-gold-dark: #d97706;
  --luxe-cream: #fef3c7;
  --luxe-text: var(--gray-800);
  --luxe-text-muted: #6b7280;
}

/* ========================= */
/* Hero Section              */
/* ========================= */

.vedic-luxe-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--luxe-indigo) 0%, #312e81 100%);
  margin: -2rem -1rem 0 -1rem;
}

@media (min-width: 768px) {
  .vedic-luxe-hero {
    margin: -2rem calc(-50vw + 50%) 0;
    width: 100vw;
  }
}

.vedic-luxe-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/static/images/educational/vedic-astrology-hero-luxe.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}

.vedic-luxe-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 4rem 2rem;
}

.vedic-luxe-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, var(--luxe-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vedic-luxe-hero .subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

/* ========================= */
/* CTA Buttons               */
/* ========================= */

.luxe-cta-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--luxe-gold) 0%, var(--luxe-gold-dark) 100%);
  color: var(--luxe-indigo);
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.luxe-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(245, 158, 11, 0.4);
  color: var(--luxe-indigo);
}

/* ========================= */
/* Breadcrumb                */
/* ========================= */

.luxe-breadcrumb {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 2rem;
}

/* ========================= */
/* Snippet Box               */
/* ========================= */

.luxe-snippet-box {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--luxe-cream) 0%, #fef9e7 100%);
  border-left: 6px solid var(--luxe-gold);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.luxe-snippet-box h2 {
  font-size: 1.75rem;
  color: var(--luxe-indigo);
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.luxe-snippet-box p {
  font-size: 1.125rem;
  color: var(--luxe-text);
  line-height: 1.7;
}

/* ========================= */
/* Section Layout            */
/* ========================= */

.luxe-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
}

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

@media (min-width: 768px) {
  .luxe-two-col {
    grid-template-columns: 1fr 1fr;
  }

  .luxe-two-col.reverse {
    direction: rtl;
  }

  .luxe-two-col.reverse > * {
    direction: ltr;
  }
}

.luxe-section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--luxe-indigo);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.luxe-section-subheading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--luxe-indigo);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

/* ========================= */
/* Body Text                 */
/* ========================= */

.luxe-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--luxe-text);
}

.luxe-body p {
  margin-bottom: 1.25rem;
}

/* ========================= */
/* Image Wrapper             */
/* ========================= */

.luxe-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.luxe-image-wrapper:hover {
  transform: scale(1.02);
}

.luxe-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================= */
/* Stats Grid                */
/* ========================= */

.luxe-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.luxe-stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--luxe-gold);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.luxe-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.luxe-stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--luxe-indigo-light) 0%, var(--luxe-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  display: block;
}

.luxe-stat-label {
  font-size: 1rem;
  color: var(--luxe-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================= */
/* Comparison Table          */
/* ========================= */

.luxe-comparison-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.luxe-comparison-table thead {
  background: linear-gradient(135deg, var(--luxe-indigo) 0%, #312e81 100%);
  color: white;
}

.luxe-comparison-table th {
  padding: 1.25rem;
  font-weight: 600;
  text-align: left;
  font-size: 1rem;
}

.luxe-comparison-table tbody tr {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.2s ease;
}

.luxe-comparison-table tbody tr:hover {
  background: var(--luxe-cream);
}

.luxe-comparison-table td {
  padding: 1.25rem;
  font-size: 1rem;
}

.luxe-comparison-table td:first-child {
  font-weight: 600;
  color: var(--luxe-indigo);
}

/* ========================= */
/* Highlight Box             */
/* ========================= */

.luxe-highlight-box {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 2px solid var(--luxe-indigo-light);
  border-radius: 12px;
  padding: 2.5rem;
  margin: 3rem 0;
}

.luxe-highlight-box h3 {
  color: var(--luxe-indigo);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* ========================= */
/* CTA Box                   */
/* ========================= */

.luxe-cta-box {
  background: linear-gradient(135deg, var(--luxe-indigo) 0%, #312e81 100%);
  color: white;
  padding: 4rem 3rem;
  border-radius: 20px;
  text-align: center;
  margin: 5rem 0;
  box-shadow: 0 20px 60px rgba(30, 27, 75, 0.3);
}

.luxe-cta-box h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.luxe-cta-box p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ========================= */
/* Timeline                  */
/* ========================= */

.luxe-timeline {
  position: relative;
  padding: 2rem 0;
}

.luxe-timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.luxe-timeline-item:last-child {
  border-bottom: none;
}

.luxe-timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--luxe-gold);
}

.luxe-timeline-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--luxe-indigo);
  margin: 0 0 0.5rem 0;
}

.luxe-timeline-content p {
  margin: 0;
  color: var(--luxe-text-muted);
}

/* ========================= */
/* Next Topics Grid          */
/* ========================= */

.luxe-next-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.luxe-topic-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--luxe-text);
  transition: all 0.3s ease;
  display: block;
}

.luxe-topic-card:hover {
  border-color: var(--luxe-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: var(--luxe-text);
}

.luxe-topic-card .topic-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.luxe-topic-card .topic-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--luxe-indigo);
  display: block;
  margin-bottom: 0.5rem;
}

.luxe-topic-card .topic-description {
  font-size: 0.9375rem;
  color: var(--luxe-text-muted);
  display: block;
}

/* ========================= */
/* Mobile Responsive         */
/* ========================= */

@media (max-width: 767px) {
  .vedic-luxe-hero {
    min-height: 60vh;
  }

  .luxe-section {
    margin: 3rem auto;
  }

  .luxe-cta-box {
    padding: 3rem 2rem;
  }
}

/* ========================= */
/* Utility Classes           */
/* ========================= */

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

.luxe-section-heading--center {
  text-align: center;
}

.luxe-section-heading--center-spaced {
  text-align: center;
  margin-bottom: 3rem;
}

.luxe-image-wrapper--spaced {
  margin-bottom: 3rem;
}

.luxe-table-caption {
  font-size: 0.875rem;
  text-align: left;
  margin-bottom: 1rem;
  color: var(--luxe-text-muted);
}

.luxe-footnote {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--luxe-text-muted);
}

.luxe-link {
  color: var(--luxe-indigo-light);
  text-decoration: underline;
}

.luxe-body-list {
  font-size: 1.125rem;
  line-height: 1.8;
}

.luxe-body-intro {
  text-align: center;
  max-width: 800px;
  margin: 1.5rem auto 3rem;
}

.luxe-citation-note {
  font-size: 0.9375rem;
  color: var(--luxe-text-muted);
  margin-top: 1rem;
}

.luxe-cta-box-footer {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  opacity: 0.8;
}

.luxe-continue-heading {
  text-align: center;
  font-size: 2rem;
  color: var(--luxe-indigo);
  margin-bottom: 2rem;
}

.luxe-cta-box--spaced {
  margin-top: 3rem;
}

.luxe-two-col--spaced {
  margin-top: 4rem;
}

.luxe-stats-grid--compact {
  margin: 2rem 0;
}

.luxe-cta-link--spaced {
  margin-top: 1rem;
}

/* ========================= */
/* Mobile Sticky CTA         */
/* ========================= */

.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--luxe-indigo) 0%, #312e81 100%);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 100%;
}

.sticky-cta-text {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.sticky-cta-button {
  background: var(--luxe-gold);
  color: var(--luxe-indigo);
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.sticky-cta-button:hover {
  background: var(--luxe-gold-dark);
}

.sticky-cta-dismiss {
  position: absolute;
  top: 4px;
  right: 4px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.sticky-cta-dismiss:hover {
  opacity: 1;
}

/* Hide on desktop */
@media (min-width: 769px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}
