/*
  Ravana Space - Design System
  Theme: Royal Cosmic (Space Black, Neon Teal, Royal Gold)
  Typography: Outfit (Headings), Inter (Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --bg-primary: #02040a;
  --bg-secondary: #070b16;
  --card-bg: rgba(10, 16, 32, 0.55);
  --card-hover-bg: rgba(16, 26, 50, 0.75);
  
  --accent-teal: #00f2fe;
  --accent-teal-rgb: 0, 242, 254;
  --accent-gold: #f6d365;
  --accent-gold-orange: #fda085;
  --accent-gold-rgb: 246, 211, 101;
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow-teal: rgba(0, 242, 254, 0.2);
  --border-glow-gold: rgba(246, 211, 101, 0.2);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadow Glows */
  --glow-teal: 0 0 20px rgba(0, 242, 254, 0.3);
  --glow-gold: 0 0 20px rgba(246, 211, 101, 0.35);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-primary);
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-teal);
  box-shadow: var(--glow-teal);
}

/* Canvas Background styling */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: all;
  background: radial-gradient(circle at 50% 50%, #060b1e 0%, #02040a 80%);
}

/* Page Overlay for subtle scanlines */
.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  opacity: 0.15;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-weight: 300;
}

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

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}

/* Glassmorphism utility */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: border-color var(--transition-normal), background-color var(--transition-normal), transform var(--transition-normal);
}

.glass-panel:hover {
  background: var(--card-hover-bg);
  border-color: rgba(0, 242, 254, 0.25);
}

/* Floating Navigation Bar */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(2, 4, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  top: 0.5rem;
  padding: 0.75rem 2rem;
  background: rgba(2, 4, 10, 0.75);
  border-color: rgba(0, 242, 254, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-orange) 50%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.logo-symbol {
  width: 24px;
  height: 24px;
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-teal) 100%);
  clip-path: polygon(50% 0%, 100% 100%, 50% 80%, 0% 100%);
  filter: drop-shadow(0 0 5px var(--accent-teal));
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  color: var(--text-secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Premium Buttons */
.btn {
  position: relative;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-normal);
  background: transparent;
  border: 1px solid var(--accent-teal);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-teal {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(0, 242, 254, 0.02) 100%);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.btn-teal:hover {
  background: var(--accent-teal);
  color: var(--bg-primary);
  box-shadow: var(--glow-teal);
  transform: translateY(-2px);
}

.btn-gold {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(246, 211, 101, 0.1) 0%, rgba(246, 211, 101, 0.02) 100%);
  box-shadow: 0 0 10px rgba(246, 211, 101, 0.1);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-orange) 100%);
  color: var(--bg-primary);
  box-shadow: var(--glow-gold);
  border-color: var(--accent-gold-orange);
  transform: translateY(-2px);
}

/* Shimmer Light Sweep Hover Animation */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: none;
}

.btn:hover::before {
  left: 100%;
  transition: all 0.75s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding-top: 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 50px;
  width: fit-content;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-teal);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.05);
}

.hero-badge-gold {
  color: var(--accent-gold);
  border-color: rgba(246, 211, 101, 0.2);
  background: rgba(246, 211, 101, 0.05);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title .accent-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .accent-teal {
  background: linear-gradient(135deg, var(--accent-teal) 0%, #00bcff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 550px;
}

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

/* Floating Rocket Graphic in Hero */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 600px;
}

.rocket-svg-container {
  width: 100%;
  max-width: 320px;
  filter: drop-shadow(0 15px 30px rgba(0, 242, 254, 0.15));
  animation: float 6s ease-in-out infinite;
}

.visual-backdrop-glow {
  position: absolute;
  width: 300px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 242, 254, 0.1) 0%, rgba(246, 211, 101, 0.02) 60%, transparent 100%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* Core Brand Intro Statement & Founder Card */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.intro-text .highlight {
  color: var(--accent-teal);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.founder-card {
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.founder-avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--bg-primary);
  box-shadow: var(--glow-teal);
  border: 2px solid var(--text-primary);
}

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-teal);
  box-shadow: var(--glow-teal);
}

.founder-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

.founder-info p {
  font-size: 0.9rem;
  color: var(--accent-gold);
}

.founder-quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  position: relative;
}

