@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #06090F;
  --bg-2: #0C1220;
  --panel: rgba(15,23,42,0.7);
  --panel-solid: #0F172A;
  --panel-2: #111B2E;
  --panel-3: #1A2744;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.10);
  --border-hover: rgba(34,197,94,0.3);
  --text: #F1F5F9;
  --text-secondary: #CBD5E1;
  --muted: #64748B;
  --green: #22C55E;
  --green-2: #10B981;
  --green-dim: rgba(34,197,94,0.08);
  --green-glow: rgba(34,197,94,0.15);
  --green-hover: #16A34A;
  --amber: #FBBF24;
  --amber-dim: rgba(251,191,36,0.08);
  --red: #EF4444;
  --red-dim: rgba(239,68,68,0.08);
  --blue: #3B82F6;
  --blue-dim: rgba(59,130,246,0.08);
  --purple: #A78BFA;
  --purple-dim: rgba(167,139,250,0.08);
  --gradient-green: linear-gradient(135deg, #22C55E 0%, #10B981 100%);
  --gradient-dark: linear-gradient(180deg, #0C1220 0%, #06090F 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  --glass: rgba(15,23,42,0.6);
  --glass-border: rgba(255,255,255,0.08);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.25);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 40px rgba(34,197,94,0.08);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: radial-gradient(ellipse at 50% 0%, rgba(34,197,94,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* ---- NAV ---- */
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(6,9,15,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 100;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo a { display: flex; align-items: center; gap: 8px; }

.logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(34,197,94,0.5);
  animation: dot-pulse 3s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 20px rgba(34,197,94,0.7); }
}

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--green); background: var(--green-dim); font-weight: 600; }

.nav-cta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
}

.mobile-menu.show { display: block; }

.mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: var(--panel-solid);
  border-left: 1px solid var(--border);
  padding: 24px;
  overflow-y: auto;
}

.mobile-menu-close { display: flex; justify-content: flex-end; margin-bottom: 20px; }

.mobile-menu-close button {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.mobile-menu-links { display: flex; flex-direction: column; gap: 2px; }

.mobile-menu-links a {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--muted);
  transition: all var(--transition);
}

.mobile-menu-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.mobile-menu-links a.active { color: var(--green); background: var(--green-dim); }

.mobile-menu-cta { display: flex; gap: 8px; margin-top: 20px; }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  .nav { padding: 0 16px; gap: 12px; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 40px 36px;
  margin-top: 100px;
  background: var(--bg-2);
}

.footer-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.82rem; line-height: 1.7; max-width: 300px; }

.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--green); }

.footer-bottom {
  width: 100%;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--green); color: var(--green); background: var(--green-dim); }

@media (max-width: 768px) {
  .footer { padding: 40px 16px 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--border-light); }

/* ---- PAGE HEADER ---- */
.page-header {
  padding: 48px 0 32px;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 640px;
  line-height: 1.7;
}

/* ---- SECTION ---- */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--border); }

.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.section-head p { color: var(--muted); font-size: 0.88rem; }

/* ---- UTILITIES ---- */
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.hidden { display: none !important; }