/* ═══════════════════════════════════════
   VYOMA CHANGELOG — DESIGN TOKENS
   ═══════════════════════════════════════ */
:root {
  --orange: #e8622a;
  --orange-hover: #d4561f;
  --bg: #f8f6f2;
  --bg-card: #f0ece6;
  --bg-dark: #0f0e0c;
  --text: #1a1714;
  --text-muted: #6b6560;
  --text-light: #f0ece6;
  --border: #e0ddd8;
  --border-dark: #2a2722;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --max-width: 1100px;
  --content-width: 900px;
  --prose-width: 700px;
  --radius-card: 16px;
  --radius-btn: 10px;
  --section-pad: 100px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-anim {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.2s; }
.hero-anim:nth-child(3) { animation-delay: 0.25s; }
.hero-anim:nth-child(4) { animation-delay: 0.35s; }

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(248, 246, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.04);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 18px; height: 18px; }

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-back:hover {
  background: rgba(26, 23, 20, 0.05);
  color: var(--text);
}

.nav-back svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
}

.hero-icon {
  width: 72px; height: 72px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon svg { width: 100%; height: 100%; }

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 16px;
}

.hero-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  opacity: 0.7;
}

/* ═══════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════ */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  border: none;
}

/* ═══════════════════════════════════════
   SECTION LABEL
   ═══════════════════════════════════════ */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════ */
.timeline-section {
  padding: var(--section-pad) 0;
}

.timeline {
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-entry {
  position: relative;
  padding-left: 52px;
  padding-bottom: 56px;
}

.timeline-entry:last-child {
  padding-bottom: 0;
}

/* Dot on timeline */
.timeline-dot {
  position: absolute;
  left: 8px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--orange);
  z-index: 2;
}

.timeline-entry:first-child .timeline-dot {
  background: var(--orange);
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.timeline-version {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
}

.timeline-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(232, 98, 42, 0.08);
  color: var(--orange);
}

.timeline-tag[data-tag="fix"] {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
}

.timeline-tag[data-tag="improvement"] {
  background: rgba(59, 130, 246, 0.08);
  color: #2563eb;
}

.timeline-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 14px;
}

.timeline-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.timeline-list {
  list-style: none;
  padding: 0;
}

.timeline-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.timeline-list li:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════
   PROSE SECTION
   ═══════════════════════════════════════ */
.prose-section {
  padding: var(--section-pad) 0;
}

.prose {
  max-width: var(--prose-width);
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.prose p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
}

.prose p:last-child { margin-bottom: 0; }

.prose p.muted { color: var(--text-muted); }

.prose strong { font-weight: 600; color: var(--text); }

/* ═══════════════════════════════════════
   HIGHLIGHTS GRID
   ═══════════════════════════════════════ */
.highlights-section {
  padding: var(--section-pad) 0;
}

.highlights-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 48px;
  max-width: 480px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.highlight-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

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

/* ═══════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════ */
.cta-banner-section {
  padding: 0 0 var(--section-pad);
}

.cta-banner {
  background: var(--bg-dark);
  border-radius: var(--radius-card);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.2;
}

.cta-banner-text p {
  font-size: 0.95rem;
  color: rgba(240,236,230,0.5);
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(240,236,230,0.2);
}
.btn-ghost:hover {
  border-color: rgba(240,236,230,0.5);
  background: rgba(255,255,255,0.05);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 48px 0;
}

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

.footer-text {
  font-size: 0.82rem;
  color: rgba(240,236,230,0.35);
}

.footer-heart { color: var(--orange); }

.india-map {
  width: 60px;
  height: auto;
  opacity: 0.7;
  display: inline-block;
  vertical-align: middle;
}

/* ═══════════════════════════════════════
   RESPONSIVE — 900px
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --section-pad: 72px; }

  .hero { padding-top: calc(var(--nav-height) + 56px); }

  .highlights-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 48px 32px;
  }

  .cta-banner-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --section-pad: 56px; }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 56px;
  }

  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-icon { width: 56px; height: 56px; margin-bottom: 20px; }

  .timeline::before { left: 11px; }
  .timeline-dot { left: 4px; top: 4px; width: 14px; height: 14px; }
  .timeline-entry { padding-left: 40px; padding-bottom: 40px; }
  .timeline-title { font-size: 1.15rem; }
  .timeline-list li { font-size: 0.88rem; }
  .timeline-meta { gap: 8px; }

  .highlights-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .highlight-card { padding: 20px 16px; }

  .prose h2 { font-size: 1.4rem; }
  .prose p { font-size: 0.95rem; }

  .cta-banner { padding: 36px 24px; }
  .india-map { width: 40px; }
}
