﻿:root {
  --bg: #0f1216;
  --bg-soft: #151a20;
  --card: #1b232c;
  --accent: #f0b429;
  --accent-2: #3aaed8;
  --text: #f7f3ea;
  --muted: #c7c1b5;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #1d2b3a 0%, #0f1216 45%, #0c0f12 100%);
  line-height: 1.7;
  font-size: 17px;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.hero {
  padding: 16px 8vw 36px;
  min-height: 30vh;
  box-sizing: border-box;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 16px;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 15px;
  position: relative;
}

.links a:hover {
  color: var(--text);
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.links a:hover::after {
  width: 100%;
}

.hero-content {
  margin-top: 24px;
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--accent-2);
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 52px);
  margin: 10px 0 16px;
}

.subtitle {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 22px;
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #f5d061);
  color: #1b1b1b;
  box-shadow: 0 12px 30px rgba(240, 180, 41, 0.3);
}

.btn.ghost {
  border: 1px solid #2f3944;
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary:hover {
  box-shadow: 0 16px 36px rgba(240, 180, 41, 0.4);
}

.btn.ghost:hover {
  box-shadow: 0 10px 24px rgba(15, 18, 22, 0.5);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.hero-stats > div {
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(27, 35, 44, 0.9), rgba(21, 26, 32, 0.9));
  border: 1px solid rgba(58, 174, 216, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-stats > div:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 180, 41, 0.5);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.hero-stats strong {
  font-size: 22px;
  display: block;
}

.hero-stats span {
  color: var(--muted);
  font-size: 14px;
}

main {
  padding: 0 8vw 80px;
}

.section {
  margin-top: 48px;
}

.hero + main .section:first-child {
  margin-top: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}

.section-header h2 {
  margin: 0;
}

.rule {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(240, 180, 41, 0.7), rgba(58, 174, 216, 0.1));
}

.section h2 {
  font-size: 32px;
  margin-bottom: 0;
}

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

.bullet-card {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid #202833;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 17px;
}

.bullet-list li {
  margin-bottom: 12px;
}

.highlight-card {
  border: 1px solid rgba(240, 180, 41, 0.2);
  background: linear-gradient(140deg, rgba(27, 35, 44, 0.9), rgba(21, 26, 32, 0.8));
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 20px 40px var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card h3 {
  margin-top: 0;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45);
}

.meta {
  margin-top: 12px;
  color: var(--accent-2);
  font-size: 14px;
}

.project-card .meta {
  margin-bottom: 14px;
}

.btn.small {
  padding: 8px 14px;
  font-size: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chips span {
  padding: 8px 14px;
  border-radius: 20px;
  background: #222c36;
  border: 1px solid #2e3a46;
  font-size: 15px;
}

.stack-table {
  background: var(--bg-soft);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #202833;
}

.stack-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid #222a33;
  color: var(--muted);
  font-size: 16px;
}

.stack-row.head {
  background: #1b232c;
  font-weight: 700;
  color: var(--text);
  border-top: none;
}

.stack-row div:first-child {
  font-weight: 600;
  color: var(--text);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #222a33;
  font-size: 16px;
}

.time {
  color: var(--accent);
  font-weight: 700;
}

.contact-card {
  background: var(--bg-soft);
  padding: 24px;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 17px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cert-item {
  background: var(--card);
  padding: 16px 18px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #242f3a;
  font-size: 16px;
}

.cert-item em {
  color: var(--accent-2);
  font-style: normal;
  font-weight: 600;
}

.footer {
  padding: 32px 8vw 40px;
  color: var(--muted);
  font-size: 15px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.section,
.card {
  animation: fade-up 0.8s ease both;
}

.section:nth-of-type(2) { animation-delay: 0.05s; }
.section:nth-of-type(3) { animation-delay: 0.1s; }
.section:nth-of-type(4) { animation-delay: 0.15s; }
.section:nth-of-type(5) { animation-delay: 0.2s; }
.section:nth-of-type(6) { animation-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .section,
  .card {
    animation: none;
  }

  .btn,
  .card {
    transition: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .links {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .stack-row {
    grid-template-columns: 1fr;
  }
}
