/* --- Variables: rounded, youthful, LGBTQ-friendly palette --- */
:root {
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 9999px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --color-bg: #faf9fc;
  --color-surface: #ffffff;
  --color-text: #1a1625;
  --color-text-muted: #5c5468;
  --color-accent-lavender: #b8a9e0;
  --color-accent-rose: #e8b4bc;
  --color-accent-sky: #9ec8e3;
  --color-accent-mint: #b8e0d2;
  --color-accent-peach: #f0d4c4;
  --gradient-hero: linear-gradient(135deg, #e8e0f0 0%, #f5e6ec 35%, #e0eef5 70%, #e5f2ed 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,246,252,0.98) 100%);
  --shadow-soft: 0 8px 32px rgba(138, 118, 168, 0.08);
  --shadow-card: 0 12px 40px rgba(92, 84, 104, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: var(--gradient-card);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  color: var(--color-text) !important;
  background: linear-gradient(135deg, var(--color-accent-lavender), var(--color-accent-rose));
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

.nav-cta:hover {
  opacity: 0.92;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(60px);
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--color-accent-lavender);
  top: -100px;
  right: -80px;
}

.hero-shape-2 {
  width: 320px;
  height: 320px;
  background: var(--color-accent-rose);
  bottom: 10%;
  left: -60px;
}

.hero-shape-3 {
  width: 260px;
  height: 260px;
  background: var(--color-accent-mint);
  top: 40%;
  right: 15%;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 640px;
}

.hero-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #4a3f5c 0%, #6b5b7a 50%, #8b7a9e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  line-height: 1.6;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-lavender), #a090d0);
  color: #1a1625;
  box-shadow: 0 4px 20px rgba(184, 169, 224, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(184, 169, 224, 0.45);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 2px solid var(--color-accent-lavender);
}

.btn-secondary:hover {
  background: rgba(184, 169, 224, 0.12);
}

/* --- Sections --- */
.section {
  padding: 4rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.container {
  width: 100%;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

/* --- About --- */
.about-card {
  background: var(--gradient-card);
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(184, 169, 224, 0.2);
}

.about-text {
  margin: 0 0 1rem;
  color: var(--color-text);
}

.about-location {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* --- Timeline / Experience --- */
.timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--color-accent-lavender), var(--color-accent-rose));
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184, 169, 224, 0.25);
}

.timeline-card {
  margin-left: 2rem;
  background: var(--gradient-card);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(184, 169, 224, 0.15);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.timeline-company {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.timeline-date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--color-text);
}

.timeline-location {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
}

.timeline-bullets {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.timeline-bullets li {
  margin-bottom: 0.35rem;
}

.timeline-bullets li:last-child {
  margin-bottom: 0;
}

/* --- Skills --- */
.skills {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  margin: 2rem 1.5rem;
  max-width: calc(800px + 3rem);
  margin-left: auto;
  margin-right: auto;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--gradient-card);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(184, 169, 224, 0.2);
}

/* --- Education --- */
.education-card {
  background: var(--gradient-card);
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(184, 169, 224, 0.2);
}

.education-school {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.education-degree {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* --- Contact --- */
.contact-card {
  background: linear-gradient(145deg, rgba(184, 169, 224, 0.15) 0%, rgba(232, 180, 188, 0.12) 50%, rgba(184, 224, 210, 0.15) 100%);
  padding: 2.5rem 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(184, 169, 224, 0.25);
  text-align: center;
}

.contact-text {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.contact-email {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}

.contact-email:hover {
  color: #6b5b7a;
}

/* --- Footer --- */
.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 1rem 0 0.5rem;
    gap: 0.75rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 75vh;
    padding: 5rem 1rem 3rem;
  }

  .about-card,
  .education-card,
  .contact-card {
    padding: 1.5rem 1.25rem;
  }

  .timeline-card {
    margin-left: 1.75rem;
    padding: 1.25rem 1.35rem;
  }

  .timeline-dot {
    width: 12px;
    height: 12px;
    top: 1.25rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .skills {
    margin: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
