@import url('fonts.css');

:root {
  --ink: #2f2940;
  --ink-soft: #665c74;
  --cream: #fffaf4;
  --pink: #ffd6e7;
  --pink-strong: #ff9fc6;
  --peach: #ffd9b7;
  --blue: #cde9ff;
  --lavender: #e6dcff;
  --green: #54c786;
  --white: rgba(255, 255, 255, 0.92);
  --shadow: 0 22px 60px rgba(80, 52, 90, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 214, 231, 0.9), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(205, 233, 255, 0.85), transparent 30%),
    radial-gradient(circle at 82% 85%, rgba(230, 220, 255, 0.8), transparent 28%),
    linear-gradient(145deg, #fff7fb 0%, #fffaf2 48%, #f8f6ff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(98, 81, 118, 0.18) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 28px));
  margin: 24px auto 34px;
}

.hero {
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: white;
}

.hero img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.card {
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.intro {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: center;
  padding: 30px;
  margin-top: 24px;
}

.portrait-wrap {
  position: relative;
  width: 100%;
}

.portrait {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 26px;
  box-shadow: 0 16px 35px rgba(80, 52, 90, 0.18);
  transform: rotate(-2deg);
}

.portrait-badge {
  position: absolute;
  right: -12px;
  bottom: -12px;
  padding: 9px 14px;
  color: #fff;
  background: var(--pink-strong);
  border: 4px solid #fff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(255, 111, 169, 0.28);
  transform: rotate(4deg);
}

.eyebrow {
  margin: 0 0 8px;
  color: #9a6b8d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1, h2 {
  margin: 0;
  font-family: "Baloo 2", system-ui, sans-serif;
  line-height: 1;
}

h1 {
  font-size: clamp(2.7rem, 8vw, 5.5rem);
  color: #46374f;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  line-height: 1.7;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.mini-tags span {
  padding: 8px 13px;
  color: #57485f;
  background: linear-gradient(135deg, var(--pink), var(--peach));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.ca-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
  padding: 24px 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,246,250,0.94));
}

.ca {
  margin: 0;
  color: #3d3445;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.85rem, 2.2vw, 1.06rem);
  font-weight: 700;
  word-break: break-all;
}

.copy-button,
.linkedin-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.copy-button {
  flex: 0 0 auto;
  padding: 14px 20px;
  color: #fff;
  background: linear-gradient(135deg, #ff9fc6, #ff7dad);
  box-shadow: 0 10px 22px rgba(255, 111, 169, 0.3);
}

.copy-button:hover,
.linkedin-button:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.08);
}

.copy-button:active,
.linkedin-button:active {
  transform: translateY(0) scale(0.98);
}

.cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(205,233,255,.75), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,252,255,.94));
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  background: #fff;
  border-radius: 24px;
  font-size: 2.5rem;
  box-shadow: 0 12px 28px rgba(76, 103, 128, 0.14);
  transform: rotate(-5deg);
}

.cta p:not(.eyebrow) {
  margin: 9px 0 0;
  color: var(--ink-soft);
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 15px 21px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #63d798, #31b875);
  box-shadow: 0 12px 26px rgba(49, 184, 117, 0.26);
}

footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 28px 10px 8px;
  color: #8c7d95;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: lowercase;
}

.heart { color: #ff79aa; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 20;
  padding: 12px 18px;
  color: #fff;
  background: #3f3548;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

.bubble {
  position: absolute;
  display: grid;
  place-items: center;
  color: rgba(120, 91, 134, 0.36);
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(87, 67, 102, 0.1);
  animation: float 8s ease-in-out infinite;
}

.b1 { width: 52px; height: 52px; left: 3%; top: 16%; animation-delay: -1s; }
.b2 { width: 42px; height: 42px; right: 7%; top: 22%; animation-delay: -3s; }
.b3 { width: 58px; height: 58px; left: 7%; bottom: 16%; animation-delay: -5s; }
.b4 { width: 38px; height: 38px; right: 4%; bottom: 10%; animation-delay: -2s; }
.b5 { width: 48px; height: 48px; left: 47%; top: 4%; animation-delay: -6s; }
.b6 { width: 50px; height: 50px; right: 24%; bottom: 5%; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 18px, 680px); margin-top: 10px; }
  .hero, .card { border-radius: 22px; }
  .intro { grid-template-columns: 1fr; gap: 26px; padding: 20px; }
  .portrait-wrap { max-width: 320px; margin: 0 auto; }
  .intro-copy { text-align: center; }
  .mini-tags { justify-content: center; }
  .ca-card { align-items: stretch; flex-direction: column; padding: 20px; }
  .copy-button { width: 100%; }
  .cta { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; }
  .cta-icon { margin: 0 auto; }
  .linkedin-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .bubble { animation: none; }
  .copy-button, .linkedin-button, .toast { transition: none; }
}
