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

:root {
  /* Color Palette */
  --color-carbon-black: #080A0C;
  --color-graphite: #14171A;
  --color-yellow: #FFD000;
  --color-white: #F5F4EF;
  --color-grey: #9A9EA3;
  --color-border: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --spacing-section: 120px;
  --container-width: 1200px;
}

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

body {
  background-color: var(--color-carbon-black);
  color: var(--color-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  color: var(--color-grey);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: var(--spacing-section) 0;
  position: relative;
}

.text-yellow {
  color: var(--color-yellow);
}

.text-white {
  color: var(--color-white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--color-yellow);
  color: var(--color-carbon-black);
}

.btn-primary:hover {
  background-color: #e6bc00;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 208, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--color-yellow);
  color: var(--color-yellow);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(8, 10, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: auto;
  max-height: 55px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-yellow);
  transition: width 0.3s ease;
}

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

.nav-links a.active {
  color: var(--color-yellow);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-carbon-black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-overlay a {
  font-family: var(--font-heading);
  font-size: 2rem;
}

/* Footer */
.footer {
  background-color: var(--color-graphite);
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--color-border);
}

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

.footer-brand h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 300px;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--color-yellow);
}

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

.bbbee-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-family: var(--font-heading);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  :root {
    --spacing-section: 80px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Fine Grid Lines Background */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  z-index: -1;
  pointer-events: none;
}

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

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

/* Global Network Section */
.network-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 4rem;
}

@media (max-width: 1024px) {
  .network-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

.network-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.network-card:hover {
  border-color: var(--color-yellow);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 208, 0, 0.05);
}

.network-card-icon {
  background: rgba(255, 208, 0, 0.1);
  border: 1.5px solid var(--color-yellow);
  color: var(--color-yellow);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-card-icon svg {
  width: 20px;
  height: 20px;
}

.network-card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-grey);
}

.network-card-text strong {
  color: var(--color-white);
}

.network-map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2/1;
  background: radial-gradient(circle, rgba(255,208,0,0.02) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-svg {
  width: 100%;
  height: auto;
  color: rgba(255, 255, 255, 0.08);
}

/* Map Pins */
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.pin-dot {
  width: 8px;
  height: 8px;
  background-color: #ff3b30;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px #ff3b30;
}

.pin-pulse {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  border: 2px solid #ff3b30;
  border-radius: 50%;
  opacity: 0;
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pin-label {
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  white-space: nowrap;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Global Form Controls & Select Options */
select.form-control,
select {
  background-color: var(--color-carbon-black);
  color: var(--color-white);
}

select option {
  background-color: #080A0C !important;
  color: #F5F4EF !important;
  padding: 0.75rem 1rem;
}

select option:disabled {
  color: #71767b !important;
}
