:root{
  --bg-1: #0D0216;
  --bg-2: #050008;
  --accent: #FF007F;
  --accent-2: #E91E63;
  --muted: #B39DDB;
  --text: #EDE7F6;
  --glass: rgba(255, 255, 255, 0.04);
  --card-bg: linear-gradient(180deg, rgba(26, 0, 48, 0.7), rgba(8, 0, 15, 0.6));
  --max-width: 1100px;
  --safe-gap: 20px;
}

/* Basic reset */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(201, 0, 120, 0.06), transparent 10%),
  radial-gradient(900px 700px at 85% 85%, rgba(233, 30, 99, 0.04), transparent 12%),
  linear-gradient(180deg, var(--bg-1), var(--bg-2));
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  --px: 0px;
  --py: 0px;
}

/* Subtle animated noise using pseudo element */
body::after {
  content: "";
  position: fixed;
  inset: -20%;
  background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.02), transparent 12%),
  radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.01), transparent 12%);
  mix-blend-mode: overlay;
  filter: blur(6px);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
  animation: slowShift 16s linear infinite;
}

@keyframes slowShift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(6%, -6%) scale(1.03);
  }
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px;
  position: relative;
}

header {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: inline-block;
  border-radius: 12px;
}

.title {
  line-height: 1.1;
}

.title h1 {
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.title p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  display: none; /* Hidden on mobile by default */
}

.top-ctas {
  display: none; /* Hidden on mobile by default */
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px rgba(255, 0, 127, 0.18);
  border: 0;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(233, 30, 99, 0.14);
  color: var(--text);
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  text-align: center;
}

.hero .copy h2 {
  font-size: 32px;
  margin: 0 0 12px;
  letter-spacing: -0.8px;
}

.hero .copy p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 22px;
  max-width: 680px;
}

.glitch {
  position: relative;
  font-weight: 800;
  animation: glitch-skew 13s infinite linear alternate-reverse;
}

.glitch[data-text]::before,
.glitch[data-text]::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-1); /* Match the main background */
  overflow: hidden;
}

.glitch[data-text]::before {
  left: 2px;
  text-shadow: -2px 0 var(--accent);
  clip-path: inset(50% 0 25% 0);
  animation: glitch-anim-1 13s infinite linear alternate-reverse;
}

.glitch[data-text]::after {
  left: -2px;
  text-shadow: -2px 0 var(--accent-2), 2px 2px var(--accent);
  clip-path: inset(25% 0 50% 0);
  animation: glitch-anim-2 13s infinite linear alternate-reverse;
}

@keyframes glitch-skew {
  0%, 45%, 100% {
    transform: skewX(0deg);
  }
  50% {
    transform: skewX(0.5deg);
  }
  55% {
    transform: skewX(-0.5deg);
  }
  60% {
    transform: skewX(1deg);
  }
  65% {
    transform: skewX(-1deg);
  }
}

@keyframes glitch-anim-1 {
  0%, 45%, 100% {
    clip-path: inset(50% 0 25% 0);
  }
  50% {
    clip-path: inset(10% 0 55% 0);
  }
  55% {
    clip-path: inset(70% 0 5% 0);
  }
  60% {
    clip-path: inset(30% 0 40% 0);
  }
  65% {
    clip-path: inset(80% 0 10% 0);
  }
}

@keyframes glitch-anim-2 {
  0%, 45%, 100% {
    clip-path: inset(25% 0 50% 0);
  }
  50% {
    clip-path: inset(80% 0 10% 0);
  }
  55% {
    clip-path: inset(5% 0 60% 0);
  }
  60% {
    clip-path: inset(50% 0 20% 0);
  }
  65% {
    clip-path: inset(20% 0 70% 0);
  }
}

/* hero mockup */
.mockup-frame {
  background: var(--card-bg);
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 0, 127, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 -8px 24px rgba(0, 0, 0, 0.4);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

/* small glowing particle */
.mockup-frame::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -40px;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.08), transparent 40%);
  filter: blur(30px);
  pointer-events: none;
}

.phone {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0b0020 0%, #06000a 100%);
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), inset 0 2px 10px rgba(255, 255, 255, 0.02);
}

.chat-line {
  padding: 10px 12px;
  border-radius: 12px;
  margin: 10px 0;
  max-width: 84%;
}

.chat-line.me {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.chat-line.her {
  background: linear-gradient(90deg, rgba(255, 0, 127, 0.12), rgba(233, 30, 99, 0.08));
  color: white;
  font-weight: 600;
  font-size: 14px;
}

/* bond bar */
.bond-wrap {
  margin-top: 8px;
}

.bond-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.bond-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 0, 127, 0.06);
}

.bond-fill {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 32px rgba(255, 0, 127, 0.12);
}

/* CTA heartbeat */
.cta-large {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 14px 22px;
  border-radius: 28px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 50px rgba(255, 0, 127, 0.22);
  border: 0;
  cursor: pointer;
  animation: heartbeat 3s infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  6% {
    transform: scale(1.06);
  }
  12% {
    transform: scale(1);
  }
  18% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

/* sections */
section {
  padding: 28px 0;
}

.card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 0, 127, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.00));
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 127, 0.04);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* subtle reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* hover highlight as 'she noticed you' */
section:hover {
  box-shadow: 0 24px 80px rgba(255, 0, 127, 0.03);
  transition: box-shadow .45s ease;
}

/* whisper text bottom-center */
#whisper {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  font-size: 13px;
  color: rgba(255, 0, 127, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity .9s ease;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  z-index: 50;
}

.whisper-instance {
  position: fixed;
  font-size: 13px;
  color: rgba(255, 0, 127, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  z-index: 50;
}

/* Footer */
footer {
  padding: 28px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* sticky mobile CTA */
.mobile-cta {
  display: block;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 60;
}

/* prefers reduced motion */
@media (prefers-reduced-motion:reduce) {
  .glitch::before, .glitch::after, .cta-large, body::after, .hero {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive adjustments (Tablet and up) */
@media (min-width: 640px) {
  main {
    padding: 24px;
  }

  header {
    padding: 36px 12px 18px;
  }

  .logo {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }

  .title h1 {
    font-size: 20px;
  }

  .title p {
    display: block;
  }

  .top-ctas {
    display: flex;
  }

  .mobile-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 460px;
    text-align: left;
    gap: 36px;
    padding: 48px 12px 64px;
  }

  .hero .copy h2 {
    font-size: 40px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 48px 12px;
  }
}

@media (min-width: 980px) {
  .hero .copy h2 {
    font-size: 48px;
  }

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

/* device-orientation subtle tilt fallback */
.tilt {
  transform: perspective(900px) rotateX(calc(var(--tilt-x, 0deg))) rotateY(calc(var(--tilt-y, 0deg)));
  transition: transform .08s linear;
}

