:root {
  --neon-cyan: #26af8a;
  --neon-violet: #95ea95;
  --neon-pink: #80d52b;
  --bg-core: #0b0d0f;
  --bg-card: rgba(14, 18, 16, 0.8);
  --text-main: #f4f8f6;
  --text-sub: #aab9b1;
  --line: rgba(38, 175, 138, 0.36);
  --container: 1120px;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --glow: 0 0 36px rgba(38, 175, 138, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 14% 6%, rgba(149, 234, 149, 0.1), transparent 36%),
    radial-gradient(circle at 86% 16%, rgba(38, 175, 138, 0.08), transparent 38%),
    linear-gradient(165deg, #060709 0%, #0b0d0f 45%, #121915 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(38, 175, 138, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 175, 138, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.background-shape {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(64px);
}

.shape-left {
  width: 300px;
  height: 300px;
  top: 48vh;
  left: -110px;
  background: rgba(149, 234, 149, 0.12);
}

.shape-right {
  width: 340px;
  height: 340px;
  top: 10vh;
  right: -140px;
  background: rgba(38, 175, 138, 0.1);
}

.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(var(--container), calc(100% - 40px));
  margin: 20px auto 0;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 13, 0.78);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 154px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.section {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
}

#features.section {
  padding-top: 4px;
}

.top-photo-stream {
  width: 100%;
  margin: 18px 0 0;
  position: relative;
  left: 0;
  right: 0;
  margin-left: 0;
  margin-right: 0;
}

.top-photo-stream__viewport {
  overflow: hidden;
  mask-image: none;
}

.top-photo-stream__rail {
  display: flex;
  width: max-content;
  animation: photo-stream-scroll 48s linear infinite;
  opacity: 0;
  transition: opacity 0.36s ease;
}

.top-photo-stream.is-ready .top-photo-stream__rail {
  opacity: 1;
}

.top-photo-stream__track {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.top-photo-stream__track img {
  width: 210px;
  height: 126px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  padding-top: 36px;
}

.hero-banner {
  width: 100%;
  margin: 0 0 20px;
}

.hero-banner img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: 0 0 0 -12px;
  object-fit: contain;
}

.hero-tag {
  margin: 0;
  color: var(--neon-cyan);
  letter-spacing: 0.12em;
  font-size: 12px;
  font-family: "Orbitron", sans-serif;
}

.hero h1 {
  margin: 16px 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: 0.01em;
}

