/* ====================================================================
   Moosy landing — visual identity (same palette as the app), modern look
   ==================================================================== */
:root {
  --primary: #76BFAC;
  --primary-2: #8fd3c0;
  --primary-dark: #5fa994;
  --bg-dark: #2A3441;
  --bg-darker: #20272f;
  --text: #506175;
  --text-light: #8895A7;
  --white: #FFFFFF;
  --surface: #f4f8f7;
  --card: #FFFFFF;
  --radius: 18px;
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #171d24;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* ---- Living "aurora" backdrop: one continuous field for the whole page ----
   Fixed to the viewport so there are NO seams between sections; the neon
   blobs drift slowly, giving depth as you scroll. */
body::before {
  content: ""; position: fixed; inset: -12%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(820px 620px at 14% 12%, rgba(118,191,172,0.18), transparent 58%),
    radial-gradient(760px 680px at 86% 28%, rgba(118,191,172,0.13), transparent 58%),
    radial-gradient(900px 760px at 22% 76%, rgba(118,191,172,0.12), transparent 60%),
    radial-gradient(720px 620px at 92% 90%, rgba(118,191,172,0.10), transparent 58%),
    linear-gradient(180deg, #2c3744 0%, #232c37 30%, #1d242c 66%, #171d24 100%);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-1.5%, -3%, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* -------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; padding: 13px 24px;
  border-radius: 999px; cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease, opacity .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #0f1b18;
  box-shadow: 0 10px 30px rgba(118, 191, 172, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(118, 191, 172, 0.55); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 18px;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-link { background: transparent; color: #c7d0db; }
.btn-link:hover { color: var(--white); }

/* --------------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  /* transparent base — sits on the global aurora; only a top highlight that
     fades well before the bottom edge, so there is no hard seam below. */
  background: radial-gradient(900px 520px at 85% -8%, rgba(118,191,172,0.16), transparent 60%);
  color: var(--white);
  padding-bottom: 72px;
  overflow: hidden;
}
.nav {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.brand {
  font-size: 24px; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand.small { font-size: 20px; }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 40px; padding-top: 64px;
}
.eyebrow {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.4px;
  color: var(--primary-2);
  background: rgba(118, 191, 172, 0.12);
  border: 1px solid rgba(118, 191, 172, 0.28);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero-copy h1 {
  font-size: clamp(36px, 5.2vw, 58px); line-height: 1.07;
  font-weight: 800; letter-spacing: -1.2px;
}
.hero-copy .accent {
  background: linear-gradient(120deg, var(--primary-2), var(--primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 22px; font-size: 18px; color: #c7d0db; max-width: 520px; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ------------------------ Hero phones (3D tilt) ------------------------ */
.hero-device { display: flex; justify-content: center; }
.phone-stage { position: relative; width: 340px; height: 560px; }

.glow {
  position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; opacity: 0.55;
}
.glow-a { width: 320px; height: 320px; background: rgba(118,191,172,0.55); top: 30px; right: -20px; }
.glow-b { width: 240px; height: 240px; background: rgba(118,191,172,0.30); bottom: 10px; left: -30px; }

/* --------------------- iPhone mockup (pure CSS) ------------------------ */
.device-frame {
  position: relative;
  width: 260px; aspect-ratio: 9 / 19.5;
  background: linear-gradient(160deg, #2b333d, #11151b);
  border-radius: 42px; padding: 12px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45), inset 0 0 0 2px #323b46, inset 0 0 0 7px #0c0f14;
}
.device-island {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 25px; background: #000; border-radius: 999px; z-index: 3;
}
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 32px; overflow: hidden; background: #2A3441;
}
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.screen-fallback {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #36424f 0%, #2A3441 100%);
}
.screen-fallback span { color: var(--primary); font-weight: 700; font-size: 17px; opacity: 0.75; letter-spacing: 0.5px; }

/* 3D diagonal tilt */
.tilt { transform: perspective(1600px) rotateY(-20deg) rotateX(5deg) rotateZ(1.5deg); transform-style: preserve-3d; }
.tilt-soft { transform: perspective(1600px) rotateY(-14deg) rotateX(3deg); transition: transform .4s ease; }
.device-figure:hover .tilt-soft { transform: perspective(1600px) rotateY(0deg) rotateX(0deg); }

.phone-front { position: absolute; left: 30px; bottom: 0; z-index: 2; }
.phone-back  { position: absolute; right: 10px; top: 0; z-index: 1; width: 230px; opacity: 0.92; }

/* gentle float */
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.float { animation: floaty 6s ease-in-out infinite; }
.float-slow { animation: floaty 7.5s ease-in-out infinite; animation-delay: .6s; }
@media (prefers-reduced-motion: reduce) { .float, .float-slow { animation: none; } }

/* shared section titles (used by features + screenshots) */
.section-title { font-size: clamp(27px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.6px; text-align: center; color: var(--bg-dark); }
.section-title.light { color: var(--white); }
.section-subtitle { text-align: center; margin-top: 12px; font-size: 18px; color: var(--text-light); }
.section-subtitle.light { color: #b9c3cf; }
.eyebrow-center { display: block; width: max-content; margin: 0 auto 18px; text-align: center; }

/* ----------------------- Features (dark glass + neon) ------------------- */
.features {
  position: relative; padding: 84px 0;
  background: transparent; /* floats on the global aurora; glows feather across edges */
}
.fx-glow { position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; pointer-events: none; }
.fx-glow-1 { width: 460px; height: 460px; background: rgba(118,191,172,0.22); top: -120px; left: -80px; }
.fx-glow-2 { width: 420px; height: 420px; background: rgba(118,191,172,0.16); bottom: -140px; right: -60px; }
.features .container { position: relative; z-index: 1; }

.section-title.neon {
  color: var(--white);
  text-shadow: 0 0 22px rgba(118, 191, 172, 0.35);
}
.section-title.neon::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 18px auto 0;
  border-radius: 999px; background: linear-gradient(90deg, var(--primary-2), var(--primary));
  box-shadow: 0 0 18px rgba(118, 191, 172, 0.7);
}

.feature-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }

/* glass / mirrored card — all equal height, scroll-driven vertical motion */
.feature-card.glass {
  --py: 0px;
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: 20px; padding: 34px 26px 28px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(var(--py));
  transition: box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}
/* glossy "mirror" sheen across the top */
.feature-card.glass::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(150deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 38%);
}
.feature-card.glass:hover {
  border-color: rgba(118, 191, 172, 0.6);
  box-shadow: 0 26px 60px rgba(0,0,0,0.45), 0 0 34px rgba(118, 191, 172, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}
/* neon accent at the top of every card */
.feature-card.glass::after {
  content: ""; position: absolute; top: 0; left: 26px; width: 46px; height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--primary-2), var(--primary));
  box-shadow: 0 0 16px rgba(118, 191, 172, 0.7);
}
/* big decorative index number (disruptive accent) */
.feature-num {
  position: absolute; top: 14px; right: 22px; z-index: 0;
  font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -3px;
  color: transparent; -webkit-text-stroke: 1.5px rgba(118, 191, 172, 0.28);
  pointer-events: none; user-select: none;
}
.feature-kicker {
  position: relative; z-index: 2;
  display: inline-block; margin-bottom: 12px;
  font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary-2); text-shadow: 0 0 14px rgba(118, 191, 172, 0.45);
}
.feature-card h3 {
  position: relative; z-index: 2;
  font-size: 23px; font-weight: 800; letter-spacing: -0.4px; color: var(--white); margin-bottom: 10px;
}
.feature-card p { position: relative; z-index: 2; font-size: 15px; color: #c2ccd6; }
.feature-card strong { color: var(--primary-2); }

/* mini goal example widget (Casamento) */
.goal-demo {
  position: relative; z-index: 2;
  margin-top: auto; padding: 14px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(118, 191, 172, 0.22);
}
.goal-demo-head { display: flex; align-items: center; justify-content: space-between; }
.goal-demo-name { color: var(--white); font-weight: 600; font-size: 14px; }
.goal-demo-pct {
  color: var(--primary-2); font-weight: 800; font-size: 15px;
  text-shadow: 0 0 12px rgba(118, 191, 172, 0.6);
}
.goal-demo-bar {
  margin: 10px 0 8px; height: 9px; border-radius: 999px; overflow: hidden;
  background: rgba(255, 255, 255, 0.10);
}
.goal-demo-bar span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-2), var(--primary));
  box-shadow: 0 0 14px rgba(118, 191, 172, 0.75);
}
.goal-demo-vals { font-size: 13px; color: var(--text-light); }
.goal-demo-vals strong { color: var(--white); }

/* ---------------------------- Screenshots ------------------------------ */
.screenshots {
  padding: 80px 0; position: relative;
  background: transparent; /* floats on the global aurora */
}
.showcase {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  align-items: center;
}
.shot { display: flex; justify-content: center; }

/* ---- iPhone 17 Pro — titânio, plano e limpo (estilo Apple) ---- */
.iphone {
  position: relative; width: 100%; max-width: 250px; margin: 0 auto;
  aspect-ratio: 9 / 19.5; perspective: 1500px;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,0.5));
}
.iphone-body {
  position: absolute; inset: 0; border-radius: 50px; padding: 10px;
  background: #060709;                       /* black front glass */
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.05);
  transition: transform .5s ease;
}
/* titanium frame as a gradient ring (flat — never breaks at the corners) */
.iphone-body::before {
  content: ""; position: absolute; inset: -2px; border-radius: 52px; padding: 3px;
  background: linear-gradient(135deg,
    #f3f4f5 0%, #aab0b3 26%, #edeff0 50%, #888e91 74%, #d8dcde 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  z-index: 4; pointer-events: none;
}
/* todos de frente, escalonados na vertical (um sobe, outro desce) */
.pose-left  .iphone-body { transform: translateY(-30px); }
.pose-front .iphone-body { transform: translateY(30px); }
.pose-right .iphone-body { transform: translateY(-30px); }
/* dynamic island */
.iphone-island {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 25px; background: #000; border-radius: 999px; z-index: 5;
}
.iphone .screen { position: relative; z-index: 2; border-radius: 40px; }

/* ------------------------- Pricing (assinatura) ------------------------ */
.pricing {
  position: relative; padding: 84px 0;
  background: transparent; /* floats on the global aurora */
}
.pricing .container { position: relative; z-index: 1; }

.price-card {
  position: relative; overflow: hidden;
  max-width: 480px; margin: 56px auto 0;
  border-radius: 24px; padding: 40px 34px 34px; text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(118, 191, 172, 0.45);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.45), 0 0 34px rgba(118,191,172,0.20), inset 0 1px 0 rgba(255,255,255,0.20);
}
.price-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(150deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 38%);
}
.price-ribbon {
  display: inline-block; margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.4px;
  color: #0f1b18; padding: 7px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 8px 22px rgba(118, 191, 172, 0.45);
}
.price-plan { display: block; font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.4px; }
.price-plan-desc { margin: 10px auto 0; max-width: 340px; font-size: 15px; color: #b9c3cf; }

.price-amount {
  margin: 26px 0 6px; display: flex; align-items: baseline; justify-content: center; gap: 4px;
  color: var(--white);
}
.price-currency { font-size: 22px; font-weight: 700; color: var(--primary-2); }
.price-value {
  font-size: 60px; font-weight: 800; letter-spacing: -2px; line-height: 1;
  background: linear-gradient(120deg, var(--primary-2), var(--primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-period { font-size: 18px; font-weight: 600; color: var(--text-light); }
.price-trial { font-size: 14px; color: #c2ccd6; }

.price-list {
  list-style: none; margin: 26px 0; padding: 0;
  display: grid; gap: 12px; text-align: left;
}
.price-list li {
  position: relative; padding-left: 30px;
  font-size: 15px; color: #d2dae2;
}
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 999px; font-size: 12px; font-weight: 800;
  color: #0f1b18; background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 0 12px rgba(118, 191, 172, 0.5);
}
.price-cta { width: 100%; }
.price-note { margin-top: 16px; font-size: 13px; color: var(--text-light); }

/* -------------------------------- CTA ---------------------------------- */
.cta {
  position: relative; padding: 84px 0 36px;
  background: transparent; /* floats on the global aurora */
}
/* last section: drop local glows so they don't overflow past the footer
   (the global aurora already lights this area) */
.cta .fx-glow { display: none; }
/* wide card with an inline e-mail form (open) */
.cta-card {
  position: relative; z-index: 1;
  max-width: 860px; margin: 44px auto 0; text-align: center;
  border-radius: 24px; padding: 34px 36px 28px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(118, 191, 172, 0.30);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.45), 0 0 34px rgba(118,191,172,0.18), inset 0 1px 0 rgba(255,255,255,0.18);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(150deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 40%);
}
.cta-form {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 12px; max-width: 640px; margin: 0 auto;
}
.cta-input {
  flex: 1 1 220px; min-width: 0;
  padding: 15px 20px; font-size: 16px; font-family: inherit;
  color: var(--white); border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cta-input::placeholder { color: #8895A7; }
.cta-input:focus {
  outline: none;
  border-color: rgba(118, 191, 172, 0.7);
  box-shadow: 0 0 0 3px rgba(118, 191, 172, 0.18);
}
.cta-input.invalid { border-color: #e57373; box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.18); }
.cta-submit { flex: 1 1 100%; white-space: nowrap; }
.cta-submit[disabled] { opacity: 0.6; cursor: progress; }
.cta-msg { position: relative; z-index: 1; min-height: 0; margin-top: 10px; font-size: 14px; color: #c2ccd6; }
.cta-msg.success { color: var(--primary-2); font-weight: 600; }
.cta-msg.error { color: #e9a0a0; }
.cta-trust {
  position: relative; z-index: 1;
  margin-top: 6px; font-size: 13px; color: var(--text-light);
}

/* ------------------------------- Footer -------------------------------- */
.footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #b9c3cf; padding: 20px 0;
}
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 10px 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 14px; color: #b9c3cf; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { font-size: 14px; color: var(--text-light); }

/* ============================ Responsive =============================== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 36px; padding-top: 48px; }
  .lead, .eyebrow { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { gap: 18px; }
  .iphone { max-width: 220px; }
  .pose-left .iphone-body, .pose-right .iphone-body { transform: translateY(-20px); }
  .pose-front .iphone-body { transform: translateY(20px); }
  .phone-stage { width: 320px; height: 520px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 44px; }
  .iphone { max-width: 240px; }
  /* empilhado no celular: sem escalonamento */
  .pose-left .iphone-body, .pose-right .iphone-body, .pose-front .iphone-body {
    transform: none;
  }
  .device-frame { width: 230px; }
  /* Straighten tilts on small screens for clarity */
  .tilt, .tilt-soft { transform: none; }
  .phone-back { display: none; }
  .phone-front { position: relative; left: 0; }
  .phone-stage { width: 240px; height: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* Hero: título menor e mais respirável; menos padding */
  .hero { padding-bottom: 48px; }
  .hero-inner { padding-top: 32px; gap: 28px; }
  .hero-copy h1 { font-size: 30px; line-height: 1.16; letter-spacing: -0.4px; }
  .lead { font-size: 16px; margin-top: 16px; }
  .nav { margin-top: 12px; padding: 9px 12px; }
  .nav .btn-ghost { padding: 8px 14px; font-size: 14px; }

  /* Seções mais compactas no celular */
  .features, .screenshots, .pricing, .cta { padding-top: 56px; padding-bottom: 56px; }
  .section-title { font-size: clamp(23px, 6.6vw, 30px); }
  .section-subtitle { font-size: 16px; }

  /* CTA: inputs no tamanho certo (sem flex-basis vertical de 220px) */
  .cta-card { padding: 26px 18px 22px; }
  .cta-form { flex-direction: column; gap: 10px; }
  .cta-input, .cta-submit { flex: 0 0 auto; }
  .cta-input { padding: 13px 18px; }
  .cta-submit { width: 100%; }

  .price-card { padding: 34px 22px 28px; }
  .price-value { font-size: 50px; }
}
