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

/* ==========================================================================
   Design System & Custom Properties
   ========================================================================== */
:root {
  /* Brand Soft Cocoa Charcoal Color Palette */
  --bg-obsidian: #140f0c;       /* Soft warm chocolate charcoal background */
  --bg-midnight: #1f1612;       /* Cozy cocoa brown card background */
  --bg-midnight-rgb: 31, 22, 18;
  --bg-deep-space: #0b0806;     /* Soft dark brown vacuum */
  
  --accent-gold: #f5a623;       /* Brilliant logo gold/amber */
  --accent-gold-rgb: 245, 166, 35;
  --accent-gold-glow: rgba(245, 166, 35, 0.35);
  
  --accent-teal: #ffebcc;       /* Brand warm light peach/cream book color (#FFEBCC) */
  --accent-teal-rgb: 255, 235, 204;
  --accent-teal-glow: rgba(255, 235, 204, 0.35);
  
  --accent-rose: #ab5d34;       /* Logo globe terracotta */
  
  /* Text Colors */
  --text-white: #ffffff;        /* Pure white for stunning header contrast */
  --text-silver: #ffebcc;       /* Highly readable brand cream (#FFEBCC) for body text */
  --text-muted: #a6988c;        /* Muted warm parchment grey */
  
  /* Glassmorphism Styles */
  --glass-bg: rgba(31, 22, 18, 0.75); /* Cozy cocoa glass */
  --glass-border: rgba(255, 235, 204, 0.1);
  --glass-border-hover: rgba(255, 235, 204, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.4);
  
  /* Fonts */
  --font-headings: 'Outfit', 'Noto Sans Gujarati', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans Gujarati', sans-serif;
  
  /* Standard Layout Speeds */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-silver);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(229, 193, 151, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 166, 35, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(31, 22, 18, 0.5) 0%, var(--bg-obsidian) 100%);
  background-attachment: fixed;
}

/* Elegant Cosmic Background Grid */
body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid var(--bg-obsidian);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-teal);
  box-shadow: 0 0 10px var(--accent-teal-glow);
}

/* ==========================================================================
   Typography & Bilingual Fade Styling
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Bilingual text state */
[data-translate] {
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.translating {
  opacity: 0 !important;
  transform: translateY(4px);
}

/* Gujarati script optimization */
:lang(gu) {
  line-height: 1.8;
  letter-spacing: 0;
}

/* ==========================================================================
   Web Browser Mockup Frame (Wrapper)
   ========================================================================== */
.browser-mockup {
  max-width: 1440px;
  margin: 40px auto;
  border-radius: 16px;
  background: var(--bg-deep-space);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 100px rgba(31, 22, 18, 0.4);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.browser-header {
  height: 48px;
  background: rgba(20, 15, 12, 0.95);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 15px;
}

.browser-buttons {
  display: flex;
  gap: 8px;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.browser-dot.red { background-color: #ff5f56; }
.browser-dot.yellow { background-color: #ffbd2e; }
.browser-dot.green { background-color: #27c93f; }

.browser-address-bar {
  flex-grow: 1;
  max-width: 600px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid var(--glass-border);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  gap: 8px;
}

.browser-address-bar svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ==========================================================================
   Navigation Bar (Glassmorphic)
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  object-fit: contain;
}

/* Central Links */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-silver);
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition-fast);
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

nav ul li a:hover {
  color: var(--text-white);
}

nav ul li a:hover::after {
  width: 80%;
}

nav ul li a.active {
  color: var(--accent-teal);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

/* Right Side Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-trigger-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-silver);
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-teal);
  border-color: var(--accent-teal);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* Language Toggle Custom Switch (Supports Trilingual) */
.lang-toggle-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 3px;
  border-radius: 20px;
  user-select: none;
  gap: 2px;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-muted);
  border: none;
  background: none;
}

.lang-btn:hover {
  color: var(--accent-teal);
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent-gold), #ffa500);
  color: #0b0806 !important;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  padding: 80px 80px;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--glass-border);
}

/* Cosmic Nebula Background Gradients */
.hero-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229, 193, 151, 0.08) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  z-index: -1;
  filter: blur(40px);
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
  z-index: -1;
  filter: blur(40px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 193, 151, 0.08);
  border: 1px solid rgba(229, 193, 151, 0.2);
  color: var(--accent-teal);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(229, 193, 151, 0.05);
}

