:root {
  --bg: #05080d;
  --bg-soft: #09111d;
  --card: #0b1420;
  --card-light: #101c2b;
  --text: #f5f8fc;
  --muted: #9aa8b8;
  --blue: #45b9ff;
  --blue-bright: #69c8ff;
  --blue-dark: #087dcc;
  --border: rgba(255, 255, 255, 0.09);
  --border-blue: rgba(69, 185, 255, 0.28);
  --radius: 24px;
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 80% 10%, rgba(30, 130, 200, 0.13), transparent 28%),
    radial-gradient(circle at 10% 45%, rgba(30, 130, 200, 0.06), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: -1;
}

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

img {
  max-width: 100%;
}

button {
  font: inherit;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 8, 13, 0.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  transition: .3s ease;
}

.navbar.scrolled {
  height: 70px;
  background: rgba(5, 8, 13, 0.92);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: .9;
  letter-spacing: 2px;
  font-weight: 900;
}

.logo span {
  font-size: 19px;
}

.logo small {
  margin-top: 5px;
  color: var(--blue);
  font-size: 9px;
  letter-spacing: 4px;
}

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

nav a {
  position: relative;
  color: #b8c2ce;
  font-size: 13px;
  font-weight: 600;
  transition: .25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: .25s ease;
}

nav a:hover,
nav a.active {
  color: white;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: white;
  cursor: pointer;
}

main {
  width: 100%;
}

.hero {
  min-height: 100vh;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 150px 6% 90px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 70px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(62px, 9vw, 112px);
  line-height: .86;
  letter-spacing: -6px;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  color: var(--blue);
  text-shadow: 0 0 50px rgba(69,185,255,.16);
}

.hero h2 {
  margin-top: 28px;
  font-size: clamp(20px, 3vw, 31px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -1px;
}

.hero-description {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  transition: .3s ease;
}

.btn-primary {
  background: var(--blue);
  color: #03101a;
  box-shadow: 0 10px 35px rgba(69,185,255,.16);
}

.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(69,185,255,.27);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
  color: white;
}

.btn-secondary:hover {
  border-color: var(--border-blue);
  background: rgba(69,185,255,.07);
  transform: translateY(-3px);
}

.hero-socials {
  display: flex;
  gap: 24px;
  margin-top: 28px;
}

.hero-socials a {
  color: #8290a0;
  font-size: 12px;
  font-weight: 700;
  transition: .25s ease;
}

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

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.image-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(69,185,255,.17);
  filter: blur(90px);
}

.profile-frame {
  position: relative;
  width: min(410px, 90%);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(69,185,255,.25);
  border-radius: 28px;
  background: #0a1522;
  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    0 0 80px rgba(69,185,255,.08);
}

.profile-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform .7s ease;
}

.profile-frame:hover .profile-image {
  transform: scale(1.035);
}

.profile-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.88) 100%);
  pointer-events: none;
}

.image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  z-index: 2;
}

.image-label span,
.image-label small {
  display: block;
}

.image-label span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.image-label small {
  margin-top: 5px;
  color: var(--blue);
  font-size: 9px;
  letter-spacing: 2px;
}

.floating-card {
  position: absolute;
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  min-width: 125px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(10,20,32,.84);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0,0,0,.25);
}

.floating-card strong {
  color: var(--blue);
  font-size: 16px;
}

.floating-card span {
  color: #8d9baa;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.card-one {
  left: 0;
  top: 20%;
}

.card-two {
  right: 0;
  bottom: 18%;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 115px 6%;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 70px;
}

.section-number {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-label {
  color: #697789;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.section-head::after {
  content: "";
  width: 100px;
  height: 1px;
  background: var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
}

.mini-kicker {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.about-title h2,
.section-heading h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -3px;
}

.about-title h2 span,
.section-heading h2 span {
  display: block;
  color: var(--blue);
}

.about-content {
  max-width: 700px;
}

.about-content p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.about-content strong {
  color: white;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  transition: .25s ease;
}

.text-link:hover {
  color: white;
  transform: translateX(5px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-heading p {
  max-width: 550px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.skill-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  transition: .35s ease;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(69,185,255,.08);
  filter: blur(30px);
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-blue);
  background: linear-gradient(145deg, rgba(69,185,255,.08), rgba(255,255,255,.02));
}

.skill-number {
  color: #4f5e70;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.skill-icon {
  margin: 40px 0 25px;
  color: var(--blue);
  font-size: 28px;
}

.skill-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.skill-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: .35s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-blue);
}

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

.project-image {
  position: relative;
  height: 390px;
  overflow: hidden;
  background: #071321;
}

.project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: .7s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.project-overlay {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.2),
    transparent 45%,
    rgba(0,0,0,.82)
  );
}

