:root {
  --background: #07090d;
  --surface: #0e1117;
  --surface-light: #151922;
  --border: rgba(255, 255, 255, 0.09);

  --text: #f7f7f8;
  --muted: #969ba8;

  --accent: #6d7cff;
  --accent-light: #9ba4ff;

  --green: #61e6a7;

  --max-width: 1180px;
}


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


html {
  scroll-behavior: smooth;
}


body {
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(90, 105, 255, 0.08),
      transparent 30%
    ),
    var(--background);

  color: var(--text);

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;

  overflow-x: hidden;
}


a {
  color: inherit;
}


.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}


/* BACKGROUND GRAPHICS */

.background {
  position: fixed;

  width: 100%;
  height: 100%;

  z-index: -1;

  overflow: hidden;
  pointer-events: none;
}


.orb {
  position: absolute;

  border-radius: 50%;

  filter: blur(120px);

  opacity: 0.15;
}


.orb-one {
  width: 500px;
  height: 500px;

  background: #4c5cff;

  top: -200px;
  right: -100px;
}


.orb-two {
  width: 400px;
  height: 400px;

  background: #714cff;

  top: 600px;
  left: -250px;
}


/* NAV */

.nav {
  height: 100px;

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


.logo {
  font-size: 28px;
  font-weight: 800;

  text-decoration: none;

  letter-spacing: -1px;
}


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


.nav-links {
  display: flex;

  align-items: center;

  gap: 34px;
}


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

  font-size: 15px;

  text-decoration: none;

  transition: 0.2s;
}


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


.nav-linkedin {
  padding: 10px 17px;

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

  border-radius: 8px;
}


/* HERO */

.hero {
  min-height: 760px;

  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  align-items: center;

  gap: 80px;

  padding-bottom: 80px;
}


.status {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  padding: 8px 13px;

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

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

  border-radius: 100px;

  color: var(--muted);

  font-size: 13px;

  margin-bottom: 30px;
}


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

  background: var(--green);

  border-radius: 50%;

  box-shadow: 0 0 12px var(--green);
}


.hero h1 {
  font-size: clamp(64px, 8vw, 105px);

  line-height: 0.92;

  letter-spacing: -5px;

  margin-bottom: 30px;
}


.hero h1 span {
  display: block;

  font-size: clamp(32px, 4vw, 56px);

  margin-top: 25px;

  color: var(--muted);

  letter-spacing: -2px;

  font-weight: 500;
}


.hero-description {
  max-width: 650px;

  color: var(--muted);

  font-size: 20px;
}


.hero-buttons {
  display: flex;

  gap: 15px;

  margin-top: 35px;
}


.button {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  padding: 14px 22px;

  border-radius: 9px;

  font-weight: 600;

  text-decoration: none;

  transition:
    transform 0.2s,
    background 0.2s;
}


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


.primary {
  background: var(--text);
  color: #08090c;
}


.primary:hover {
  background: #dfe1e7;
}


.secondary {
  border: 1px solid var(--border);

  color: var(--text);

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


/* HERO GRAPHIC */

.hero-graphic {
  position: relative;

  min-height: 430px;

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


.graphic-card {
  border: 1px solid var(--border);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02)
    );

  backdrop-filter: blur(20px);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45);
}


.main-card {
  width: 330px;

  padding: 25px;

  border-radius: 20px;

  transform: rotate(-3deg);
}


.graphic-header {
  display: flex;
  justify-content: space-between;

  color: var(--muted);

  font-size: 11px;
}


.live {
  color: var(--green);
}


.initials {
  width: 100px;
  height: 100px;

  margin: 42px 0 25px;

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

  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      #5366ff,
      #8969ff
    );

  font-size: 37px;

  font-weight: 800;

  box-shadow:
    0 20px 50px rgba(90, 100, 255, 0.35);
}


.main-card h3 {
  font-size: 26px;
}


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

  margin-top: 2px;
}


.graphic-stats {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  margin-top: 30px;

  padding-top: 20px;

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


.graphic-stats div {
  display: flex;
  flex-direction: column;
}


.graphic-stats strong {
  font-size: 12px;
}


.graphic-stats span {
  font-size: 10px;

  color: var(--muted);
}


.floating-card {
  position: absolute;

  padding: 15px 20px;

  border-radius: 13px;

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

  background: rgba(14, 17, 23, 0.95);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4);
}


.floating-card span {
  display: block;

  color: var(--accent-light);

  font-size: 10px;

  margin-bottom: 4px;
}


.card-one {
  top: 50px;
  right: -5px;

  transform: rotate(5deg);
}


