:root {
  --bg: #020617; /* slate-950 */
  --bg-soft: #0f172a; /* slate-900 */
  --panel: rgba(15, 23, 42, 0.6);
  --panel-strong: rgba(15, 23, 42, 0.9);
  --line: rgba(16, 185, 129, 0.15);
  --line-strong: rgba(16, 185, 129, 0.3);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #10b981;
  --primary-2: #34d399;
  --primary-3: #06b6d4; /* teal/cyan */
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --radius: 28px;
  --radius-sm: 16px;
  --max: 1200px;
  --glass-blur: blur(24px);
  --mouse-x: 50%;
  --mouse-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.06), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.06), transparent 25%);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.6;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-soft);
  border-radius: 10px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--line-strong);
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

/* Animated Grid Background */
.bg-grid {
  position: fixed;
  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: 50px 50px;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  pointer-events: none;
  z-index: -4;
}

/* Glowing Orbs */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -3;
  opacity: 0.5;
  animation: floatOrb 15s ease-in-out infinite alternate;
}

.orb-one {
  width: 400px;
  height: 400px;
  background: rgba(16, 185, 129, 0.15);
  top: -100px;
  left: -100px;
}

.orb-two {
  width: 500px;
  height: 500px;
  background: rgba(6, 182, 212, 0.15);
  bottom: -150px;
  right: -100px;
  animation-delay: -5s;
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  transition: left 0.15s ease-out, top 0.15s ease-out;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 250px;
}

.loader-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary-3), transparent);
  animation: loadingBar 1.5s infinite ease-in-out;
}

.loader-text {
  color: var(--primary-2);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 700;
  animation: pulseText 1.5s infinite;
}

@keyframes loadingBar {
  0% { left: -50%; }
  100% { left: 100%; }
}

@keyframes pulseText {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: rgba(2, 6, 23, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-3));
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.desktop-nav {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-3));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text);
}

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

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem 2rem;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: absolute;
  width: 100%;
  top: 80px;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

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

.mobile-nav a {
  padding: 1.25rem 0;
  color: var(--text);
  font-weight: 600;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.35s; }

/* Base Components */
.eyebrow,
.section-tag,
.project-topline {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  color: var(--primary-2);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-2), var(--primary-3), var(--text));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-3));
  color: var(--bg);
  box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.5);
}

.btn-primary:before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -10px rgba(16, 185, 129, 0.7);
}

.btn-primary:hover:before {
  left: 150%;
}

.btn-outline,
.btn-ghost {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-outline:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-2);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Cards (Mouse Tracked Glow) */
.hero-card,
.glass-card,
.skill-box,
.project-card,
.stat-card,
.contact-card,
.contact-form,
.timeline-content {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}

/* Mouse tracking border inner glow effect */
.hero-card::before,
.glass-card::before,
.skill-box::before,
.project-card::before,
.stat-card::before,
.contact-card::before,
.contact-form::before,
.timeline-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(16, 185, 129, 0.1),
    transparent 40%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.hero-card:hover::before,
.glass-card:hover::before,
.skill-box:hover::before,
.project-card:hover::before,
.stat-card:hover::before,
.contact-card:hover::before,
.contact-form:hover::before,
.timeline-content:hover::before {
  opacity: 1;
}

.hero-card > *,
.glass-card > *,
.skill-box > *,
.project-card > *,
.stat-card > *,
.contact-card > *,
.contact-form > *,
.timeline-content > * {
  position: relative;
  z-index: 2;
}

.hero-card:hover,
.glass-card:hover,
.skill-box:hover,
.project-card:hover,
.stat-card:hover,
.contact-card:hover,
.contact-form:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.2);
}

/* Sections */
.section {
  padding: 8rem 0 2rem;
}

.section-head {
  max-width: 800px;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem 0;
  letter-spacing: -0.03em;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
}

/* Pills and Chips */
.mini-pills,
.chips,
.availability-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mini-pills span,
.chips span,
.availability-grid span {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s ease;
}

.chips span:hover,
.mini-pills span:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--primary-2);
  color: var(--primary-2);
}

/* Hero Section */
.hero {
  padding: 12rem 0 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.03em;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 550px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-card {
  padding: 1.5rem;
}

.profile-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.profile-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-soft), transparent 50%);
  pointer-events: none;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.hero-card:hover .profile-photo {
  transform: scale(1.03);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.quick-info > div {
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
}

.status-card {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-2);
  font-weight: 600;
  font-size: 0.9rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 10px var(--primary-2);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

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

.stat-card {
  padding: 2rem;
}

.stat-card h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1;
}

.stat-card p {
  color: var(--muted);
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.glass-card {
  padding: 2.5rem;
}

.glass-card h3 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-2);
  font-weight: bold;
}

.availability-grid {
  margin-top: 1.5rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.skill-box {
  padding: 2rem;
}

.skill-box h3 {
  font-size: 1.25rem;
  margin: 0 0 1.5rem 0;
}

/* Experience */
.timeline {
  display: grid;
  gap: 2rem;
  position: relative;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem;
  align-items: start;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  background: var(--bg);
  border: 4px solid var(--primary-2);
  border-radius: 50%;
  margin: 12px auto 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.timeline-content {
  padding: 2rem;
}

.timeline-date {
  color: var(--primary-2);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.timeline-content p {
  color: var(--muted);
  margin: 0;
}

/* Projects */
.projects-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.bento-wide {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .projects-bento {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-wide {
    grid-column: span 2;
  }
}

.project-card h3 {
  font-size: 1.6rem;
  margin: 0.5rem 0 1rem;
}

.project-card p {
  color: var(--muted);
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

/* CV Modal */
.cv-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-modal.open {
  opacity: 1;
  visibility: visible;
}

.cv-modal-content {
  width: 90%;
  max-width: 1000px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid rgba(16, 185, 129, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-modal.open .cv-modal-content {
  transform: translateY(0) scale(1);
}

.cv-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.5);
  z-index: 10;
}

.cv-modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #ef4444;
}

.cv-modal-body {
  flex-grow: 1;
  background: #f8fafc;
  overflow: hidden;
  border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
}

.cv-modal-body iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.cv-modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  background: rgba(15, 23, 42, 0.5);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

.contact-card {
  padding: 1.5rem;
  text-align: center;
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.contact-form {
  padding: 2.5rem;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin: 0 0 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 4rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 0; }
}

@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -30px, 0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 2rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }

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

@media (max-width: 768px) {
  .desktop-nav,
  .nav-actions .btn-outline {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .about-grid,
  .skills-grid,
  .contact-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 7rem 0 2rem;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-text {
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    padding: 0 1rem;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .mini-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .mini-pills span {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .profile-frame {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
  
  .quick-info {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .quick-info div {
    padding: 0.5rem 0.25rem;
  }
  
  .quick-info .label {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
  }
  
  .quick-info strong {
    font-size: 0.8rem;
  }

  .stats-grid,
  .projects-bento {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bento-wide {
    grid-column: 1 / -1;
  }

  .section {
    padding: 3rem 0 1rem;
  }
  
  .section-head h2 {
    font-size: 2rem;
  }

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

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 1rem;
  }

  .timeline-dot {
    width: 16px;
    height: 16px;
    border-width: 3px;
    margin-top: 6px;
  }

  .timeline-content {
    padding: 1.5rem;
  }
  
  .cv-modal-content {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    transform: translateY(100%);
  }

  .cv-modal.open .cv-modal-content {
    transform: translateY(0) scale(1);
  }
  
  .cv-modal-body {
    border-radius: 0;
  }
}
