/* Palora — palora.joseluissaorin.com
   Design language mirrors the app: cream canvas, Fraunces display + Space Grotesk,
   muted-rose & gold, soft Aura gradient blobs, big rounded surfaces. */

:root {
  --cream: #FBF7F2;
  --cream-deep: #F4ECE3;
  --paper: #FFFFFF;
  --champagne: #EFE3CE;
  --ink: #2B2422;
  --ink-soft: #6E6058;
  --ink-faint: #A99D93;
  --line: #ECE2D7;
  --rose: #9E5C73;
  --rose-light: #C98BA0;
  --rose-deep: #7A4458;
  --blush: #F3E4E8;
  --gold: #C9A96A;
  /* vibrant aura accents */
  --a-rose: #E58BA6;
  --a-peri: #8E99C4;
  --a-sage: #9DAE8E;
  --a-plum: #B779C9;
  --a-teal: #6FBFA8;
  --a-gold: #E6B06A;

  --maxw: 1120px;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 24px 60px -28px rgba(43, 36, 34, 0.30);
  --shadow-sm: 0 10px 30px -16px rgba(43, 36, 34, 0.28);
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--rose-deep); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.serif { font-family: var(--font-display); }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; padding: clamp(64px, 11vw, 130px) 0; }
.center { text-align: center; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--rose-light), var(--rose)); color: #fff; box-shadow: 0 16px 32px -14px rgba(158, 92, 115, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px rgba(158, 92, 115, .8); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--rose-light); color: var(--ink); transform: translateY(-2px); }
.appstore { display: inline-block; transition: transform .18s ease; }
.appstore:hover { transform: translateY(-2px); }
.appstore img { height: 56px; width: auto; }

/* ── Aura blobs ───────────────────────────────────────── */
.aura { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; pointer-events: none; }
.aura-1 { width: 460px; height: 440px; background: var(--a-rose); top: -120px; left: -100px; }
.aura-2 { width: 420px; height: 400px; background: var(--a-peri); top: 40px; right: -120px; opacity: .45; }
.aura-3 { width: 380px; height: 360px; background: var(--a-gold); bottom: -120px; left: 30%; opacity: .4; }
.aura-4 { width: 340px; height: 330px; background: var(--a-sage); bottom: 80px; right: 10%; opacity: .38; }
.aura-5 { width: 300px; height: 300px; background: var(--a-plum); top: 30%; left: 8%; opacity: .32; }

/* ── Nav ──────────────────────────────────────────────── */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(251, 247, 242, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-soft); font-size: .96rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 11px 22px; font-size: .95rem; }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ── Hero ─────────────────────────────────────────────── */
.hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin: 18px 0 22px; }
.hero h1 .accent { color: var(--rose); font-style: italic; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--ink-faint); }
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 540px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-phones { min-height: 480px; margin-top: 20px; }
}

/* ── Phone mockup ─────────────────────────────────────── */
.phone {
  width: 250px; aspect-ratio: 250 / 540; border-radius: 42px;
  background: #1b1b1f; padding: 9px;
  box-shadow: var(--shadow); position: relative;
}
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 78px; height: 20px; background: #1b1b1f; border-radius: 999px; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
.hero-phones .phone { position: absolute; }
.hero-phones .p-back { transform: rotate(-9deg) translateX(-78px) scale(.84); opacity: .96; z-index: 1; }
.hero-phones .p-back2 { transform: rotate(9deg) translateX(78px) scale(.84); opacity: .96; z-index: 1; }
.hero-phones .p-front { z-index: 3; transform: translateY(-10px); }

/* ── Trust strip ──────────────────────────────────────── */
.trust { background: var(--cream-deep); border-block: 1px solid var(--line); padding: 30px 0; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; align-items: center; }
.trust-row span { font-size: .95rem; color: var(--ink-soft); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.trust-row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ── Feature grid ─────────────────────────────────────── */
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { margin: 14px 0 16px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 1; }
@media (max-width: 880px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; background: var(--blush); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.tag-free { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--a-sage); padding: 4px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

/* ── Steps ────────────────────────────────────────────── */
.alt { background: var(--cream-deep); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; z-index: 1; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step .num { font-family: var(--font-display); font-size: 3rem; color: var(--rose-light); line-height: 1; }
.step h3 { margin: 10px 0 8px; }
.step p { color: var(--ink-soft); }

/* ── Showcase (big phone + copy) ──────────────────────── */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.showcase.rev .copy { order: 2; }
@media (max-width: 820px) { .showcase, .showcase.rev { grid-template-columns: 1fr; text-align: center; } .showcase.rev .copy { order: 0; } .showcase .phone { margin: 0 auto; } }
.showcase .phone { width: 270px; }
.showcase ul { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.showcase li { display: flex; gap: 10px; color: var(--ink-soft); }
.showcase li::before { content: "✦"; color: var(--gold); }
@media (max-width: 820px) { .showcase li { justify-content: center; } }

/* ── Pricing ──────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.plan.featured { border: 2px solid var(--rose-light); box-shadow: var(--shadow); position: relative; }
.plan.featured::after { content: "Premium"; position: absolute; top: -13px; left: 36px; background: linear-gradient(135deg, var(--a-gold), var(--rose-light)); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; }
.plan .price { font-family: var(--font-display); font-size: 2.4rem; margin: 10px 0 4px; }
.plan ul { list-style: none; margin-top: 20px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: .98rem; color: var(--ink-soft); }
.plan li::before { content: "✓"; color: var(--a-sage); font-weight: 700; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 24px; margin-bottom: 12px; }
details[open] { box-shadow: var(--shadow-sm); }
summary { font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--rose); font-size: 1.6rem; font-weight: 300; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); padding: 0 0 20px; }

/* ── CTA band ─────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, #2B2422, #45373a); color: #fff; border-radius: var(--radius); padding: clamp(44px, 7vw, 80px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 520px; margin: 16px auto 28px; position: relative; z-index: 1; }
.cta-band .aura { opacity: .5; }

/* ── Footer ───────────────────────────────────────────── */
footer { background: var(--cream-deep); border-top: 1px solid var(--line); padding: 60px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 320px; }
.foot-brand p { color: var(--ink-soft); font-size: .95rem; margin-top: 12px; }
.foot-links { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--ink-soft); font-size: .95rem; margin-bottom: 10px; }
.foot-col a:hover { color: var(--rose); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: var(--ink-faint); }

/* ── Legal pages ──────────────────────────────────────── */
.legal { max-width: 800px; margin: 0 auto; padding: clamp(48px, 8vw, 90px) 24px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 8px; }
.legal .updated { color: var(--ink-faint); font-size: .92rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.15rem; margin: 24px 0 8px; font-family: var(--font-body); font-weight: 700; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a { text-decoration: underline; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
