:root {
  --bg: #070a12;
  --bg-soft: #0d1222;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --text: #f7f9ff;
  --muted: #a9b3c9;
  --line: rgba(255, 255, 255, 0.13);
  --primary: #75f1ff;
  --primary-strong: #36c9ff;
  --violet: #9b7cff;
  --pink: #ff5dc8;
  --lime: #a8ff78;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(54, 201, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 85% 18%, rgba(155, 124, 255, 0.18), transparent 32rem),
    linear-gradient(135deg, #050711 0%, #0b1020 52%, #070a12 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

p {
  color: var(--muted);
  line-height: 1.75;
}

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

.section-pad {
  padding: 110px 0;
}

.site-glow {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.33;
  pointer-events: none;
  z-index: -1;
}

.site-glow-one {
  background: var(--primary-strong);
  left: -8rem;
  top: 12rem;
}

.site-glow-two {
  background: var(--pink);
  right: -9rem;
  bottom: 4rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.74);
  backdrop-filter: blur(20px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #06101a;
  box-shadow: 0 14px 32px rgba(54, 201, 255, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
}

.hero {
  padding-top: 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

h1 {
  max-width: 850px;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h3 {
  font-size: 1.45rem;
}

.hero-lede {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: 1.16rem;
}

.hero-actions,
.footer-links,
.hero-stats,
.skills-grid {
  display: flex;
  flex-wrap: wrap;
}

.hero-actions {
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  color: #06101a;
  background: linear-gradient(135deg, var(--primary), var(--lime));
  box-shadow: 0 18px 46px rgba(117, 241, 255, 0.22);
}

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

.hero-stats {
  gap: 14px;
  margin-top: 42px;
}

.hero-stats div {
  min-width: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.profile-card,
.app-card,
.process-card,
.contact-card,
.legal-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.profile-card {
  position: relative;
  width: min(430px, 100%);
  padding: 30px;
  border-radius: 34px;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  font-size: 2rem;
  font-weight: 900;
}

.profile-role {
  margin: 0 0 8px;
  color: var(--primary);
  font-weight: 800;
}

.code-window {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(3, 7, 18, 0.78);
  overflow: hidden;
}

.window-controls {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--pink);
}

.window-controls span:nth-child(2) {
  background: #ffd166;
}

.window-controls span:nth-child(3) {
  background: var(--lime);
}

pre {
  margin: 0;
  white-space: pre-wrap;
  color: #d8ecff;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(117, 241, 255, 0.22);
  border-radius: 999px;
  animation: spin 16s linear infinite;
}

.orbit-one {
  width: 520px;
  height: 520px;
}

.orbit-two {
  width: 390px;
  height: 390px;
  animation-duration: 22s;
  animation-direction: reverse;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  right: 58px;
  top: 36px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 30px var(--primary);
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: start;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: 1.08rem;
}

.centered {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 54px;
}

.about-copy p:first-child {
  margin-top: 0;
}

.skills-grid {
  gap: 12px;
  margin-top: 28px;
}

.skills-grid span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbe7ff;
  background: rgba(255, 255, 255, 0.055);
}

.apps-section {
  position: relative;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.app-card {
  padding: 28px;
  border-radius: 30px;
  transition: transform 200ms ease, border-color 200ms ease;
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: rgba(117, 241, 255, 0.42);
}

.app-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 20px;
  font-weight: 900;
  color: #06101a;
}

.app-icon.chat {
  background: linear-gradient(135deg, var(--primary), var(--lime));
}

.app-icon.movies {
  background: linear-gradient(135deg, #ffd166, var(--pink));
}

.app-icon.anime {
  background: linear-gradient(135deg, var(--violet), var(--primary));
}

.app-category {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.app-card ul {
  margin: 22px 0 0;
  padding-left: 18px;
  color: #cdd7ec;
  line-height: 1.8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-card {
  padding: 24px;
  border-radius: 26px;
}

.process-card span {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--primary);
  font-weight: 900;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 44px;
  border-radius: 36px;
}

.contact-card h2 {
  max-width: 780px;
}

.site-footer {
  padding: 54px 0 32px;
  border-top: 1px solid var(--line);
  background: rgba(2, 5, 13, 0.48);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-grid p {
  max-width: 520px;
}

.footer-links {
  gap: 18px;
  color: var(--muted);
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.legal-hero {
  padding: 86px 0 32px;
}

.legal-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.legal-card {
  padding: clamp(24px, 5vw, 56px);
  border-radius: 34px;
}

.legal-card h2 {
  margin-top: 44px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin-top: 28px;
  font-size: 1.2rem;
}

.legal-card ul,
.legal-card ol {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card li + li {
  margin-top: 10px;
}

.legal-note {
  padding: 18px;
  border: 1px solid rgba(117, 241, 255, 0.26);
  border-radius: 20px;
  background: rgba(117, 241, 255, 0.08);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 10, 18, 0.96);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .split-section,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 460px;
  }

  .apps-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section-pad {
    padding: 76px 0;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-stats,
  .hero-actions {
    flex-direction: column;
  }

  .hero-stats div,
  .btn {
    width: 100%;
  }

  .apps-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .orbit-one {
    width: 360px;
    height: 360px;
  }

  .orbit-two {
    width: 280px;
    height: 280px;
  }
}
