/* ===== CSS Reset & Variables ===== */
:root {
    /* Core Colors - Keeping your requested palette */
    --color-bg: #090909;
    --color-primary: #5200ff;
    --color-primary-dark: #3a00b8;
    --color-primary-light: #6d28d9;
    --color-primary-glow: rgba(82, 0, 255, 0.2);
    
    /* Extended Palette */
    --color-surface: #111111;
    --color-surface-light: #1a1a1a;
    --color-surface-dark: #050505;
    --color-border: #222222;
    --color-border-light: #333333;
    --color-hive-image: #121212;
    
    /* Text Colors */
    --color-text: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-tertiary: #666666;
    
    /* Accent Colors */
    --color-accent: #1900ff;
    --color-success: #6150ff;
    --color-warning: #ffb800;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xxs: 0.25rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px var(--color-primary-glow);

    /* Heatmap */
    --color-heat-1: rgba(82, 0, 255, 0.05);
    --color-heat-2: rgba(82, 0, 255, 0.1);
    --color-heat-3: rgba(82, 0, 255, 0.15);
    --color-heat-4: rgba(82, 0, 255, 0.2);
    --color-heat-5: rgba(82, 0, 255, 0.25);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Space Grotesk', sans-serif;
}

body {
  background: #090909;
  color: #e5e5e5;
}

/* NAV */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(29, 29, 29, 0.658);
    backdrop-filter: blur(7px);
    border-bottom: 1px solid var(--color-border);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: var(--spacing-xs) 0;
}

.logo-img {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
}
h1,h2 {
  font-weight: 300;
}
.nav-cta {
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    background-color: var(--color-primary);
    color: var(--color-text);
    border: 0;
}

.nav-cta:hover {
    border-top: 3px solid var(--color-primary);
    border-right: 3px solid var(--color-primary);
    background-color: transparent;
}

/* HERO */
.hero {
  justify-items: center;
  height: 100vh;
  width: 100%;
  padding: 80px 60px;
  background-image: url(../assets/background.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  align-content: center;
}
.hero-content{
  justify-items: center;
}
.hero-content h1 {
  width: 100%;
  font-size: 50px;
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero-content p {
  max-width: 520px;
  font-size: 18px;
  color: #b0b0b0;
  text-align: center;
}

button {
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.primary {
  background: #5200ff;
  color: white;
}

.secondary {
  background: transparent;
  border: 1px solid #5200ff;
  color: #5200ff;
}
/* PLATFORM */
.platform {
  padding: 100px 60px;
}

.platform h2 {
  font-size: 36px;
  margin-bottom: 50px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  z-index: 100;
}

.card {
  border: 1px solid #1a1a1a;
  padding: 30px;
  background: linear-gradient(180deg, #0c0c0c, #090909);
}

.card span {
  color: #5200ff;
  font-weight: 700;
}

.card h3 {
  margin: 15px 0;
}

.card p {
  color: #9a9a9a;
  font-size: 14px;
}

/* DATA STRIP */
.data-strip-div {
  height: fit-content;
  justify-items: center;
  width: 100%;
  padding: 90px;
  border: 1px solid #1a1a1a;
}
.data-strip-div h1{
  margin-bottom: 50px;
}
.data-strip {
  font-size: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.data-item {
  padding: 40px;
  text-align: center;
  border: 1px solid #1a1a1a;
  background-color: var(--color-bg);
}

.data-item h3 {
  color: #5200ff;
  font-size: 28px;
}

/* DATAFLOW MAP */
.dataflow-map {
  position: relative;
  padding: 80px 0;
  background: #090909;
  justify-items: center;
}
.dataflow-map h2 {
  margin-bottom: 30px;
  text-align: center;
  padding: 10px;
}
.dataflow-map p {
  max-width: 800px;
  text-align: center;
  color: #b0b0b0;
  margin-top: 20px;
}
.map-container {
  position: relative;
  width: 90%;
  height: 520px; /* REQUIRED */
  overflow: hidden;
  display: flex;
  margin-left: 0;
  margin-right: 0;
  border: 1px solid var(--color-border);
  padding: 10px;
}

.map-camera {
  position: absolute;
  inset: 0;
}

.app-wrapper {
  position: absolute;
  inset: 0;
}

.app-wrapper canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.dg.a {
  display: none;
}
/* FOOTER */
.footer {
    padding: 3rem 0 2rem;
    background-color: var(--color-surface-dark);
    border-top: 1px solid var(--color-border);
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    pointer-events: none;
}

.footer-logo {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.brand-image {
    height: 1.8em;
    width: auto;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.footer-info {
    display: flex;
    flex-direction: column; /* stack items vertically */
    align-items: center;    /* center horizontally (optional) */
    gap: var(--spacing-sm); /* space between copyright and links */
}

.copyright {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-primary);
}

@media (min-width: 1440px) {
  .hero-content h1 {
    font-size: 56px;
  }

  .platform {
    padding: 120px 120px;
  }

  .map-container {
    height: 600px;
  }
}

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

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

  .hero {
    padding: 80px 40px;
  }
}

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 42px;
    text-align: center;
  }

  .hero-content p {
    text-align: center;
  }

  .platform {
    padding: 80px 40px;
  }

  .platform h2 {
    text-align: center;
  }

  .map-container {
    width: 100%;
    height: 420px;
  }
}

@media (max-width: 600px) {
  /* NAV */
  .navbar {
    padding: 12px 0;
  }

  .logo-img {
    height: 18px;
  }

  /* HERO */
  .hero {
    height: 100vh;
    padding: 120px 20px 80px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 16px;
  }

  /* PLATFORM */
  .platform {
    padding: 60px 20px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  /* DATA STRIP */
  .data-strip-div {
    padding: 60px 20px;
  }

  .data-strip {
    grid-template-columns: 1fr;
  }

  .data-item {
    padding: 30px 20px;
  }

  /* MAP */
  .dataflow-map {
    padding: 60px 10px;
  }

  .map-container {
    height: 320px;
  }

  /* FOOTER */
  .footer-links {
    gap: var(--spacing-sm);
  }
}

@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 30px;
  }

  .map-container {
    height: 260px;
  }
}