.hero-tag svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-teal);
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 24px;
}

/* Golden text highlights */
.hero-title span.gold-glow {
  color: var(--accent-gold);
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ffaa00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-silver);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

/* Glowing Amber Main CTA */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #ffaa00);
  color: var(--bg-obsidian);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3), 0 0 0 1px rgba(255, 215, 0, 0.2);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.45), 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 12px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}

/* Hero Right Side - 3D Graphic Graphic */
.hero-graphic-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(217, 130, 16, 0.05) 0%, transparent 60%);
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 1; }
}

.hero-img-frame {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(124, 67, 35, 0.12);
  background: var(--bg-midnight);
  box-shadow: 0 20px 50px rgba(74, 53, 37, 0.06), 0 0 40px rgba(217, 130, 16, 0.08);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.hero-img-frame:hover {
  transform: translateY(-5px) rotate(0.5deg);
  border-color: rgba(217, 130, 16, 0.3);
  box-shadow: 0 30px 60px rgba(74, 53, 37, 0.12), 0 0 50px rgba(217, 130, 16, 0.15);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 10s ease;
}

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

/* Floating interactive orbit badges */
.floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 12px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 10;
  transition: var(--transition-smooth);
}

.floating-badge.badge-1 {
  top: 15%;
  left: -5%;
  animation: float-y 5s ease-in-out infinite alternate;
}

.floating-badge.badge-2 {
  bottom: 12%;
  right: -5%;
  animation: float-y 6s ease-in-out infinite alternate-reverse;
}

.floating-badge:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 15px rgba(255, 215, 0, 0.15);
}

.floating-badge .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-badge.badge-1 .icon-wrap {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-teal);
}

.floating-badge.badge-2 .icon-wrap {
  background: rgba(255, 215, 0, 0.15);
  color: var(--accent-gold);
}

.floating-badge .text-wrap {
  display: flex;
  flex-direction: column;
}

.floating-badge .badge-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.floating-badge .badge-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
}

@keyframes float-y {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-15px); }
}

/* ==========================================================================
   Interactive Era Timeline Scrub / Orbit Component
   ========================================================================== */
.timeline-section {
  padding: 80px 80px;
  background: linear-gradient(180deg, var(--bg-deep-space) 0%, var(--bg-obsidian) 100%);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-white);
}

.section-desc {
  color: var(--text-silver);
  font-size: 1rem;
}

.timeline-scrubber-wrap {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.timeline-track-container {
  position: relative;
  margin-bottom: 40px;
  padding: 20px 0;
}

.timeline-track-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-progress-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px var(--accent-teal-glow);
}

.timeline-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.timeline-node {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.timeline-node::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0px;
  height: 0px;
  border-radius: 50%;
  background: var(--accent-teal);
  transform: translate(-50%, -50%);
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px var(--accent-teal-glow);
}

.timeline-node:hover {
  border-color: var(--accent-teal);
  transform: scale(1.2);
}

.timeline-node.active {
  border-color: var(--accent-teal);
  transform: scale(1.3);
  box-shadow: 0 0 15px var(--accent-teal-glow);
}

.timeline-node.active::before {
  width: 10px;
  height: 10px;
}

.timeline-node.passed {
  border-color: var(--accent-teal);
  background: var(--accent-teal);
}

.timeline-node-label {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.timeline-node.active .timeline-node-label {
  color: var(--accent-teal);
  font-weight: 700;
  text-shadow: 0 0 10px var(--accent-teal-glow);
}

/* Scrub Content Display */
.timeline-content-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-content-display.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.timeline-content-text {
  display: flex;
  flex-direction: column;
}

.timeline-content-era {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-content-title {
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 16px;
}

.timeline-content-desc {
  color: var(--text-silver);
  font-size: 1rem;
  margin-bottom: 24px;
}

.timeline-content-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 0.95rem;
}

.timeline-content-link:hover {
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.timeline-content-link svg {
  transition: transform 0.2s ease;
}

.timeline-content-link:hover svg {
  transform: translateX(4px);
}

/* Visual Panel of the scrubber */
.timeline-content-visual {
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
  background: var(--bg-deep-space);
}

.timeline-visual-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(1.1);
  transition: background-image 0.5s ease-in-out;
}

.timeline-visual-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
  bottom: -20px;
  right: -20px;
  border-radius: 50%;
  pointer-events: none;
}

