:root {
  --bg: #0a0a0a;
  --card: #121212;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --border: #242424;
  --accent: #4f46e5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.4px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero {
  padding: 5rem 0 3rem;
}

.tag {
  display: inline-block;
  background: rgba(79, 70, 229, 0.16);
  color: #c7d2fe;
  border: 1px solid rgba(79, 70, 229, 0.35);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hero-text {
  max-width: 700px;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.section {
  padding: 2.2rem 0;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.section p {
  color: var(--muted);
}

.cards {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(79, 70, 229, 0.45);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 0.35rem;
}

.contact-grid {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact-grid svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.contact-grid a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.contact-grid a:hover {
  border-color: rgba(79, 70, 229, 0.55);
  color: #c7d2fe;
  transform: translateY(-1px);
}

.contact-grid a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 2rem;
}

.footer-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 62px;
  }

  .nav-links {
    gap: 0.8rem;
    font-size: 0.92rem;
  }
}
