/* Ported verbatim from the original static index.html <style> block. */

/* ── Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  background: #0D1117;
  color: #E0E2E5;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #090D13; }
::-webkit-scrollbar-thumb { background: #333C4E; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #1A73B8; }

/* ── Backgrounds ──────────────────────────────────────── */
.bg-grid {
  background-image:
    linear-gradient(rgba(26,115,184,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,115,184,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}
.bg-dots {
  background-image: radial-gradient(circle, rgba(26,115,184,0.18) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ── Animations ───────────────────────────────────────── */
@keyframes floatY {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-18px) scale(1.04); }
}
@keyframes floatY2 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-24px); }
}
@keyframes softPulse {
  0%,100% { opacity:.5; }
  50%     { opacity:1; }
}
@keyframes slideUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}

.anim-up     { animation: slideUp .8s cubic-bezier(.16,1,.3,1) both; }
.anim-up-1   { animation: slideUp .8s cubic-bezier(.16,1,.3,1) .15s both; }
.anim-up-2   { animation: slideUp .8s cubic-bezier(.16,1,.3,1) .30s both; }
.anim-up-3   { animation: slideUp .8s cubic-bezier(.16,1,.3,1) .45s both; }
.anim-fade   { animation: fadeIn 1.1s ease .5s both; }
.anim-float  { animation: floatY 9s ease-in-out infinite; }
.anim-float2 { animation: floatY2 11s ease-in-out infinite 1.5s; }
.anim-pulse  { animation: softPulse 3.5s ease-in-out infinite; }

/* ── Navbar ───────────────────────────────────────────── */
.navbar {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9,13,19,.88);
  border-bottom: 1px solid rgba(26,115,184,.12);
}
.nav-link {
  position: relative;
  color: #8A939E;
  font-size: .8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: #35C88E;
  transition: width .3s cubic-bezier(.16,1,.3,1);
}
.nav-link:hover { color: #E0E2E5; }
.nav-link:hover::after { width: 100%; }

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1A73B8, #1260A0);
  border: 1px solid rgba(42,143,216,.35);
  box-shadow: 0 4px 20px rgba(26,115,184,.28);
  border-radius: .6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .07em;
  color: #fff;
  text-transform: uppercase;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2A8FD8, #1A73B8);
  box-shadow: 0 8px 32px rgba(26,115,184,.45);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(224,226,229,.2);
  border-radius: .6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .07em;
  color: #E0E2E5;
  text-transform: uppercase;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.btn-ghost:hover {
  border-color: rgba(26,115,184,.55);
  background: rgba(26,115,184,.1);
  transform: translateY(-2px);
}

/* ── Cards ────────────────────────────────────────────── */
.card {
  background: linear-gradient(135deg, rgba(30,37,48,.95) 0%, rgba(22,27,38,.95) 100%);
  border: 1px solid rgba(26,115,184,.18);
  border-radius: 1.1rem;
  transition: all .35s cubic-bezier(.16,1,.3,1);
}
.card:hover {
  border-color: rgba(26,115,184,.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(26,115,184,.14), 0 0 0 1px rgba(26,115,184,.18);
}
.card-green {
  background: linear-gradient(135deg, rgba(26,35,24,.95) 0%, rgba(19,26,16,.95) 100%);
  border: 1px solid rgba(53,200,142,.22);
}
.card-green:hover {
  border-color: rgba(53,200,142,.5);
  box-shadow: 0 20px 56px rgba(53,200,142,.1), 0 0 0 1px rgba(53,200,142,.18);
}

/* ── Section label ────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #35C88E;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: #35C88E;
  flex-shrink: 0;
}

/* ── Stat numbers ─────────────────────────────────────── */
.stat-num {
  background: linear-gradient(135deg, #E0E2E5 30%, #1A73B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
}

/* ── Form inputs ──────────────────────────────────────── */
.form-input {
  width: 100%;
  background: rgba(22,27,38,.85);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: .65rem;
  padding: .75rem 1rem;
  color: #E0E2E5;
  font-family: 'Roboto', sans-serif;
  font-size: .85rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder { color: rgba(138,147,158,.45); }
.form-input:focus {
  outline: none;
  border-color: rgba(26,115,184,.55);
  box-shadow: 0 0 0 3px rgba(26,115,184,.1);
}
select.form-input option { background: #1E2530; }

/* ── Misc ─────────────────────────────────────────────── */
.section-pt { padding-top: 96px; }
.section-pb { padding-bottom: 96px; }
.gradient-text {
  background: linear-gradient(135deg, #E0E2E5 20%, #1A73B8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.green-text {
  background: linear-gradient(135deg, #35C88E, #28A874);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.divider { border-top: 1px solid rgba(255,255,255,.055); }

/* Mobile menu */
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; }

/* ── Blog (net-new, matches existing token system) ───── */
.blog-card {
  background: linear-gradient(135deg, rgba(30,37,48,.95) 0%, rgba(22,27,38,.95) 100%);
  border: 1px solid rgba(26,115,184,.18);
  border-radius: 1.1rem;
  transition: all .35s cubic-bezier(.16,1,.3,1);
  overflow: hidden;
}
.blog-card:hover {
  border-color: rgba(26,115,184,.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(26,115,184,.14), 0 0 0 1px rgba(26,115,184,.18);
}
.entry-content {
  font-family: 'Roboto', sans-serif;
  color: #E0E2E5;
  line-height: 1.85;
}
.entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: 'Montserrat', sans-serif;
  color: #E0E2E5;
  letter-spacing: -.02em;
}
.entry-content a { color: #1A73B8; }
.entry-content a:hover { color: #2A8FD8; }
.entry-content blockquote {
  border-left: 3px solid #35C88E;
  padding-left: 1.25rem;
  color: #8A939E;
}
.entry-content pre, .entry-content code {
  background: rgba(22,27,38,.85);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: .5rem;
}