/* ==========================================================================
   "Explore Orbits" Category Grid Section
   ========================================================================== */
.categories-section {
  padding: 80px 80px;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--glass-border);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Interactive Category Cards with Neon Glow */
.category-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transition: var(--transition-smooth);
}

/* Card custom neon colors */
.category-card.cosmic::before { background: linear-gradient(90deg, var(--accent-teal), #00bfff); }
.category-card.history::before { background: linear-gradient(90deg, var(--accent-gold), #ffa500); }
.category-card.science::before { background: linear-gradient(90deg, var(--accent-rose), #ff0055); }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: var(--transition-smooth);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-card.cosmic .card-icon { color: var(--accent-teal); }
.category-card.history .card-icon { color: var(--accent-gold); }
.category-card.science .card-icon { color: var(--accent-rose); }

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-white);
  transition: var(--transition-fast);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-silver);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-action {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.category-card.cosmic .card-action { color: var(--accent-teal); }
.category-card.history .card-action { color: var(--accent-gold); }
.category-card.science .card-action { color: var(--accent-rose); }

.card-action svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

/* Hover States & Neon Glows */
.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 67, 35, 0.18);
}

.category-card.cosmic:hover {
  box-shadow: 0 20px 45px rgba(255, 235, 204, 0.06), 0 0 30px rgba(255, 235, 204, 0.04);
  background: rgba(44, 32, 26, 0.95);
  border-color: rgba(255, 235, 204, 0.3);
}
.category-card.history:hover {
  box-shadow: 0 20px 45px rgba(245, 166, 35, 0.06), 0 0 30px rgba(245, 166, 35, 0.04);
  background: rgba(44, 32, 26, 0.95);
  border-color: rgba(245, 166, 35, 0.3);
}
.category-card.science:hover {
  box-shadow: 0 20px 45px rgba(168, 80, 44, 0.06), 0 0 30px rgba(168, 80, 44, 0.04);
  background: rgba(44, 32, 26, 0.95);
  border-color: rgba(168, 80, 44, 0.3);
}

.category-card:hover .card-icon {
  transform: scale(1.1);
}
.category-card.cosmic:hover .card-icon { background: rgba(124, 67, 35, 0.08); border-color: rgba(124, 67, 35, 0.15); }
.category-card.history:hover .card-icon { background: rgba(217, 130, 16, 0.08); border-color: rgba(217, 130, 16, 0.15); }
.category-card.science:hover .card-icon { background: rgba(168, 80, 44, 0.08); border-color: rgba(168, 80, 44, 0.15); }

.category-card:hover .card-action svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Featured Blogs Section
   ========================================================================== */
.blogs-section {
  padding: 80px 80px;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid var(--glass-border);
}

.blogs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.blogs-filter-list {
  display: flex;
  list-style: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.filter-btn {
  background: none;
  border: none;
  padding: 8px 18px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-silver);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active {
  background: rgba(255,255,255,0.08);
  color: var(--accent-teal);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Blogs List & Items */
.blogs-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}

.blog-item:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 15px rgba(0, 242, 254, 0.05);
}

/* Custom CSS abstract graphics for covers */
.blog-cover {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: var(--bg-deep-space);
  overflow: hidden;
}

.blog-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.blog-item:hover .blog-cover-img {
  transform: scale(1.08);
}

/* Elegant CSS Gradients for standard covers */
.blog-cover.abstract-gradient-1 { background: radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.15), var(--bg-deep-space)); }
.blog-cover.abstract-gradient-2 { background: radial-gradient(circle at 70% 30%, rgba(255, 42, 122, 0.12), var(--bg-deep-space)); }
.blog-cover.abstract-gradient-3 { background: radial-gradient(circle at 70% 30%, rgba(0, 242, 254, 0.15), var(--bg-deep-space)); }

/* SVG mesh overlays */
.blog-cover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: 0.3;
}

