:root {
  --background: #050505;
  --surface: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.10);

  --text: #f5f5f7;
  --muted: #92929d;

  --blue: #5ea5ff;
  --purple: #a78bfa;

  --max-width: 1180px;
}


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


html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;

  background: var(--background);
  color: var(--text);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;

  overflow-x: hidden;
}


/* BACKGROUND */

.background {
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(40, 100, 255, 0.17),
      transparent 30%
    ),

    radial-gradient(
      circle at 85% 35%,
      rgba(139, 92, 246, 0.13),
      transparent 30%
    ),

    #050505;
}


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


/* NAV */

header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}


.nav {
  height: 90px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo {
  color: white;
  text-decoration: none;

  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
}


.logo span {
  color: var(--blue);
}


.nav-links {
  display: flex;
  gap: 34px;
}


.nav-links a {
  color: var(--muted);
  text-decoration: none;

  font-size: 14px;

  transition: 0.2s ease;
}


.nav-links a:hover {
  color: white;
}


/* HERO */

.hero {
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;

  position: relative;

  padding-top: 100px;
}


.status {
  width: fit-content;

  display: flex;
  align-items: center;
  gap: 9px;

  border: 1px solid var(--border);

  padding: 8px 13px;

  border-radius: 100px;

  color: #b6b6c1;

  font-size: 12px;

  letter-spacing: 0.08em;

  margin-bottom: 30px;

  background: rgba(255, 255, 255, 0.03);
}


.status-dot {
  width: 7px;
  height: 7px;

  background: #63e6a4;

  border-radius: 50%;

  box-shadow:
    0 0 14px rgba(99, 230, 164, 0.8);
}


.hero h1 {
  font-size: clamp(58px, 9vw, 118px);

  line-height: 0.92;

  letter-spacing: -0.065em;

  font-weight: 750;

  max-width: 1050px;
}


.hero h1 span {
  background:
    linear-gradient(
      90deg,
      #5ea5ff,
      #8b8dfd,
      #b084ff
    );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.hero-text {
  margin-top: 35px;

  max-width: 650px;

  font-size: 18px;
  line-height: 1.9;

  color: var(--muted);
}


.hero-buttons {
  display: flex;
  gap: 12px;

  margin-top: 34px;
}


.button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  height: 50px;

  padding: 0 24px;

  border-radius: 100px;

  text-decoration: none;

  font-weight: 600;
  font-size: 14px;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}


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


.button.primary {
  background: white;
  color: black;
}


.button.secondary {
  color: white;

  border: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.04);
}


.button.secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}


.scroll {
  position: absolute;

  bottom: 35px;
  right: 0;

  display: flex;
  align-items: center;

  gap: 15px;

  color: #62626c;

  font-size: 10px;
  letter-spacing: 0.2em;
}


.scroll-line {
  width: 70px;
  height: 1px;

  background: #37373d;
}


/* SECTION */

.section {
  padding: 120px 0;
}


.section-header {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 42px;
}


.section-header span {
  font-family: monospace;

  color: var(--blue);

  font-size: 12px;
}


.section-header h2 {
  font-size: 30px;

  letter-spacing: -0.04em;
}


/* GLASS */

.glass {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    );

  border: 1px solid var(--border);

  backdrop-filter: blur(20px);

  -webkit-backdrop-filter: blur(20px);
}


/* ABOUT */

.about-grid {
  display: grid;

  grid-template-columns: 2fr 1fr;

  gap: 18px;
}


.about-main {
  padding: 48px;

  border-radius: 28px;
}


.about-main .big-text {
  font-size: clamp(40px, 5vw, 64px);

  letter-spacing: -0.05em;

  margin-bottom: 30px;

  color: white;
}


.about-main .big-text span {
  color: var(--blue);
}


.about-main p {
  max-width: 720px;

  color: var(--muted);

  line-height: 1.9;

  margin-top: 14px;
}


.about-side {
  display: flex;

  flex-direction: column;

  gap: 18px;
}


.mini-card {
  min-height: 120px;

  padding: 25px;

  border-radius: 24px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;
}


.mini-label {
  color: #686872;

  font-size: 10px;

  letter-spacing: 0.14em;
}


.mini-card strong {
  font-size: 18px;
}


/* PROJECTS */

.projects {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}


.project-card {
  min-height: 350px;

  border-radius: 28px;

  padding: 32px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}


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

  border-color:
    rgba(94, 165, 255, 0.35);

  background:
    rgba(255, 255, 255, 0.075);
}


.project-card.featured {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(77, 130, 255, 0.15),
      transparent 45%
    ),

    rgba(255, 255, 255, 0.05);
}


.project-top {
  display: flex;

  justify-content: space-between;

  align-items: center;
}


.project-number {
  font-family: monospace;

  color: #666670;
}


.project-status {
  color: #71e2a6;

  font-size: 9px;

  letter-spacing: 0.12em;
}


.project-card h3 {
  font-size: 32px;

  letter-spacing: -0.04em;

  margin-bottom: 14px;
}


.project-card p {
  color: var(--muted);

  line-height: 1.7;

  max-width: 470px;
}


.tags {
  display: flex;

  gap: 8px;

  flex-wrap: wrap;

  margin-top: 24px;
}


.tags span {
  border:
    1px solid rgba(255, 255, 255, 0.08);

  background:
    rgba(255, 255, 255, 0.04);

  padding: 7px 10px;

  border-radius: 100px;

  color: #a9a9b3;

  font-size: 11px;
}


/* TECHNOLOGY */

.tech-list {
  border-radius: 28px;

  overflow: hidden;
}


.tech-list div {
  min-height: 100px;

  padding: 25px 32px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.07);
}


.tech-list div:last-child {
  border-bottom: none;
}


.tech-list span {
  color: #65656e;

  font-size: 10px;

  letter-spacing: 0.14em;
}


.tech-list strong {
  font-size: 19px;

  text-align: right;
}


/* CONTACT */

.contact {
  min-height: 420px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;
}


.contact p {
  color: var(--muted);

  margin-bottom: 12px;
}


.contact a {
  font-size: clamp(50px, 8vw, 96px);

  font-weight: 700;

  letter-spacing: -0.055em;

  color: white;

  text-decoration: none;

  transition: color 0.2s ease;
}


.contact a:hover {
  color: var(--blue);
}


/* FOOTER */

footer {
  min-height: 100px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  border-top:
    1px solid rgba(255, 255, 255, 0.07);

  color: #55555e;

  font-size: 12px;
}


/* MOBILE */

@media (max-width: 760px) {

  .container {
    width: min(calc(100% - 30px), var(--max-width));
  }


  .nav {
    height: 72px;
  }


  .nav-links {
    gap: 16px;
  }


  .nav-links a {
    font-size: 12px;
  }


  .nav-links a:first-child {
    display: none;
  }


  .hero {
    padding-top: 100px;
  }


  .hero h1 {
    font-size: clamp(52px, 17vw, 80px);
  }


  .hero-text {
    font-size: 15px;
  }


  .scroll {
    display: none;
  }


  .section {
    padding: 80px 0;
  }


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


  .about-main {
    padding: 30px;
  }


  .projects {
    grid-template-columns: 1fr;
  }


  .project-card {
    min-height: 300px;
  }


  .tech-list div {
    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    gap: 10px;
  }


  .tech-list strong {
    text-align: left;
  }


  .contact {
    min-height: 300px;
  }


  footer {
    flex-direction: column;

    justify-content: center;

    gap: 8px;
  }

}