/* ═══════════ RESET & BASE ═══════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f5f3ff;
  --bg-alt: #ede9fe;
  --text: #1a1d28;
  --text-secondary: #5a6175;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-light: #f5f3ff;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --card-hover-shadow: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Mono', monospace;
  --max-width: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h2 { font-size: 2rem; margin-bottom: 40px; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 600; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

/* ═══════════ NAVIGATION ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px; display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem;
  color: var(--text); letter-spacing: -0.02em;
}
.nav-logo:hover { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: white;
    border-bottom: 1px solid var(--border); padding: 24px; gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .mobile-toggle { display: block; }
}

/* ═══════════ HERO ═══════════ */
.hero {
  text-align: center; padding: 180px 24px 120px;
  background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 40%, #ede9fe 100%);
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px;
}
.hero-tagline {
  font-size: 1.35rem; color: var(--text-secondary); font-weight: 500;
  max-width: 600px; margin: 0 auto 12px;
}
.hero-sub {
  font-size: 0.95rem; color: #94a3b8; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  display: inline-block; padding: 14px 32px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: white; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════ BIO ═══════════ */
.bio-card {
  max-width: 800px; margin: 0 auto; background: white;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px; font-size: 1.1rem; line-height: 1.8; color: var(--text-secondary);
  box-shadow: var(--card-shadow);
}
.bio-card em { color: var(--accent); font-style: normal; font-weight: 600; }

/* ═══════════ ACCOMPLISHMENTS ═══════════ */
.accomplishments-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.accomplishment-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--card-shadow); transition: box-shadow 0.3s, transform 0.2s;
}
.accomplishment-card:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-2px); }
.accomplishment-icon { font-size: 1.5rem; margin-bottom: 12px; color: var(--accent); }
.accomplishment-area { font-weight: 700; font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.accomplishment-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 10px; }
.accomplishment-impact {
  font-size: 0.85rem; color: var(--accent); font-weight: 500;
  padding-top: 10px; border-top: 1px solid var(--border);
}

/* ═══════════ EXPERIENCE ═══════════ */
.experience-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.experience-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--card-shadow);
}
.experience-card h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 16px;
  color: var(--accent); letter-spacing: -0.01em;
}
.experience-card ul { padding-left: 20px; color: var(--text-secondary); font-size: 0.9rem; }
.experience-card li { margin-bottom: 8px; }
.experience-card li:last-child { margin-bottom: 0; }
.metrics-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border);
}
.metric { font-size: 0.85rem; color: var(--text-secondary); text-align: center; }
.metric strong { display: block; font-size: 1.5rem; color: var(--accent); font-weight: 700; }

/* ═══════════ SKILLS ═══════════ */
.skills-grid { display: flex; flex-direction: column; gap: 28px; max-width: 800px; }
.skill-category h3 { margin-bottom: 12px; font-size: 1rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span {
  background: white; border: 1px solid var(--border); border-radius: 20px;
  padding: 6px 16px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary);
  transition: all 0.2s;
}
.skill-tags span:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════ EDUCATION ═══════════ */
.education-list { display: flex; flex-direction: column; gap: 20px; max-width: 650px; }
.education-item {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 24px 28px; box-shadow: var(--card-shadow);
}
.education-degree { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.education-school { color: var(--text-secondary); font-size: 0.9rem; }

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--card-shadow);
  border-left: 4px solid var(--accent);
}
.testimonial p { font-style: italic; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ═══════════ CONTACT ═══════════ */
.contact-intro { text-align: center; color: var(--text-secondary); font-size: 1.15rem; margin-bottom: 40px; margin-top: -20px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 700px; margin: 0 auto; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px; color: var(--text); transition: all 0.2s; box-shadow: var(--card-shadow);
}
.contact-card:hover { border-color: var(--accent); box-shadow: var(--card-hover-shadow); transform: translateY(-2px); }
.contact-icon { font-size: 1.8rem; margin-bottom: 8px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card span { font-size: 0.85rem; color: var(--text-secondary); }

/* ═══════════ FOOTER ═══════════ */
.footer {
  text-align: center; padding: 32px 24px;
  border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 0.85rem;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 140px 24px 80px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-tagline { font-size: 1.1rem; }
  .bio-card { padding: 24px; font-size: 1rem; }
  .accomplishments-grid, .experience-grid, .testimonials-grid { grid-template-columns: 1fr; }
  h2 { font-size: 1.5rem; margin-bottom: 28px; }
}
