:root {
  color-scheme: light;
  --bg: #edf1f7;
  --ink: #0b1220;
  --muted: #4b5565;
  --accent: #1d4ed8;
  --accent-dark: #1e40af;
  --accent-hot: #f97316;
  --teal: #0f766e;
  --card: rgba(255, 255, 255, 0.92);
  --border: rgba(12, 18, 32, 0.1);
  --shadow: 0 24px 45px rgba(9, 14, 25, 0.15);
  --shadow-soft: 0 12px 24px rgba(9, 14, 25, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.background-mesh {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(29, 78, 216, 0.18), transparent 55%),
    radial-gradient(circle at 82% 10%, rgba(249, 115, 22, 0.18), transparent 52%),
    radial-gradient(circle at 80% 82%, rgba(15, 118, 110, 0.18), transparent 55%);
  background-size: 160% 160%;
  animation: mesh-drift 18s ease-in-out infinite;
  z-index: -5;
}

@property --float-x {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --float-y {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --float-scale {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@keyframes mesh-drift {
  0% {
    background-position: 0% 0%, 100% 0%, 100% 100%;
  }
  50% {
    background-position: 16% 12%, 86% 10%, 84% 90%;
  }
  100% {
    background-position: 0% 0%, 100% 0%, 100% 100%;
  }
}

.background-orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
  z-index: -4;
  transform: translate3d(
    calc(var(--float-x, 0px)),
    calc(var(--parallax, 0px) + var(--float-y, 0px)),
    0
  ) scale(var(--float-scale, 1));
  transition: transform 0.3s ease-out;
  animation: orb-float 14s ease-in-out infinite;
}

.orb-1 {
  background: radial-gradient(circle at 30% 30%, rgba(29, 78, 216, 0.6), transparent 70%);
  top: -140px;
  left: -120px;
  animation-duration: 16s;
}

.orb-2 {
  background: radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.5), transparent 70%);
  bottom: -160px;
  right: -120px;
  animation-duration: 18s;
  animation-delay: -4s;
}

.orb-3 {
  background: radial-gradient(circle at 30% 30%, rgba(15, 118, 110, 0.5), transparent 70%);
  top: 40%;
  right: -180px;
  animation-duration: 17s;
  animation-delay: -7s;
}

@keyframes orb-float {
  0% {
    --float-x: -8px;
    --float-y: 6px;
    --float-scale: 1;
    opacity: 0.3;
  }
  50% {
    --float-x: 42px;
    --float-y: -36px;
    --float-scale: 1.08;
    opacity: 0.52;
  }
  100% {
    --float-x: -8px;
    --float-y: 6px;
    --float-scale: 1;
    opacity: 0.3;
  }
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.2;
  pointer-events: none;
  z-index: -2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(237, 241, 247, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(12, 18, 32, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav a:hover {
  background: rgba(12, 18, 32, 0.08);
}

.nav-cta {
  background: var(--ink);
  color: #fff;
}

.floating-nav {
  position: sticky;
  top: 72px;
  z-index: 9;
  padding: 10px 0 0;
}

.feature-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(12, 18, 32, 0.12);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  overflow-x: auto;
  scrollbar-width: none;
}

.feature-nav::-webkit-scrollbar {
  display: none;
}

.feature-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.feature-nav a.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px rgba(12, 18, 32, 0.2);
}

.hero {
  padding: 96px 0 60px;
}
.hero-card {
  position: relative;
}

.hero-card-inner {
  background: var(--card);
  border: 1px solid rgba(29, 78, 216, 0.2);
  padding: 32px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card-inner h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.hero-card-inner p {
  color: var(--muted);
  margin-bottom: 18px;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: rgba(29, 78, 216, 0.08);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 4px;
  font-weight: 700;
  color: var(--accent-dark);
}

.stat-card small {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}


.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: rgba(15, 118, 110, 0.12);
  color: var(--teal);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}


h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  margin-bottom: 16px;
  line-height: 1.05;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
}


.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.24);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(29, 78, 216, 0.3);
}

.btn.secondary {
  background: var(--accent-hot);
  color: #fff;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.24);
}

.btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.3);
}

.btn.projects {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.28);
}

.btn.projects:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.36);
}

.btn.linkedin {
  background: #0a66c2;
  color: #fff;
  box-shadow: 0 12px 24px rgba(10, 102, 194, 0.25);
}

