/* Perlador landing – design tokens mirror packages/shared/design-tokens/tokens.json */
:root {
  --teal-900: #102020;
  --teal-700: #152d2d;
  --teal-500: #1A3A3A;
  --teal-400: #476B6B;
  --teal-200: #a3b9b9;
  --blush: #FADADD;
  --blush-soft: #FFF5F5;
  --coral: #FF6666;
  --coral-dark: #E65454;
  --mint: #98FB98;
  --sage: #C8C8B4;
  --sage-50: #f9f9f6;
  --sage-100: #f2f2ed;
  --text: #2F4F4F;
  --muted: #5f7575;
  --white: #ffffff;

  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --shadow-soft: 0 10px 40px -12px rgba(16, 32, 32, 0.25);
  --shadow-card: 0 20px 60px -20px rgba(16, 32, 32, 0.45);

  /* System font stacks – no external font requests */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--sage-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(249, 249, 246, 0.75);
  border-bottom: 1px solid rgba(26, 58, 58, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--teal-500);
  text-decoration: none;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0 12%, var(--blush) 30%, #f3b8be 70%, #e79aa2 100%);
  box-shadow: inset -3px -4px 8px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(231, 154, 162, 0.5);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--teal-500);
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 58, 58, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover { background: var(--white); border-color: rgba(26, 58, 58, 0.35); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  animation: float 14s ease-in-out infinite;
}

.hero::before {
  width: 520px; height: 520px;
  top: -160px; right: -120px;
  background: var(--blush);
}

.hero::after {
  width: 420px; height: 420px;
  bottom: -180px; left: -140px;
  background: rgba(152, 251, 152, 0.45);
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.06); }
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(26, 58, 58, 0.1);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal-500);
  box-shadow: var(--shadow-soft);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3ccf5a;
  box-shadow: 0 0 0 0 rgba(60, 207, 90, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 207, 90, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(60, 207, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 207, 90, 0); }
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--teal-500);
  margin: 1.5rem 0 1.25rem;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--coral) 0%, #e79aa2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(26, 58, 58, 0.6);
}

.btn-primary:hover { background: var(--teal-700); box-shadow: 0 16px 36px -10px rgba(26, 58, 58, 0.7); }

.btn-ghost {
  background: var(--white);
  color: var(--teal-500);
  border: 1px solid rgba(26, 58, 58, 0.15);
}

.btn-ghost:hover { border-color: rgba(26, 58, 58, 0.35); }

/* ---------- Phone mockup ---------- */
.mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 300px;
  border-radius: 44px;
  padding: 12px;
  background: var(--teal-900);
  box-shadow: var(--shadow-card);
  transform: rotate(3deg);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}

.mockup-wrap:hover .phone { transform: rotate(0deg) translateY(-6px); }

.screen {
  border-radius: 34px;
  background: var(--sage-50);
  padding: 1.4rem 1rem 1.2rem;
  overflow: hidden;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.screen-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--teal-500);
}

.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--coral));
}

.search {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--white);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  box-shadow: 0 4px 14px -6px rgba(16, 32, 32, 0.2);
  margin-bottom: 1rem;
}

.chips { display: flex; gap: 0.4rem; margin-bottom: 1rem; flex-wrap: wrap; }

.chip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-500);
  border: 1px solid rgba(26, 58, 58, 0.1);
}

.chip.active { background: var(--teal-500); color: var(--white); border-color: var(--teal-500); }

.svc {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: var(--white);
  border-radius: 18px;
  padding: 0.7rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 6px 18px -10px rgba(16, 32, 32, 0.25);
}

.svc-thumb {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
}

.svc-thumb.t1 { background: linear-gradient(135deg, #FADADD, #f3b8be); }
.svc-thumb.t2 { background: linear-gradient(135deg, #d5fddc, #98FB98); }
.svc-thumb.t3 { background: linear-gradient(135deg, #e6e6db, #C8C8B4); }

.svc-name { font-size: 0.82rem; font-weight: 700; color: var(--teal-500); }
.svc-meta { font-size: 0.7rem; color: var(--muted); }

.svc-price {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral-dark);
}

.book-btn {
  margin-top: 0.8rem;
  text-align: center;
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem;
  border-radius: 999px;
}

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-500);
  display: flex; align-items: center; gap: 0.5rem;
  animation: bob 6s ease-in-out infinite;
}

.float-card.fc1 { top: 12%; left: -4%; }
.float-card.fc2 { bottom: 14%; right: -6%; animation-delay: -3s; }

.float-icon {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 0.85rem;
}

.fc1 .float-icon { background: rgba(152, 251, 152, 0.5); }
.fc2 .float-icon { background: var(--blush); }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Features ---------- */
.section { padding: 5.5rem 0; }

.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3.5rem; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
}

.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--teal-500);
  margin: 0.6rem 0 0.8rem;
}

.section-head p { color: var(--muted); margin: 0; }

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

.feature {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(26, 58, 58, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
  color: var(--teal-500);
}

.feature:nth-child(1) .feature-icon { background: var(--blush); }
.feature:nth-child(2) .feature-icon { background: rgba(152, 251, 152, 0.45); }
.feature:nth-child(3) .feature-icon { background: var(--sage-100); }

.feature h3 { margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--teal-500); }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Audience split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.panel {
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
}

.panel.dark { background: var(--teal-500); color: var(--white); }
.panel.light { background: var(--blush); color: var(--teal-500); }

.panel h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0.4rem 0 1rem;
}

.panel .eyebrow { color: inherit; opacity: 0.75; }

.panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }

.panel li { display: flex; gap: 0.7rem; align-items: flex-start; }

.panel li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px; margin-top: 3px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231A3A3A'%3E%3Cpath d='M8.2 13.6 4.9 10.3l1.2-1.2 2.1 2.1 5.7-5.7 1.2 1.2z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.panel.light li::before { background-color: var(--white); }

/* ---------- CTA ---------- */
.cta-box {
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(250, 218, 221, 0.35), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(152, 251, 152, 0.25), transparent 45%),
    var(--teal-900);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2rem;
}

.cta-box h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin: 0 0 0.8rem;
}

.cta-box p { color: var(--teal-200); max-width: 34rem; margin: 0 auto 2rem; }

.btn-coral { background: var(--coral); color: var(--white); box-shadow: 0 12px 30px -10px rgba(255, 102, 102, 0.6); }
.btn-coral:hover { background: var(--coral-dark); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(26, 58, 58, 0.08);
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--teal-500); text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.legal h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.6rem;
  color: var(--teal-500);
  margin: 0 0 2rem;
}

.legal h2 { font-size: 1.2rem; color: var(--teal-500); margin: 2.2rem 0 0.6rem; }
.legal p, .legal li { color: var(--text); }
.legal address { font-style: normal; }

.placeholder {
  background: #fff3cd;
  border-radius: 4px;
  padding: 0 0.3rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 3rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; text-align: center; }
  .lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .float-card.fc1 { left: 0; }
  .float-card.fc2 { right: 0; }
}

@media (max-width: 520px) {
  .panel { padding: 2rem; }
  .site-footer .container { flex-direction: column; text-align: center; }
}
