/* =========================
   RESET & BASE
========================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* =========================
   GLOBAL AI PCB / CIRCUIT BACKGROUND
========================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  color: var(--text-main);

  /* Base color + subtle gradient */
  background-color: #020617;
  background-image: radial-gradient(circle at 50% 50%, #0a132e 0%, #020617 100%);
}

/* Circuit overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%234facfe' stroke-width='0.5'%3E%3Cpath d='M0 20h20v20h20v20h20v20h20'/%3E%3Cpath d='M20 0v20h20v20h20v20h20v20'/%3E%3Ccircle cx='20' cy='20' r='1.5' fill='%234facfe'/%3E%3Ccircle cx='40' cy='40' r='1.5' fill='%234facfe'/%3E%3Ccircle cx='60' cy='60' r='1.5' fill='%234facfe'/%3E%3Ccircle cx='80' cy='80' r='1.5' fill='%234facfe'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 300px 300px;
  z-index: -1;
  pointer-events: none;
}

/* Large subtle glow */
body::after {
  content: "";
  position: fixed;
  top: 10%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(77, 166, 255, 0.04) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
}

/* =========================
   GLOBAL SECTION STYLING
========================= */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px 20px 24px; /* unified bottom spacing */
  text-align: center;        /* all titles centered */
}

/* Section Titles */
.section-title {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif !important;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.8px;
  text-transform: uppercase;
  margin: 0 0 20px 0; /* 3-4cm below header */
  color: var(--text-main);
}

/* Mobile Section Titles */
@media (max-width: 768px) {
  .section > .section-title {
    font-size: 30px;
    margin-bottom: 36px;
  }
}


/* =========================
   CARDS (Unified)
========================= */
.card, .glass-card, .stage-card, .ecosystem-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 4px solid #4facfe;
  border-radius: 16px;
  padding: 50px;
  box-shadow: -10px 0 20px rgba(79, 172, 254, 0.1), 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .glass-card:hover, .stage-card:hover, .ecosystem-card:hover {
  transform: translateY(-5px);
  border-left: 4px solid #00d4ff;
  box-shadow: -15px 0 30px rgba(0,212,255,0.25), 0 15px 40px rgba(0,0,0,0.4);
}

/* =========================
   HEADINGS
========================= */
h1,h2,h3,h4 {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: -0.6px;
  color: var(--text-main);
}

/* =========================
   LISTS
========================= */
ul { padding-left: 18px; margin-top: 20px; }
li { margin-bottom: 10px; color: var(--text-muted); }

/* =========================
   TABLES
========================= */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px; border-bottom: 1px solid var(--border-soft); font-family: 'Poppins', sans-serif; }
th { color: var(--text-muted); text-align: left; }

/* =========================
   BUTTONS
========================= */
button, .nav-btn-filled, .nav-btn-outline, .contact-btn {
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* =========================
   GLOBAL TOP PADDING FOR FIXED HEADER
========================= */
#app, main {
  padding-top: 1cm; /* ~150px for header offset */
}

/* Mobile adjustments for fixed header */
@media (max-width: 768px) {
  #app, main { padding-top: 0.5cm; }
}
@media (max-width: 480px) {
  #app, main { padding-top: 0.5cm; }
}

/* Ensure consistent space between last content and footer */
.section:last-of-type {
  padding-bottom: 60px; /* adjust as needed to match footer height + gap */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .section:last-of-type {
    padding-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .section:last-of-type {
    padding-bottom: 50px;
  }
}





