:root {
  --bg: #030305;
  --bg-soft: #09090d;
  --card: rgba(255,255,255,0.055);
  --card-border: rgba(255,255,255,0.12);
  --text: #f7f7f7;
  --muted: #a4a4ad;
  --pink: #ff2f9f;
  --pink-soft: #ff72c5;
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 70% 10%, rgba(255,47,159,.18), transparent 34%),
    radial-gradient(circle at 20% 40%, rgba(255,47,159,.08), transparent 30%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 76px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px);
  background: rgba(3,3,5,.68);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 25px;
  letter-spacing: .03em;
  font-weight: 650;
}

.brand span span,
.footer-brand span span {
  color: var(--pink);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  background: #000;
  box-shadow:
    0 0 0 2px var(--pink),
    0 0 22px rgba(255,47,159,.95),
    0 0 46px rgba(255,47,159,.5);
}

.brand-icon::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  position: absolute;
  top: 7px;
  right: 5px;
  box-shadow: 0 0 16px rgba(255,47,159,.9);
}

.brand-icon.small {
  width: 28px;
  height: 28px;
}

nav {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 7vw 6vw;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 132px);
  line-height: .88;
  letter-spacing: -.075em;
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 78px);
  line-height: .95;
  letter-spacing: -.06em;
}

h3 {
  margin-top: 0;
}

.lead,
.section-head p,
.section p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
  max-width: 700px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 750;
}

.btn.primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 0 34px rgba(255,47,159,.55);
}

.btn.ghost {
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,.04);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(370px, 78vw);
  height: 720px;
  border-radius: 58px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,47,159,.23), transparent 34%),
    linear-gradient(160deg, #111119, #020203);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    inset 0 0 0 8px rgba(255,255,255,.035),
    0 40px 120px rgba(0,0,0,.65);
  position: relative;
  overflow: hidden;
}

.phone-glow-logo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #000;
  position: absolute;
  left: 50%;
  top: 120px;
  transform: translateX(-50%);
  box-shadow:
    0 0 0 3px var(--pink),
    0 0 35px rgba(255,47,159,.95),
    0 0 90px rgba(255,47,159,.48);
}

.phone-glow-logo::after {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pink);
  position: absolute;
  top: 47px;
  right: 28px;
  box-shadow: 0 0 22px rgba(255,47,159,.9);
}

.notification-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 95px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 5px;
}

.notification-card span,
.notification-card small {
  color: var(--muted);
}

.section {
  padding: 110px 6vw;
  border-top: 1px solid rgba(255,255,255,.06);
}

.section-head {
  max-width: 880px;
  margin-bottom: 42px;
}

.use-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.use-grid article,
.plan,
.calendar-card,
.chat-card,
.timeline-card,
.placeholder {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.use-grid article {
  min-height: 150px;
  font-size: 20px;
  line-height: 1.35;
  display: flex;
  align-items: end;
}

.placeholder {
  margin-top: 20px;
  min-height: 360px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(255,47,159,.12), transparent),
    rgba(255,255,255,.04);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.reverse {
  grid-template-columns: 1fr 1fr;
}

.calendar-card strong {
  display: block;
  font-size: 86px;
  letter-spacing: -.07em;
  margin: 14px 0;
}

.calendar-card span {
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
}

.mini-media {
  margin-top: 24px;
  padding: 28px;
  border-radius: 22px;
  color: var(--muted);
  background:
    radial-gradient(circle at 70% 30%, rgba(255,47,159,.28), transparent 28%),
    rgba(0,0,0,.35);
}

.chat-card {
  display: grid;
  gap: 14px;
}

.bubble {
  max-width: 75%;
  padding: 18px 20px;
  border-radius: 24px 24px 24px 6px;
  background: rgba(255,255,255,.08);
}

.bubble.media {
  color: var(--pink-soft);
  border: 1px solid rgba(255,47,159,.35);
}

.bubble.alt {
  justify-self: end;
  border-radius: 24px 24px 6px 24px;
  background: var(--pink);
}

.plan.highlighted {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,47,159,.35), transparent 35%),
    rgba(255,255,255,.07);
}

.timeline-card p {
  color: var(--muted);
  padding: 14px 0;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

footer {
  padding: 70px 6vw 90px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.06);
}

