/* ── SiliconVallAI Global Stylesheet ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Syne:wght@700;800&display=swap');

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

:root {
  --bg: #0e0f13;
  --surface: #16181f;
  --surface2: #1e2029;
  --border: rgba(255,255,255,0.07);
  --border-hi: rgba(255,255,255,0.14);
  --text: #f0f0f4;
  --muted: #8b8d99;
  --faint: #4a4c58;

  --cyan: #00d4c8;
  --cyan-dim: rgba(0,212,200,0.12);
  --amber: #f5a623;
  --amber-dim: rgba(245,166,35,0.12);
  --rose: #ff5f7e;
  --rose-dim: rgba(255,95,126,0.12);
  --violet: #a78bfa;
  --violet-dim: rgba(167,139,250,0.12);
  --green: #4ade80;
  --green-dim: rgba(74,222,128,0.12);
  --blue: #60a5fa;
  --blue-dim: rgba(96,165,250,0.12);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,15,19,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 58px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; gap: 8px;
}

.logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:0.6;transform:scale(0.85)}
}

.nav-links {
  display: flex; gap: 1.5rem;
  list-style: none; align-items: center;
}

.nav-links a {
  font-size: 13.5px; font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--cyan); }

.nav-cta {
  background: var(--cyan) !important;
  color: #0e0f13 !important;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85 !important; color: #0e0f13 !important; }

/* ── PAGE WRAPPER ── */
.page { max-width: 1200px; margin: 0 auto; padding: 0 2rem 4rem; }

/* ── SECTION HEADER ── */
.section-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1.3rem;
}
.section-link {
  margin-left: auto; font-size: 13px;
  color: var(--muted); font-weight: 500;
}
.section-link:hover { color: var(--cyan); }

/* ── CATEGORY PILLS ── */
.cat-pill {
  display: inline-block;
  font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
}
.cat-models { background: var(--cyan-dim); color: var(--cyan); }
.cat-infra  { background: var(--violet-dim); color: var(--violet); }
.cat-apps   { background: var(--amber-dim); color: var(--amber); }
.cat-policy { background: var(--rose-dim); color: var(--rose); }
.cat-funding{ background: var(--green-dim); color: var(--green); }
.cat-tools  { background: var(--blue-dim); color: var(--blue); }
.cat-agents { background: rgba(245,166,35,0.12); color: #f5a623; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--cyan); color: #0e0f13;
  font-weight: 600; font-size: 14px;
  padding: 10px 22px; border-radius: 24px;
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: transform 0.15s, opacity 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-secondary {
  background: transparent; color: var(--text);
  font-weight: 500; font-size: 14px;
  padding: 10px 22px; border-radius: 24px;
  border: 1px solid var(--border-hi); cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: var(--surface); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ── AD BANNER ── */
.ad-banner {
  background: linear-gradient(135deg, #1a1c24, #1e2029);
  border: 1px solid var(--border-hi); border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 2.5rem;
}
.ad-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.ad-copy { font-size: 14px; font-weight: 500; }
.ad-copy span { color: var(--amber); }
.ad-btn {
  background: var(--amber); color: #0e0f13;
  font-weight: 600; font-size: 13px;
  padding: 8px 18px; border-radius: 20px;
  border: none; cursor: pointer; white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s;
}
.ad-btn:hover { opacity: 0.85; }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem; text-align: center;
  position: relative; overflow: hidden; margin-bottom: 2.5rem;
}
.newsletter::before {
  content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(circle, rgba(0,212,200,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.nl-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.6rem; margin-bottom: 0.5rem; }
.nl-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 1.5rem; }
.nl-form { display: flex; gap: 10px; max-width: 400px; margin: 0 auto; }
.nl-input {
  flex: 1; background: var(--bg); border: 1px solid var(--border-hi);
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 14px;
  padding: 10px 16px; border-radius: 24px; outline: none; transition: border-color 0.2s;
}
.nl-input:focus { border-color: var(--cyan); }
.nl-input::placeholder { color: var(--faint); }
.nl-btn {
  background: var(--cyan); color: #0e0f13; font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 24px; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: opacity 0.2s; white-space: nowrap;
}
.nl-btn:hover { opacity: 0.85; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border); padding: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: 7px; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--faint); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.page-hero-eyebrow {
  font-size: 11.5px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600; margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 8px;
}
.page-hero-eyebrow::before {
  content: ''; display: inline-block; width: 24px; height: 1.5px; background: var(--cyan);
}
.page-hero-title {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.4rem;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.page-hero-sub { color: var(--muted); font-size: 1rem; max-width: 520px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.45s ease both; }
.fade-up-2 { animation: fadeUp 0.45s 0.1s ease both; }
.fade-up-3 { animation: fadeUp 0.45s 0.2s ease both; }

/* ── PAGE INTRO STRIP ── */
.intro-strip {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 2rem; font-size: 13.5px; color: var(--muted);
}
.intro-strip strong { color: var(--text); }

/* ── SEARCH BAR ── */
.search-wrap {
  position: relative; max-width: 480px;
}
.search-input {
  width: 100%; background: var(--surface); border: 1px solid var(--border-hi);
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 14px;
  padding: 10px 16px 10px 40px; border-radius: 24px; outline: none;
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--cyan); }
.search-input::placeholder { color: var(--faint); }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--faint); font-size: 15px; pointer-events: none;
}

/* ── SHIMMER LOADING ── */
@keyframes shimmer {
  0%   { opacity: 1; }
  50%  { opacity: 0.5; }
  100% { opacity: 1; }
}
