:root {
  --bg: #050507;
  --bg-soft: #0b0b10;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #a8a8b3;
  --dim: #6f7080;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #c9ff3b;
  --accent-2: #7c5cff;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(124, 92, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 10% 20%, rgba(201, 255, 59, 0.11), transparent 30rem),
    var(--bg);
  overflow-x: hidden;
}

body::selection {
  background: var(--accent);
  color: #070707;
}

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

button,
input {
  font: inherit;
}

input {
  min-width: 0;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

.orb-one {
  background: var(--accent);
  top: 8rem;
  right: -8rem;
}

.orb-two {
  background: var(--accent-2);
  bottom: 10rem;
  left: -8rem;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 18px;
  background: rgba(8, 8, 11, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #ffffff);
  box-shadow: 0 0 24px rgba(201, 255, 59, 0.5);
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: var(--text);
  color: #050507;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.section-pad {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
  padding-top: 160px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(201, 255, 59, 0.8);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 780px;
  font-size: clamp(4.6rem, 11vw, 9.6rem);
  line-height: 0.82;
  letter-spacing: -0.1em;
  font-weight: 950;
}

h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 245, 247, 0.72);
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.32rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #050507;
  background: var(--accent);
  box-shadow: 0 18px 50px rgba(201, 255, 59, 0.18);
}

.button.ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

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

.phone-shell {
  width: min(430px, 100%);
  min-height: 610px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.03)),
    rgba(12, 12, 16, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  transform: rotateX(6deg) rotateY(-9deg);
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: rotateX(6deg) rotateY(-9deg) translateY(0); }
  50% { transform: rotateX(3deg) rotateY(-5deg) translateY(-16px); }
}

.phone-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.phone-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}

.drop-input {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.plus {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #050507;
  background: var(--accent);
  font-weight: 900;
}

.cursor {
  width: 2px;
  height: 22px;
  background: var(--accent);
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.mini-card {
  min-height: 158px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  transition: transform 0.25s ease, background 0.25s ease;
}

.mini-card.active,
.mini-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.11);
}

.mini-card.wide {
  grid-column: 1 / -1;
  min-height: 190px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 255, 59, 0.22), transparent 42%),
    rgba(255,255,255,0.07);
}

.tag,
.card-top span {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(201, 255, 59, 0.09);
  font-size: 12px;
  font-weight: 800;
}

.mini-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.mini-card p {
  color: var(--muted);
  line-height: 1.45;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

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

.mess-card,
.feature,
.demo-panel,
.app-shell,
.waitlist-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
}

.mess-card {
  min-height: 280px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.mess-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.09em;
}

.mess-card span {
  display: block;
  margin-bottom: 44px;
  color: var(--accent);
  font-weight: 850;
}

.mess-card p,
.demo-copy p,
.feature p,
.waitlist-card p {
  color: var(--muted);
  line-height: 1.65;
}

.demo-panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: end;
  gap: 30px;
  margin-bottom: 22px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.demo-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.composer {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,0.2);
}

.composer input,
.waitlist-form input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.composer input {
  padding: 0 12px 0 16px;
}

.composer button,
.waitlist-form button {
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 999px;
  color: #050507;
  background: var(--accent);
  font-weight: 900;
}

.composer button {
  padding: 14px 18px;
}

.app-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 650px;
  overflow: hidden;
  border-radius: 36px;
}

.app-sidebar {
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.sidebar-title {
  margin-bottom: 18px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.collection {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: 0.2s ease;
}

.collection:hover,
.collection.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.07);
}

.collection span {
  color: var(--dim);
}

.app-main {
  padding: 24px;
}

.app-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.app-toolbar p {
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.app-toolbar h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.06em;
}

.search-pill {
  flex: 0 0 auto;
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.drop-card {
  min-height: 240px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.08), transparent 45%),
    rgba(255,255,255,0.065);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.drop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 255, 59, 0.34);
}

.drop-card.hidden {
  display: none;
}

.drop-card.new {
  animation: popCard 0.42s cubic-bezier(.2, .9, .2, 1.2);
}

@keyframes popCard {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.card-top button {
  border: 0;
  color: var(--dim);
  background: transparent;
  cursor: pointer;
}

.drop-card h4 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.drop-card p {
  color: var(--muted);
  line-height: 1.55;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  color: var(--dim);
  font-size: 13px;
}

.tall {
  min-height: 315px;
}

.preview-lines {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.preview-lines i {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.preview-lines i:nth-child(2) { width: 78%; }
.preview-lines i:nth-child(3) { width: 54%; }

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.image-strip i {
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201,255,59,0.23), rgba(124,92,255,0.28));
}

.feature {
  min-height: 340px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.feature-num {
  display: block;
  margin-bottom: 80px;
  color: var(--accent);
  font-weight: 900;
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 31px;
  letter-spacing: -0.06em;
}

.waitlist-card {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 70px);
  border-radius: 42px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(201,255,59,0.16), transparent 45%),
    rgba(255,255,255,0.055);
}

