:root {
  --bg: #06101c;
  --bg-2: #091827;
  --surface: #0c1c2d;
  --surface-2: #10253a;
  --text: #f4f8fc;
  --muted: #8fa2b7;
  --line: rgba(150, 190, 220, 0.14);
  --blue: #1a9bff;
  --blue-2: #63c0ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --radius: 22px;
}
html[data-theme="light"] {
  --bg: #f4f8fc;
  --bg-2: #edf4fa;
  --surface: #fff;
  --surface-2: #eef6fd;
  --text: #091727;
  --muted: #5e7082;
  --line: rgba(11, 55, 91, 0.12);
  --blue: #0789ed;
  --blue-2: #0068bc;
  --shadow: 0 24px 70px rgba(18, 54, 84, 0.12);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition:
    background 0.35s,
    color 0.35s;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
}
.container {
  width: min(92%, var(--max));
  margin: auto;
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(26, 155, 255, 0.12),
    transparent 65%
  );
  transform: translate(-50%, -50%);
  z-index: 0;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-mark {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--blue);
}
.brand-name {
  font-size: 13px;
  font-weight: 700;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 12px;
  color: var(--muted);
  transition: 0.25s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
}
.nav-cv,
.btn-primary {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  box-shadow: 0 10px 35px rgba(26, 155, 255, 0.18);
}
.nav-cv {
  font-size: 11px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
}
.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  padding: 9px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}
.section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 60px;
}
.eyebrow {
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.8px;
  margin-bottom: 14px;
}
.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--blue);
  vertical-align: middle;
  margin-right: 9px;
}
.hero h1 {
  font-size: clamp(45px, 6.3vw, 78px);
  line-height: 1.03;
  letter-spacing: -4px;
  max-width: 760px;
}
em {
  font-style: normal;
  color: var(--blue);
}
.hero-role {
  font-size: 18px;
  margin: 22px 0 13px;
  color: var(--text);
}
.hero-role b {
  color: var(--blue);
  padding: 0 6px;
}
.hero-text {
  color: var(--muted);
  max-width: 590px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 30px 0 25px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn-ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-row a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  transition: 0.25s;
}
.social-row a:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.hero-visual {
  min-height: 560px;
  display: grid;
  place-items: center;
  position: relative;
}
.profile-card {
  width: min(365px, 80%);
  padding: 13px;
  background: linear-gradient(
    145deg,
    rgba(26, 155, 255, 0.25),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(100, 190, 255, 0.28);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  position: relative;
  z-index: 2;
}
.profile-top,
.profile-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
}
.profile-top {
  font-size: 8px;
  color: var(--blue-2);
  letter-spacing: 1.4px;
  font-weight: 800;
}
.profile-top i {
  width: 7px;
  height: 7px;
  background: #35e0a2;
  border-radius: 50%;
  box-shadow: 0 0 14px #35e0a2;
}
.profile-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 20px;
  background: #0a1b2b;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-bottom strong {
  font-size: 13px;
  display: block;
}
.profile-bottom span {
  font-size: 9px;
  color: var(--muted);
}
.visual-ring {
  position: absolute;
  border: 1px solid rgba(26, 155, 255, 0.2);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}
