:root {
  --bg-main: #050816;
  --bg-alt: #0b1120;
  --card-bg: #0f172a;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.4);
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
  --max-width: 1120px;
  --transition-fast: 0.2s ease;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000000 100%);
  color: var(--text-main);
  font-family: var(--font-main);
}

/* Layout container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(135deg, rgba(15,23,42,0.75), rgba(15,23,42,0.15));
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--text-muted);
}

/* ============================= */
/*       HEADER + NAV BAR        */
/* ============================= */

.site-header {
  text-align: center;
  padding: 20px 0 10px;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Small centered logo */
.header-logo {
  width: 120px;
  max-width: 35%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Tagline */
.tagline {
  margin-top: 6px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  opacity: 0.75;
  font-style: italic;
}

/* Navigation bar */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Navigation card style */
.main-nav a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 0 0 transparent;
  transition: all 0.25s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Hover glow */
.main-nav a:hover {
  box-shadow: 0 0 12px rgba(249,115,22,0.55);
  border-color: rgba(249,115,22,0.6);
  transform: translateY(-2px);
}

/* Active (glowing orange outline) */
.main-nav a.active {
  border: 1px solid var(--accent);
  box-shadow: 0 0 14px rgba(249,115,22,0.65);
  background: rgba(249,115,22,0.15);
}

/* ============================= */
/*            HERO               */
/* ============================= */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0,3fr) minmax(0,2.4fr);
  gap: 2.5rem;
  align-items: stretch;
}

.hero-text h1 {
  font-size: clamp(2.4rem,4vw,3rem);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Hero card */
.hero-card {
  background: radial-gradient(circle at top left,
    rgba(249,115,22,0.18),
    rgba(15,23,42,0.98)
  );
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--shadow-soft);
}

/* ============================= */
/*            BUTTONS            */
/* ============================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #0b1120;
  box-shadow: 0 12px 28px rgba(249,115,22,0.45);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(249,115,22,0.55);
}

.btn.ghost {
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(148,163,184,0.5);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(15,23,42,0.95);
}

/* ============================= */
/*       CARDS & GRID LAYOUT     */
/* ============================= */

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 30px rgba(15,23,42,0.75);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr;
  gap: 1.75rem;
}

/* ============================= */
/*        TECH LAYOUT BLOCKS     */
/* ============================= */

.tech-layout {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

/* ============================= */
/*         TIMELINE STYLE        */
/* ============================= */

.timeline {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.timeline-item {
  border-left: 2px solid rgba(249,115,22,0.75);
  padding-left: 1rem;
}

/* ============================= */
/*          FOOTER STYLE         */
/* ============================= */

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #020617;
  padding: 1.5rem 0 2rem;
  text-align: center;
}

.footer-content {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================= */
/*         RESPONSIVE FIXES      */
/* ============================= */

@media (max-width: 900px) {

  .hero-content,
  .split,
  .grid-3,
  .tech-layout {
    grid-template-columns: 1fr;
  }

  .main-nav {
    gap: 10px;
  }
}
