:root {
  --bg: #07070a;
  --bg-soft: #10121a;
  --card: #ffffff;
  --line: rgba(255,255,255,0.12);
  --text: #f8fafc;
  --muted: rgba(248,250,252,0.8);
  --dark-text: #101828;
  --accent: #7c3aed;
  --accent-2: #06b6d4;
  --accent-3: #f43f5e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #f8fafc;
  color: var(--dark-text);
  line-height: 1.65;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: grid;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(124,58,237,0.28), transparent 28%),
              radial-gradient(circle at bottom right, rgba(6,182,212,0.22), transparent 30%),
              linear-gradient(135deg, #05070f 0%, #111827 48%, #06070a 100%);
  color: var(--text);
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.45;
}

.glow-a {
  width: 260px;
  height: 260px;
  background: var(--accent);
  top: 8%;
  left: 6%;
}

.glow-b {
  width: 300px;
  height: 300px;
  background: var(--accent-2);
  bottom: 4%;
  right: 8%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 5rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #c4b5fd;
}

.eyebrow.dark {
  color: var(--accent);
}

h1, h2, h3 {
  margin: 0 0 1rem;
  line-height: 1.05;
  font-family: 'Space Grotesk', sans-serif;
}

h1 {
  font-size: clamp(3.4rem, 9vw, 7rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  color: #fda4af;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  max-width: 760px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: white;
}

.btn-secondary {
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}

.full {
  width: 100%;
}

.section {
  padding: 5rem 0;
}

.alt {
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

.intro-grid,
.split-grid,
.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.quote-card,
.card,
.stack-card,
.bullet-card,
.contact-card {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.quote-card {
  background: linear-gradient(135deg, #0f172a, #312e81);
  color: white;
}

.quote-card p {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.94);
}

.quote-card span {
  color: rgba(255,255,255,0.7);
  font-weight: 700;
}

.section-title {
  max-width: 760px;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card p,
.section p,
.bullet-card li,
.contact-card p,
.stack-card p {
  color: #475467;
}

.dark-card {
  background: linear-gradient(135deg, #111827, #0f172a);
  color: white;
}

.dark-card p,
.dark-card .eyebrow {
  color: rgba(255,255,255,0.82);
}

.bullet-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.8rem;
}

@media (max-width: 900px) {
  .intro-grid,
  .split-grid,
  .contact-panel,
  .cards {
    grid-template-columns: 1fr;
  }
}
