:root {
  --navy-bg: #020617;
  --navy-deep: #020819;
  --navy-soft: #0b1220;
  --navy-border: #1f2937;
  --navy-pill: #0b2147;

  --orange: #2f8afd;
  --orange-soft: rgba(47, 138, 253, 0.2);

  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.16);

  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;

  --surface-elevated: #020617;
  --surface-card: #02081a;
  --surface-muted: #02091c;

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --shadow-soft: 0 30px 80px rgba(15, 23, 42, 0.9);
  --shadow-subtle: 0 16px 40px rgba(15, 23, 42, 0.6);

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Reveal-on-scroll utility */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

body {
  font-family: var(--font-sans);
  line-height: 1.5;
  color: var(--text-main);
  background: #0a0a0a;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page--dark {
  background: radial-gradient(circle at top, #020617 0, #020817 35%, #000 100%);
}

.page--light {
  background: #0a0a0a;
  color: var(--text-main);
}

.container {
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.9), transparent);
  border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.header--simple {
  position: static;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo__icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 10%, #e5e7eb, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #020617;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
}

.logo__icon--small {
  width: 26px;
  height: 26px;
  font-size: 16px;
}

.logo__text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo__img {
  height: 34px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__link {
  text-decoration: none;
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 4px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav__link:hover {
  color: var(--text-main);
}

.nav__link--button {
  padding: 8px 18px;
  border-radius: 999px;
  background: #f9fafb;
  color: #020617;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

.nav__link--muted {
  color: var(--text-soft);
}

.hero {
  padding: 72px 0 72px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 12px;
  color: var(--text-muted);
  background: radial-gradient(circle at top left, rgba(47, 138, 253, 0.22), rgba(15, 23, 42, 0.9));
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.hero__accent {
  color: var(--orange);
}

.hero__subtitle {
  color: var(--text-soft);
  max-width: 420px;
  margin: 0 0 24px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.hero__note {
  font-size: 13px;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn--primary {
  position: relative;
  background: linear-gradient(135deg, #2f8afd, #5ea5fd);
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(47, 138, 253, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(47, 138, 253, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--primary:hover::after {
  left: 130%;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn--pill {
  border-radius: var(--radius-pill);
}

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

.device-card {
  background: radial-gradient(circle at top, #020617, #020617 40%, #000 100%);
  border-radius: 30px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.device-card--center {
  padding-top: 32px;
}

.device-card__title {
  margin: 0 0 14px;
  font-size: 14px;
}

.device-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.device-card__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
}

.device-card__list--goals li {
  align-items: flex-start;
}

.goal__name {
  font-size: 12px;
}

.goal__meta {
  display: block;
  font-size: 11px;
  color: var(--text-soft);
}

.gauge {
  position: relative;
  width: 100%;
  padding-top: 90%;
  border-radius: 30px;
  background: radial-gradient(circle at top, rgba(47, 138, 253, 0.12), #020617);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge__ring {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  border: 8px solid rgba(15, 23, 42, 1);
  border-top-color: var(--orange);
  border-right-color: rgba(47, 138, 253, 0.4);
  border-bottom-color: rgba(15, 23, 42, 1);
  border-left-color: rgba(15, 23, 42, 1);
  transform: rotate(-35deg);
}

.gauge__value {
  position: absolute;
  font-size: 22px;
  font-weight: 700;
}

.gauge__label {
  position: absolute;
  bottom: 22%;
  font-size: 11px;
  color: var(--text-muted);
}

.gauge__footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-soft);
}

.gauge__score {
  color: var(--green);
}

.badge {
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 11px;
  border: 1px solid transparent;
}

.badge--navy {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(30, 64, 175, 0.5);
  color: #e5e7eb;
}

.badge--orange {
  background: var(--orange-soft);
  border-color: rgba(47, 138, 253, 0.8);
  color: #a5cdff;
}

.badge--muted {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(55, 65, 81, 0.6);
  color: var(--text-muted);
}

.badge--green {
  background: var(--green-soft);
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.9);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.chip--good {
  border-color: rgba(34, 197, 94, 0.7);
  color: #bbf7d0;
}

.chip--warn {
  border-color: rgba(47, 138, 253, 0.7);
  color: #a5cdff;
}

.chip--info {
  border-color: rgba(59, 130, 246, 0.7);
  color: #bfdbfe;
}

.section {
  padding: 64px 0;
}

.section--muted {
  background: radial-gradient(circle at top, #020617, #020617 30%, #020617 60%, #000 100%);
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.section__header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.section__title {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 0;
}

.section__accent {
  color: var(--orange);
}

.section__icon {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020817;
  color: #e5e7eb;
  margin-bottom: 10px;
}

.section__icon--navy {
  background: linear-gradient(135deg, #0b2147, #020617);
}

.steps-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.steps-tabs__item {
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: default;
}

.steps-tabs__item--active {
  background: #020617;
  color: #f9fafb;
}

.steps-tabs__divider {
  width: 18px;
  height: 1px;
  background: rgba(75, 85, 99, 0.7);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: radial-gradient(circle at top, #020617, #02081a 45%, #000 100%);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-subtle);
}

.card--wide {
  height: 100%;
}

.card--testimonial {
  background: radial-gradient(circle at top, rgba(47, 138, 253, 0.1), #020817);
}

.card__title {
  margin: 0 0 10px;
  font-size: 16px;
}

.card__text {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-soft);
}

.card__meta {
  font-size: 12px;
  color: var(--text-muted);
}

.card__stats {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.card__stats li {
  display: flex;
  justify-content: space-between;
}

.card__chips {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-gauge {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.mini-gauge__value {
  font-size: 14px;
  font-weight: 600;
}

.mini-gauge__label {
  font-size: 11px;
  color: var(--text-soft);
}

.mini-gauge__progress {
  margin-top: 8px;
  height: 6px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 1);
  overflow: hidden;
}

.mini-gauge__bar {
  width: 20%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f8afd, #22c55e);
}

.stars {
  font-size: 14px;
  margin-bottom: 6px;
  color: #a5cdff;
}

.goals-grid {
  margin-top: 24px;
}

.goal-card {
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.08), #020617);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.goal-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.goal-card__name {
  font-size: 14px;
  font-weight: 600;
}

.goal-card__meta {
  font-size: 12px;
  color: var(--text-soft);
  margin: 0 0 10px;
}

.goal-card__progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 1);
  overflow: hidden;
}

.goal-card__progress--navy .goal-card__bar {
  width: 54%;
  background: linear-gradient(90deg, #0ea5e9, #1d4ed8);
}

.goal-card__progress--green .goal-card__bar {
  width: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.goal-card__bar {
  height: 100%;
}

.goal-card__bar--full {
  width: 100%;
}

.legal {
  padding: 40px 0 60px;
}

.legal__inner {
  max-width: 780px;
  margin: 0 auto;
}

.legal__title {
  font-size: 30px;
  margin: 0 0 6px;
}

.legal__updated {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.legal__section {
  margin-bottom: 22px;
}

.legal__section h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.legal__section h3 {
  font-size: 15px;
  margin: 14px 0 6px;
}

.legal__section p {
  font-size: 14px;
  color: var(--text-soft);
}

.legal__section ul {
  padding-left: 18px;
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
  padding: 18px 0;
}

.footer--legal {
  margin-top: 16px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  color: var(--text-soft);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__tagline {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 14px;
}

.footer__link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 12px;
}

.footer__link:hover {
  color: var(--text-main);
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Light app-style page */
.page--light-app {
  background: #f3f4f6;
  color: #020617;
}

/* App-style header */
.header--app {
  background: #f4f5f8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(18px);
}

.nav--app .nav__link {
  color: #64748b;
}

.nav__link--active {
  color: #020617;
  font-weight: 600;
}

/* App hero */
.app-hero {
  padding: 72px 0 48px;
}

.app-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.app-hero__eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}

.app-hero__title {
  font-size: clamp(32px, 4vw, 40px);
  margin: 4px 0 8px;
  letter-spacing: -0.04em;
  color: #020617;
}

.app-hero__subtitle {
  margin: 0 0 24px;
  max-width: 420px;
  font-size: 14px;
  color: #6b7280;
}

.app-hero__summary {
  background: #ffffff;
  border-radius: 28px;
  padding: 20px 20px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(209, 213, 219, 0.7);
}

.app-hero__summary-title {
  margin: 0 0 12px;
  font-size: 15px;
  color: #020617;
}

.app-hero__summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.plan-card {
  background: #f9fafb;
  border-radius: 18px;
  padding: 10px 10px 8px;
  text-align: center;
}

.plan-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin: 0 auto 6px;
  color: #f9fafb;
}

.plan-card__icon--navy {
  background: #020617;
}

.plan-card__icon--orange {
  background: #2f8afd;
}

.plan-card__icon--red {
  background: #ef4444;
}

.plan-card__icon--blue {
  background: #0ea5e9;
}

.plan-card__label {
  font-size: 12px;
  margin: 0;
  color: #020617;
}

.plan-card__hint {
  font-size: 11px;
  margin: 0;
  color: #9ca3af;
}

.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* Phone frames */
.app-hero__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.phone-frame {
  background: linear-gradient(145deg, #0a0a0a, #181818);
  padding: 10px;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(70, 70, 70, 0.5);
  max-width: 270px;
}

.phone-frame--small {
  max-width: 220px;
}

.phone-frame__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
  vertical-align: middle;
}

.app-hero__phone-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #cbd5f5;
  display: inline-block;
  margin: 0 2px;
}

.app-hero__phone-dots .dot--active {
  background: #020617;
}

/* Screenshots strip */
.screenshots {
  padding: 32px 0 40px;
}

.section-heading {
  font-size: 24px;
  margin: 0 0 4px;
  letter-spacing: -0.03em;
  color: #020617;
}

.section-heading--center {
  text-align: center;
}

.section-subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  color: #6b7280;
}

.screenshots__row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.screenshots__row .phone-frame--small {
  scroll-snap-align: start;
}

/* Download strip */
.download {
  padding: 32px 0 40px;
}

.download__inner {
  background: #020617;
  border-radius: 30px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #f9fafb;
}

.download__title {
  margin: 0 0 4px;
  font-size: 20px;
}

.download__subtitle {
  margin: 0;
  font-size: 14px;
  color: #e5e7eb;
}

/* Light cards and muted sections for app page */
.card--light {
  background: #ffffff;
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.page--light-app .section--muted {
  background: #f9fafb;
}

/* === SnapOut-style dark landing === */

.page--dark-landing {
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(47, 138, 253, 0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(47, 138, 253, 0.06), transparent 60%),
    linear-gradient(180deg, #0b0b0b 0%, #080808 50%, #050505 100%);
  background-attachment: fixed;
  color: #f3f6ff;
}

.snap-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 14px;
  padding-bottom: 6px;
  background: radial-gradient(circle at top, rgba(15, 15, 15, 0.95), rgba(0, 0, 0, 0.9), transparent);
  backdrop-filter: blur(18px);
}

.snap-header .container {
  display: flex;
  justify-content: center;
}

.snap-header__inner {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.7), rgba(13, 13, 13, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  height: auto;
  max-width: 640px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.snap-header__inner:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.logo--snap .logo__icon {
  background: radial-gradient(circle at 30% 10%, #f9fafb, #111827);
  color: #020617;
}

.snap-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.snap-nav__link {
  color: #f3f6ff;
  text-decoration: none;
  padding: 4px 0;
}

.snap-nav__link--active,
.snap-nav__link:hover {
  color: #f9fafb;
}

.snap-header__button {
  padding-inline: 20px;
  border-radius: 999px;
  background: #2f8afd;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  flex-shrink: 0;
}

.snap-hero {
  padding: 96px 0 88px;
  position: relative;
}

.snap-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.snap-hero__title {
  font-size: clamp(40px, 5.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 18px;
  color: #ffffff;
}

.snap-hero__title-accent {
  background: linear-gradient(135deg, #2f8afd 0%, #74b1ff 50%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.snap-hero__subtitle {
  margin: 0 0 24px;
  max-width: 460px;
  font-size: 15px;
  color: #dbe5ff;
}

.snap-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.btn--lg {
  padding: 12px 26px;
  font-size: 15px;
}

.snap-hero__meta {
  font-size: 13px;
  color: #9ca3af;
}

.snap-hero__device {
  display: flex;
  justify-content: center;
  position: relative;
}

.snap-hero__device::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(47, 138, 253, 0.18), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.phone-frame--hero {
  position: relative;
  z-index: 1;
  max-width: 270px;
  background: radial-gradient(circle at top, #1a1a1a, #050505);
  border-radius: 44px;
  padding: 10px;
  border: 1px solid rgba(80, 80, 80, 0.5);
  box-shadow: 0 50px 130px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: phone-float 7s ease-in-out infinite;
}

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

.phone-frame--hero .phone-frame__image {
  border-radius: 30px;
}

.snap-section {
  padding: 88px 0;
  position: relative;
}

.snap-section#screenshots {
  overflow: hidden;
}

.snap-section--band {
  background: transparent;
  position: relative;
}

.snap-section--band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.015));
  pointer-events: none;
}

.snap-section__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.snap-section__header--center {
  align-items: center;
  text-align: center;
}

.snap-section__title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 36px);
  letter-spacing: -0.035em;
  font-weight: 700;
  color: #ffffff;
}

.snap-section__underline {
  display: none;
}

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

.snap-feature-card {
  position: relative;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.6), rgba(14, 14, 14, 0.7));
  border-radius: 22px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  overflow: hidden;
}

.snap-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(47, 138, 253, 0), rgba(47, 138, 253, 0.4), rgba(47, 138, 253, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.snap-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(47, 138, 253, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.snap-feature-card:hover::before {
  opacity: 1;
}

.snap-feature-card__icon {
  font-size: 20px;
  margin-bottom: 8px;
}

.snap-feature-card__title {
  margin: 0 0 6px;
  font-size: 15px;
  color: #f3f6ff;
}

.snap-feature-card__text {
  margin: 0;
  font-size: 13px;
  color: #dbe5ff;
}

.snap-screenshots-viewport {
  overflow: hidden;
  margin-top: 8px;
  width: 100%;
}

.snap-section#screenshots .snap-screenshots-viewport {
  margin-left: -40px;
  margin-right: -40px;
  width: calc(100% + 80px);
}

.snap-screenshots-track {
  display: flex;
  gap: 3px;
  padding: 8px 0 4px;
  animation: snap-screenshots-scroll 32s linear infinite;
}

.snap-screenshots-track .phone-frame--strip {
  max-width: 218px;
  min-width: 202px;
  flex-shrink: 0;
}

@keyframes snap-screenshots-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* === How It Works (1-2-3 step section) === */

.snap-section__subtitle {
  margin: 14px 0 0;
  font-size: 15px;
  color: #9ca3af;
}

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

.how-step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.6), rgba(14, 14, 14, 0.7));
  border-radius: 24px;
  padding: 22px 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  overflow: hidden;
}

.how-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(47, 138, 253, 0.10),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.how-step__number {
  position: absolute;
  top: 4px;
  right: 18px;
  font-size: 76px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: #2f8afd;
  text-shadow: 0 0 30px rgba(47, 138, 253, 0.5);
  z-index: 2;
  pointer-events: none;
}

.how-step__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #0a0a0a;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.how-step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.how-step:hover .how-step__media img {
  transform: scale(1.03);
}

.how-step__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.how-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #c9d1d9;
}

@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .how-step__number {
    font-size: 56px;
  }
}

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

.snap-testimonial-card {
  position: relative;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.6), rgba(14, 14, 14, 0.7));
  border-radius: 22px;
  padding: 24px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
}

.snap-testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 14px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.35));
}

.review-stars svg.is-empty {
  fill: rgba(255, 255, 255, 0.12);
  filter: none;
}

.snap-testimonial-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.snap-testimonial-card__quote {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #d4d8e0;
}

.snap-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.snap-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.snap-testimonial-card__name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.snap-testimonial-card__meta {
  margin: 2px 0 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.2;
}


.snap-support {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.snap-support__text {
  font-size: 14px;
  color: #dbe5ff;
}

.snap-support__link {
  color: #2f8afd;
  text-decoration: none;
}

.snap-support__link:hover {
  text-decoration: underline;
}

.snap-cta {
  padding: 72px 0 80px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(47, 138, 253, 0.12), transparent 70%),
    transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.snap-cta__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.snap-cta__header {
  margin-bottom: 12px;
}

.snap-cta__title {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #ffffff;
}

.snap-cta__underline {
  margin: 0 auto;
}

.snap-cta__subtitle {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
  color: #dbe5ff;
}

.snap-footer {
  padding: 32px 0 32px;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #9ca3af;
}

.snap-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.snap-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.snap-footer__logo {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.snap-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.snap-footer__brand-name {
  font-size: 14px;
  font-weight: 600;
  color: #f9fafb;
}

.snap-footer__tagline {
  margin: 4px 0 0;
  color: #6b7280;
}

.snap-footer__legal-title {
  margin: 0 0 6px;
  font-size: 13px;
  color: #e5e7eb;
}

.snap-footer__link {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 4px;
}

.snap-footer__link:hover {
  color: #f9fafb;
}

/* ===== Tablet (≤900px) ===== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__devices {
    grid-template-columns: repeat(3, minmax(0, 0.9fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .device-card {
    min-width: 180px;
  }

  .header__inner {
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .section__header--center {
    align-items: center;
  }

  /* Hero */
  .snap-hero {
    padding: 64px 0 48px;
  }

  .snap-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    text-align: center;
  }

  .snap-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .snap-hero__actions {
    justify-content: center;
  }

  .snap-hero__device {
    justify-content: center;
    margin-top: 0;
  }

  .snap-hero__device::before {
    width: 320px;
    height: 320px;
  }

  /* Header pill */
  .snap-header__inner {
    gap: 12px;
    padding: 6px 6px 6px 16px;
  }

  .snap-nav {
    display: none;
  }

  /* Sections breathe less */
  .snap-section {
    padding: 56px 0;
  }

  .snap-cta {
    padding: 56px 0 64px;
  }

  /* Features and testimonials condense */
  .snap-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .snap-testimonials {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .snap-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* ===== Phone (≤640px) ===== */
@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

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

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .download__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hero compact */
  .snap-hero {
    padding: 48px 0 40px;
  }

  .snap-hero__title {
    font-size: clamp(32px, 9vw, 42px);
  }

  .snap-hero__subtitle {
    font-size: 14px;
  }

  .snap-hero__actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .snap-hero__actions .btn {
    width: 100%;
  }

  .snap-hero__device::before {
    width: 260px;
    height: 260px;
  }

  .phone-frame--hero {
    max-width: 220px;
  }

  /* Header tightens */
  .snap-header {
    padding-top: 10px;
  }

  .snap-header__inner {
    gap: 10px;
    padding: 6px 6px 6px 16px;
    width: calc(100% - 12px);
  }

  .snap-header__button {
    padding: 10px 16px;
    font-size: 13px;
    min-height: 36px;
  }

  /* Bigger tap targets on mobile */
  .btn {
    min-height: 44px;
    padding: 12px 22px;
  }

  .btn--lg {
    min-height: 48px;
    padding: 14px 24px;
    font-size: 15px;
  }

  /* Easier-to-tap footer links */
  .snap-footer__link {
    padding: 6px 0;
    margin-bottom: 2px;
  }

  .snap-support__link {
    display: inline-block;
    padding: 4px 0;
  }

  /* Section padding compresses */
  .snap-section {
    padding: 48px 0;
  }

  .snap-cta {
    padding: 48px 0 56px;
  }

  .snap-section__title {
    font-size: clamp(24px, 6.5vw, 30px);
  }

  /* Features stack */
  .snap-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .snap-feature-card {
    padding: 18px 18px 16px;
  }

  /* How It Works smaller numbers + tighter cards */
  .how-step {
    padding: 18px 18px 22px;
  }

  .how-step__number {
    font-size: 48px;
    top: 6px;
    right: 14px;
  }

  .how-step__title {
    font-size: 17px;
  }

  /* Screenshots strip (legacy) */
  .snap-screenshots-track .phone-frame--strip {
    max-width: 168px;
  }

  /* CTA */
  .snap-cta__title {
    font-size: clamp(26px, 7vw, 32px);
  }

  /* Footer */
  .snap-footer {
    padding: 24px 0 28px;
  }

  .snap-footer__inner {
    gap: 18px;
  }
}
