* {
  box-sizing: border-box;
}

:root{
  --bg: #fffafc;
  --text: #2d2432;
  --muted: #6b6074;
  --pink: #f7c9e3;
  --pink-strong: #f48fb1;
  --blue: #cfe6ff;
  --yellow: #fff1b8;
  --card: rgba(255,255,255,0.62);
  --border: rgba(255,255,255,0.55);
  --shadow: 0 18px 50px rgba(140, 110, 145, 0.16);
}

html { scroll-behavior: smooth; }

body{
  margin:0;
  font-family:'Poppins', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(247,201,227,.8), transparent 28%),
    radial-gradient(circle at top right, rgba(207,230,255,.9), transparent 24%),
    linear-gradient(180deg, #fffdfd 0%, #fff7fb 45%, #fffefa 100%);
  color:var(--text);
  overflow-x:hidden;
}

body::before{
  content:'';
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.6) 0 2px, transparent 3px),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,.5) 0 2px, transparent 3px);
  opacity:.25;
}

.hero{
  position:relative;
  padding:22px 20px 40px;
  max-width:1200px;
  margin:0 auto;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 0 22px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-badge{
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-weight:800;
  background:linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow:var(--shadow);
}

.brand h1{
  margin:0;
  font-size:1rem;
  line-height:1.1;
}

.brand p{
  margin:3px 0 0;
  color:var(--muted);
  font-size:.88rem;
}

.nav-pill{
  padding:12px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(255,255,255,.9);
  color:var(--text);
  text-decoration:none;
  box-shadow:var(--shadow);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  align-items:center;
  padding-top:16px;
}

.hero-text h2{
  font-size:clamp(2rem, 4vw, 4rem);
  line-height:1.05;
  margin:12px 0 14px;
  max-width:12ch;
}

.hero-text p{
  font-size:1rem;
  color:var(--muted);
  max-width:60ch;
  line-height:1.8;
}

.eyebrow,.section-tag{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(255,255,255,.9);
  font-size:.82rem;
  color:#7e5d73;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:26px 0 18px;
}

.btn{
  text-decoration:none;
  border-radius:16px;
  padding:13px 18px;
  font-weight:600;
  transition:.25s ease;
  box-shadow:var(--shadow);
}

.btn:hover, .nav-pill:hover, .contact-card:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:linear-gradient(135deg, var(--pink-strong), #ffb9d6);
  color:#fff;
}

.btn-secondary{
  background:rgba(255,255,255,.8);
  color:var(--text);
  border:1px solid rgba(255,255,255,.85);
}

.quick-info{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.chip{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(255,255,255,.9);
  color:#72596c;
}

.hero-card, .card, .info-card, .stack-card, .gallery-card, .contact-card{
  background:var(--card);
  border:1px solid var(--border);
  backdrop-filter:blur(16px);
  box-shadow:var(--shadow);
}

.hero-card{
  border-radius:34px;
  padding:18px;
  overflow:hidden;
}

.profile-frame{
  border-radius:28px;
  overflow:hidden;
  aspect-ratio: 4 / 5;
  background:linear-gradient(180deg, rgba(247,201,227,.6), rgba(207,230,255,.6));
}

.profile-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hero-card-body{
  padding:16px 10px 4px;
  text-align:center;
}

.hero-card-body h3{
  margin:0;
  font-size:1.4rem;
}

.hero-card-body p{
  margin:6px 0 0;
  color:var(--muted);
}

.section{
  max-width:1200px;
  margin:0 auto;
  padding:20px 20px 0;
}

.section-head{
  margin-bottom:16px;
}

.section-head h3{
  font-size:clamp(1.4rem, 2.3vw, 2rem);
  margin:10px 0 0;
}

.card{
  border-radius:28px;
  padding:24px;
  line-height:1.9;
  color:var(--muted);
}

.info-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}

.info-card{
  border-radius:24px;
  padding:18px;
  min-height:140px;
}

.info-card span, .stack-card p, .timeline-item p{
  color:var(--muted);
}

.info-card strong{
  display:block;
  margin-top:14px;
  font-size:1rem;
  line-height:1.5;
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.timeline{
  display:grid;
  gap:14px;
}

.timeline-item{
  display:grid;
  grid-template-columns:18px 1fr;
  gap:12px;
  align-items:flex-start;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow);
}

.timeline-dot{
  width:16px;
  height:16px;
  border-radius:50%;
  margin-top:6px;
  background:linear-gradient(135deg, var(--pink-strong), var(--blue));
}

.stack{
  display:grid;
  gap:14px;
}

.stack-card{
  border-radius:22px;
  padding:18px;
}

.stack-card h4, .timeline-item h4, .contact-card strong{
  margin:0 0 8px;
}

.gallery{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
}

.gallery-card{
  border-radius:26px;
  overflow:hidden;
  aspect-ratio: 4 / 5;
}

.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.contact-card{
  display:block;
  text-decoration:none;
  color:var(--text);
  border-radius:24px;
  padding:20px;
}

.contact-card span{
  color:var(--muted);
  display:block;
}

.footer{
  text-align:center;
  padding:34px 20px 40px;
  color:var(--muted);
}

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

.reveal.visible{
  opacity:1;
  transform:none;
}

.petals{
  position:fixed;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:-1;
}

.flower{
  position:absolute;
  font-size:18px;
  opacity:.75;
  animation:floatUp linear forwards;
  user-select:none;
}

@keyframes floatUp{
  0%{ transform:translateY(110vh) translateX(0) rotate(0deg) scale(.8); opacity:0; }
  10%{ opacity:.75; }
  100%{ transform:translateY(-18vh) translateX(var(--drift)) rotate(360deg) scale(1.2); opacity:0; }
}

@media (max-width: 960px){
  .hero-grid, .split, .info-grid, .contact-grid, .gallery{
    grid-template-columns:1fr;
  }

  .hero-text h2{
    max-width:none;
  }

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

@media (max-width: 560px){
  .hero, .section{
    padding-left:14px;
    padding-right:14px;
  }

  .hero-text h2{
    font-size:2rem;
  }

  .card, .stack-card, .timeline-item, .info-card, .contact-card{
    border-radius:20px;
  }
}
