/* Celebralab marketing landing — product, calm, trustworthy */
:root {
  --ink: #1a2330;
  --ink-soft: #3d4a5c;
  --paper: #f3f0ea;
  --paper-2: #e8e4dc;
  --mist: #d7e2ea;
  --sea: #2f5d73;
  --sea-deep: #1e3f50;
  --coral: #c45c4a;
  --gold: #c9a46a;
  --line: rgba(26, 35, 48, 0.12);
  --shadow: 0 28px 60px rgba(26, 35, 48, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.lp {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 12% -10%, #dfe9f1 0%, transparent 55%),
    radial-gradient(900px 600px at 90% 8%, #efe4d6 0%, transparent 50%),
    linear-gradient(180deg, #eef2f5 0%, var(--paper) 42%, #ebe6de 100%);
  overflow-x: hidden;
}

.lp-glow {
  position: fixed;
  inset: auto -20% -30% auto;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(47, 93, 115, 0.12), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.lp-hero {
  position: relative;
  z-index: 1;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 5vw, 72px) clamp(12px, 2vw, 24px);
}

.lp-hero-copy {
  max-width: 560px;
  animation: lpRise 0.9s ease both;
}

.lp-brand {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--sea-deep);
}

.lp-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lp-lead {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 500;
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.lp-cta-center {
  justify-content: center;
  margin-top: 36px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.lp-btn-primary {
  background: var(--sea-deep);
  color: #f7f4ef;
  box-shadow: 0 12px 28px rgba(30, 63, 80, 0.28);
}

.lp-btn-primary:hover {
  background: var(--sea);
}

.lp-btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(26, 35, 48, 0.06);
}

.lp-btn-ghost {
  background: transparent;
  color: var(--sea-deep);
  border: 1px solid rgba(30, 63, 80, 0.25);
}

.lp-hero-visual {
  position: relative;
  min-height: min(58vh, 560px);
  animation: lpRise 1.05s 0.12s ease both;
}

.lp-stage {
  position: relative;
  height: 100%;
  min-height: inherit;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.lp-stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.92) contrast(1.02);
  animation: lpDrift 18s ease-in-out infinite alternate;
}

.lp-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(26, 35, 48, 0.55), rgba(30, 63, 80, 0.28) 45%, rgba(26, 35, 48, 0.45)),
    linear-gradient(180deg, transparent 40%, rgba(26, 35, 48, 0.5));
  z-index: 1;
}

.lp-device {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(78%, 340px);
  transform: translate(-50%, -46%);
  background: rgba(247, 244, 239, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: lpDeviceFloat 5.5s ease-in-out infinite;
}

.lp-device-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #1a2330;
}

.lp-device-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b7787;
}

.lp-device-bar span:nth-child(1) { background: #c45c4a; }
.lp-device-bar span:nth-child(2) { background: #c9a46a; }
.lp-device-bar span:nth-child(3) { background: #6fa38a; }

.lp-device-screen {
  padding: 16px 16px 18px;
  color: var(--ink);
}

.lp-device-brand {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea);
}

.lp-device-title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.lp-device-meta {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.lp-device-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 12px;
}

.lp-device-stats div {
  padding: 10px;
  border-radius: 12px;
  background: #eef3f6;
}

.lp-device-stats strong {
  display: block;
  font-size: 1.2rem;
  color: var(--sea-deep);
}

.lp-device-stats span {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.lp-device-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  margin-top: 6px;
  border-radius: 10px;
  background: #f7f4ef;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
}

.lp-device-row em {
  font-style: normal;
  color: var(--ink-soft);
  font-weight: 600;
}

.lp-device-row.is-ok {
  background: rgba(111, 163, 138, 0.14);
  border-color: rgba(111, 163, 138, 0.35);
}

.lp-device-row.is-ok em {
  color: #2f6b52;
}

.lp-float {
  position: absolute;
  z-index: 4;
  width: clamp(88px, 18%, 128px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.lp-float-a {
  left: 6%;
  bottom: 10%;
  animation: lpMascotFloat 6s 0.4s ease-in-out infinite;
}

.lp-float-b {
  right: 5%;
  top: 12%;
  width: clamp(72px, 15%, 108px);
  animation: lpMascotFloat 7s 0.8s ease-in-out infinite reverse;
}

.lp-section {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) clamp(20px, 5vw, 72px);
}

.lp-pricing {
  max-width: 860px;
  padding-top: clamp(28px, 5vw, 48px);
}

.lp-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  text-align: center;
}

.lp-section-lead {
  margin: 12px auto 0;
  max-width: 52ch;
  text-align: center;
  color: var(--ink-soft);
  line-height: 1.5;
  font-weight: 500;
}

.lp-steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.lp-steps li {
  position: relative;
  padding: 8px 4px 0 0;
  border-top: 2px solid var(--sea);
  counter-increment: step;
}

.lp-steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sea);
  letter-spacing: 0.06em;
}

