/* ==========================================================================
   AGNEL VISHAL - PERSONAL PORTFOLIO & RESEARCH ECOSYSTEM
   Theme: Warm Organic Modernism (Lighter Theme)
   Fonts: Plus Jakarta Sans (Sans) & Cormorant Garamond / Fraunces (Serif)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  /* Warm Organic Light Palette */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F3EFE6;
  --bg-tertiary: #EBE5D8;
  --bg-alt: #F7F5F0;
  
  --surface: #FFFFFF;
  --surface-translucent: rgba(255, 255, 255, 0.88);
  --surface-card: #FFFFFF;
  --surface-hover: #FCFBF9;

  /* Herbal & Forest Tones */
  --forest-900: #112219;
  --forest-800: #1B3528;
  --forest-700: #254B3A;
  --forest-600: #2F5D48;
  --forest-500: #3E755D;
  --forest-400: #559174;
  --forest-200: #C2DDD1;
  --forest-100: #E5F0EB;
  --forest-50: #F2F7F4;

  /* Ayurvedic Terracotta & Warmth */
  --terracotta-800: #853716;
  --terracotta-700: #A84E25;
  --terracotta-600: #C65F31;
  --terracotta-500: #D86F3E;
  --terracotta-400: #E98656;
  --terracotta-100: #FAEBE2;
  --terracotta-50: #FCF4EF;

  /* Saffron Gold & Ochre */
  --gold-700: #996D12;
  --gold-600: #B8851B;
  --gold-500: #D4A02E;
  --gold-400: #E4B952;
  --gold-100: #FBF4DE;
  --gold-50: #FDFBF3;

  /* Auroville Dawn Lavender / Slate */
  --auro-700: #3D485C;
  --auro-600: #515E77;
  --auro-500: #6B7994;
  --auro-100: #EEF2F8;
  --auro-50: #F6F8FC;

  /* Typography Colors */
  --text-main: #1A231F;
  --text-body: #324039;
  --text-muted: #566860;
  --text-light: #7E9088;
  --text-inverse: #FFFFFF;

  /* Borders & Shadows */
  --border-subtle: rgba(27, 53, 40, 0.08);
  --border-medium: rgba(27, 53, 40, 0.15);
  --border-highlight: rgba(198, 95, 49, 0.25);
  --border-forest: rgba(47, 93, 72, 0.2);

  --shadow-xs: 0 1px 3px rgba(27, 43, 34, 0.04);
  --shadow-sm: 0 4px 12px rgba(27, 43, 34, 0.05);
  --shadow-md: 0 10px 28px rgba(27, 43, 34, 0.08);
  --shadow-lg: 0 20px 45px rgba(27, 43, 34, 0.1);
  --shadow-xl: 0 28px 65px rgba(27, 43, 34, 0.14);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Transitions */
  --transition-fast: 180ms ease;
  --transition-normal: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Organic Ambient Background Glows */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(216, 111, 62, 0.07) 0%, rgba(250, 248, 245, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  bottom: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(47, 93, 72, 0.08) 0%, rgba(250, 248, 245, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

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

.container-narrow {
  max-width: 900px;
}

.container-wide {
  max-width: 1320px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

.font-serif {
  font-family: var(--font-serif);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--forest-100);
  color: var(--forest-700);
  margin-bottom: 1rem;
}

.section-label.terracotta {
  background: var(--terracotta-100);
  color: var(--terracotta-700);
}

.section-label.gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

.section-label.auro {
  background: var(--auro-100);
  color: var(--auro-700);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  line-height: 1.3;
}

.btn-primary {
  background: var(--forest-700);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(37, 75, 58, 0.25);
}

.btn-primary:hover {
  background: var(--forest-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 75, 58, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--forest-800);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--forest-50);
  border-color: var(--forest-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-terracotta {
  background: var(--terracotta-600);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(198, 95, 49, 0.28);
}

.btn-terracotta:hover {
  background: var(--terracotta-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(198, 95, 49, 0.38);
}

.btn-outline-terracotta {
  background: transparent;
  color: var(--terracotta-700);
  border-color: var(--terracotta-400);
}

.btn-outline-terracotta:hover {
  background: var(--terracotta-50);
  border-color: var(--terracotta-600);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--forest-200);
  box-shadow: var(--shadow-xs);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--forest-900);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--forest-800);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta-500);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--forest-900);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-medium);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-800);
  box-shadow: var(--shadow-xs);
}

