* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --bg: #06070b;
  --bg-soft: #10131b;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(18, 23, 35, 0.82);
  --text: #f4f7fb;
  --muted: #aab4c5;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #82f3d2;
  --accent-strong: #3ab68f;
  --accent-alt: #96c4ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --glass-highlight: rgba(255, 255, 255, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 12%, rgba(130, 243, 210, 0.16), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(150, 196, 255, 0.16), transparent 26%),
    radial-gradient(circle at 50% 60%, rgba(58, 182, 143, 0.1), transparent 34%),
    linear-gradient(180deg, #05060a 0%, #0a0f15 45%, #05060a 100%);
  color: var(--text);
}

a {
  color: inherit;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7, 9, 14, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: linear-gradient(45deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: linear-gradient(45deg, var(--accent), var(--accent-alt));
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  background: transparent;
  border: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 60px;
  overflow: hidden;
  z-index: 1;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
}

.hero::before {
  width: 500px;
  height: 500px;
  top: 14%;
  left: 12%;
  background: rgba(123, 231, 255, 0.14);
  animation: driftA 7s ease-in-out infinite alternate;
}

.hero::after {
  width: 520px;
  height: 520px;
  right: 12%;
  bottom: 12%;
  background: rgba(139, 109, 255, 0.14);
  animation: driftB 8s ease-in-out infinite alternate;
}

@keyframes driftA {
  from { transform: translate(0, 0); }
  to { transform: translate(-26px, -34px); }
}

@keyframes driftB {
  from { transform: translate(0, 0); }
  to { transform: translate(28px, 30px); }
}

.hero-content,
.content-section,
.footer {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(1140px, 100%);
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(315deg, rgba(123, 231, 255, 0.08), transparent 36%);
  pointer-events: none;
}

.hero-topline,
.hero-grid,
.featured-project,
.content-section {
  position: relative;
  z-index: 1;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.status-pill {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #ecfaff;
  background: rgba(123, 231, 255, 0.1);
  border: 1px solid rgba(123, 231, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: stretch;
}

.hero-main {
  padding: 10px;
}

.intro {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(46px, 8vw, 72px);
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: 0.4px;
  text-shadow: 0 10px 35px rgba(123, 231, 255, 0.16);
}

.gradient {
  background: linear-gradient(45deg, #f8fdff 0%, var(--accent) 35%, #9edfff 62%, var(--accent-alt) 100%);
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 20px rgba(123, 231, 255, 0.22));
}

.typing {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--accent);
  margin-bottom: 18px;
  min-height: 34px;
}

.description {
  max-width: 620px;
  margin: 0 0 28px;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}

.trust-strip {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip span,
.contact-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #ecfffa;
  background: rgba(130, 243, 210, 0.08);
  border: 1px solid rgba(130, 243, 210, 0.14);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 28px;
}

.metric {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
  color: var(--text);
}

.metric span {
  font-size: 13px;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  font-weight: 500;
}

.primary {
  background: linear-gradient(45deg, var(--accent), var(--accent-strong));
  color: #041019;
  box-shadow: 0 12px 30px rgba(123, 231, 255, 0.18);
}

.secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.tertiary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(77, 124, 255, 0.18);
}

.social-links {
  margin-top: 26px;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.03);
}

.social-links a:hover {
  color: var(--accent);
  background: rgba(61, 217, 235, 0.08);
  transform: translateY(-3px);
  border-color: rgba(61, 217, 235, 0.45);
}

.content-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 48px;
}

.content-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.section-heading {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 34px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
}

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

.about-card,
.info-tile,
.skill-group,
.highlight-card,
.featured-project,
.card,
.testimonial-card,
.contact-panel,
.contact-form {
  background: linear-gradient(180deg, rgba(27, 33, 48, 0.62), rgba(12, 16, 24, 0.72));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.about-card::before,
.info-tile::before,
.skill-group::before,
.highlight-card::before,
.featured-project::before,
.card::before,
.testimonial-card::before,
.contact-panel::before,
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 32%);
  pointer-events: none;
}