.btn.linkedin:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(10, 102, 194, 0.32);
}

.btn.instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(221, 42, 123, 0.28);
  border: none;
}

.btn.instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(221, 42, 123, 0.36);
}

.btn.github {
  background: #fff;
  color: #000;
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.25);
}

.btn.github:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(255, 255, 255, 0.35);
}

.hero-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-meta a {
  color: var(--accent-dark);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.profile-card {
  position: absolute;
  top: -18px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(12, 18, 32, 0.12);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  z-index: 3;
}

.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(from 140deg, var(--accent), var(--teal), var(--accent-hot), var(--accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.profile-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.profile-role {
  font-size: 0.8rem;
  color: var(--muted);
}

.impact-card {
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  margin-top: 28px;
}

.impact-card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.impact-line {
  color: var(--muted);
  margin-bottom: 18px;
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.impact-metric {
  background: rgba(29, 78, 216, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
}

.impact-metric strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent-dark);
}

.impact-metric span {
  font-size: 0.85rem;
  color: var(--muted);
}

.impact-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.impact-pill {
  background: rgba(15, 118, 110, 0.12);
  color: var(--teal);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  position: relative;
  z-index: 2;
}

.status-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 10px;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(29, 78, 216, 0.12);
  color: var(--accent-dark);
}

.status-badge.live {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.status-badge.active {
  background: rgba(249, 115, 22, 0.15);
  color: #c2410c;
}

.status-metrics {
  display: flex;
  gap: 18px;
}

.status-metrics strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}

.status-metrics small {
  color: var(--muted);
  font-size: 0.8rem;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
}

.glass-top {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(12, 18, 32, 0.25);
}

.glass-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.glass-content p {
  color: var(--muted);
  font-size: 0.92rem;
}

.device-stack {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}

.device-card {
  background: #0b1220;
  color: #f8fafc;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 18px 32px rgba(10, 15, 30, 0.28);
}

.device-card.offset {
  transform: translateX(16px);
}

.device-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.status {
  color: #34d399;
  font-weight: 600;
}

.device-line {
  height: 6px;
  background: rgba(248, 250, 252, 0.18);
  border-radius: 999px;
  margin-bottom: 10px;
}

.device-line.short {
  width: 60%;
}

.device-metrics {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
}

.device-metrics strong {
  display: block;
  font-size: 1rem;
}

.hero-svg {
  position: absolute;
  right: -40px;
  top: 60px;
  width: 360px;
  z-index: 1;
  opacity: 0.8;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.strip-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.strip-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.strip-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.icon {
  width: 28px;
  height: 28px;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.showcase {
  padding: 90px 0 70px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(237, 241, 247, 0));
  border-top: 1px solid rgba(12, 18, 32, 0.08);
  border-bottom: 1px solid rgba(12, 18, 32, 0.08);
}

.showcase-header {
  margin-bottom: 40px;
}

.showcase-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 8vw;
  padding: 0 8vw 24px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.showcase-track::-webkit-scrollbar {
  display: none;
}

.showcase-card {
  min-width: min(720px, 84vw);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(12, 18, 32, 0.12);
  box-shadow: var(--shadow);
  scroll-snap-align: center;
  --tone: var(--accent);
  --tone-soft: rgba(29, 78, 216, 0.18);
}

.showcase-card.tone-orange {
  --tone: var(--accent-hot);
  --tone-soft: rgba(249, 115, 22, 0.18);
}

.showcase-card.tone-teal {
  --tone: var(--teal);
  --tone-soft: rgba(15, 118, 110, 0.18);
}

.showcase-card.tone-slate {
  --tone: #6366f1;
  --tone-soft: rgba(99, 102, 241, 0.18);
}

.showcase-title {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  color: var(--tone);
  margin-bottom: 12px;
}

.showcase-copy h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.showcase-copy p {
  color: var(--muted);
  margin-bottom: 18px;
}

.showcase-metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.showcase-metrics strong {
  display: block;
  font-size: 1.1rem;
  color: var(--ink);
}

.showcase-metrics span {
  font-size: 0.85rem;
  color: var(--muted);
}

.showcase-visual {
  background: var(--tone-soft);
  border-radius: 24px;
  padding: 16px;
  display: grid;
  place-items: center;
}

.showcase-screen {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  border: 1px solid rgba(12, 18, 32, 0.08);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.screen-top {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.screen-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(12, 18, 32, 0.2);
}

.screen-body {
  display: grid;
  gap: 12px;
}

.screen-pill {
  background: rgba(12, 18, 32, 0.08);
  color: var(--tone);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
  font-weight: 600;
}

.screen-lines span {
  display: block;
  height: 6px;
  background: rgba(12, 18, 32, 0.1);
  border-radius: 999px;
  margin-bottom: 8px;
}

.screen-lines span:last-child {
  width: 60%;
}

.screen-chart {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 80px;
}

.screen-chart span {
  flex: 1;
  height: var(--h, 50%);
  background: var(--tone);
  border-radius: 999px 999px 6px 6px;
  opacity: 0.7;
}

.screen-progress {
  display: grid;
  gap: 8px;
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(12, 18, 32, 0.12);
}

.progress-bar.active {
  background: var(--tone);
}

.screen-kpi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--tone);
}

.showcase-hint {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

section,
.showcase,
.hero {
  scroll-margin-top: 140px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.section-header h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--muted);
}

.section-subtitle {
  color: var(--muted);
  max-width: 320px;
}

.timeline {
  display: grid;
  gap: 24px;
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(29, 78, 216, 0));
}

.timeline-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
}