.location-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--forest-900);
}

.hero-title .highlight {
  color: var(--terracotta-600);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 1rem;
}

.hero-stat-card {
  background: var(--surface);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--forest-800);
  display: block;
}

.stat-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Media Box */
.hero-visual-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--surface);
  border: 4px solid var(--surface);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.hero-image-frame:hover img {
  transform: scale(1.02);
}

.hero-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.badge-ayurveda {
  bottom: -20px;
  left: -20px;
}

.badge-plantgo {
  top: 25px;
  right: -25px;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta-100);
  color: var(--terracotta-700);
}

.badge-plantgo .badge-icon {
  background: var(--forest-100);
  color: var(--forest-700);
}

.badge-text-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest-900);
  line-height: 1.2;
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TRIPOD PILLARS OVERVIEW
   ========================================================================== */
.pillars-overview-section {
  padding: 4rem 0 5rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.pillar-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--forest-500);
  opacity: 0.8;
  transition: height var(--transition-fast);
}

.pillar-card.pillar-ayurveda::before {
  background: linear-gradient(90deg, var(--terracotta-500), var(--gold-500));
}

.pillar-card.pillar-plantgo::before {
  background: linear-gradient(90deg, var(--forest-600), #10B981);
}

.pillar-card.pillar-spirit::before {
  background: linear-gradient(90deg, var(--auro-500), #8B5CF6);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-medium);
}

.pillar-card:hover::before {
  height: 6px;
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pillar-ayurveda .pillar-icon-box {
  background: var(--terracotta-50);
  color: var(--terracotta-600);
}

.pillar-plantgo .pillar-icon-box {
  background: var(--forest-50);
  color: var(--forest-600);
}

.pillar-spirit .pillar-icon-box {
  background: var(--auro-50);
  color: var(--auro-600);
}

.pillar-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--forest-900);
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--forest-700);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.pillar-card:hover .pillar-link {
  gap: 0.65rem;
  color: var(--terracotta-600);
}

/* ==========================================================================
   PILLAR 1: AYURVEDA & AI TONGUE/PULSE HEALTH
   ========================================================================== */
.pillar-deep-dive {
  padding: 6rem 0;
  position: relative;
}

.deep-dive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.deep-dive-grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-media-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.feature-media-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.feature-media-card:hover img {
  transform: scale(1.03);
}

.media-caption-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.caption-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest-900);
}

.caption-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.research-points-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.research-point-item {
  display: flex;
  gap: 1rem;
}

.point-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--terracotta-100);
  color: var(--terracotta-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.point-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 0.25rem;
}

.point-content p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Live Apps Cards in Ayurveda */
.apps-showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.app-highlight-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.app-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--terracotta-400);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.app-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest-900);
}

.external-icon {
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.app-highlight-card:hover .external-icon {
  color: var(--terracotta-600);
}

.app-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.app-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--terracotta-700);
  background: var(--terracotta-50);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
  width: fit-content;
}

/* ==========================================================================
   INTERACTIVE TONGUE DIAGNOSIS SIMULATOR WIDGET
   ========================================================================== */
.simulator-box {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  margin-top: 3.5rem;
}

.simulator-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.simulator-interactive-area {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}

.tongue-zone-picker {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.zone-selector-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.zone-selector-btn:hover {
  background: var(--surface);
  border-color: var(--terracotta-400);
}

.zone-selector-btn.active {
  background: var(--surface);
  border-color: var(--terracotta-600);
  box-shadow: var(--shadow-sm);
}

.zone-bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--terracotta-500);
  background: var(--surface);
  flex-shrink: 0;
}

.zone-selector-btn.active .zone-bullet {
  background: var(--terracotta-600);
}

.zone-btn-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest-900);
}

.zone-btn-subtitle {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.simulation-display-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-medium);
  position: relative;
}

.sim-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-xs);
  background: var(--terracotta-100);
  color: var(--terracotta-700);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.sim-finding-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 0.75rem;
}

