:root {
  --bg: #0b1020;
  --bg-soft: #121a2d;
  --card: rgba(18, 25, 42, 0.9);
  --primary: #f59e0b;
  --primary-strong: #d97706;
  --secondary: #7c3aed;
  --text: #edf2ff;
  --muted: #b7c0d8;
  --line: rgba(183, 192, 216, 0.14);
  --success: #34d399;
  --shadow: 0 24px 60px rgba(7, 10, 18, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #090d19 0%, #101a2d 100%);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 16, 32, 0.7);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 800;
}

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

nav a:hover,
nav a.active {
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: white;
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.28);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero {
  padding: 90px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: #c4b5fd;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  max-width: 660px;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 18px;
  max-width: 620px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin-top: 30px;
}

.mini-stats li {
  min-width: 145px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
}

.mini-stats strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.profile-card {
  width: min(420px, 100%);
  background: linear-gradient(180deg, rgba(28, 39, 61, 0.98), rgba(16, 22, 35, 0.96));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.avatar {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.profile-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.profile-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.profile-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.profile-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.profile-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.2rem;
}

.section {
  padding: 90px 0;
}

.alt-bg {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.split h2,
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.split p,
.section-heading p,
.service-card p,
.showcase-card p,
.footer p,
.footer li {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 32px;
}

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

.service-card,
.showcase-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px;
}

.icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(124, 58, 237, 0.18));
  font-weight: 800;
}

.service-card h3,
.showcase-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pill {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #facc15;
  margin-bottom: 18px;
}

.cta-band {
  padding-bottom: 80px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(124, 58, 237, 0.12));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px 28px;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.footer {
  padding: 34px 0 64px;
  border-top: 1px solid var(--line);
  background: rgba(11, 16, 32, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer h4 {
  margin-bottom: 12px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .card-grid,
  .project-showcase,
  .footer-grid,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .mini-stats {
    flex-direction: column;
  }

  .hero {
    padding-top: 60px;
  }
}
