/* ═══════════════════════════════════════════════════════════
   STOPWATCH LANDING PAGE — Neo-Geo Design System
   Refined geometric patterns, mathematical beauty
   ═══════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  /* Palette */
  --navy:       #1B2A4A;
  --navy-dark:  #111D35;
  --navy-light: #2A3F6A;
  --accent:     #f59b35;
  --accent-hover: #c97f35;
  --silver:     #C8CCD4;
  --silver-light: #E8EAEE;
  --white:      #FFFFFF;
  --off-white:  #F5F6F8;
  --gray:       #6B7280;
  --gray-light: #9CA3AF;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  8rem;

  /* Sizing */
  --container:  1200px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(27, 42, 74, 0.08);
  --shadow-md:  0 4px 24px rgba(27, 42, 74, 0.12);
  --shadow-lg:  0 8px 48px rgba(27, 42, 74, 0.16);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.4s;
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ─── CONTAINER ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ─── TYPOGRAPHY ─── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--navy);
}

.section-title--sm {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: left;
  margin-bottom: var(--space-md);
}

.section-title--light {
  color: var(--white);
}

.text-accent {
  color: var(--accent);
}

.text-accent-light {
  color: var(--accent-hover);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px var(--accent-hover);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* ─── GEOMETRIC DECORATIONS ─── */
.geo {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.geo--circle {
  border-radius: var(--radius-full);
  border: 2px solid var(--accent);
  opacity: 0.08;
}

.geo--arc {
  border: 2px solid var(--accent);
  border-radius: var(--radius-full);
  opacity: 0.06;
}

/* Hero geos */
.geo--hero-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
}

.geo--hero-2 {
  width: 300px;
  height: 300px;
  bottom: 100px;
  left: -100px;
}

.geo--hero-3 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-top-color: transparent;
  border-right-color: transparent;
}

/* Pain section */
.geo--pain-1 {
  width: 250px;
  height: 250px;
  top: -80px;
  right: 10%;
}

/* Benefits section */
.geo--benefits-1 {
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -200px;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

.geo--benefits-2 {
  width: 200px;
  height: 200px;
  top: 100px;
  right: -60px;
}

/* Diff section */
.geo--diff-1 {
  width: 350px;
  height: 350px;
  top: -100px;
  left: -150px;
}

/* Steps section */
.geo--steps-1 {
  width: 450px;
  height: 450px;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  border-left-color: transparent;
}

/* Offer section */
.geo--offer-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
}

.geo--offer-2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  right: -60px;
}

/* FAQ section */
.geo--faq-1 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -150px;
  border-top-color: transparent;
}

/* Footer section */
.geo--footer-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: 10%;
  border-color: rgba(255, 255, 255, 0.08);
}

.geo--footer-2 {
  width: 500px;
  height: 500px;
  bottom: -250px;
  left: -200px;
  border-color: rgba(255, 255, 255, 0.05);
  border-top-color: transparent;
}

/* ─── GEOMETRIC DIVIDERS ─── */
.geo-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

.geo-divider--arc-down {
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.geo-divider--arc-up {
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 0%);
  bottom: auto;
  top: -1px;
}

.geo-divider--angle {
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
  background: var(--off-white);
}

.geo-divider--angle-reverse {
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  background: var(--off-white);
}

/* ═══════════════════════════════════════════════
   HEADER / NAV
   ═══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 246, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27, 42, 74, 0.06);
  transition: all 0.3s var(--ease-out);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}

.nav__logo-icon {
  width: 20px;
  height: 20px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

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

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-sm);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: calc(var(--space-2xl)) 0 var(--space-3xl);
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 50%, var(--off-white) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: var(--space-lg);
}

.hero__markers {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero__markers li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gray);
}

.hero__markers li strong {
  color: var(--navy);
}

.marker-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.hero__friction {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: var(--space-xs);
}

.hero__social {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
}

/* Watch visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__watch-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero__watch-frame::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-full);
  opacity: 0.1;
  animation: pulse-ring 4s var(--ease-out) infinite;
}

.hero__watch-frame::after {
  content: '';
  position: absolute;
  inset: -50px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  opacity: 0.05;
  animation: pulse-ring 4s var(--ease-out) infinite 1s;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.03); opacity: 0.06; }
}

.hero__watch-img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 60px rgba(27, 42, 74, 0.2));
}

/* ─── MAC WINDOW COMPONENT ─── */
.mac-window {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border: 1px solid var(--silver-light);
}

.mac-window__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #F5F5F7, #E8E8EC);
  border-bottom: 1px solid var(--silver-light);
}