.sim-dosha-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.meter-box {
  background: var(--surface);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.meter-label {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meter-bar-track {
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  margin: 0.4rem 0;
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.meter-bar-fill.vata { background: #6366F1; }
.meter-bar-fill.pitta { background: #EF4444; }
.meter-bar-fill.kapha { background: #10B981; }

.meter-value {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--forest-900);
}

.sim-recommendations {
  background: var(--surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--terracotta-500);
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-top: 1rem;
}

/* ==========================================================================
   PILLAR 2: PLANT GO & FOREST BOTANICAL WALKS
   ========================================================================== */
.plantgo-section {
  padding: 6rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.plantgo-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.plant-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--forest-100);
  color: var(--forest-800);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
}

.walk-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.walk-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.walk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.walk-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--forest-50);
  color: var(--forest-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.walk-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 0.5rem;
}

.walk-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Interactive Plant Explorer Atlas */
.plant-atlas-box {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
  margin-top: 3.5rem;
}

.atlas-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.atlas-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-800);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.atlas-tab-btn:hover {
  background: var(--forest-50);
}

.atlas-tab-btn.active {
  background: var(--forest-700);
  color: var(--text-inverse);
  border-color: var(--forest-700);
  box-shadow: 0 4px 12px rgba(37, 75, 58, 0.2);
}

.atlas-content-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
}

.plant-specimen-badge {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border-medium);
}

.plant-botanical-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--forest-800);
  margin-bottom: 0.25rem;
}

.plant-common-name {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--terracotta-600);
}

.plant-spec-details h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--forest-900);
}

.plant-spec-details p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.plant-properties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.property-item {
  background: var(--surface);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  border: 1px solid var(--border-subtle);
}

.property-item strong {
  color: var(--forest-800);
}

/* ==========================================================================
   PILLAR 3: SPIRITUAL PRACTICES & AUROVILLE
   ========================================================================== */
.spiritual-section {
  padding: 6rem 0;
  position: relative;
}

.practices-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
}

.practice-tag {
  background: var(--surface);
  border: 1px solid var(--border-medium);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-900);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  cursor: default;
}

.practice-tag:hover {
  background: var(--auro-50);
  border-color: var(--auro-500);
  transform: translateY(-2px);
  color: var(--auro-700);
}

.spiritual-quote-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 252, 0.95));
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.spiritual-quote-box::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 14rem;
  font-family: var(--font-serif);
  color: rgba(107, 121, 148, 0.07);
  pointer-events: none;
  line-height: 1;
}

.spiritual-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: var(--forest-900);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.spiritual-quote-author {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--auro-700);
}

.spiritual-quote-sub {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   ACADEMIC CREDENTIALS & EDUCATION
   ========================================================================== */
.credentials-section {
  padding: 5rem 0 6rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

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

.credential-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal);
}

.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.credential-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.badge-diploma {
  background: var(--forest-100);
  color: var(--forest-700);
}

.badge-fellowship {
  background: var(--terracotta-100);
  color: var(--terracotta-700);
}

.badge-foundation {
  background: var(--gold-100);
  color: var(--gold-700);
}

.credential-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.credential-institution {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest-600);
  margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   CONTACT & CONNECT SECTION
   ========================================================================== */
.contact-section {
  padding: 6rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  margin-top: 3.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.contact-channel-card:hover {
  transform: translateY(-2px);
  border-color: var(--forest-400);
  box-shadow: var(--shadow-sm);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--forest-50);
  color: var(--forest-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-text-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-light);
}

.channel-text-val {
  font-size: 1.025rem;
  font-weight: 600;
  color: var(--forest-900);
}

.social-links-row {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border-medium);
  color: var(--forest-800);
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
}

.social-btn:hover {
  background: var(--forest-700);
  color: var(--text-inverse);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
  color: var(--forest-900);
}

.form-sub {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: var(--bg-primary);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--forest-600);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(47, 93, 72, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   MODAL - FOREST PLANT WALK BOOKING
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 34, 25, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--surface);
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-primary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--forest-100);
  color: var(--forest-900);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--forest-900);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-name {
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 340px;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--terracotta-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual-wrapper {
    max-width: 520px;
    margin: 0 auto;
  }

  .deep-dive-grid,
  .deep-dive-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pillars-grid,
  .timeline-grid,
  .walk-highlights-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .simulator-interactive-area,
  .atlas-content-card {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-medium);
    box-shadow: var(--shadow-md);
    gap: 1rem;
  }

  .hero-floating-badge {
    position: static;
    margin-top: 1rem;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
  }

  .apps-showcase-row {
    grid-template-columns: 1fr;
  }

  .sim-dosha-meters {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
