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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #e8e8ed;
  background-color: #0a0a0b;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

strong {
  font-weight: 600;
  color: #e8e8ed;
}

::selection {
  background: #6c63ff;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

.section-header {
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .section-header {
    margin-bottom: 6rem;
  }
}
.section-header__tag {
  display: inline-block;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6c63ff;
  background: rgba(108, 99, 255, 0.12);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.section-header__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #e8e8ed;
}
@media (min-width: 640px) {
  .section-header__title {
    font-size: 2.5rem;
  }
}
@media (min-width: 768px) {
  .section-header__title {
    font-size: 3.25rem;
  }
}
.section-header__subtitle {
  font-size: 1.5rem;
  color: #8b8b9e;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn--primary {
  background: #6c63ff;
  color: #fff;
}
.btn--primary:hover {
  background: rgb(146.4461538462, 139.8, 255);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.25);
}
.btn--outline {
  background: transparent;
  color: #e8e8ed;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn--outline:hover {
  border-color: #6c63ff;
  color: #6c63ff;
  transform: translateY(-1px);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav--scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.nav__container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .nav__container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .nav__container {
    padding: 0 3rem;
  }
}
.nav__logo {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: #e8e8ed;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__logo:hover {
  color: #6c63ff;
}
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #e8e8ed;
  border-radius: 2px;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.nav__menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: #111113;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  gap: 0.5rem;
}
.nav__menu.active {
  display: flex;
}
@media (min-width: 768px) {
  .nav__menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 2rem;
    align-items: center;
  }
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #8b8b9e;
  padding: 0.5rem 0;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.nav__link:hover {
  color: #e8e8ed;
}
@media (min-width: 768px) {
  .nav__link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6c63ff;
    transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
  }
  .nav__link:hover::after {
    width: 100%;
  }
}
.nav__link--cta {
  color: #6c63ff;
}
@media (min-width: 768px) {
  .nav__link--cta {
    background: rgba(108, 99, 255, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 6px;
  }
  .nav__link--cta::after {
    display: none;
  }
  .nav__link--cta:hover {
    background: #6c63ff;
    color: #fff;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at 40% 50%, rgba(108, 99, 255, 0.18) 0%, rgba(108, 99, 255, 0.06) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  animation: spotlight-breathe 6s ease-in-out infinite;
}
@media (min-width: 1024px) {
  .hero::before {
    width: 900px;
    height: 900px;
    left: -10%;
    top: -20%;
  }
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at 60% 50%, rgba(96, 165, 250, 0.1) 0%, rgba(96, 165, 250, 0.03) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  animation: spotlight-breathe 8s ease-in-out 2s infinite;
}
@media (min-width: 1024px) {
  .hero::after {
    width: 700px;
    height: 700px;
  }
}
.hero__container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 640px) {
  .hero__container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
    padding: 0 3rem;
  }
}
.hero__content {
  position: relative;
  z-index: 1;
}
.hero__tag {
  display: inline-block;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6c63ff;
  background: rgba(108, 99, 255, 0.12);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.hero__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #e8e8ed;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .hero__title {
    font-size: 2.5rem;
  }
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 3.25rem;
  }
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: 4rem;
  }
}
.hero__title--accent {
  background: linear-gradient(135deg, #6c63ff 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.125rem;
  color: #8b8b9e;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.25rem;
  }
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__visual {
  display: none;
}
@media (min-width: 1024px) {
  .hero__visual {
    display: block;
    position: relative;
    z-index: 1;
  }
}
.hero__code {
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__code:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}
.hero__code-header {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  background: #1c1c21;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hero__code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hero__code-dot--red {
  background: #ff5f57;
}
.hero__code-dot--yellow {
  background: #febc2e;
}
.hero__code-dot--green {
  background: #28c840;
}
.hero__code-body {
  padding: 2rem;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.875rem;
  line-height: 1.9;
  color: #8b8b9e;
}
.hero__code-body code {
  font-family: inherit;
}
.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero__scroll-link {
  display: flex;
  color: #5a5a6e;
  animation: float 2s ease-in-out infinite;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__scroll-link:hover {
  color: #6c63ff;
}

.code-keyword {
  color: #c792ea;
}

.code-class {
  color: #34d399;
}

.code-string {
  color: #fb923c;
}

.code-number {
  color: #60a5fa;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
@keyframes spotlight-breathe {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.08);
  }
}
.about {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 768px) {
  .about {
    padding: 8rem 0;
  }
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: start;
  }
}
.about__text p {
  color: #8b8b9e;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}
.about__text p:last-child {
  margin-bottom: 0;
}
.about__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .about__stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .about__stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 1024px) {
  .stat {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2rem;
  }
}
.stat:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.stat__number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #6c63ff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
@media (min-width: 1024px) {
  .stat__number {
    font-size: 2.5rem;
    margin-bottom: 0;
    min-width: 80px;
  }
}
.stat__label {
  font-size: 0.75rem;
  color: #8b8b9e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (min-width: 1024px) {
  .stat__label {
    font-size: 0.875rem;
  }
}