.mac-window__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mac-window__dot--close { background: #FF5F57; }
.mac-window__dot--minimize { background: #FFBD2E; }
.mac-window__dot--maximize { background: #28C840; }

.mac-window__title {
  margin-left: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
}

.mac-window__content img {
  display: block;
  width: 100%;
  height: auto;
}

.mac-window--hero {
  max-width: 480px;
  margin: 0 auto;
}

.mac-window--hero::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-full);
  opacity: 0.1;
  z-index: -1;
  animation: pulse-ring 4s var(--ease-out) infinite;
}

.mac-window--lg {
  max-width: 900px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   PAIN / SOLUTION
   ═══════════════════════════════════════════════ */
.pain {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--white);
  overflow: hidden;
}

.pain__usp {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.pain__usp-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

.pain__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 2;
}

.pain__problem,
.pain__solution {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  position: relative;
}

.pain__problem {
  background: var(--off-white);
  border: 1px solid var(--silver-light);
}

.pain__problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gray-light);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.pain__solution {
  background: linear-gradient(135deg, rgba(74, 77, 231, 0.04) 0%, rgba(74, 77, 231, 0.08) 100%);
  border: 1px solid rgba(74, 77, 231, 0.15);
}

.pain__solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.pain__problem p,
.pain__solution p {
  color: var(--gray);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════════ */
.benefits {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--off-white);
  overflow: hidden;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.benefit-card {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--silver-light);
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(74, 77, 231, 0.2);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card__icon {
  margin-bottom: var(--space-md);
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--navy);
}

.benefit-card__text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Screenshots */
.benefits__screenshots {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 2;
  margin: 0 20%;
}

.screenshot-card {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.screenshot-card img {
  /* border-radius: var(--radius-md); */
  box-shadow: var(--shadow-md);
  transition: transform var(--duration) var(--ease-out);
  /* margin-bottom: var(--space-sm); */
}

.screenshot-card:hover img {
  transform: scale(1.02);
}

.screenshot-card__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════
   DIFFERENTIATORS
   ═══════════════════════════════════════════════ */
.diff {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--white);
  overflow: hidden;
}

.diff__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.diff-card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--off-white);
  border: 1px solid transparent;
  transition: all var(--duration) var(--ease-out);
  position: relative;
}

.diff-card:hover {
  border-color: rgba(74, 77, 231, 0.2);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.diff-card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.diff-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--navy);
}

.diff-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Comparison table */
.comparison {
  position: relative;
  z-index: 2;
}

.comparison__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--navy);
}

.comparison__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
  min-width: 600px;
}

.comparison__table th,
.comparison__table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--silver-light);
}

.comparison__table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison__table th.comparison__highlight {
  background: var(--accent);
  width: 30%;
}

.comparison__table td.comparison__highlight {
  background: rgba(74, 77, 231, 0.06);
  font-weight: 600;
}

.comparison__table tbody tr:hover {
  background: rgba(74, 77, 231, 0.02);
}

.comparison__table tbody tr:last-child td {
  border-bottom: none;
}