.founder-quote::before {
  content: '“';
  font-size: 4rem;
  position: absolute;
  top: -2.5rem;
  left: -1rem;
  color: rgba(246, 211, 101, 0.15);
  font-family: var(--font-headings);
}

/* Vehicles Tab Showcase */
.showcase-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-header h2 {
  font-size: 3rem;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  list-style: none;
}

.tab-btn {
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.tab-btn:hover {
  border-color: var(--accent-teal);
  color: var(--text-primary);
  background: rgba(0, 242, 254, 0.03);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(0, 242, 254, 0.03) 100%);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  box-shadow: var(--glow-teal);
}

/* Tab contents and active states */
.tab-content {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.tab-content.active {
  display: grid;
  animation: fadeIn 0.6s ease-in-out forwards;
}

.vehicle-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.vehicle-svg {
  height: 100%;
  max-height: 480px;
  filter: drop-shadow(0 10px 25px rgba(0, 242, 254, 0.1));
}

.vehicle-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vehicle-tagline {
  font-size: 1.5rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.vehicle-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.spec-item {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.spec-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.spec-value {
  font-size: 1.5rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-primary);
}

/* SVG Interactive Highlighting in details */
.svg-hotspot {
  cursor: pointer;
}
.svg-hotspot path, .svg-hotspot rect, .svg-hotspot circle {
  transition: fill var(--transition-fast), stroke var(--transition-fast);
}
.svg-hotspot:hover path, .svg-hotspot:hover rect {
  stroke: var(--accent-teal) !important;
  fill: rgba(0, 242, 254, 0.1) !important;
}

/* Payload Estimator Section */
.estimator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem;
}

.orbit-selector {
  display: flex;
  gap: 1rem;
}

.orbit-btn {
  flex: 1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-headings);
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  text-align: center;
}

.orbit-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.orbit-btn.active {
  background: linear-gradient(135deg, rgba(246, 211, 101, 0.1) 0%, rgba(246, 211, 101, 0.03) 100%);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: var(--glow-gold);
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-val-wrap {
  font-size: 1.5rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--accent-teal);
}

/* Range input override styling */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background 0.3s;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: var(--glow-teal);
  cursor: pointer;
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Estimator Display Board */
.estimator-display {
  padding: 3rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  border: 1px dashed var(--accent-teal);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.05);
}

.display-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.display-rocket-name {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse-glow 3s infinite alternate;
}

.display-rocket-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.display-rocket-desc {
  font-size: 1.1rem;
  line-height: 1.6;
}

.display-suitability {
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.display-suitability::before {
  content: '●';
  color: var(--accent-teal);
  font-size: 1.25rem;
}

/* Technology Grid Cards */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.tech-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tech-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.15);
  color: var(--accent-teal);
  font-size: 1.5rem;
}

.tech-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Orbit Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

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

.contact-info h2 {
  font-size: 3rem;
  line-height: 1.2;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  font-size: 1.1rem;
}

/* Glassmorphic Input styling */
.contact-form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  padding: 0.85rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
  background: rgba(0, 242, 254, 0.02);
}

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

/* Space age custom success notification pop up */
.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
  font-weight: 500;
  text-align: center;
  animation: fadeIn 0.4s ease forwards;
}

/* Footer Section */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  position: relative;
  z-index: 2;
  background: rgba(2, 4, 10, 0.6);
  backdrop-filter: blur(10px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-col h5 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-teal);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0% { text-shadow: 0 0 10px rgba(0, 242, 254, 0.2); }
  100% { text-shadow: 0 0 25px rgba(0, 242, 254, 0.6), 0 0 40px rgba(246, 211, 101, 0.4); }
}