.about-card,
.contact-panel,
.contact-form {
  padding: 26px;
}

.about-card p,
.info-tile p,
.highlight-card p,
.card p,
.featured-copy p,
.contact-panel p,
.form-note {
  color: var(--muted);
  line-height: 1.7;
}

.about-card p + p {
  margin-top: 14px;
}

.about-points {
  display: grid;
  gap: 16px;
}

.info-tile,
.highlight-card,
.skill-group,
.card,
.testimonial-card {
  padding: 22px;
}

.info-tile h3,
.skill-group h3,
.highlight-card h3,
.featured-copy h3,
.card h3,
.contact-panel h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.skills-grid,
.highlight-grid,
.projects-container,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-list span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(61, 217, 235, 0.08);
  border: 1px solid rgba(61, 217, 235, 0.16);
  color: #dffbff;
  font-size: 13px;
}

.featured-project {
  margin-bottom: 22px;
  padding: 28px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.featured-project::before {
  background: linear-gradient(120deg, rgba(130, 243, 210, 0.08), transparent 35%, rgba(150, 196, 255, 0.08));
}

.featured-copy {
  position: relative;
  z-index: 1;
}

.featured-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  margin-bottom: 10px;
}

.feature-list {
  margin: 18px 0 20px 20px;
  color: var(--muted);
  line-height: 1.8;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.featured-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.visual-panel {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.visual-main {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.visual-side {
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.visual-badge,
.mini-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #ebfbff;
  background: rgba(123, 231, 255, 0.12);
  border: 1px solid rgba(123, 231, 255, 0.18);
}

.visual-line {
  display: block;
  height: 18px;
  width: 82%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(123, 231, 255, 0.7), rgba(106, 141, 255, 0.24));
}

.line-wide {
  width: 52%;
}

.line-short {
  width: 64%;
}

.hero-showcase {
  display: grid;
  gap: 18px;
}

.showcase-card {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

.card-label {
  margin-bottom: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
}

.showcase-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.showcase-card p,
.signal-list {
  color: var(--muted);
  line-height: 1.7;
}

.stack-orbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-orbs span {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #f2fcff;
  background: rgba(130, 243, 210, 0.08);
  border: 1px solid rgba(130, 243, 210, 0.14);
}

.signal-list {
  margin-left: 18px;
}

.project-links a,
.card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.project-links a:hover,
.card a:hover,
.contact-info a:hover {
  text-decoration: underline;
}

.card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card span {
  display: inline-block;
  margin: 8px 0 10px;
  color: #d1d8e5;
  font-size: 13px;
}

.card:hover,
.highlight-card:hover,
.skill-group:hover,
.info-tile:hover,
.showcase-card:hover,
.visual-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 217, 235, 0.28);
}

.contact-info {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.contact-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  outline: none;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 14px;
  width: 100%;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: linear-gradient(45deg, var(--accent), var(--accent-strong));
  border: none;
  padding: 13px 18px;
  color: #041019;
  cursor: pointer;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.contact-form button:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.form-note {
  font-size: 13px;
}

.footer {
  text-align: center;
  padding: 26px 20px 40px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .featured-project,
  .about-grid,
  .contact-layout,
  .skills-grid,
  .highlight-grid,
  .projects-container {
    grid-template-columns: 1fr;
  }

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

  .hero-main {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    right: 0;
    background: rgba(8, 10, 15, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    width: 220px;
    text-align: center;
    display: none;
    padding: 22px 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 0 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 100px 16px 48px;
  }

  .hero-content {
    padding: 22px 16px;
    border-radius: 24px;
  }

  .hero-topline {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .trust-strip {
    justify-content: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
    gap: 10px;
  }

  .social-links a {
    font-size: 13px;
  }

  .content-section {
    width: min(1120px, calc(100% - 28px));
    padding: 34px 0 40px;
  }

  .contact-tags {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 42px;
  }

  .typing {
    font-size: 16px;
  }

  .metric strong {
    font-size: 18px;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .social-links a {
    width: 100%;
    justify-content: center;
  }
}
