/* ===================================
   VaidyaPulse Theme
   Ancient precision meets AI operations
   =================================== */

:root {
  --forest:       #1E3A24;
  --forest-deep:  #0F2014;
  --forest-mid:   #2D5A38;
  --gold:         #D4A843;
  --gold-light:   #E8C46B;
  --cream:        #F5F0E8;
  --warm-white:   #FDFCF9;
  --text-dark:    #0F2014;
  --text-mid:     #3A5A3E;
  --text-light:   #F5F0E8;
  --text-muted:   #8A9B8C;
  --surface:      rgba(255,255,255,0.04);
  --border:       rgba(212,168,67,0.25);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
}

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

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--forest-deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 32, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  color: rgba(245,240,232,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--gold-light); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--forest-deep);
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(45,90,56,0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(15,32,20,0.8), transparent);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-lede {
  font-size: 1.0625rem;
  color: rgba(245,240,232,0.72);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-pulse-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-anim 2s ease-in-out infinite;
}

@keyframes pulse-anim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.pulse-label {
  font-size: 0.8125rem;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Hero Card Stack */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-card {
  background: rgba(245,240,232,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.hero-card-main {
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,168,67,0.15);
}

.hero-card-mini {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.03em;
}

.card-status {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(74,222,128,0.1);
  padding: 3px 8px;
  border-radius: 20px;
}

.card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.metric { display: flex; flex-direction: column; gap: 2px; }

.metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
}

.metric-label {
  font-size: 0.6875rem;
  color: rgba(245,240,232,0.5);
  letter-spacing: 0.03em;
}

.card-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.channel-chip {
  font-size: 0.6875rem;
  color: var(--gold-light);
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 20px;
  padding: 3px 8px;
  letter-spacing: 0.02em;
}

.card-activity { display: flex; flex-direction: column; gap: 10px; }

.activity-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: rgba(245,240,232,0.65);
}

.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: #4ade80; }
.dot-amber { background: var(--gold); }

.mini-label {
  font-size: 0.6875rem;
  color: rgba(245,240,232,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'DM Sans', sans-serif;
}

.mini-value {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
}

.mini-status {
  font-size: 0.6875rem;
  color: #4ade80;
  font-weight: 600;
}

/* ---- PROBLEM ---- */
.problem-section {
  background: var(--cream);
  padding: 100px 40px;
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-label,
.hiw-label,
.features-label,
.pricing-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.problem-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 28px;
  max-width: 700px;
}

.problem-body {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 64px;
}

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(30,58,36,0.12);
  border: 1px solid rgba(30,58,36,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  padding: 36px 32px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--forest);
}

.stat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- HOW IT WORKS ---- */
.hiw-section {
  background: var(--warm-white);
  padding: 100px 40px;
}

.hiw-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hiw-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 64px;
  max-width: 560px;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid rgba(30,58,36,0.1);
}

.hiw-step:last-child { border-bottom: 1px solid rgba(30,58,36,0.1); }

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(212,168,67,0.3);
  line-height: 1;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 600px;
}

/* ---- FEATURES ---- */
.features-section {
  background: var(--cream);
  padding: 100px 40px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 64px;
  max-width: 660px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.feature-card {
  background: white;
  border: 1px solid rgba(30,58,36,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,32,20,0.08);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--forest-deep);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--forest-deep);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.feature-bullets li {
  font-size: 0.8125rem;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}

.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.features-sub-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sub-feature {
  background: rgba(30,58,36,0.03);
  border: 1px solid rgba(30,58,36,0.08);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sub-feature h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 8px;
}

.sub-feature p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- MANIFESTO ---- */
.manifesto-section {
  background: var(--forest-deep);
  padding: 100px 40px;
  text-align: center;
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 0.5;
  margin-bottom: 32px;
}

.manifesto-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.4;
  margin-bottom: 40px;
}

.manifesto-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  justify-content: center;
}

.divider-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--border);
}

.divider-glyph {
  color: var(--gold);
  font-size: 1rem;
}

.manifesto-body {
  font-size: 1rem;
  color: rgba(245,240,232,0.65);
  line-height: 1.75;
  margin-bottom: 64px;
}

.manifesto-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pillar-sanskrit {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 600;
}

.pillar-en {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- PRICING ---- */
.pricing-section {
  background: var(--warm-white);
  padding: 100px 40px;
}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 64px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-card {
  background: white;
  border: 1px solid rgba(30,58,36,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15,32,20,0.07);
}

.pricing-card-featured {
  background: var(--forest-deep);
  border-color: var(--forest-mid);
  box-shadow: 0 24px 64px rgba(15,32,20,0.15);
}

.pricing-tier {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-badge {
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--gold-light);
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: none;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-currency {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  align-self: flex-start;
  margin-top: 6px;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--forest-deep);
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card-featured .price-amount,
.pricing-card-featured .price-currency {
  color: var(--cream);
}

.pricing-card-featured .price-period {
  color: rgba(245,240,232,0.5);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-card-featured .pricing-desc {
  color: rgba(245,240,232,0.6);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7L5.5 10L11.5 4' stroke='%23D4A843' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.pricing-card-featured .pricing-features li {
  color: rgba(245,240,232,0.75);
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---- CLOSING ---- */
.closing-section {
  background: var(--forest);
  padding: 100px 40px;
  text-align: center;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.closing-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 28px;
  line-height: 1.15;
}

.closing-body {
  font-size: 1.0625rem;
  color: rgba(245,240,232,0.65);
  line-height: 1.75;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--forest-deep);
  padding: 60px 40px 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.4);
  line-height: 1.5;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 60px;
  justify-content: flex-end;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--cream); }

.footer-col span {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.4);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(212,168,67,0.1);
  font-size: 0.75rem;
  color: rgba(245,240,232,0.25);
  line-height: 1.6;
  font-style: italic;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner { gap: 48px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .features-sub-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 32px; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 2rem; }
  .hero-card-stack { max-width: 100%; }
  .header-nav { display: none; }
  .problem-stats { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .manifesto-pillars { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { justify-content: flex-start; }
  .hiw-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .step-number { font-size: 2rem; }
  .pricing-grid { max-width: 100%; }
  .hero { padding-top: 100px; }
  .problem-section, .hiw-section, .features-section, .manifesto-section, .pricing-section, .closing-section { padding: 60px 24px; }
  .header-inner { padding: 0 24px; }
}
