:root {
  /* Design Philosophy: Apple's simplicity, Stripe's clarity, Notion's organization, Linear's precision, Nvidia's confidence */

  /* Primary Colors */
  --forest-green: #1F4D3A;
  --premium-gold: #C9A96E;
  --midnight-black: #111111;
  --ocean-blue: #1E3A5F;

  /* Neutral Colors */
  --soft-white: #FAFAF8;
  --light-gray: #F3F4F6;
  --medium-gray: #D1D5DB;
  --dark-gray: #4B5563;

  /* Semantic Variables */
  --bg: var(--soft-white);
  --bg-strong: var(--light-gray);
  --surface: #FFFFFF;
  --ink: var(--midnight-black);
  --muted: var(--dark-gray);
  --line: var(--medium-gray);
  --brand: var(--forest-green);
  --accent: var(--premium-gold);
  --blue: var(--ocean-blue);

  --section-spacing: 120px;
  --container-width: 1280px;
  --radius: 8px; /* Linear's precision often uses smaller, sharper radii */
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  --body-font: "Inter", "Plus Jakarta Sans", sans-serif;
  --display-font: "Geist", "Inter", sans-serif;

  transition: all 0.3s ease;
}

.dark-theme {
  --bg: var(--midnight-black);
  --bg-strong: #1A1A1A;
  --surface: #1F1F1F;
  --ink: var(--soft-white);
  --muted: var(--medium-gray);
  --line: #333333;
  --brand: var(--premium-gold);
  --accent: var(--forest-green);
}

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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navigation - 72px Height, Fixed, Solid */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: var(--midnight-black); /* Solid black for visibility */
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--premium-gold);
}

.topbar .brand, .topbar .nav a {
  color: #fff;
}

.topbar .brand-icon svg {
  color: var(--premium-gold);
}