.ring-a {
  width: 500px;
  height: 500px;
}
.ring-b {
  width: 410px;
  height: 410px;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 25s;
}
.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  font-size: 10px;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.floating-chip span {
  color: var(--blue);
  font-weight: 900;
  margin-right: 6px;
}
.chip-code {
  left: 0;
  top: 22%;
}
.chip-ui {
  right: 0;
  bottom: 24%;
  animation-delay: -2s;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-one {
  width: 380px;
  height: 380px;
  background: rgba(26, 155, 255, 0.09);
  right: -130px;
  top: 80px;
}
.orb-two {
  width: 250px;
  height: 250px;
  background: rgba(54, 220, 255, 0.05);
  left: -100px;
  bottom: 50px;
}
.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-cue span {
  width: 45px;
  height: 1px;
  background: var(--line);
}
.section-heading {
  margin-bottom: 50px;
}
.section-heading h2 {
  font-size: clamp(34px, 4.5vw, 57px);
  line-height: 1.08;
  letter-spacing: -2.5px;
}
.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.heading-note {
  max-width: 330px;
  color: var(--muted);
  font-size: 12px;
}
.about {
  background: var(--bg-2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}
.lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 18px;
}
.about-copy p:not(.lead) {
  color: var(--muted);
  font-size: 13px;
  max-width: 650px;
}
.mini-stats {
  display: flex;
  gap: 42px;
  margin-top: 35px;
}
.mini-stats strong {
  display: block;
  color: var(--blue);
  font-size: 24px;
}
.mini-stats span {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.quote-card {
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quote-mark {
  font: 60px Georgia;
  color: var(--blue);
  line-height: 0.6;
}
.quote-card p {
  font: italic 18px/1.7 Georgia;
  color: var(--text);
  margin: 18px 0;
}
.quote-card > span:last-child {
  font-size: 10px;
  color: var(--muted);
}
.projects {
  background: var(--bg);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.35s;
}
.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(26, 155, 255, 0.45);
  box-shadow: var(--shadow);
}
.project-card.featured {
  grid-column: span 2;
}
.project-image {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
  background: var(--surface-2);
}
.project-card:not(.featured) .project-image {
  aspect-ratio: 16/9;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.project-card:hover .project-image img {
  transform: scale(1.04);
}
.project-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(3, 12, 22, 0.55);
  opacity: 0;
  transition: 0.3s;
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.project-overlay span {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}
.project-info {
  padding: 22px;
}
.project-info > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
}
.project-index {
  font-size: 10px;
  color: var(--blue);
  font-weight: 800;
}
.project-type {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1.4px;
}
.project-info h3 {
  font-size: 20px;
}
.project-info p {
  color: var(--muted);
  font-size: 12px;
  margin: 7px 0 15px;
}
.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tags span {
  font-size: 9px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-2);
}
.skills {
  background: var(--bg-2);
}
.skills-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}
.skill-intro .lead {
  font-size: 17px;
}
.stack-marquee {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 35px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.stack-marquee i {
  color: var(--blue);
}
.skill-list {
  border-top: 1px solid var(--line);
}
.skill-item {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.skill-number {
  font-size: 9px;
  color: var(--blue);
}
.skill-item strong {
  font-size: 13px;
}
.skill-item small {
  color: var(--muted);
  font-size: 9px;
  display: block;
}
.skill-item b {
  font-size: 11px;
  color: var(--blue-2);
}
.journey {
  background: var(--bg);
}
.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.timeline {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 0 0 45px;
}
.timeline-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--blue);
  border-radius: 50%;
  left: -34px;
  top: 4px;
  box-shadow: 0 0 20px rgba(26, 155, 255, 0.7);
}
.timeline-item small {
  font-size: 9px;
  color: var(--blue-2);
  letter-spacing: 1px;
}
.timeline-item h3 {
  font-size: 17px;
  margin: 4px 0;
}
.timeline-item p {
  font-size: 11px;
  color: var(--muted);
}
.timeline-badge {
  align-self: start;
  border: 1px solid var(--line);
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 7px;
  color: var(--muted);
}
.subheading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.subheading span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.subheading a {
  font-size: 9px;
  color: var(--blue-2);
}
.cert-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  margin-bottom: 10px;
}
.cert-card > b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--blue);
  font-size: 9px;
}
.cert-card strong {
  font-size: 11px;
  display: block;
}
.cert-card small {
  font-size: 9px;
  color: var(--muted);
}
.cert-card > span {
  margin-left: auto;
  color: var(--muted);
}
.contact {
  background: var(--bg-2);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(37px, 5vw, 65px);
  line-height: 1.05;
  letter-spacing: -3px;
}
.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 560px;
  margin: 22px 0;
}
.email-link {
  display: inline-block;
  color: var(--blue-2);
  font-size: 14px;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 4px;
}
.contact-form {
  background: var(--surface);
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 14px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 13px;
  border-radius: 10px;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form .btn {
  width: 100%;
  border: none;
}
.form-note {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 8px;
  margin-top: 10px;
}
.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  background: #19b86b;
  color: #fff;
  padding: 11px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 15px 35px rgba(25, 184, 107, 0.25);
  font-size: 10px;
  font-weight: 800;
  animation: pulse 2.8s infinite;
}
.wa-icon {
  font-size: 17px;
}
.wa-text {
  letter-spacing: 0.2px;
}
footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner > div:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
}
.footer-inner .brand-mark {
  grid-row: span 2;
}
.footer-inner strong {
  font-size: 11px;
}
.footer-inner small {
  color: var(--muted);
  font-size: 8px;
}
.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 8px;
}
.footer-links a {
  color: var(--blue-2);
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.show {
  opacity: 1;
  transform: none;
}
.reveal-delay {
  transition-delay: 0.12s;
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    box-shadow:
      0 15px 35px rgba(25, 184, 107, 0.05),
      0 0 0 8px rgba(25, 184, 107, 0.05);
  }
}
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    right: -100%;
    width: min(320px, 86%);
    height: calc(100vh - 76px);
    padding: 28px;
    background: var(--surface);
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transition: 0.35s;
  }
  .nav-menu.open {
    right: 0;
  }
  .menu-toggle {
    display: block;
  }
  .theme-toggle {
    order: 2;
  }
  .hero-grid,
  .about-grid,
  .skills-layout,
  .journey-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 130px;
  }
  .hero-visual {
    order: -1;
    min-height: 450px;
  }
  .profile-card {
    width: min(330px, 75%);
  }
  .floating-chip {
    font-size: 9px;
  }
  .chip-code {
    left: 5%;
  }
  .chip-ui {
    right: 5%;
  }
  .section-heading.split {
    display: block;
  }
  .heading-note {
    margin-top: 15px;
  }
  .contact-wrap {
    gap: 40px;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(91%, var(--max));
  }
  .section {
    padding: 82px 0;
  }
  .brand-name {
    display: none;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -2.5px;
  }
  .hero-role {
    font-size: 15px;
  }
  .hero-text {
    font-size: 12px;
  }
  .hero-visual {
    min-height: 390px;
  }
  .ring-a {
    width: 360px;
    height: 360px;
  }
  .ring-b {
    width: 290px;
    height: 290px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card.featured {
    grid-column: span 1;
  }
  .project-image {
    aspect-ratio: 16/9 !important;
  }
  .mini-stats {
    gap: 20px;
  }
  .mini-stats span {
    font-size: 8px;
  }
  .skill-item {
    grid-template-columns: 35px 1fr auto;
  }
  .timeline-item {
    grid-template-columns: 1fr;
  }
  .timeline-badge {
    display: inline-block;
    width: max-content;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
  .whatsapp {
    right: 16px;
    bottom: 16px;
  }
  .wa-text {
    display: none;
  }
  .whatsapp {
    width: 50px;
    height: 50px;
    justify-content: center;
  }
  .contact-copy h2 {
    letter-spacing: -2px;
  }
}
