:root {
  --bg: #fbfaf6;
  --paper: #ffffff;
  --soft: #f1f6ef;
  --ink: #080b0a;
  --muted: #5f6862;
  --green: #0b6b4b;
  --green-dark: #073b2e;
  --lime: #b7ef72;
  --gold: #e4b847;
  --purple: #7c3cff;
  --border: rgba(8, 11, 10, .1);
  --shadow: 0 24px 70px rgba(8, 11, 10, .1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(183, 239, 114, .18), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(11, 107, 75, .12), transparent 32%),
    var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
}

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

.page-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, auto) minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 68px;
  background: rgba(251, 250, 246, .86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.nav-cta,
.eyebrow {
  font-family: 'Space Mono', monospace;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  justify-self: start;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.brand img {
  width: clamp(52px, 4.8vw, 68px);
  max-height: 48px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  justify-self: center;
  min-width: 0;
  color: var(--muted);
  font-size: .72rem;
  white-space: nowrap;
  line-height: 1;
}

.nav-links a {
  transition: color .2s ease, transform .2s ease;
}

.nav-links a:hover {
  color: var(--green);
  transform: translateY(-1px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: .68rem;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}

.nav-cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  gap: 46px;
  padding: 86px 34px 58px;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
  animation: fadeUp .75s ease both;
}

.eyebrow {
  color: var(--green);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: .95;
}

.hero-copy > p:last-child {
  max-width: 580px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-showcase {
  position: relative;
  width: min(1080px, 100%);
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(183, 239, 114, .18), transparent 42%),
    linear-gradient(120deg, #f0ecef, #edf3ea);
  box-shadow: var(--shadow);
  animation: fadeUp .8s .12s ease both;
}

.hero-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 11, 10, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 11, 10, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black 35%, transparent 78%);
}

.phone {
  position: absolute;
  width: 210px;
  height: 350px;
  padding: 14px;
  border: 8px solid #080b0a;
  border-radius: 34px;
  background: #080b0a;
  box-shadow: 0 26px 50px rgba(8, 11, 10, .22);
  animation: phoneFloat 5.8s ease-in-out infinite;
}

.phone-left {
  left: 32%;
  transform: translateX(-50%) rotate(-14deg);
}

.phone-right {
  right: 32%;
  transform: translateX(50%) rotate(10deg);
  animation-delay: .6s;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 72px;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: #080b0a;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  padding: 36px 18px 18px;
  text-align: left;
  background:
    radial-gradient(circle at top, rgba(183, 239, 114, .26), transparent 36%),
    linear-gradient(180deg, #0d1020, #24103e);
  color: var(--paper);
}

.phone-screen.light {
  background:
    radial-gradient(circle at top, rgba(11, 107, 75, .14), transparent 38%),
    #fffdf6;
  color: var(--ink);
}

.screen-kicker {
  color: var(--lime);
  font-family: 'Space Mono', monospace;
  font-size: .58rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.phone-screen.light .screen-kicker {
  color: var(--green);
}

.phone-screen h2 {
  margin: 12px 0 20px;
  font-size: 1.3rem;
  line-height: 1.1;
}

.screen-score {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: conic-gradient(var(--lime), var(--green), rgba(255,255,255,.16));
  color: var(--paper);
  font-size: 1.8rem;
  font-weight: 800;
}

.screen-bars {
  display: grid;
  gap: 9px;
}

.screen-bars span {
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .18);
}

.screen-bars span::after {
  content: '';
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}

.mini-list {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--soft);
}

.floating-card {
  position: absolute;
  z-index: 4;
  width: 150px;
  padding: 16px;
  border-radius: 16px;
  color: var(--paper);
  text-align: left;
  box-shadow: 0 18px 34px rgba(8, 11, 10, .16);
  animation: cardFloat 6.5s ease-in-out infinite;
}

.floating-card span {
  display: block;
  margin-bottom: 20px;
  font-family: 'Space Mono', monospace;
  font-size: .58rem;
  letter-spacing: 1px;
  opacity: .74;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  font-size: .95rem;
  line-height: 1.2;
}

.card-achievement {
  top: 56px;
  left: 16%;
  background: #2147db;
  transform: rotate(-12deg);
}

.card-event {
  top: 62px;
  right: 19%;
  background: var(--green);
  transform: rotate(10deg);
  animation-delay: .7s;
}

.card-ai {
  right: 10%;
  bottom: 58px;
  background: #111;
  transform: rotate(-9deg);
  animation-delay: 1.2s;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: min(1080px, calc(100% - 68px));
  margin: 0 auto;
  padding: 34px 0 74px;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.proof-strip span {
  opacity: .64;
  transition: opacity .2s ease, transform .2s ease;
}

.proof-strip span:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.platform-section,
.about-section {
  width: min(1080px, calc(100% - 68px));
  margin: 0 auto;
  padding: 86px 0;
}

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

.section-heading h2,
.about-copy h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}

.section-heading > p:last-child,
.about-copy > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 20%, rgba(183, 239, 114, .22), transparent 34%),
    var(--paper);
  box-shadow: 0 18px 50px rgba(8, 11, 10, .06);
  animation: fadeUp .75s ease both;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card.dark {
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 239, 114, .18), transparent 35%),
    #101211;
  color: var(--paper);
}