.phone-glow-logo::after {
  animation: orbit 12s linear infinite;
}

/* Soft page reveal */
.hero,
.section,
.feature-card {
  opacity: 0;
  transform: translateY(22px);
  animation: revealUp .9s ease forwards;
}

.hero {
  animation-delay: .1s;
}

.feature-card:nth-child(1) { animation-delay: .15s; }
.feature-card:nth-child(2) { animation-delay: .3s; }
.feature-card:nth-child(3) { animation-delay: .45s; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button hover lift */
button,
.cta,
.btn {
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

button:hover,
.cta:hover,
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(0,0,0,.18);
}

/* Subtle phone/mockup float */
.phone,
.mockup,
.app-preview {
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Slower floating / pulsing dots */

@keyframes dotPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: .55;
  }
  50% {
    transform: translateY(-8px) scale(1.08);
    opacity: 1;
  }
}

@keyframes orbit {
  from {
    transform:
      rotate(0deg)
      translateX(68px)
      rotate(0deg);
  }

  to {
    transform:
      rotate(360deg)
      translateX(68px)
      rotate(-360deg);
  }
}

.phone-glow-logo {
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% {
    box-shadow:
      0 0 0 3px var(--pink),
      0 0 35px rgba(255,47,159,.8),
      0 0 90px rgba(255,47,159,.3);
  }

  50% {
    box-shadow:
      0 0 0 3px var(--pink),
      0 0 55px rgba(255,47,159,1),
      0 0 140px rgba(255,47,159,.7);
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero,
  .split,
  .reverse {
    grid-template-columns: 1fr;
  }

  .use-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .phone {
    height: 620px;
  }
}

/* ===== MEMM7 ANIMATIONS ===== */

.phone {
  animation: phoneFloat 7s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

.phone-glow-logo {
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 0 0 3px var(--pink),
      0 0 35px rgba(255,47,159,.8),
      0 0 90px rgba(255,47,159,.35);
  }

  50% {
    box-shadow:
      0 0 0 3px var(--pink),
      0 0 58px rgba(255,47,159,1),
      0 0 150px rgba(255,47,159,.75);
  }
}

/* Correct orbiting dot */
.phone-glow-logo::after {
  top: 50%;
  left: 50%;
  right: auto;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  animation: orbitDot 100s linear infinite;
}

@keyframes orbitDot {
  from {
    transform: rotate(0deg) translateX(72px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(72px) rotate(-360deg);
  }
}

/* Header logo pulse */
.brand-icon {
  animation: smallGlowPulse 4s ease-in-out infinite;
}

@keyframes smallGlowPulse {
  0%, 100% {
    box-shadow:
      0 0 0 2px var(--pink),
      0 0 18px rgba(255,47,159,.75),
      0 0 38px rgba(255,47,159,.35);
  }

  50% {
    box-shadow:
      0 0 0 2px var(--pink),
      0 0 30px rgba(255,47,159,1),
      0 0 70px rgba(255,47,159,.65);
  }
}

/* Actual existing cards */
.use-grid article,
.plan,
.calendar-card,
.chat-card,
.timeline-card,
.placeholder {
  transition:
    transform .32s ease,
    box-shadow .32s ease,
    border-color .32s ease,
    background .32s ease;
}

.use-grid article:hover,
.plan:hover,
.calendar-card:hover,
.chat-card:hover,
.timeline-card:hover,
.placeholder:hover {
  transform: translateY(-8px);
  border-color: rgba(255,47,159,.38);
  box-shadow:
    0 30px 80px rgba(0,0,0,.42),
    0 0 36px rgba(255,47,159,.13);
}

/* Floating use case cards */
.use-grid article {
  animation: cardFloat 5.5s ease-in-out infinite;
}

.use-grid article:nth-child(2) { animation-delay: .4s; }
.use-grid article:nth-child(3) { animation-delay: .8s; }
.use-grid article:nth-child(4) { animation-delay: 1.2s; }
.use-grid article:nth-child(5) { animation-delay: 1.6s; }
.use-grid article:nth-child(6) { animation-delay: 2s; }

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* Notification entrance */
.notification-card {
  animation: notifyIn 6s ease-in-out infinite;
}

@keyframes notifyIn {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(.97);
  }

  15%, 82% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
}

/* Button hover */
.btn {
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(255,47,159,.28);
}

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