/* Category Badge */
.blog-cat-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(11, 11, 30, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.blog-item.cosmic .blog-cat-badge { color: var(--accent-teal); border-color: rgba(0,242,254,0.3); }
.blog-item.history .blog-cat-badge { color: var(--accent-gold); border-color: rgba(255,215,0,0.3); }
.blog-item.science .blog-cat-badge { color: var(--accent-rose); border-color: rgba(255,42,122,0.3); }

/* Blog Details */
.blog-details {
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta-item svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.blog-item-title {
  font-size: 1.6rem;
  color: var(--text-white);
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.blog-item:hover .blog-item-title {
  color: var(--accent-teal);
}

.blog-item.history:hover .blog-item-title { color: var(--accent-gold); }
.blog-item.science:hover .blog-item-title { color: var(--accent-rose); }

.blog-item-summary {
  font-size: 0.95rem;
  color: var(--text-silver);
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-deep-space);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
}

.read-more-link {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-item.cosmic .read-more-link { color: var(--accent-teal); }
.blog-item.history .read-more-link { color: var(--accent-gold); }
.blog-item.science .read-more-link { color: var(--accent-rose); }

.read-more-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.blog-item:hover .read-more-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Newsletter Call-to-action Section
   ========================================================================== */
.newsletter-section {
  padding: 80px 80px;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--glass-border);
}

.newsletter-box {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(18, 18, 44, 0.9) 0%, rgba(11, 11, 30, 0.9) 100%);
  border: 1px solid rgba(0, 242, 254, 0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(0, 242, 254, 0.05);
  border-radius: 24px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  top: -30px;
  right: -30px;
}

.newsletter-text h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text-white), var(--text-silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.newsletter-text p {
  color: var(--text-silver);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 4px;
  transition: var(--transition-smooth);
}

.form-row:focus-within {
  border-color: var(--accent-teal);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.newsletter-input {
  flex-grow: 1;
  background: none;
  border: none;
  outline: none;
  padding: 12px 20px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.newsletter-submit {
  background: linear-gradient(135deg, var(--accent-teal), #00bfff);
  color: var(--bg-obsidian);
  border: none;
  padding: 0 24px;
  border-radius: 8px;
  font-family: var(--font-headings);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-submit:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

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

.newsletter-hint span {
  color: var(--accent-gold);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--bg-deep-space);
  padding: 50px 80px 30px 80px;
  position: relative;
  z-index: 5;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  height: 36px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-silver);
}

.footer-links li a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-silver);
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* ==========================================================================
   Search Overlay Glass Component
   ========================================================================== */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 7, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10%;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-box-container {
  width: 100%;
  max-width: 700px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transform: translateY(-20px);
  transition: var(--transition-smooth);
}

.search-overlay.active .search-box-container {
  transform: translateY(0);
}

.search-input-row {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 16px;
  padding: 8px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.1);
  position: relative;
}

.search-input-row svg.search-icon {
  width: 20px;
  height: 20px;
  fill: var(--accent-teal);
  margin-right: 15px;
}

.search-bar-input {
  flex-grow: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--text-white);
  padding: 10px 0;
}

.search-bar-input::placeholder {
  color: var(--text-muted);
}

.search-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  padding: 4px;
}

.search-close-btn:hover {
  color: var(--accent-rose);
  transform: scale(1.1);
}

.search-results-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.search-results-box.active {
  display: block;
}

.search-results-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-result-item a {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  transition: var(--transition-fast);
}

.search-result-item a:hover {
  background: rgba(0, 242, 254, 0.08);
  transform: translateX(4px);
}

.search-result-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
}

.search-result-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-teal);
  font-weight: 700;
  margin-bottom: 4px;
}

.search-no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 20px 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 40px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-img-frame {
    margin: 0 auto;
  }
  .floating-badge.badge-1 { left: 5%; }
  .floating-badge.badge-2 { right: 5%; }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .newsletter-box {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .nav-container {
    padding: 0 20px;
    height: 70px;
  }
  nav {
    display: none; /* Hide default nav for mobile - can toggle with js */
  }
  
  .browser-mockup {
    margin: 0;
    border-radius: 0;
    border: none;
  }
  
  .hero-section, .timeline-section, .categories-section, .blogs-section, .newsletter-section, footer {
    padding: 60px 20px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .timeline-content-display {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-item {
    grid-template-columns: 1fr;
  }
  .blog-cover {
    min-height: 180px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 15px;
    text-align: center;
  }
}