.feature-card:nth-child(2) {
  animation-delay: .08s;
}

.feature-card:nth-child(3) {
  animation-delay: .16s;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(11, 107, 75, .1), transparent);
  transform: translateX(-120%);
  transition: transform .55s ease;
}

.feature-card:hover {
  border-color: rgba(11, 107, 75, .28);
  box-shadow: 0 26px 62px rgba(8, 11, 10, .12);
  transform: translateY(-7px);
}

.feature-card:hover::before {
  transform: translateX(120%);
}

.feature-card span {
  display: block;
  margin-bottom: 72px;
  color: var(--green);
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  font-weight: 700;
}

.feature-card.dark span,
.feature-card.dark p {
  color: rgba(255, 255, 255, .72);
}

.feature-card h3 {
  position: relative;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.feature-card p {
  position: relative;
  color: var(--muted);
  line-height: 1.65;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 52px;
  align-items: start;
}

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

.about-mosaic div {
  min-height: 190px;
  padding: 24px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--border);
  transition: transform .25s ease, background .25s ease;
}

.about-mosaic div:first-child {
  grid-row: span 2;
  background:
    radial-gradient(circle at 50% 20%, rgba(183, 239, 114, .35), transparent 36%),
    var(--green-dark);
  color: var(--paper);
}

.about-mosaic div:hover {
  background: var(--paper);
  transform: translateY(-5px);
}

.about-mosaic div:first-child:hover {
  background: var(--green-dark);
}

.about-mosaic span {
  display: block;
  margin-bottom: 38px;
  color: var(--green);
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  text-transform: uppercase;
}

.about-mosaic div:first-child span {
  color: var(--lime);
}

.about-mosaic strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.2;
}

.cta-section {
  position: relative;
  overflow: hidden;
  width: min(1080px, calc(100% - 68px));
  margin: 24px auto 72px;
  padding: 72px 28px;
  border-radius: 16px;
  background: #101211;
  color: var(--paper);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-section h2 {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.cta-section p {
  margin: 16px auto 28px;
  max-width: 560px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

.cta-section a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--paper);
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cta-section a:hover {
  box-shadow: 0 14px 34px rgba(124, 60, 255, .28);
  transform: translateY(-2px);
}

.shape {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  opacity: .95;
  animation: shapeBob 5s ease-in-out infinite;
}

.shape-one {
  left: 48px;
  bottom: 34px;
  background: var(--purple);
  transform: rotate(16deg);
}

.shape-two {
  right: 64px;
  top: 38px;
  background: var(--lime);
  animation-delay: .7s;
}

.shape-three {
  right: 140px;
  bottom: 24px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  animation-delay: 1.2s;
}

.contact-page {
  min-height: 100vh;
}

.contact-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 92px 34px 72px;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(320px, 520px);
  gap: clamp(36px, 6vw, 78px);
  width: min(1080px, 100%);
  margin: 0 auto;
  align-items: start;
}

.contact-shell > div,
.contact-form {
  animation: fadeUp .75s ease both;
}

.contact-shell h1 {
  color: var(--ink);
  max-width: 9ch;
  font-size: clamp(3.1rem, 6.4vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: .98;
  overflow-wrap: normal;
}

.contact-shell p {
  max-width: 520px;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-form span {
  color: var(--green);
  font-family: 'Space Mono', monospace;
  font-size: .66rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
  animation-delay: .12s;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  outline: none;
  padding: 13px 14px;
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(11, 107, 75, .34);
  box-shadow: 0 0 0 4px rgba(11, 107, 75, .08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ba39d;
}

.contact-form button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 13px 22px;
  transition: background .2s ease, transform .2s ease;
}

.contact-form button:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

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

@keyframes phoneFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes cardFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

@keyframes shapeBob {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    height: auto;
    padding: 18px;
  }

  .brand,
  .nav-cta {
    justify-self: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-showcase {
    min-height: 520px;
  }

  .phone-left {
    left: 36%;
  }

  .phone-right {
    right: 28%;
    top: 120px;
  }

  .floating-card {
    width: 132px;
  }

  .card-ai {
    right: 8%;
  }

  .proof-strip,
  .feature-grid,
  .about-section,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .about-section,
  .platform-section,
  .cta-section {
    width: calc(100% - 36px);
  }

  .about-mosaic {
    grid-template-columns: 1fr;
  }

  .about-mosaic div:first-child {
    grid-row: auto;
  }
}

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

  .hero {
    padding-inline: 18px;
  }

  .hero-showcase {
    min-height: 470px;
  }

  .phone {
    width: 176px;
    height: 300px;
  }

  .phone-left {
    left: 42%;
  }

  .phone-right {
    right: 18%;
  }

  .floating-card {
    padding: 13px;
  }

  .card-achievement {
    left: 5%;
  }

  .card-event {
    right: 6%;
    top: 44px;
  }

  .card-ai {
    right: 5%;
    bottom: 38px;
  }

  .proof-strip,
  .platform-section,
  .about-section,
  .cta-section,
  .contact-hero {
    width: auto;
    padding-inline: 18px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-section {
    margin-inline: 18px;
  }
}