.services {
  padding: 4rem 0;
  background: #111113;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 768px) {
  .services {
    padding: 8rem 0;
  }
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .services__grid {
    gap: 2rem;
  }
}
@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card {
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 3rem;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #6c63ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.card:hover::before {
  transform: scaleX(1);
}
.card--dev::before {
  background: #6c63ff;
}
.card--train::before {
  background: #34d399;
}
.card--saas::before {
  background: #60a5fa;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(108, 99, 255, 0.12);
  color: #6c63ff;
  margin-bottom: 2rem;
}
.card--train .card__icon {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}
.card--saas .card__icon {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
}
.card__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #e8e8ed;
}
.card__text {
  font-size: 0.875rem;
  color: #8b8b9e;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.card__tags li {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.75rem;
  color: #5a5a6e;
  background: #1c1c21;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.card__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #60a5fa;
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card__link:hover {
  color: rgb(155.3341463415, 198.5853658537, 251.8658536585);
}

.projects {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .projects {
    padding: 8rem 0;
  }
}
.projects__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .projects__grid {
    gap: 2rem;
  }
}
@media (min-width: 768px) {
  .projects__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .projects__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.project {
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.project:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.project:hover .project__placeholder {
  color: #6c63ff;
}
.project__image {
  aspect-ratio: 16/10;
  background: #1c1c21;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.project__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a5a6e;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.project__content {
  padding: 2rem;
}
.project__type {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c63ff;
  margin-bottom: 0.75rem;
  display: block;
}
.project__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #e8e8ed;
}
.project__desc {
  font-size: 0.875rem;
  color: #8b8b9e;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.project__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.project__tech span {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 11px;
  color: #5a5a6e;
  background: #1c1c21;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact {
  padding: 4rem 0;
  background: #111113;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 768px) {
  .contact {
    padding: 8rem 0;
  }
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .contact__grid {
    gap: 1.5rem;
  }
}
@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem;
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.contact__card svg {
  color: #6c63ff;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.contact__card:hover {
  border-color: #6c63ff;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.contact__card:hover svg {
  transform: scale(1.1);
}
.contact__card-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e8e8ed;
}
.contact__card-value {
  font-size: 0.75rem;
  color: #8b8b9e;
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.footer p {
  font-size: 0.75rem;
  color: #5a5a6e;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger .card,
.reveal-stagger .project,
.reveal-stagger .contact__card,
.reveal-stagger .stat {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible .card,
.reveal-stagger.visible .project,
.reveal-stagger.visible .contact__card,
.reveal-stagger.visible .stat {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible .card:nth-child(1),
.reveal-stagger.visible .project:nth-child(1),
.reveal-stagger.visible .contact__card:nth-child(1),
.reveal-stagger.visible .stat:nth-child(1) {
  transition-delay: 0s;
}
.reveal-stagger.visible .card:nth-child(2),
.reveal-stagger.visible .project:nth-child(2),
.reveal-stagger.visible .contact__card:nth-child(2),
.reveal-stagger.visible .stat:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-stagger.visible .card:nth-child(3),
.reveal-stagger.visible .project:nth-child(3),
.reveal-stagger.visible .contact__card:nth-child(3),
.reveal-stagger.visible .stat:nth-child(3) {
  transition-delay: 0.2s;
}
.reveal-stagger.visible .card:nth-child(4),
.reveal-stagger.visible .project:nth-child(4),
.reveal-stagger.visible .contact__card:nth-child(4),
.reveal-stagger.visible .stat:nth-child(4) {
  transition-delay: 0.3s;
}
.reveal-stagger.visible .card:nth-child(5),
.reveal-stagger.visible .project:nth-child(5),
.reveal-stagger.visible .contact__card:nth-child(5),
.reveal-stagger.visible .stat:nth-child(5) {
  transition-delay: 0.4s;
}
.reveal-stagger.visible .card:nth-child(6),
.reveal-stagger.visible .project:nth-child(6),
.reveal-stagger.visible .contact__card:nth-child(6),
.reveal-stagger.visible .stat:nth-child(6) {
  transition-delay: 0.5s;
}