/* Responsive Grid Overrides */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-badge {
    margin: 0 auto;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-visual {
    height: 400px;
  }
  
  .rocket-svg-container {
    max-width: 200px;
  }
  
  .intro-grid, .estimator-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .tab-content.active {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .vehicle-visual {
    height: 350px;
    order: -1;
  }
  
  .vehicle-svg {
    max-height: 320px;
  }
}

/* Mobile toggle layout styles */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 110;
  padding: 0;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.nav-desktop-cta {
  display: inline-flex;
}

.mobile-cta-only {
  display: none;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1.5rem;
  }
  
  .nav-desktop-cta {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Hamburger morphing into X on click */
  .nav-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-teal);
  }
  
  .nav-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-teal);
  }
  
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(4, 7, 20, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-color);
    padding: 6rem 2rem 2rem 2rem;
    gap: 2rem;
    transition: right var(--transition-normal);
    z-index: 105;
  }
  
  .nav-links.open {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  }
  
  .mobile-cta-only {
    display: block;
    margin-top: auto;
    width: 100%;
  }
  
  .mobile-cta-only .btn {
    width: 100%;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-padding {
    padding: 6rem 0;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* CSS Scroll Reveal System */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Space Preloader Styling */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  background: radial-gradient(circle at 50% 50%, #060b1e 0%, #02040a 80%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-intro-wrap {
  position: absolute;
  width: 90%;
  max-width: 600px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-intro-text {
  position: absolute;
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0;
  transform: scale(0.94);
  filter: blur(8px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.preloader-intro-text.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
}

.preloader-intro-text.exit {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(8px);
}

#intro-future {
  background: linear-gradient(135deg, var(--accent-teal) 0%, #00bcff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

#intro-srilanka {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(246, 211, 101, 0.2);
}

@media (max-width: 768px) {
  .preloader-intro-text {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 90%;
  max-width: 400px;
}

.preloader-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: preloader-pulse 2s infinite alternate;
}

.preloader-symbol {
  width: 32px;
  height: 32px;
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-teal) 100%);
  clip-path: polygon(50% 0%, 100% 100%, 50% 80%, 0% 100%);
  filter: drop-shadow(0 0 8px var(--accent-teal));
}

.preloader-logo-text {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-orange) 50%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preloader-bar-bg {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-teal));
  box-shadow: var(--glow-teal);
  transition: width 0.1s ease-out;
}

.preloader-status {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-family: var(--font-headings);
  font-weight: 500;
}

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

.preloader-percentage {
  color: var(--accent-teal);
}

@keyframes preloader-pulse {
  0% {
    transform: scale(0.98);
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.2));
  }
  100% {
    transform: scale(1.02);
    filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.5)) drop-shadow(0 0 15px rgba(246, 211, 101, 0.3));
  }
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr 2.4fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.container-wide {
  max-width: 1450px !important;
}

.map-sidebar {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.map-dashboard {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.dashboard-title {
  font-size: 1.5rem;
  color: var(--accent-teal);
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  padding-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dashboard-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

.dashboard-list li {
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
  cursor: default;
}

.dashboard-list li:hover {
  background: rgba(0, 242, 254, 0.04);
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateX(4px);
}

.dashboard-list li .tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: var(--text-secondary);
}

.dashboard-list li .tag-gold {
  font-size: 0.75rem;
  background: rgba(246, 211, 101, 0.1);
  border: 1px solid rgba(246, 211, 101, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: var(--accent-gold);
}

.dashboard-list li .tag-teal {
  font-size: 0.75rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: var(--accent-teal);
}

.map-credits {
  background: rgba(246, 211, 101, 0.03);
  border: 1px solid rgba(246, 211, 101, 0.15);
  border-radius: 8px;
  padding: 1.5rem;
}

.map-image-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.75rem;
  font-family: var(--font-headings);
  font-weight: 600;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-teal);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

/* Map Image responsive styling (Clean white layout) */
.map-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 850px;
  object-fit: contain;
  border-radius: 6px;
  transition: transform var(--transition-normal);
}

.map-img:hover {
  transform: scale(1.015);
}

.map-zoom-tip {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #475569;
  text-align: center;
}

/* Map Popup Modal Styling */
.map-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(2, 4, 12, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-modal.open {
  display: flex;
  opacity: 1;
}

.map-modal-content-wrap {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-zoom-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.map-modal-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.map-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--text-secondary);
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
  z-index: 10001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.map-modal-close:hover {
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(90deg);
}

.map-modal-caption {
  margin-top: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: var(--font-headings);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes modal-zoom-in {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 992px) {
  .map-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .map-img {
    max-height: 480px;
  }
  
  .map-modal-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .map-sidebar {
    padding: 1.5rem;
  }
  
  .map-img {
    max-height: 320px;
  }
}