.project-overlay span {
  align-self: flex-start;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 30px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.project-overlay strong {
  font-size: 32px;
  letter-spacing: -1px;
}

.project-content {
  padding: 30px;
}

.project-meta {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.project-content h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.project-content p {
  max-width: 650px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
}

.project-tags span {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: #9aa7b6;
  font-size: 9px;
  font-weight: 700;
}

.project-placeholder {
  height: 280px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 70% 30%, rgba(69,185,255,.2), transparent 30%),
    linear-gradient(135deg, #08111d, #071827);
}

.project-placeholder span {
  color: #5f7184;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
}

.project-placeholder strong {
  margin-top: 5px;
  color: var(--blue);
  font-size: 30px;
  letter-spacing: -1px;
}

.project-placeholder.future {
  background:
    radial-gradient(circle at 30% 70%, rgba(69,185,255,.09), transparent 35%),
    #09111b;
}

.project-placeholder.future strong {
  color: #738395;
}

.founder {
  max-width: 100%;
  padding-left: 6%;
  padding-right: 6%;
}

.founder-box {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 75px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-blue);
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 20%, rgba(69,185,255,.16), transparent 30%),
    linear-gradient(135deg, #091725, #07101a);
}

.founder-box::after {
  content: "DELEX";
  position: absolute;
  right: -30px;
  bottom: -80px;
  color: rgba(69,185,255,.035);
  font-size: 180px;
  font-weight: 900;
  pointer-events: none;
}

.founder-label {
  margin-bottom: 25px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.founder-box h2 {
  max-width: 700px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -4px;
}

.founder-box h2 span {
  display: block;
  color: var(--blue);
}

.founder-box p {
  max-width: 680px;
  margin: 25px 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.timeline {
  position: relative;
  max-width: 850px;
  margin-left: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 73px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 0 0 55px;
}

.timeline-year {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.timeline-item > div {
  position: relative;
}

.timeline-item > div::before {
  content: "";
  position: absolute;
  left: -54px;
  top: 5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 15px rgba(69,185,255,.35);
}

.timeline-item h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-title h2 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: .94;
  letter-spacing: -4px;
}

.contact-title h2 span {
  display: block;
  color: var(--blue);
}

.contact-title > p:last-child {
  max-width: 480px;
  margin-top: 25px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.contact-details a {
  padding: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  transition: .25s ease;
}

.contact-details a:hover {
  padding-left: 8px;
  color: var(--blue);
}

.contact-details small {
  color: #617083;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  background: #03060a;
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 75px 6%;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.footer-brand p {
  margin-top: 20px;
  color: #718094;
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 100px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  margin-bottom: 8px;
  color: white;
  font-size: 11px;
  letter-spacing: 1px;
}

.footer-links a {
  color: #6f7d8d;
  font-size: 12px;
  transition: .2s ease;
}

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 6%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: #526071;
  font-size: 10px;
}

.footer-bottom strong {
  color: var(--blue);
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity .8s ease,
    transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {

  .hero {
    grid-template-columns: 1fr;
    padding-top: 135px;
  }

  .hero-image {
    min-height: 520px;
  }

  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

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

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

  .project-card.featured {
    grid-column: span 1;
  }

}

@media (max-width: 760px) {

  .navbar {
    height: 70px;
    padding: 0 5%;
  }

  .menu-btn {
    display: block;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 5%;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(7,12,19,.97);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .25s ease;
  }

  nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a {
    padding: 14px;
  }

  nav a::after {
    display: none;
  }

  .hero {
    padding: 120px 5% 70px;
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(55px, 18vw, 85px);
    letter-spacing: -4px;
  }

  .hero h2 {
    font-size: 21px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-image {
    min-height: 470px;
  }

  .profile-frame {
    width: min(340px, 85%);
  }

  .floating-card {
    transform: scale(.85);
  }

  .card-one {
    left: -2px;
  }

  .card-two {
    right: -2px;
  }

  .section {
    padding: 80px 5%;
  }

  .section-head {
    margin-bottom: 50px;
  }

  .about-title h2,
  .section-heading h2 {
    font-size: 45px;
    letter-spacing: -2.5px;
  }

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

  .skill-card {
    min-height: 260px;
  }

  .project-image {
    height: 280px;
  }

  .project-placeholder {
    height: 230px;
  }

  .founder {
    padding-left: 5%;
    padding-right: 5%;
  }

  .founder-box {
    padding: 40px 25px;
  }

  .founder-box h2 {
    font-size: 43px;
    letter-spacing: -2px;
  }

  .timeline::before {
    left: 4px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 25px;
  }

  .timeline-item > div::before {
    left: -25px;
  }

  .contact-title h2 {
    font-size: 50px;
    letter-spacing: -2.5px;
  }

  .footer-main {
    flex-direction: column;
    padding: 55px 5%;
  }

  .footer-links {
    gap: 60px;
  }

  .footer-bottom {
    padding: 20px 5%;
    flex-direction: column;
  }

}

@media (max-width: 420px) {

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-image {
    min-height: 420px;
  }

  .floating-card {
    display: none;
  }

  .project-content {
    padding: 23px;
  }

  .project-overlay {
    padding: 20px;
  }

  .project-overlay strong {
    font-size: 26px;
  }

}