:root {
  --bg: #050816;
  --bg-soft: #0b1020;
  --card: #10172a;
  --border: #1f2937;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.1);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
  --max-width: 1080px;
  /* Added a variable for standard spacing to help with clutter */
  --spacing-standard: 32px; 
}

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

html,
body {
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--text);
  /* Using the Inter font we added in the HTML */
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  scroll-behavior: smooth;
  line-height: 1.6;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }

/* LAYOUT */

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

.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 72px;
  flex: 1;
}

/* NAVBAR */

.nav {
  /* Kept original styling but added flex centering for container */
  display: flex;
  justify-content: center;
  padding: 12px 24px;
  margin: 12px auto 0;
  max-width: var(--max-width);
  backdrop-filter: blur(14px);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
  position: sticky;
  top: 10px;
  z-index: 20;
}

/* Added container styling to align contents */
.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* small logo in navbar */
.nav-logo-link {
  display: inline-flex;
  align-items: center;
}

.nav-logo {
  height: 28px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  background: rgba(0,0,0,0.2);
  padding: 4px;
  border-radius: 99px;
  border: 1px solid var(--border);
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text);
}

.nav-cta {
  display: flex;
  gap: 10px;
}

/* BUTTONS */

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
  color: white;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
  transform: translateY(-2px);
}

/* HERO / HEADERS */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 48px; /* Increased gap to reduce clutter */
  margin-top: 48px;
  align-items: center;
}

.hero-left-subtitle {
  font-size: 13px;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-gradient {
  background: linear-gradient(120deg, #60a5fa, #a855f7, #ec4899);
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-text {
  font-size: 16px;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 32px;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

/* BIG HERO LOGO (home page) */
.hero-logo {
  text-align: center;
  padding-bottom: 32px;
}

.hero-logo-img {
  width: 320px;
  max-width: 90%;
  object-fit: contain;
}

/* PANELS / CARDS */

.hero-right,
.panel {
  background: radial-gradient(circle at top right, #1e3a8a 0, #020617 60%, #000 100%);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow);
  padding: 32px; /* Increased padding */
  position: relative;
  overflow: hidden;
}

.hero-card,
.stat-card {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 20px 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13px;
}

.hero-card-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}

.hero-stat {
  font-size: 28px;
  font-weight: 700;
  color: white;
}

.hero-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-tag {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: rgba(30, 64, 175, 0.3);
}

.hero-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-small-card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 12px;
}
.hero-small-card div:first-child { font-weight: 600; font-size: 13px; margin-bottom: 6px; color: white;}

/* GENERIC SECTIONS */

section {
  margin-top: 100px; /* Increased section spacing */
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.5);
}
section:last-of-type { border-bottom: none; }

.section-header {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a5b4fc;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.section-text {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px; /* Increased gap */
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px; /* Increased padding */
  box-shadow: var(--shadow);
  font-size: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
}

.card-title {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 18px;
  color: white;
}

.card-pill {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.15);
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 16px !important;
}

/* SPLIT LAYOUTS */

.split-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px; /* Increased gap */
  align-items: start;
}

.muted-block {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.split-list {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
  list-style: none;
}

.split-list li {
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bullet {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 999px;
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
  margin-top: 8px;
}

/* CONTACT FORM STYLE */

.form-card {
  background: var(--card);
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 40px; /* Increased padding */
  box-shadow: var(--shadow);
}


/* FOOTER */

footer {
  margin-top: auto;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(11, 16, 32, 0.8);
  padding: 40px 0;
}

/* Added container styling for footer alignment */
.footer-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
    display: flex; gap: 24px; flex-wrap:wrap;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a:hover { color: white; }

/* EMAIL & PHONE LINKS */
a[href^="mailto:"]:not(.btn),
a[href^="tel:"]:not(.btn) {
  color: #93c5fd; /* Brighter blue for better dark mode contrast */
  text-decoration: none;
  font-weight: 500;
}

a[href^="mailto:"]:not(.btn):hover,
a[href^="tel:"]:not(.btn):hover {
  color: #bfdbfe;
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px; text-align: center;
  }
  .hero-left-subtitle, .hero-text, .hero-actions, .hero-meta, .section-header { margin-left: auto; margin-right: auto; }
  .hero-right { order: -1; }

  .grid-3, .split-2 { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .shell { padding: 24px 20px 56px; }
  .hero { margin-top: 32px; }
  .hero-title { font-size: 36px; }
  .nav { padding: 10px 16px; border-radius: 16px; }
  .nav-cta .btn-secondary { display: none; } /* Hide one btn on small mobile */
  
  .hero-actions, .footer-container { flex-direction: column; align-items: center; text-align: center; }
  .hero-actions .btn { width: 100%; }
  .footer-links { justify-content: center; }
}