:root {
  --color-bg: #0b0b0c;
  --color-surface: #141416;
  --color-text: #f5f5f7;
  /* near-black — used as body text on light-background pages (e.g. About) */
  --color-text-dark: #1d1d1f;
  --color-text-muted: #9a9aa1;
  --color-border: #2f2f33;
  --color-accent: #2997ff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;

  --shadow-1: 0 8px 24px rgba(0, 0, 0, 0.22);
  --layout-container: 980px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(100% - 2rem, var(--layout-container));
  margin-inline: auto;
}

.section {
  padding-block: 20px;
}

.grid-2 {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.navbar {
  display: flex;
  position: sticky;
  top: 16px;
  z-index: 100;
  width: fit-content;
  margin: 0 auto 32px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.nav-link {
  font-size: 14px;
  padding: 6px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.5s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.text-muted {
  color: var(--color-text-muted);
}

.center {
  text-align: center;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.gradient-text {
  background: linear-gradient(90deg, #fff, #86868b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.gradient-text--blue {
  background: linear-gradient(135deg, #0071e3 0%, #42a5f5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-clip {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #1d1d1f 0%, #555557 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 1rem 0;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .font-clip {
    font-size: 3.5rem;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-home {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
  pointer-events: none;
}

.greeting {
  font-size: 20px;
  color: var(--color-text-muted);
  font-family: monospace;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.main-headline {
  font-size: clamp(48px, 10vw, 100px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 16px;
  animation: fadeUp 1s ease-out 0.4s backwards;
}

.sub-headline {
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  animation: fadeUp 1s ease-out 0.6s backwards;
}

.description {
  max-width: 500px;
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 60px;
  animation: fadeUp 1s ease-out 0.8s backwards;
}

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-secondary {
  border-color: var(--color-border);
  color: var(--color-text);
  background-color: transparent;
}

.cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 1s ease-out 1s backwards;
}

.arrow {
  transition: transform 0.3s ease;
}

.btn-secondary:hover .arrow {
  transform: translateX(4px);
}

.footer {
  text-align: center;
  padding: 30px 20px;
  color: #424245;
  font-size: 12px;
  background-color: #0a0a0c;
  margin-top: auto;
}
