:root {
  color-scheme: dark;
  font-family: "Inter", sans-serif;
  background: #030407;
  color: #f8fbff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #030407;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #030407;
  color: #f8fbff;
}

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

button {
  font: inherit;
}

::selection {
  background: rgba(103, 232, 249, 0.25);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #030407;
}

::-webkit-scrollbar-thumb {
  background: #20263a;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #67e8f9;
}

.font-display {
  font-family: "Space Grotesk", sans-serif;
}

.page {
  min-height: 100vh;
  overflow: hidden;
  background: #030407;
}

.background {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.background-main {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 102, 255, 0.08), transparent 35%),
    radial-gradient(circle at 82% 20%, rgba(0, 255, 255, 0.05), transparent 32%),
    linear-gradient(135deg, #030407 0%, #070913 52%, #030407 100%);
}

.soft-blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(64px);
  animation: soft-drift 18s ease-in-out infinite alternate;
}

.soft-blob.one {
  left: -8rem;
  top: 5rem;
  background: rgba(59, 130, 246, 0.055);
}

.soft-blob.two {
  right: -12rem;
  top: 9rem;
  width: 30rem;
  height: 30rem;
  background: rgba(103, 232, 249, 0.045);
  animation-delay: -8s;
  animation-duration: 24s;
}

.soft-grid {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 70%, transparent);
}

.floating-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  padding: 1rem;
  transform: translateY(var(--nav-y, 0px)) scale(calc(1 - var(--nav-progress, 0) * 0.035));
  transform-origin: center top;
  transition: transform 120ms linear;
  will-change: transform;
}