.timeline-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 10px;
  box-shadow: 0 0 0 6px rgba(29, 78, 216, 0.15);
}

.timeline-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.timeline-header h3 {
  font-size: 1.2rem;
}

.timeline-header span {
  font-size: 0.9rem;
  color: var(--muted);
}

.company {
  color: var(--accent-dark);
  font-weight: 600;
  margin-top: 6px;
}

.stack {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 10px 0 12px;
}

.timeline-content ul {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.timeline-content li {
  padding-left: 18px;
  position: relative;
}

.timeline-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-hot);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.project-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.project-card.feature {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(15, 118, 110, 0.1));
  border-color: rgba(29, 78, 216, 0.3);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.badge {
  background: rgba(29, 78, 216, 0.12);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.project-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.project-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: auto;
}

.inline-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--accent-dark);
}

.project-links {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.links-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.links-header h3 {
  font-size: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
}

.links-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.link-card {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(29, 78, 216, 0.28);
  background: rgba(29, 78, 216, 0.08);
  font-weight: 600;
  color: var(--accent-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  gap: 10px;
  align-items: center;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.18);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.skill-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
}

.skill-card .icon {
  color: var(--accent-dark);
}

.skill-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.skill-cloud {
  margin-top: 24px;
}

.skill-cloud-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  background: rgba(15, 118, 110, 0.08);
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.skill-cloud-inner span {
  background: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.research-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.research-card h3 {
  margin-bottom: 12px;
}

.research-card ul {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.education-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.education-card h3 {
  margin-bottom: 6px;
}

.school {
  font-weight: 600;
  color: var(--accent-dark);
}

.period {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
}

.minor {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
}

.certifications {
  display: grid;
  gap: 12px;
}

.cert-card {
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(29, 78, 216, 0.08);
  font-weight: 600;
  color: var(--accent-dark);
}

.contact-card {
  background: #0b1220;
  color: #fff;
  border-radius: 28px;
  padding: 32px;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  grid-template-areas: "copy actions photo";
  align-items: center;
  box-shadow: var(--shadow);
}

.contact-copy {
  grid-area: copy;
  align-self: start;
}

.contact-card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-photo {
  grid-area: photo;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.contact-photo img {
  width: 180px;
  max-width: 100%;
  height: auto;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
}

.contact-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  justify-self: center;
  width: 100%;
  max-width: 320px;
}

.contact-actions .btn {
  justify-content: center;
  width: 100%;
}

.site-footer {
  padding: 24px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .floating-nav {
    top: 64px;
  }

  .feature-nav {
    padding: 6px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-visual {
    min-height: auto;
  }

  .showcase-track {
    padding: 0 6vw 24px;
  }
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .profile-card {
    position: static;
    margin-top: 12px;
    width: fit-content;
  }

  .impact-card {
    padding: 22px;
  }

  .status-metrics {
    flex-direction: column;
    gap: 10px;
  }

  .section-header {
    align-items: flex-start;
  }

  .contact-card {
    padding: 24px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "actions"
      "photo";
  }

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

  .device-card.offset {
    transform: none;
  }

  .hero-svg {
    display: none;
  }

  .showcase-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-mesh,
  .background-orb {
    animation: none !important;
  }
}