.hero h1 span {
  background: linear-gradient(95deg, var(--neon-cyan), var(--neon-violet), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  margin: 0;
  color: var(--text-sub);
  line-height: 1.9;
  font-size: 15px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-social {
  margin-top: 24px;
}

.hero-social-title {
  margin: 0 0 8px;
  color: var(--text-sub);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(38, 175, 138, 0.72);
  background: linear-gradient(145deg, rgba(18, 25, 22, 0.96), rgba(11, 14, 16, 0.98));
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 8px 18px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(38, 175, 138, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-social-icon {
  display: block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero-social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(38, 175, 138, 0.94);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 20px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(38, 175, 138, 0.3);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.button.primary {
  color: #10231a;
  background: linear-gradient(120deg, var(--neon-violet), var(--neon-cyan));
  box-shadow: 0 10px 26px rgba(38, 175, 138, 0.28);
}

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

.button.ghost:hover {
  border-color: rgba(38, 175, 138, 0.58);
}

.store-badge-link {
  display: inline-flex;
  height: 56px;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 10px;
  background: transparent;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.store-badge-link:hover {
  transform: none;
  filter: none;
  opacity: 0.94;
}

.store-badge-link img {
  display: block;
  height: 100%;
  width: auto;
}

.store-badge-link--google img {
  height: calc(100% + 10px);
  margin: -5px 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.hero-mobile-visual {
  display: none;
}

.phone-stack {
  position: relative;
  width: min(100%, 640px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  z-index: 1;
}

.phone-mock {
  position: relative;
  width: min(100%, 286px);
  border-radius: 42px;
  padding: 14px;
  border: 1px solid rgba(38, 175, 138, 0.45);
  background:
    linear-gradient(145deg, rgba(15, 21, 18, 0.98), rgba(10, 12, 14, 0.98));
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.55),
    0 0 0 3px rgba(255, 255, 255, 0.04),
    0 0 38px rgba(38, 175, 138, 0.3);
}

.phone-mock::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 128px;
  height: 24px;
  border-radius: 0 0 14px 14px;
  background: rgba(4, 7, 14, 0.96);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.phone-screen {
  border-radius: 31px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #070b16;
}

.app-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

.phone-front {
  position: relative;
  transform: none;
  z-index: 2;
}

.phone-back {
  position: relative;
  transform: none;
  z-index: 1;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.55),
    0 0 0 3px rgba(255, 255, 255, 0.04),
    0 0 42px rgba(38, 175, 138, 0.3);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(12, 17, 15, 0.88);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  animation: float 4s ease-in-out infinite;
  z-index: 5;
}

.floating-card p {
  margin: 0;
  color: var(--text-sub);
  font-size: 11px;
}

.floating-card strong {
  display: block;
  margin: 0;
  line-height: 1.4;
  text-align: center;
  font-size: 13px;
}

.card-entry {
  left: -85px;
  top: 45%;
}

.card-score {
  right: -85px;
  top: 8%;
  animation-delay: 1.2s;
}

.section-header {
  max-width: 740px;
}

.section-kicker {
  margin: 0;
  color: var(--neon-cyan);
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.1em;
  font-size: 13px;
}

.section-header h2 {
  margin: 12px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3;
}

@media (min-width: 1001px) {
  .features-heading-single-line {
    white-space: nowrap;
  }
}

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

.feature-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(38, 175, 138, 0.5);
  background:
    linear-gradient(160deg, rgba(16, 21, 19, 0.9), rgba(10, 12, 14, 0.92)),
    radial-gradient(circle at right top, rgba(149, 234, 149, 0.13), transparent 52%);
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(38, 175, 138, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.feature-card h3 {
  margin: 0;
  font-size: 20px;
  font-family: "Orbitron", sans-serif;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--text-sub);
  line-height: 1.8;
  font-size: 14px;
}

.flow-section {
  border-top: none;
}

.flow-steps {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.flow-item {
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(38, 175, 138, 0.5);
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(38, 175, 138, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.flow-item span {
  font-family: "Orbitron", sans-serif;
  color: var(--neon-cyan);
  font-size: 28px;
}

.flow-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.flow-item p {
  margin: 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

.gallery-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
}

.download-section {
  margin-top: 8px;
  text-align: center;
  background:
    radial-gradient(circle at center top, rgba(149, 234, 149, 0.12), transparent 56%),
    linear-gradient(150deg, rgba(14, 19, 16, 0.96), rgba(10, 12, 14, 0.99));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 42px 20px;
  box-shadow: var(--glow);
}

.download-section > img {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.download-section h2 {
  margin: 14px 0 0;
  font-size: clamp(22px, 3.2vw, 34px);
  font-family: "Orbitron", sans-serif;
}

.download-section p {
  margin: 12px 0 0;
  color: var(--text-sub);
  font-size: 14px;
}

.store-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.store-button {
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(14, 19, 17, 0.72);
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  background: rgba(18, 25, 22, 0.9);
  border-color: rgba(38, 175, 138, 0.58);
}

.store-button img {
  width: 24px;
  height: 24px;
}

.site-footer {
  width: min(var(--container), calc(100% - 40px));
  border-top: none;
  margin: 22px auto 0;
  padding: 20px 0;
  text-align: center;
  color: var(--text-sub);
  font-size: 12px;
  overflow-x: clip;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 0.72s ease forwards;
}

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

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.36s;
}

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

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

@keyframes photo-stream-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .top-photo-stream__track img {
    width: 180px;
    height: 110px;
  }

  .hero-visual {
    order: -1;
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .hero-banner img {
    margin-left: 0;
  }

  .card-entry,
  .card-score {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    margin-top: 10px;
  }

  .floating-card {
    width: fit-content;
    max-width: 90%;
    margin-inline: auto;
  }

  .phone-stack {
    width: min(100%, 620px);
  }

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

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

@media (max-width: 720px) {
  .section {
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    overflow-x: clip;
  }

  .site-header {
    flex-direction: column;
    gap: 14px;
    border-radius: 18px;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .card-entry,
  .card-score {
    margin-top: 10px;
  }

  .hero-visual,
  .floating-card {
    display: none;
  }

  .hero-mobile-visual {
    display: block;
    margin: 14px 0 18px;
    overflow-x: clip;
  }

  .site-footer {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: clamp(24px, 7.4vw, 28px);
    line-height: 1.2;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }

  .hero h1 span {
    display: block;
  }

  .hero h1 span br {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-social {
    text-align: center;
  }

  .hero-social-links {
    justify-content: center;
  }

  .hero-social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .hero-social-icon {
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
  }

  .phone-stack {
    width: min(100%, 340px);
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }

  .phone-mock {
    width: calc((100% - 10px) / 2);
    border-radius: 30px;
    padding: 10px;
  }

  .phone-mock::before {
    inset: 5px;
    border-radius: 24px;
  }

  .phone-notch {
    top: 8px;
    width: 82px;
    height: 16px;
    border-radius: 0 0 10px 10px;
  }

  .phone-screen {
    border-radius: 22px;
  }

  .phone-front,
  .phone-back {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }

  .store-button {
    width: 100%;
  }

  .store-badge-link {
    height: 52px;
  }

  .top-photo-stream__track {
    gap: 10px;
    padding-right: 10px;
  }

  .top-photo-stream__track img {
    width: 150px;
    height: 94px;
    border-radius: 8px;
  }
}
