
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #080817;
  --panel: #111126;
  --purple: #a855f7;
  --blue: #4f7cff;
  --text: #f5f5ff;
  --muted: #9999b5;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

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

.navbar {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  background: rgba(8,8,23,.92);
  border-bottom: 1px solid #ffffff12;
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(20px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo-icon {
  background: linear-gradient(135deg,var(--purple),var(--blue));
  padding: 8px 12px;
  border-radius: 9px;
}

.purple { color: #ad70ff; }

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  font-size: 13px;
  color: var(--muted);
  transition: .3s;
}

nav a:hover { color: white; }

.nav-contact {
  background: linear-gradient(120deg,var(--purple),var(--blue));
  padding: 12px 19px;
  border-radius: 8px;
  color: white;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 0;
  font-size: 26px;
}

.hero {
  min-height: 680px;
  padding: 100px 10%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 50px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: #762aff18;
  filter: blur(100px);
  top: 0;
  left: -150px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #b99bff;
  border: 1px solid #a855f744;
  padding: 11px 15px;
  border-radius: 30px;
  margin-bottom: 28px;
}

.pulse {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #51e6a4;
  box-shadow: 0 0 12px #51e6a4;
}

.eyebrow,.section-label {
  color: #a77cff;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 700;
}

h1 {
  font-size: clamp(42px,6vw,76px);
  font-weight: 900;
  line-height: 1.08;
  margin: 20px 0;
  letter-spacing: -4px;
}

.gradient {
  background: linear-gradient(100deg,#bd72ff,#668bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description,.muted {
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

.hero-description { max-width: 520px; }

.hero-buttons,.contact-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 23px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: .3s;
  display: inline-block;
}

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

.primary {
  background: linear-gradient(120deg,var(--purple),var(--blue));
  color: white;
}

.secondary {
  border: 1px solid #ffffff30;
  background: #ffffff08;
}

.hero-info {
  display: flex;
  gap: 50px;
  margin-top: 65px;
}

.hero-info strong,.hero-info small { display: block; }
.hero-info strong { font-size: 14px; }
.hero-info small { font-size: 9px; color: var(--muted); margin-top: 6px; }

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

.orb {
  width: 290px;
  height: 290px;
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg,#9a4cff,#245bff);
  filter: blur(90px);
  opacity: .35;
}

.code-card {
  width: 100%;
  max-width: 420px;
  background: #111126ee;
  border: 1px solid #a855f755;
  border-radius: 15px;
  box-shadow: 0 20px 80px #0009;
  overflow: hidden;
  z-index: 2;
  transform: rotate(-3deg);
}

.card-top {
  padding: 17px;
  border-bottom: 1px solid #ffffff12;
  display: flex;
  gap: 7px;
  align-items: center;
}

.card-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6683;
}

.card-top span:nth-child(2) { background: #ffd166; }
.card-top span:nth-child(3) { background: #50e6a4; }
.card-top small { margin-left: auto; color: var(--muted); }

pre {
  padding: 28px 20px;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 2;
  color: #e0d8ff;
}

.pink { color: #ff79c6; }
.green { color: #80e7b1; }
.blue { color: #77aaff; }

.code-footer {
  padding: 15px 20px;
  color: #53e6aa;
  font-size: 10px;
  letter-spacing: 2px;
  border-top: 1px solid #ffffff12;
}

.floating-tag {
  position: absolute;
  bottom: 20px;
  right: 0;
  background: #1a1734;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 11px;
  color: #c29bff;
  z-index: 3;
}

.section {
  padding: 100px 10%;
}

.section h2,.contact-section h2 {
  font-size: clamp(32px,5vw,48px);
  margin: 18px 0;
  letter-spacing: -2px;
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  margin-top: 45px;
  align-items: center;
}

.about-box {
  min-height: 280px;
  background: linear-gradient(140deg,#171333,#101d45);
  border: 1px solid #a855f744;
  border-radius: 20px;
  display: grid;
  place-items: center;
}

.big-m {
  font-size: 130px;
  font-weight: 900;
  background: linear-gradient(120deg,#bd72ff,#668bff);
  color: transparent;
  background-clip: text;
}

.about-box p {
  color: #b99bff;
  letter-spacing: 4px;
  font-size: 11px;
  font-weight: 800;
  margin-top: -55px;
}

.about-grid h3 { margin-bottom: 18px; }
.about-grid .muted { margin-bottom: 15px; }

.owner {
  border-left: 2px solid var(--purple);
  padding-left: 18px;
  margin-top: 30px;
}

.owner span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
}

.owner h3 { margin: 9px 0; }
.owner a { color: #b88bff; font-size: 13px; }

.skills-grid,.project-grid,.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 40px;
}

.skill,.project-card,.service {
  background: var(--panel);
  border: 1px solid #ffffff12;
  border-radius: 14px;
  padding: 25px;
  transition: .3s;
}

.skill:hover,.project-card:hover,.service:hover {
  transform: translateY(-7px);
  border-color: #a855f766;
}

.skill { font-size: 24px; }
.skill b,.skill small { display: block; }
.skill b { font-size: 14px; margin: 17px 0 7px; }
.skill small { font-size: 11px; color: var(--muted); }

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

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

.project-icon { font-size: 32px; margin-bottom: 20px; }

.project-card span {
  color: #ad83ff;
  font-size: 9px;
  letter-spacing: 2px;
}

.project-card h3 { margin: 12px 0; }
.project-card p,.service p { color: var(--muted); font-size: 12px; line-height: 1.8; }

.tags {
  display: inline-block;
  margin-top: 18px;
  font-size: 10px;
  color: #bba4ff;
  background: #a855f718;
  padding: 8px 12px;
  border-radius: 30px;
}

.project-note { color: var(--muted); font-size: 10px; margin-top: 15px; }

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

.service {
  color: #ad83ff;
  font-weight: 800;
  font-size: 12px;
}

.service h3 { color: white; font-size: 17px; margin: 20px 0 10px; }

.contact-section {
  margin: 50px 10% 100px;
  padding: 80px 25px;
  text-align: center;
  border-radius: 22px;
  border: 1px solid #a855f744;
  background: radial-gradient(ellipse at top,#30205c,#111126 65%);
}

.contact-section .muted { max-width: 520px; margin: auto; }
.contact-buttons { justify-content: center; }

footer {
  padding: 35px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #ffffff12;
  color: var(--muted);
  font-size: 11px;
}

footer a:last-child { color: #bd92ff; }

@media(max-width:850px) {
  .navbar { padding: 0 6%; }
  .menu-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: #101023;
    padding: 25px;
    flex-direction: column;
    align-items: stretch;
  }
  nav.show { display: flex; }
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 7%;
  }
  .hero-visual { margin-top: 35px; }
  .about-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2,1fr); }
  .section { padding: 75px 7%; }
}

@media(max-width:520px) {
  h1 { letter-spacing: -2px; }
  .skills-grid,.project-grid,.services-grid { grid-template-columns: 1fr; }
  .hero-info { gap: 25px; }
  .code-card { transform: none; }
  footer { flex-direction: column; text-align: center; }
  .contact-section { margin: 25px 5% 70px; }
}