.card-two {
  bottom: 45px;
  left: 0;

  transform: rotate(-6deg);
}


/* SECTIONS */

.section {
  padding: 130px 0;

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


.section-label {
  color: var(--accent-light);

  font-size: 12px;

  letter-spacing: 2px;

  font-weight: 700;

  margin-bottom: 35px;
}


.section h2 {
  font-size: clamp(38px, 5vw, 65px);

  line-height: 1.08;

  letter-spacing: -2.5px;
}


.section h2 span {
  color: var(--muted);
}


.about-grid {
  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  gap: 100px;
}


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

  font-size: 18px;
}


.about-text p + p {
  margin-top: 20px;
}


.skills {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 35px;
}


.skills span,
.project-tags span {
  padding: 7px 11px;

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

  border-radius: 7px;

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

  font-size: 12px;

  color: #c4c7cf;
}


/* HEADINGS */

.section-heading {
  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  gap: 50px;

  margin-bottom: 50px;
}


.section-heading p {
  max-width: 460px;

  color: var(--muted);

  font-size: 17px;
}


/* EXPERIENCE */

.experience-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 16px;
}


.experience-card,
.project-card {
  background: var(--surface);

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

  border-radius: 16px;

  transition:
    transform 0.25s,
    border-color 0.25s;
}


.experience-card {
  padding: 28px;

  min-height: 300px;
}


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

  border-color: rgba(150, 160, 255, 0.35);
}


.card-top {
  display: flex;

  justify-content: space-between;

  margin-bottom: 80px;
}


.number {
  color: var(--muted);

  font-size: 12px;
}


.tag {
  color: var(--accent-light);

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

  padding: 4px 8px;

  border-radius: 5px;

  font-size: 10px;
}


.experience-card h3 {
  font-size: 23px;

  margin-bottom: 12px;
}


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

  font-size: 15px;
}


/* PROJECTS */

.projects-grid {
  display: grid;

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

  gap: 16px;
}


.project-card {
  padding: 30px;

  min-height: 360px;

  display: flex;
  flex-direction: column;

  justify-content: space-between;
}


.project-card.featured {
  grid-column: span 2;

  min-height: 390px;

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(100, 110, 255, 0.16),
      transparent 40%
    ),
    var(--surface);
}


.project-icon {
  width: 48px;
  height: 48px;

  display: flex;

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

  border-radius: 11px;

  background: var(--surface-light);

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

  font-size: 22px;
}


.project-type {
  color: var(--accent-light);

  font-size: 10px;

  letter-spacing: 1.4px;

  margin-bottom: 10px;
}


.project-content h3 {
  font-size: 27px;

  margin-bottom: 10px;
}


.project-content > p {
  max-width: 650px;

  color: var(--muted);
}


.project-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 24px;
}


/* CONTACT */

.contact-section {
  padding: 80px 0 130px;
}


.contact-card {
  padding: 65px;

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

  border-radius: 20px;

  background:
    radial-gradient(
      circle at 90% 50%,
      rgba(100, 110, 255, 0.15),
      transparent 35%
    ),
    var(--surface);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 40px;
}


.contact-card h2 {
  font-size: clamp(42px, 5vw, 65px);

  letter-spacing: -2px;
}


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

  margin-top: 10px;
}


.linkedin-large {
  white-space: nowrap;
}


/* FOOTER */

footer {
  border-top: 1px solid var(--border);

  padding: 35px 0;
}


.footer-content {
  display: flex;

  justify-content: space-between;

  color: var(--muted);

  font-size: 13px;
}


.self-hosted {
  display: flex;

  align-items: center;

  gap: 8px;
}


.footer-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--green);

  box-shadow: 0 0 10px var(--green);
}


/* RESPONSIVE */

@media (max-width: 900px) {

  .nav-links a:not(.nav-linkedin) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;

    padding-top: 80px;

    gap: 30px;
  }

  .hero-graphic {
    min-height: 500px;
  }

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

    gap: 45px;
  }

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

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

  .project-card.featured {
    grid-column: auto;
  }

  .section-heading {
    flex-direction: column;

    align-items: flex-start;
  }

  .contact-card {
    flex-direction: column;

    align-items: flex-start;
  }

}


@media (max-width: 600px) {

  .hero {
    min-height: auto;

    padding-top: 80px;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: flex-start;
  }

  .hero-graphic {
    transform: scale(0.85);
  }

  .section {
    padding: 90px 0;
  }

  .contact-card {
    padding: 35px 25px;
  }

  .footer-content {
    flex-direction: column;

    gap: 10px;
  }

}
