/* ============================================================
   AYON ROY - PORTFOLIO CSS
   Professional Data Scientist Portfolio Design System
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --bg: #060b18;
  --bg-2: #0d1526;
  --bg-card: #111827;
  --bg-card-2: #1a2235;
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);

  --accent: #6366f1;
  /* indigo */
  --accent-2: #22d3ee;
  /* cyan   */
  --accent-glow: rgba(99, 102, 241, 0.2);

  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);

  --nav-h: 68px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Fira Code', 'Cascadia Code', monospace;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #fff;
}

ul {
  list-style: none;
}

/* ── Skip Link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: var(--radius);
  z-index: 999;
  font-size: .875rem;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* ── Section helpers ────────────────────────────────────────── */
.section {
  padding: 3.5rem 0;
}

.section-sm {
  padding: 1.5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent-2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: .75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 600px;
}

/* ── Gradient text ──────────────────────────────────────────── */
.grad {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #818cf8 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-2);
  padding: .75rem 1rem;
}

.btn-ghost:hover {
  color: #fff;
}

/* ── Badge ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-cyan {
  background: rgba(34, 211, 238, 0.1);
  color: #67e8f9;
  border-color: rgba(34, 211, 238, 0.25);
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card:hover::before {
  opacity: 1;
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: rgba(6, 11, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}

.nav-logo span {
  color: var(--accent-2);
}

.nav-logo:hover {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-resume-mobile {
  display: none;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  margin-left: 1rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--text);
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(99, 102, 241, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(34, 211, 238, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--accent-2);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .6s .2s forwards;
}

.greeting-text {
  color: var(--text);
  font-weight: 600;
  margin-right: .5rem;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(74, 222, 128, 0.1);
  padding: .2rem .6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.availability-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
  animation: blink 2s infinite;
}

.availability-status {
  font-size: .75rem;
  color: #4ade80;
  font-weight: 600;
}

.hero-tag::before {
  display: none;
}

.hero-name {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--text);
  opacity: 0;
  animation: fadeUp .6s .35s forwards;
}

.hero-role {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-2);
  margin-top: .75rem;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp .6s .5s forwards;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-top: 1.5rem;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp .6s .65s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp .6s .8s forwards;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp .6s .95s forwards;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: .7rem;
  color: var(--text-3);
  margin-top: .25rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn .8s .5s forwards;
}

.profile-frame {
  position: relative;
  width: clamp(280px, 35vw, 420px);
  aspect-ratio: 0.95;
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-glow), 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-frame::before,
.profile-frame::after {
  display: none;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.floating-badge {
  position: absolute;
  background: rgba(13, 21, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: .5rem .85rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: float 5s ease-in-out infinite;
  z-index: 10;
}

.floating-badge span {
  font-size: 1rem;
}

.floating-badge:nth-child(2) {
  top: 15%;
  right: -4%;
  animation-delay: 0s;
}

.floating-badge:nth-child(3) {
  top: 60%;
  right: -6%;
  animation-delay: 1.5s;
}

.floating-badge:nth-child(4) {
  bottom: 15%;
  left: -6%;
  animation-delay: 0.75s;
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.about-accent-card {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-2);
  /* Columbia blue boundary */
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2), var(--shadow);
  /* Blue glow */
  z-index: 10;
  transition: transform var(--transition);
}

.about-accent-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.3), var(--shadow);
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-2);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.highlight-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.highlight-text {
  font-size: .875rem;
  color: var(--text-2);
}

.highlight-text strong {
  color: var(--text);
  display: block;
  margin-bottom: .2rem;
}