.lp-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--ink);
}

.lp-steps span {
  display: block;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.95rem;
  font-weight: 500;
}

.lp-theme-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.lp-theme-strip figure {
  margin: 0;
}

.lp-theme-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(26, 35, 48, 0.12);
  transition: transform 0.25s ease;
}

.lp-theme-strip figure:hover img {
  transform: translateY(-4px);
}

.lp-theme-strip figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.lp-section-lead strong {
  color: var(--sea-deep);
  font-weight: 800;
}

.lp-pricing-hint {
  margin: 18px auto 0;
  max-width: 42ch;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.45;
}

.lp-plans {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  margin-top: 28px;
  align-items: stretch;
}

.lp-plan {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.lp-plan-featured {
  background: #fff;
  border: 2px solid var(--sea-deep);
  box-shadow: 0 22px 48px rgba(26, 35, 48, 0.12);
}

.lp-plan-tag {
  margin: 0 0 8px;
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sea-deep);
  color: #f7f4ef;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lp-plan h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
}

.lp-plan-price {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--sea-deep);
  line-height: 1;
}

.lp-plan-price span {
  font-size: 1rem;
  margin-right: 6px;
  font-weight: 560;
}

.lp-plan-diff {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.lp-plan-featured .lp-plan-diff {
  color: var(--sea);
}

.lp-plan ul {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  flex: 1;
}

.lp-plan li {
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.35;
}

.lp-plan li:first-child {
  border-top: 0;
}

.lp-plan li strong {
  color: var(--ink);
  font-weight: 800;
}

.lp-plan .lp-btn {
  width: 100%;
}

.lp-pricing-foot {
  margin: 22px auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.lp-pricing-foot strong {
  color: var(--sea-deep);
}

.lp-footer-zap {
  margin: 14px 0 0;
}

.lp-footer {
  position: relative;
  z-index: 1;
  padding: 40px 24px calc(56px + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.lp-footer-brand {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sea-deep);
}

.lp-footer a {
  color: var(--sea-deep);
  text-decoration: none;
  font-weight: 700;
}

.lp-footer a:hover {
  text-decoration: underline;
}

.lp-sticky {
  display: none;
}

@keyframes lpRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lpDeviceFloat {
  0%,
  100% {
    transform: translate(-50%, -46%);
  }
  50% {
    transform: translate(-50%, calc(-46% - 8px));
  }
}

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

@keyframes lpDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

@media (max-width: 920px) {
  body.lp {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .lp-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 8px;
    gap: 20px;
  }

  .lp-hero-copy {
    max-width: none;
    text-align: center;
  }

  .lp-lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.98rem;
  }

  .lp-cta {
    justify-content: center;
  }

  .lp-cta .lp-btn {
    width: 100%;
    max-width: 360px;
  }

  .lp-hero-visual {
    min-height: 280px;
    order: 2;
  }

  .lp-hero-copy {
    order: 1;
  }

  .lp-device {
    width: min(86%, 300px);
  }

  .lp-float {
    width: 72px;
  }

  .lp-float-b {
    width: 64px;
  }

  .lp-steps {
    grid-template-columns: 1fr;
  }

  .lp-theme-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .lp-theme-strip figure:last-child {
    grid-column: 1 / -1;
    max-width: 160px;
    margin-inline: auto;
  }

  .lp-plans {
    grid-template-columns: 1fr;
  }

  .lp-plan-featured {
    order: -1;
  }

  .lp-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .lp-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(243, 240, 234, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }

  .lp-sticky .lp-btn {
    width: 100%;
    min-height: 52px;
    box-shadow: 0 10px 24px rgba(30, 63, 80, 0.28);
  }
}

@media (min-width: 921px) {
  .lp-hero {
    min-height: min(88vh, 820px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-copy,
  .lp-hero-visual,
  .lp-device,
  .lp-float,
  .lp-stage-bg {
    animation: none !important;
  }

  .lp-device {
    transform: translate(-50%, -46%);
  }
}
