/* --- Root Variables & Theme --- */
:root {
  --primary-color: #0f4c81;       /* Deep Heritage Blue */
  --primary-glow: #1a73e8;
  --accent-color: #ff7034;        /* Vibrant Saffron/Energy */
  --dark-bg: #090e17;             /* Futuristic deep navy/black */
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --transition-speed: 0.3s;
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--dark-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Typography Helpers --- */
.gradient-text {
  background: linear-gradient(135deg, #ff7034 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #ea580c);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 112, 52, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 112, 52, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-main);
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* --- Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.brand-logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-speed);
}

.nav-links a:hover {
  color: #ffffff;
}

/* --- Hero Section --- */
.hero-section {
  padding: 8rem 0 5rem 0;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(26, 115, 232, 0.15), transparent 70%);
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* --- Stats Bar --- */
.stats-bar {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Section Utilities --- */
.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.bg-alt {
  background: rgba(255, 255, 255, 0.015);
}

/* --- Grid & Cards --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Global Connect Section / Form --- */
.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  color: #e5e7eb;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.join-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2.5rem;
  border-radius: 12px;
}

.join-form h3 {
  margin-bottom: 1.5rem;
}

.join-form input,
.join-form select {
  width: 100%;
  padding: 0.85rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  color: var(--text-main);
  font-family: inherit;
  outline: none;
}

.join-form input:focus,
.join-form select:focus {
  border-color: var(--primary-glow);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 3rem 0;
  background: #05080c;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  max-width: 400px;
}

.footer-right p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Responsive Styles --- */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .cta-box {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* Add JS hamburger menu for complex navigation */
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}