/* ── EXPERIENCE ─────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all .5s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: .4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
  transform: translateX(-5.5px);
}

.timeline-dot.cyan {
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.2);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-bottom: .75rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--accent-2);
  font-weight: 600;
}

.timeline-loc {
  font-size: .8rem;
  color: var(--text-3);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
}

.timeline-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  padding: .35rem;
  flex-shrink: 0;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.timeline-company {
  font-size: .875rem;
  color: var(--accent-2);
  margin-top: .15rem;
}

.timeline-body {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── PROJECTS ───────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.project-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
  line-height: 1.3;
}

.project-desc {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.tag {
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .6rem;
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, 0.08);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

/* ── FEATURED SHOWCASE ───────────────────────────────────────── */
.featured-project {
  padding-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.showcase-wrapper {
  position: relative;
  padding: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(99, 102, 241, 0.1);
}

.showcase-wrapper::before {
  content: "";
  position: absolute;
  inset: -200%;
  background: conic-gradient(from 0deg,
      transparent 0deg,
      transparent 150deg,
      var(--accent) 180deg,
      var(--accent-2) 210deg,
      transparent 240deg);
  animation: rotate-border 8s linear infinite;
  z-index: 0;
}

@keyframes rotate-border {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.showcase-card {
  display: flex;
  flex-direction: column;
  background: #0a0b17;
  border-radius: 29px;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.showcase-content {
  padding: 2.5rem 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-right: none;
  border-bottom: 1px solid var(--border);
}

.showcase-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.showcase-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 850;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 800px;
}

.showcase-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-5px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
  border-radius: 12px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ── GRID TRANSITION ────────────────────────────────────────── */
.grid-transition {
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.grid-transition::before,
.grid-transition::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.transition-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.transition-label span {
  color: var(--accent-2);
}

.showcase-footer {
  padding: 1.5rem 4rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.01);
}

.showcase-info-grid {
  display: flex;
  gap: 4rem;
  flex-grow: 1;
}

.info-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.info-label {
  font-size: 0.7rem;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.info-stat:first-child .info-value {
  color: var(--accent-2);
}

.showcase-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

@media (max-width: 1200px) {

  .showcase-content,
  .showcase-footer {
    padding: 3rem;
  }

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

  .showcase-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .showcase-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .showcase-features {
    grid-template-columns: 1fr;
  }

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

  .showcase-title {
    font-size: 2.25rem;
  }
}

/* ── SKILLS ─────────────────────────────────────────────────── */
.skills-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}

.skill-category:hover {
  border-color: var(--border-glow);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.skill-cat-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.skill-cat-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.skill-tag {
  padding: .35rem .85rem;
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: var(--bg);
  transition: all var(--transition);
}

.skill-tag:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

/* ── EDUCATION ──────────────────────────────────────────────── */
.edu-grid {
  display: grid;
  gap: 1.5rem;
}

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.edu-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.edu-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  padding: .5rem;
}

.edu-degree {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .35rem;
}

.edu-school {
  font-size: 1rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: .5rem;
}

.edu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .85rem;
  color: var(--text-3);
  margin-bottom: .75rem;
}

.edu-grade {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--text-2);
  margin-top: .5rem;
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: .75rem;
}

.contact-info p {
  color: var(--text-2);
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  color: var(--text-2);
}

.contact-link:hover {
  border-color: var(--accent-2);
  color: var(--text);
  background: var(--bg-card-2);
}

.contact-link-icon {
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-link-text {
  font-size: .9rem;
  font-weight: 500;
}

.contact-link-label {
  font-size: .75rem;
  color: var(--text-3);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-2);
}

.form-control {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: .9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-control::placeholder {
  color: var(--text-3);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: .15rem;
}

.form-check label {
  font-size: .85rem;
  color: var(--text-2);
  cursor: pointer;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: .875rem;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.footer-links a {
  color: var(--text-3);
  display: flex;
  align-items: center;
  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
  color: var(--accent-2);
  transform: translateY(-2px);
}

.footer-links a svg {
  display: block;
}

/* ── Page Header (inner pages) ──────────────────────────────── */
.page-header {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(99, 102, 241, 0.1), transparent 70%);
  pointer-events: none;
}

.page-header .section-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

/* ── CTA Band ───────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(34, 211, 238, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem;
  text-align: center;
  margin: 0;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: .75rem;
}

.cta-band p {
  color: var(--text-2);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    color: #4ade80;
  }

  50% {
    opacity: 0.3;
  }
}

.availability-status {
  animation: blink 2s ease-in-out infinite;
  color: #4ade80;
  /* Brighter green */
  font-weight: 700;
}

.acceptance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 8px;
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 1rem;
  animation: blink 2.5s ease-in-out infinite;
}

.acceptance-badge svg {
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

@keyframes rotateBorder {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

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

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

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .profile-frame {
    width: 220px;
    height: 220px;
  }

  .floating-badge {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-accent-card {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: .5rem;
  }

  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(6, 11, 24, 0.98);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-resume-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    color: var(--accent-2) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
    animation: pulse Glow 2s ease-in-out infinite;
  }

  .nav-resume-mobile:hover {
    background: rgba(99, 102, 241, 0.25);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  }

  @keyframes pulseGlow {

    0%,
    100% {
      box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
      border-color: var(--accent);
    }

    50% {
      box-shadow: 0 0 25px rgba(34, 211, 238, 0.4);
      border-color: var(--accent-2);
    }
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

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

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 2.5rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .timeline {
    padding-left: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}