.check--yes { color: #14bd52; font-weight: 800; }
.check--no { color: #EF4444; }
.check--partial { color: #F59E0B; }

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.check svg {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS (STEPS)
   ═══════════════════════════════════════════════ */
.steps {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--off-white);
  overflow: hidden;
}

.steps__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.step {
  text-align: center;
  flex: 0 0 260px;
  padding: 0 var(--space-sm);
}

.step__number {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__number span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.step__ring {
  position: absolute;
  inset: 0;
  animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
  to { transform: rotate(360deg); }
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--navy);
}

.step__text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.step__connector {
  flex: 0 0 80px;
  height: 20px;
  margin-top: 30px;
}

.step__connector svg {
  width: 100%;
  height: 100%;
}

/* Preview screenshot */
.steps__preview {
  display: absolute;
  bottom: -80px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.steps__preview img {
  /* border-radius: var(--radius-lg); */
  box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════
   DOWNLOAD SECTION
   ═══════════════════════════════════════════════ */
.download {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--white);
  overflow: hidden;
}

/* Reuse geo decorations */
.geo--download-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.geo--download-2 { width: 200px; height: 200px; bottom: -60px; right: -60px; }

/* Auto-detect CTA */
.download__auto {
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 2;
}

.download__auto-box {
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(74, 77, 231, 0.04) 0%, rgba(74, 77, 231, 0.08) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(74, 77, 231, 0.15);
}

.download__auto-box .btn {
  white-space: normal;
  text-align: center;
  justify-content: center;
}

.download__auto-icon {
  margin-bottom: var(--space-sm);
}

.download__auto-icon svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.download__auto-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.download__auto-meta {
  font-size: 0.8rem;
  color: var(--gray-light);
  margin-top: var(--space-sm);
}

.download__other-label {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
}

/* Platform cards grid */
.download__platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 1000px;
  margin: 0 auto var(--space-xl);
  position: relative;
  z-index: 2;
}

.platform-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--silver-light);
  padding: var(--space-lg);
  transition: all var(--duration) var(--ease-out);
}

.platform-card:hover {
  border-color: rgba(74, 77, 231, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.platform-card--active {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(74, 77, 231, 0.15);
}

.platform-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.platform-card__icon {
  color: var(--navy);
}

.platform-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.platform-card__req {
  font-size: 0.8rem;
  color: var(--gray-light);
  margin-bottom: var(--space-md);
}

.platform-card__downloads {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.platform-card__size {
  font-size: 0.75rem;
  color: var(--gray-light);
}

.platform-card__btn-soon {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

/* Instructions accordion */
.platform-card__instructions {
  border-top: 1px solid var(--silver-light);
  padding-top: var(--space-sm);
}

.platform-card__instructions summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  padding: var(--space-xs) 0;
}

.platform-card__instructions summary::-webkit-details-marker {
  display: none;
}

.platform-card__instructions-content {
  padding: var(--space-sm) 0;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
}

.platform-card__instructions-content ol {
  padding-left: 1.25rem;
  margin-bottom: var(--space-sm);
  list-style: decimal;
}

.platform-card__instructions-content li {
  margin-bottom: 0.35rem;
}

.platform-card__note {
  display: flex;
  gap: 0.5rem;
  padding: var(--space-sm);
  background: rgba(245, 158, 11, 0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid #F59E0B;
  margin-bottom: var(--space-sm);
}

.platform-card__note svg {
  flex-shrink: 0;
  color: #F59E0B;
  margin-top: 2px;
}

.platform-card__note p {
  font-size: 0.8rem;
  color: var(--gray);
}

.platform-card__chip-help {
  font-size: 0.8rem;
  color: var(--gray);
}

pre {
  background: var(--navy);
  color: var(--silver-light);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.8rem;
  margin-bottom: var(--space-sm);
}

code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85em;
}

p code {
  background: rgba(74, 77, 231, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--accent);
}

/* Web version box */
.download__web {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 2;
}

.download__web-box {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--silver-light);
}

.download__web-box svg {
  flex-shrink: 0;
  color: var(--accent);
}

.download__web-box p {
  flex: 1;
  font-size: 0.9rem;
  color: var(--gray);
}

.download__friction {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-light);
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════ */
.faq {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--off-white);
  overflow: hidden;
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  border: 1px solid var(--silver-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  background: var(--white);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.faq-item:hover {
  border-color: rgba(74, 77, 231, 0.2);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--navy);
  transition: color 0.2s;
}

.faq-item__question:hover {
  color: var(--accent);
}

.faq-item__chevron {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-snap);
}

.faq-item--open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item--open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer p {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-lg);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.footer__cta {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 2;
}

.footer__markers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  max-width: 850px;
  margin: 0 auto var(--space-xl);
  text-align: left;
}

.footer__markers li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px)  {
  .footer__markers li {
  white-space: nowrap;
  }
}

.footer__markers li svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.footer__markers li strong {
  color: var(--white);
}

.footer__ctas {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.footer__friction {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal--delay-1 {
  transition-delay: 0.15s;
}

.reveal--delay-2 {
  transition-delay: 0.3s;
}

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

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__markers {
    align-items: center;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__watch-frame {
    max-width: 360px;
  }

  .pain__grid {
    grid-template-columns: 1fr;
  }

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

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

  .benefits__screenshots .screenshot-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps__grid {
    flex-direction: column;
    align-items: center;
  }

  .step {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .step__connector {
    transform: rotate(90deg);
    margin: 0;
    flex: 0 0 40px;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
    --space-2xl: 4rem;
  }

  .nav__menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid var(--silver-light);
    box-shadow: var(--shadow-md);
  }

  .nav__menu--open {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__hamburger--open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__hamburger--open span:nth-child(2) {
    opacity: 0;
  }

  .nav__hamburger--open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .benefits__screenshots {
    grid-template-columns: 1fr;
  }

  .benefits__screenshots .screenshot-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .diff__grid {
    grid-template-columns: 1fr;
  }

  .offer__list,
  .download__platforms {
    grid-template-columns: 1fr;
  }

  .offer__box,
  .download__auto-box {
    padding: var(--space-xl) var(--space-md);
  }

  .footer__markers {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .comparison__table {
    font-size: 0.8rem;
  }

  .comparison__table th,
  .comparison__table td {
    padding: 0.75rem;
  }

  /* Hide large geo decorations on mobile */
  .geo {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .offer__ctas,
  .download__web-box {
    flex-direction: column;
    align-items: center;
  }

  .offer__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__ctas {
    flex-direction: column;
    align-items: center;
  }

  .footer__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}
