:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: #1f2937;
  --bg-card-hover: #374151;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  --border-color: #374151;
  --radius: 12px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-main);
}
.brand-img {
  height: 36px !important;
  width: 36px !important;
  max-height: 36px !important;
  max-width: 36px !important;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: inline-block;
  vertical-align: middle;
}
.brand-dot { color: var(--accent-amber); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-main); }

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-amber), #d97706);
  color: #0b0f19;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}
.btn-outline {
  border-color: var(--border-color);
  color: var(--text-main);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.05rem; }

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  color: var(--accent-emerald);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  max-width: 850px;
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: linear-gradient(135deg, #f59e0b, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* Stats Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 950px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.stat-card { display: flex; flex-direction: column; align-items: center; }
.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* Common Sections */
.section { padding: 5rem 0; }
.section-dark { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; }

/* Grid Layouts */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-single {
  max-width: 820px;
  margin: 0 auto;
}

/* Feature Cards */
.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-amber);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 1.2rem; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Project Cards */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
}
.project-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.project-card h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.project-meta { color: var(--accent-emerald); font-size: 0.9rem; font-weight: 600; margin-bottom: 1.2rem; }
.project-card p { color: var(--text-muted); margin-bottom: 1.5rem; }
.project-specs { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.project-specs li {
  font-size: 0.9rem;
  color: var(--text-main);
  padding-left: 1.5rem;
  position: relative;
}
.project-specs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: bold;
}

/* Architecture Node */
.arch-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 3rem 2rem;
}
.arch-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.arch-node {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1;
  text-align: center;
}
.arch-node.highlight { border-color: var(--accent-amber); }
.node-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.arch-node h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.arch-node p { font-size: 0.85rem; color: var(--text-muted); }
.arch-arrow { color: var(--text-muted); font-size: 1.5rem; }

/* Footer */
.footer {
  background: #080c14;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-desc { color: var(--text-muted); font-size: 0.95rem; margin: 1rem 0 0.5rem; max-width: 380px; }
.footer-location { color: var(--accent-amber); font-size: 0.9rem; font-weight: 500; }
.footer-col h4 { margin-bottom: 1.2rem; font-size: 1.05rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a, .footer-col span { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--text-main); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsiveness */
@media (max-width: 900px) {
  .hero-title { font-size: 2.2rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .arch-grid { flex-direction: column; }
  .arch-arrow { transform: rotate(90deg); margin: 0.5rem 0; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
}
