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

:root {
  --bg-deep: #0a0e17;
  --bg-card: rgba(15, 23, 42, 0.72);
  --border: rgba(148, 163, 184, 0.12);
  --text: #94a3b8;
  --text-strong: #f1f5f9;
  --muted: #64748b;
  --accent: #ff9900;
  --accent-soft: rgba(255, 153, 0, 0.12);
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.1);
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  position: relative;
  overflow-x: hidden;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 23, 0.75);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-strong);
  text-decoration: none;
  letter-spacing: -0.04em;
}

.logo-accent {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  padding: 4rem 1.5rem 5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  pointer-events: none;
}

.orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.orb-a {
  width: 320px;
  height: 320px;
  background: var(--accent);
  top: -80px;
  right: 10%;
  animation: float 12s ease-in-out infinite;
}

.orb-b {
  width: 280px;
  height: 280px;
  background: var(--cyan);
  bottom: 0;
  left: -60px;
  animation: float 14s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, 30px);
  }
}

.hero-inner {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin: 0 0 1.25rem;
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin: 0 0 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 2rem;
  max-width: 640px;
}

.accent-num {
  color: var(--accent);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e88b00);
  color: #0a0e17;
  box-shadow: 0 8px 24px rgba(255, 153, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 153, 0, 0.35);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-strong);
  background: var(--bg-card);
}

.btn-ghost:hover {
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--cyan);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-chips li {
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--muted);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-strong);
  font-family: var(--mono);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill-card {
  padding: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(
    160deg,
    rgba(15, 23, 42, 0.9),
    rgba(10, 14, 23, 0.95)
  );
  border: 1px solid var(--border);
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.skill-card:hover {
  border-color: rgba(255, 153, 0, 0.35);
  transform: translateY(-4px);
}

.skill-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.skill-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--text-strong);
}

.skill-tagline {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--cyan);
  margin: 0 0 0.75rem;
}

.skill-detail {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--border);
  margin-left: 0.5rem;
}

.timeline li {
  position: relative;
  padding: 0 0 2rem 1.75rem;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text-strong);
}

.timeline p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.section-contact {
  padding-bottom: 4rem;
}

.contact-card {
  padding: 2.5rem;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    var(--accent-soft),
    var(--cyan-soft)
  );
  border: 1px solid var(--border);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact-card h2 {
  margin: 0 0 0.75rem;
}

.contact-card p {
  margin: 0 0 1.5rem;
  color: var(--text);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.contact-pill {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text-strong);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.85rem;
  transition: border-color 0.2s;
}

.contact-pill:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .nav {
    gap: 0.85rem;
    font-size: 0.8rem;
  }

  .header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}