.topbar.scrolled {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.brand {
  display: flex;
  align-items: center;
  text-decoration: none !important; /* No underline */
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand);
  font-family: var(--display-font);
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  text-decoration: none !important; /* No underline */
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover, .nav a[aria-current="page"] {
  color: var(--premium-gold);
}

.nav .button {
  height: 40px;
  padding: 0 20px;
  font-size: 0.85rem;
  background: var(--premium-gold);
  color: var(--midnight-black);
  text-decoration: none !important;
}

.nav .button:hover {
  background: #fff;
  color: var(--midnight-black);
}

/* Floating Icons for Premium feel */
.floating-icons-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floating-icon {
  position: absolute;
  color: var(--premium-gold);
  opacity: 0.15;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* Remove all blue hypertext and underlined text globally */
a {
  color: inherit;
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
}

/* Premium Black & Gold Utility */
.bg-premium {
  background: var(--midnight-black) !important;
  color: var(--soft-white) !important;
}

.text-gold {
  color: var(--premium-gold) !important;
}

.border-gold {
  border-color: var(--premium-gold) !important;
}

/* Progressive Form Premium Styling */
.progressive-form {
  background: var(--midnight-black) !important;
  color: #fff !important;
  border: 1px solid var(--premium-gold) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  padding: 3rem !important;
}

.progressive-form h2 {
  color: var(--premium-gold);
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.progressive-form .field label {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: block;
}

.progressive-form input, .progressive-form select, .progressive-form textarea {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  transition: all 0.3s;
}

.progressive-form input:focus, .progressive-form select:focus {
  border-color: var(--premium-gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.2);
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  transition: all 0.3s;
}

.step-dot.is-active {
  background: var(--premium-gold);
  transform: scale(1.5);
}

.step-dot.is-complete {
  background: var(--premium-gold);
  opacity: 0.5;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

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

/* Location Searcher */
.location-searcher {
  position: relative;
}

.location-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #333;
  border-top: none;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 0 0 var(--radius) var(--radius);
  display: none;
}

.location-result-item {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid #222;
  transition: background 0.2s;
}

.location-result-item:hover {
  background: #333;
  color: var(--premium-gold);
}

/* Detailed Footer Premium */
.footer {
  background: var(--midnight-black) !important;
  color: #fff !important;
  border-top: 1px solid var(--premium-gold) !important;
  padding: 100px 0 40px !important;
}

.footer-col h4 {
  color: var(--premium-gold) !important;
  font-size: 0.8rem !important;
  letter-spacing: 2px !important;
  margin-bottom: 30px !important;
}

.footer-col nav a {
  color: #aaa !important;
  font-size: 0.9rem !important;
  margin-bottom: 12px !important;
  display: block !important;
  transition: color 0.3s !important;
}

.footer-col nav a:hover {
  color: var(--premium-gold) !important;
}

.footer-col .partnership-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 24px;
  line-height: 1.5;
}

.mavumium-brand-link {
  font-weight: 700;
  color: var(--premium-gold) !important;
  font-size: 1.1rem !important;
  margin-bottom: 8px !important;
  display: inline-block !important;
}

.mavumium-description {
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid #222 !important;
  margin-top: 80px !important;
  padding-top: 40px !important;
  color: #444 !important;
}

.footer-bottom .signature {
  color: var(--premium-gold) !important;
  letter-spacing: 2px !important;
  font-weight: 800 !important;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Hero Section - 90-100vh */
.hero {
  height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: radial-gradient(circle at top right, rgba(31, 77, 58, 0.05), transparent 40%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy {
    align-items: center !important;
  }
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.trust-indicators {
  margin-top: 48px;
  display: flex;
  gap: 24px;
  opacity: 0.6;
}

.product-preview {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 12px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.product-preview:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.product-preview img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* Feature Grid - Directly below Hero */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.feature-card i {
  color: var(--brand);
  margin-bottom: 24px;
}

/* Story Sections - Alternating editorial feel */
.story-section {
  display: flex;
  align-items: center;
  gap: 100px;
  margin-bottom: var(--section-spacing);
}

.story-section.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 900px) {
  .story-section, .story-section.reverse {
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }
}

.story-copy {
  flex: 1;
}

.story-visual {
  flex: 1.2;
}

.story-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Stats Section - Dark Emphasis */
.stats-section {
  background: var(--midnight-black);
  color: var(--soft-white);
  padding: 100px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--premium-gold);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--medium-gray);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* Dashboard Functionality */
.dashboard-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  height: 100vh;
  background: var(--bg-strong);
}

.sidebar {
  background: var(--midnight-black);
  color: #fff;
  padding: 32px 16px;
}

.main-content {
  padding: 40px;
  overflow-y: auto;
}

.button {
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.button-gold {
  background: var(--premium-gold);
  color: var(--midnight-black);
}

/* Footer - 4 Column Layout */
.footer {
  background: var(--light-gray);
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--midnight-black);
  margin-bottom: 24px;
}

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

.footer-col a {
  text-decoration: none;
  color: var(--dark-gray);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--medium-gray);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--dark-gray);
}

/* Mobile Nav Full-screen Overlay */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff; /* White for black topbar */
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2001;
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--midnight-black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: 0.4s ease;
    z-index: 2000;
  }

  .nav.is-active {
    right: 0;
  }

  .nav a {
    font-size: 1.5rem;
    color: #fff;
  }

  .nav .button {
    width: 200px;
    height: 60px;
    font-size: 1.1rem;
  }
}

body.menu-open {
  overflow: hidden;
}

/* Background Node Animation Styles */
#network-nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.section-inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.glass-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

/* Premium Navigation Search */
.nav-search-container {
  display: flex;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.nav-search-container:hover {
  transform: scale(1.1);
}

.search-trigger {
  color: var(--premium-gold);
  width: 20px;
  height: 20px;
}

/* Next Level Button & Animations */
@keyframes gold-pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(201, 169, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0); }
}

.next-level-button {
  background: linear-gradient(135deg, var(--midnight-black) 0%, var(--ocean-blue) 50%, var(--premium-gold) 100%);
  background-size: 200% 200%;
  color: #fff !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid var(--premium-gold);
  padding: 18px 32px;
  animation: gold-pulse 2s infinite, gradient-shift 5s ease infinite;
  transition: transform 0.3s;
  margin-top: 32px;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.next-level-button:hover {
  transform: translateY(-3px) scale(1.02);
  color: var(--midnight-black) !important;
  background: var(--premium-gold);
}

/* Premium Bullets */
.premium-bullets {
  list-style: none;
  margin: 30px 0;
}

.premium-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #555;
}

.premium-bullets li i {
  color: var(--premium-gold);
  flex-shrink: 0;
}

.glow-border {
  border: 2px solid var(--premium-gold);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.2);
  transition: box-shadow 0.3s;
}

.glow-border:hover {
  box-shadow: 0 0 40px rgba(201, 169, 110, 0.4);
}

.mavumium-app-feature {
  background: linear-gradient(to right, rgba(30, 58, 95, 0.03), rgba(201, 169, 110, 0.03));
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}