.floating-nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(80rem - var(--nav-progress, 0) * 10rem), calc(100vw - 2rem));
  margin: 0 auto;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  opacity: calc(1 - var(--nav-progress, 0) * 0.08);
  box-shadow:
    0 calc(18px + var(--nav-progress, 0) * 14px) calc(60px + var(--nav-progress, 0) * 30px) rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: width 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.glass-panel {
  background: rgba(7, 9, 16, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.065);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.072);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.glass-card:hover {
  border-color: rgba(160, 235, 255, 0.16);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38), 0 0 30px rgba(0, 102, 255, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass-button,
.glass-pill {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 700;
}

.brand-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: transparent;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav-button:hover,
.nav-button:focus-visible {
  border-color: rgba(207, 250, 254, 0.2);
  color: #fff;
}

.nav-contact {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav-contact:hover {
  border-color: rgba(207, 250, 254, 0.2);
  color: #fff;
}

.language-layer {
  position: relative;
  z-index: 10;
  transform-origin: center top;
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
  will-change: opacity, transform, filter;
}

.language-layer.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.language-layer.out {
  opacity: 0;
  transform: translateY(8px) scale(0.992);
  filter: blur(5px);
}

.container {
  width: min(80rem, calc(100vw - 3rem));
  margin: 0 auto;
}

.hero {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 6rem;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
  grid-template-columns: 1.06fr 0.74fr;
}

.enter-item {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: page-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.enter-delay-1 {
  animation-delay: 0.08s;
}

.enter-delay-2 {
  animation-delay: 0.2s;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.25rem 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: white;
  font-size: clamp(4.45rem, 12vw, 8.5rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.45), 0 0 45px rgba(0, 102, 255, 0.08);
}

.soft-gradient {
  display: block;
  background: linear-gradient(90deg, #cffafe, #fff, #dbeafe);
  background-size: 150% 100%;
  animation: gradient-shift 7s ease-in-out infinite alternate;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 1.15rem;
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.65rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.external-link:hover {
  border-color: rgba(207, 250, 254, 0.2);
  background: rgba(255, 255, 255, 0.055);
  color: white;
}

.external-link:hover .arrow {
  transform: translate(2px, -2px);
}

.arrow {
  transition: transform 180ms ease;
}

.stack-card {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2.25rem;
  padding: 1.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.stack-rows {
  display: grid;
  gap: 0.75rem;
}

.stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.14);
  padding: 0.85rem 1rem;
}

.stack-name {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
}

.stack-detail {
  color: rgba(207, 250, 254, 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section {
  padding: 5rem 0;
}

.section-title {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section-title .eyebrow {
  color: rgba(103, 232, 249, 0.5);
  font-weight: 600;
  letter-spacing: 0.32em;
}

.section-title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.section-title p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  line-height: 1.75;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 0.9fr 1.1fr;
}

.padded-card {
  border-radius: 2rem;
  padding: 1.75rem;
}

.body-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.875rem;
  line-height: 2;
}

.card-title {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.skill-tag,
.project-tag {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.4rem 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.capability-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, 1fr);
}

.capability-card {
  border-radius: 1.7rem;
  padding: 1.5rem;
}

.capability-icon {
  margin-bottom: 2rem;
  color: rgba(207, 250, 254, 0.55);
  font-size: 1.35rem;
}

.capability-card h3,
.faq-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
}

.capability-card p,
.faq-card p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.875rem;
  line-height: 1.7;
}

.project-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border-radius: 1.8rem;
  padding: 1.5rem;
}

.project-card:hover {
  transform: translateY(-4px);
}

.soft-strip {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  opacity: 0.82;
}

.accent-cyan {
  background: linear-gradient(90deg, #67e8f9, #3b82f6);
}

.accent-emerald {
  background: linear-gradient(90deg, #6ee7b7, #14b8a6);
}

.accent-indigo {
  background: linear-gradient(90deg, #a5b4fc, #38bdf8);
}

.project-glow {
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  opacity: 0.1;
  filter: blur(32px);
  transition: opacity 300ms ease;
}

.project-card:hover .project-glow {
  opacity: 0.25;
}

.project-content {
  position: relative;
  display: flex;
  min-height: 21rem;
  flex-direction: column;
}

.project-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.project-title {
  margin: 1.25rem 0 0;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.project-description {
  flex: 1;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.875rem;
  line-height: 1.75;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.project-open {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: rgba(207, 250, 254, 0.65);
  font-size: 0.875rem;
  font-weight: 500;
}

.now-list {
  display: grid;
  gap: 1rem;
}

.status-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.status-card {
  border-radius: 1.6rem;
  padding: 1.5rem;
}

.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-os {
  color: rgba(103, 232, 249, 0.56);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 24px rgba(103, 232, 249, 0.55);
}

.status-app {
  margin: 1.1rem 0 0;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 600;
}

.status-title {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.875rem;
  line-height: 1.65;
  word-break: break-word;
}

.status-empty {
  margin-bottom: 1rem;
  border-radius: 1.6rem;
  padding: 1.5rem;
}

.status-empty p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.7;
}

.experience-card {
  display: grid;
  gap: 1.25rem;
  border-radius: 1.6rem;
  padding: 1.5rem;
  grid-template-columns: 0.28fr 0.72fr;
}

.experience-period {
  margin: 0;
  color: rgba(207, 250, 254, 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.experience-role {
  margin: 0.75rem 0 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
}

.experience-company {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.875rem;
}

.experience-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.875rem;
  line-height: 1.75;
}

.quote-card {
  border-radius: 2rem;
  padding: 3rem;
}

.quote {
  max-width: 64rem;
  margin: 1.5rem 0 0;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  line-height: 1.14;
}

.faq-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.faq-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.14);
  padding: 1.25rem;
}

.contact-card {
  overflow: hidden;
  border-radius: 2rem;
  padding: 3rem;
}

.contact-grid {
  display: grid;
  align-items: end;
  gap: 2.5rem;
  grid-template-columns: 1fr auto;
}

.contact-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.contact-text {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
}

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

.footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(80rem, calc(100vw - 3rem));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 0;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

@keyframes soft-drift {
  0% {
    opacity: 0.3;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 0.48;
    transform: translate3d(24px, -18px, 0) scale(1.08);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes page-enter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid,
  .project-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-links {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .floating-nav {
    transform: translateY(var(--nav-y, 0px)) scale(calc(1 - var(--nav-progress, 0) * 0.018));
  }

  .nav-contact {
    display: none;
  }

  .container,
  .footer {
    width: min(100vw - 2rem, 80rem);
  }

  .hero {
    padding-top: 7rem;
  }

  .capability-grid,
  .project-grid,
  .faq-grid,
  .experience-card {
    grid-template-columns: 1fr;
  }

  .quote-card,
  .contact-card {
    padding: 2rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