.waitlist-card h2 {
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 30px auto 14px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,0.24);
}

.waitlist-form input {
  padding: 0 16px;
}

.waitlist-form button {
  padding: 14px 18px;
}

.waitlist-card small {
  color: var(--dim);
}

.footer {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 50px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero,
  .demo-panel,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
  }

  .phone-shell {
    min-height: 520px;
    transform: none;
  }

  .app-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mess-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-cta {
    display: none;
  }

  .section-pad {
    width: min(100% - 24px, 1120px);
    padding: 82px 0;
  }

  .hero {
    padding-top: 120px;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 6.4rem);
  }

  .hero-actions,
  .composer,
  .waitlist-form,
  .app-toolbar,
  .footer {
    flex-direction: column;
  }

  .composer,
  .waitlist-form {
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    border-radius: 24px;
  }

  .composer input,
  .waitlist-form input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
  }

  .button,
  .composer button,
  .waitlist-form button {
    width: 100%;
  }

  .composer button,
  .waitlist-form button {
    min-height: 52px;
  }

  .mini-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .phone-shell,
  .demo-panel,
  .app-shell,
  .waitlist-card {
    border-radius: 28px;
  }

  .drop-card,
  .mess-card,
  .feature {
    border-radius: 24px;
  }
}

/* Premium lime motion / signal details */
[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.lime-wash {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.widget-glow {
  pointer-events: none;
  z-index: 0;
}

.lime-wash {
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.12;
  background:
    radial-gradient(circle at 35% 35%, rgba(201, 255, 59, 0.72), transparent 34%),
    conic-gradient(from 140deg, transparent, rgba(201, 255, 59, 0.34), transparent 60%);
  animation: slowDrift 18s ease-in-out infinite alternate;
}

.lime-wash-one {
  top: 22rem;
  right: 8vw;
}

.lime-wash-two {
  bottom: 20rem;
  left: 8vw;
  opacity: 0.09;
  animation-duration: 23s;
  animation-direction: alternate-reverse;
}

@keyframes slowDrift {
  0% { translate: -2rem 0; scale: 0.92; opacity: 0.08; }
  50% { opacity: 0.15; }
  100% { translate: 2rem -3rem; scale: 1.08; opacity: 0.12; }
}

.hero-visual {
  position: relative;
}

.widget-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.56;
  mix-blend-mode: screen;
}

.widget-glow-a {
  width: 16rem;
  height: 16rem;
  right: -2rem;
  top: 5rem;
  background: radial-gradient(circle, rgba(201, 255, 59, 0.38), transparent 64%);
  animation: widgetPulse 5.8s ease-in-out infinite;
}

.widget-glow-b {
  width: 12rem;
  height: 12rem;
  left: 0;
  bottom: 4rem;
  background: radial-gradient(circle, rgba(201, 255, 59, 0.28), transparent 68%);
  animation: widgetPulse 7.2s ease-in-out infinite reverse;
}

@keyframes widgetPulse {
  0%, 100% { scale: 0.96; opacity: 0.34; }
  50% { scale: 1.12; opacity: 0.68; }
}

.phone-shell,
.demo-panel,
.app-shell,
.waitlist-card,
.mess-card,
.feature,
.drop-card,
.mini-card {
  position: relative;
  overflow: hidden;
}

.phone-shell::before,
.demo-panel::before,
.app-shell-glow::before,
.waitlist-card::before,
.drop-card::before,
.mess-card::before,
.feature::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at calc(15% + (var(--mouse-x, 0) * 18%)) calc(0% + (var(--mouse-y, 0) * 12%)), rgba(201, 255, 59, 0.16), transparent 34%),
    linear-gradient(115deg, transparent 0%, rgba(201, 255, 59, 0.07) 42%, transparent 58%);
  opacity: 0.72;
  transform: translate3d(calc(var(--mouse-x, 0) * 10px), calc(var(--mouse-y, 0) * 10px), 0);
  transition: opacity 0.25s ease;
}

.drop-card::before,
.mess-card::before,
.feature::before {
  opacity: 0.42;
}

.mini-card::after,
.drop-card::after,
.feature::after {
  content: "";
  position: absolute;
  width: 8rem;
  height: 8rem;
  right: -4rem;
  top: -4rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 255, 59, 0.17), transparent 65%);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.mini-card:hover::after,
.drop-card:hover::after,
.feature:hover::after {
  opacity: 1;
  transform: scale(1.25);
}

.eyebrow .pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(201, 255, 59, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(201, 255, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 255, 59, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .lime-wash,
  .widget-glow,
  .eyebrow .pulse,
  .phone-shell {
    animation: none !important;
  }
}
