/* ================================================================
   PAIR72 — LANDING PAGE STYLES v2
   Font: Open Sans (Hebrew) only | Direction: RTL
================================================================ */
:root {
  --rose: #E94D58;
  --rose-l: #FF6B76;
  --rg: rgba(233, 77, 88, .45);
  --rd: rgba(233, 77, 88, .18);
  --rb: rgba(233, 77, 88, .28);
  --navy: #06071A;
  --g: rgba(255, 255, 255, .04);
  --gb: rgba(255, 255, 255, .09);
  --w: white;
  --w7: rgba(255, 255, 255, .70);
  --w4: rgba(255, 255, 255, .40);
  --f: 'Open Sans', sans-serif;
  --e: cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--f);
  background: var(--navy);
  color: var(--w);
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  image-rendering: auto; /* Default is usually best, we'll handle specifics on the element */
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 5%, rgba(45, 27, 105, .80) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(19, 11, 46, .90) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(11, 13, 42, 1) 0%, rgba(6, 7, 26, 1) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Floating particles background */
#fc {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 3px;
}

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 60px;
}

.divider {
  position: relative;
  z-index: 10;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rb), transparent);
  margin: 0 60px;
}

/* Reveal (scroll-triggered sections) */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .9s var(--e), transform .9s var(--e);
}

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

.rd1 {
  transition-delay: .10s;
}

.rd2 {
  transition-delay: .20s;
}

.rd3 {
  transition-delay: .30s;
}

.rd4 {
  transition-delay: .40s;
}

/* Hero animation — CSS-only, fires on page load without JS */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

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

.hero-anim {
  opacity: 0;
  animation: heroIn .9s var(--e) forwards;
}

/* ── HEADER ─────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 26px 0;
  z-index: 900;
  transition: padding .5s var(--e), background .5s var(--e);
}

header.scrolled {
  padding: 14px 0;
  background: rgba(6, 7, 26, .72);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--rb);
  box-shadow: 0 0 40px rgba(233, 77, 88, .07);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-g {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 42px;
  width: auto;
}

.logo-t {
  font-size: 26px;
  font-weight: 800;
  color: var(--w);
  letter-spacing: -1px;
}

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

nav a {
  color: var(--w7);
  font-weight: 600;
  font-size: 15px;
  transition: color .3s;
}

nav a:hover {
  color: var(--w);
}

.btn-dl {
  background: linear-gradient(135deg, var(--rose) 0%, #b83040 100%);
  color: var(--w) !important;
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 22px var(--rg);
  transition: box-shadow .3s, transform .3s;
}

.btn-dl:hover {
  box-shadow: 0 0 40px var(--rg);
  transform: translateY(-2px);
}

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.b1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(233, 77, 88, .20) 0%, transparent 70%);
  top: -120px;
  right: -180px;
  animation: bd 20s ease-in-out infinite alternate;
}

.b2 {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(45, 27, 105, .55) 0%, transparent 70%);
  bottom: -250px;
  left: -250px;
  animation: bd 26s ease-in-out infinite alternate-reverse;
}

.b3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233, 77, 88, .10) 0%, transparent 70%);
  top: 45%;
  right: 32%;
  animation: bd 16s ease-in-out infinite alternate;
}

@keyframes bd {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(60px, 80px) scale(1.12);
  }
}

.hero-in {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--g);
  border: 1px solid var(--rb);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rose-l);
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.bdot {
  width: 7px;
  height: 7px;
  background: var(--rose);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--rose);
  animation: pd 2s ease-in-out infinite;
}

@keyframes pd {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(.75);
  }
}

.hero-h1 {
  font-size: clamp(52px, 6.2vw, 92px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--w);
}

.hero-h1 .glow {
  color: var(--rose-l);
  text-shadow: 0 0 28px rgba(233, 77, 88, .70), 0 0 60px rgba(233, 77, 88, .35), 0 0 100px rgba(233, 77, 88, .15);
}

.hero-sub {
  font-size: 17px;
  font-weight: 500;
  color: var(--w7);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 44px;
}

.hero-acts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--rose) 0%, #b83040 100%);
  color: var(--w);
  padding: 15px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 0 30px var(--rg), 0 8px 30px rgba(0, 0, 0, .4);
  transition: box-shadow .3s, transform .3s;
}

.btn-p:hover {
  box-shadow: 0 0 52px var(--rg), 0 12px 40px rgba(0, 0, 0, .5);
  transform: translateY(-3px);
}

.btn-gh {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--g);
  color: var(--w);
  padding: 15px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--gb);
  backdrop-filter: blur(12px);
  transition: border-color .3s, background .3s;
}

.btn-gh:hover {
  border-color: var(--rb);
  background: rgba(233, 77, 88, .07);
}

/* iPhone Frame */
.iphone-frame {
  position: relative;
  display: inline-block;
}

.iphone-body {
  position: relative;
  background: linear-gradient(160deg, #2a2a3e 0%, #0d0d1a 100%);
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, .15);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .9), 0 60px 120px rgba(0, 0, 0, .7), 0 0 70px rgba(233, 77, 88, .14), inset 0 1px 0 rgba(255, 255, 255, .10), inset 0 -1px 0 rgba(0, 0, 0, .5);
  overflow: hidden;
}

.iphone-body::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 18px;
  z-index: 10;
}

.iphone-body img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transform: translateZ(0);
}

.iphone-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 5;
  border-radius: 48px;
}

/* Hero phone */
.hero-ph {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ph-tilt {
  position: relative;
  transform: perspective(1200px) rotateY(-16deg) rotateX(4deg) rotateZ(3deg);
  transition: transform .9s var(--e);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.ph-tilt:hover {
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) rotateZ(1deg) scale(1.03);
}

.ph-tilt .iphone-body {
  width: 310px;
  height: 640px;
}

.ph-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 77, 88, .22) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  z-index: -1;
  animation: gp 4s ease-in-out infinite;
}

@keyframes gp {

  0%,
  100% {
    opacity: .6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

.chip {
  position: absolute;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--w);
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
}

.c1 {
  top: 12%;
  right: -20px;
  animation: cf 5s ease-in-out infinite alternate;
}

.c2 {
  bottom: 20%;
  left: -30px;
  animation: cf 6.5s ease-in-out infinite alternate-reverse;
}

.c3 {
  top: 52%;
  right: -40px;
  animation: cf 4.5s ease-in-out infinite alternate;
}

@keyframes cf {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-14px);
  }
}

/* ── STORY ──────────────────────────────────────────────────── */
#story {
  position: relative;
  z-index: 10;
  padding-top: 60px;
}

.story-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300vh;
}

.story-blk {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
}

.step-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--e), transform .7s var(--e);
}

.story-blk.iv .step-lbl {
  opacity: 1;
  transform: translateY(0);
}

.story-blk h2 {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 22px;
  color: var(--w);
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s .1s var(--e), transform .8s .1s var(--e);
}

.story-blk.iv h2 {
  opacity: 1;
  transform: translateY(0);
}

.story-blk p {
  font-size: 17px;
  font-weight: 500;
  color: var(--w7);
  line-height: 1.75;
  max-width: 480px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s .2s var(--e), transform .8s .2s var(--e);
}

.story-blk.iv p {
  opacity: 1;
  transform: translateY(0);
}

.spts {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s .3s var(--e), transform .8s .3s var(--e);
}

.story-blk.iv .spts {
  opacity: 1;
  transform: translateY(0);
}

.spt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--w7);
}

.spt-d {
  width: 7px;
  height: 7px;
  background: var(--rose);
  border-radius: 50%;
  box-shadow: 0 0 7px var(--rose);
  flex-shrink: 0;
}

.story-pc {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-ph-wrap {
  position: relative;
}

.story-ph-wrap .iphone-body {
  width: 290px;
  height: 600px;
}

.ss {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06) translateY(14px);
  transition: opacity .8s var(--e), transform .8s var(--e);
}

.ss.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.ss img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── FEATURES — 3D ORBIT ────────────────────────────────────── */
#features {
  position: relative;
  z-index: 10;
  padding: 130px 0;
}

.sec-eye {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}

.sec-t {
  text-align: center;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--w);
  margin-bottom: 70px;
}

.sec-t .acc {
  color: var(--rose-l);
  text-shadow: 0 0 36px rgba(233, 77, 88, .50);
}

.feat-3d-stage {
  perspective: 1400px;
  height: 500px;
  position: relative;
  margin-bottom: 80px;
  overflow: hidden;
}

.feat-3d-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: ringRotate 32s linear infinite;
}

@keyframes ringRotate {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

.feat-card-3d {
  position: absolute;
  width: 240px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 22px;
  padding: 28px 24px;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.feat-card-3d:nth-child(1) {
  transform: translateX(-50%) translateY(-50%) rotateY(0deg) translateZ(360px);
}

.feat-card-3d:nth-child(2) {
  transform: translateX(-50%) translateY(-50%) rotateY(60deg) translateZ(360px);
}

.feat-card-3d:nth-child(3) {
  transform: translateX(-50%) translateY(-50%) rotateY(120deg) translateZ(360px);
}

.feat-card-3d:nth-child(4) {
  transform: translateX(-50%) translateY(-50%) rotateY(180deg) translateZ(360px);
}

.feat-card-3d:nth-child(5) {
  transform: translateX(-50%) translateY(-50%) rotateY(240deg) translateZ(360px);
}

.feat-card-3d:nth-child(6) {
  transform: translateX(-50%) translateY(-50%) rotateY(300deg) translateZ(360px);
}

.fc-ico {
  width: 46px;
  height: 46px;
  background: rgba(233, 77, 88, .14);
  border: 1px solid rgba(233, 77, 88, .26);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
  box-shadow: 0 0 14px rgba(233, 77, 88, .14);
}

.feat-card-3d h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--w);
  margin-bottom: 7px;
}

.feat-card-3d p {
  font-size: 12px;
  font-weight: 500;
  color: var(--w7);
  line-height: 1.6;
}

.fc-tag {
  display: inline-block;
  margin-top: 12px;
  background: rgba(233, 77, 88, .14);
  border: 1px solid rgba(233, 77, 88, .28);
  color: var(--rose-l);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bc {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--gb);
  border-radius: 26px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color .4s, transform .4s, box-shadow .4s;
}

.bc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(233, 77, 88, .06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}

.bc:hover {
  border-color: var(--rb);
  transform: translateY(-4px);
  box-shadow: 0 0 36px rgba(233, 77, 88, .09), 0 20px 50px rgba(0, 0, 0, .4);
}

.bc:hover::before {
  opacity: 1;
}

.bc-w {
  grid-column: span 2;
}

.bc-ico {
  width: 52px;
  height: 52px;
  background: rgba(233, 77, 88, .12);
  border: 1px solid rgba(233, 77, 88, .24);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  box-shadow: 0 0 14px rgba(233, 77, 88, .12);
}

.bc h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--w);
  margin-bottom: 10px;
  letter-spacing: -.4px;
}

.bc p {
  font-size: 14px;
  font-weight: 500;
  color: var(--w7);
  line-height: 1.7;
}

.bc-tag {
  display: inline-block;
  margin-top: 18px;
  background: rgba(233, 77, 88, .14);
  border: 1px solid rgba(233, 77, 88, .28);
  color: var(--rose-l);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
}

.bc-pts {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bc-pt {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--w7);
}

.bc-chk {
  width: 17px;
  height: 17px;
  background: rgba(219, 25, 99, .18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 9px;
  color: var(--rose);
}

/* ── HOW IT WORKS ───────────────────────────────────────────── */
#how {
  position: relative;
  z-index: 10;
  padding: 130px 0;
}

.tl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 70px;
}

.tl-i {
  padding: 36px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--gb);
  border-radius: 22px;
  transition: border-color .4s, transform .4s;
}

.tl-i:hover {
  border-color: var(--rb);
  transform: translateY(-4px);
}

.tl-n {
  font-size: 56px;
  font-weight: 800;
  color: rgba(233, 77, 88, .45);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -3px;
}

.tl-i h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--w);
  margin-bottom: 10px;
}

.tl-i p {
  font-size: 14px;
  font-weight: 500;
  color: var(--w7);
  line-height: 1.7;
}

/* ── DOWNLOAD ───────────────────────────────────────────────── */
#download {
  position: relative;
  z-index: 10;
  padding: 150px 0;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 77, 88, .17) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-in {
  position: relative;
  z-index: 10;
}

.cta-big {
  font-size: clamp(56px, 8.5vw, 120px);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1.0;
  color: var(--w);
  margin-bottom: 20px;
}

.cta-big .glow {
  color: var(--rose-l);
  text-shadow: 0 0 36px rgba(233, 77, 88, .70), 0 0 70px rgba(233, 77, 88, .35);
}

.cta-sub {
  font-size: 18px;
  font-weight: 500;
  color: var(--w7);
  max-width: 500px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.store-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  padding: 16px 28px;
  color: var(--w);
  backdrop-filter: blur(16px);
  transition: background .3s, border-color .3s, transform .3s, box-shadow .3s;
  min-width: 200px;
}

.store-btn:hover {
  background: rgba(255, 255, 255, .10);
  border-color: var(--rb);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(233, 77, 88, .15);
}

.s-ico {
  font-size: 32px;
  flex-shrink: 0;
}

.s-txt {
  text-align: right;
}

.s-lbl {
  font-size: 11px;
  color: var(--w4);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.s-name {
  font-size: 18px;
  font-weight: 700;
  display: block;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 10;
  padding: 48px 0;
  border-top: 1px solid var(--gb);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ft-lt {
  font-size: 20px;
  font-weight: 800;
  color: var(--w);
}

.ft-links {
  display: flex;
  gap: 28px;
}

.ft-links a {
  font-size: 13px;
  color: var(--w7);
  transition: color .3s;
}

.ft-links a:hover {
  color: var(--w);
}

.ft-copy {
  font-size: 13px;
  font-weight: 500;
  color: var(--w7);
}

/* ── ACCESSIBILITY WIDGET ───────────────────────────────────── */
#a11y-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, #b83040 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--rg);
  transition: transform .3s, box-shadow .3s;
  color: white;
  font-size: 22px;
}

#a11y-btn .a11y-ico {
  display: block;
  width: 32px;
  height: 32px;
  color: #fff;
}

#a11y-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px var(--rg);
}

#a11y-btn:focus {
  outline: 3px solid var(--rose-l);
  outline-offset: 3px;
}

#a11y-panel {
  position: fixed;
  bottom: 90px;
  left: 28px;
  z-index: 9998;
  background: rgba(6, 7, 26, .95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--rb);
  border-radius: 20px;
  padding: 24px;
  width: 260px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  display: none;
}

#a11y-panel.open {
  display: block;
}

#a11y-panel h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--w);
  margin-bottom: 16px;
  letter-spacing: .5px;
}

.a11y-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.a11y-row label {
  font-size: 13px;
  color: var(--w7);
}

.a11y-row .a11y-btns {
  display: flex;
  gap: 6px;
}

.a11y-row .a11y-btns button {
  background: var(--g);
  border: 1px solid var(--gb);
  color: var(--w);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  font-family: var(--f);
}

.a11y-row .a11y-btns button:hover {
  background: var(--rd);
  border-color: var(--rb);
}

.a11y-row .a11y-btns button:focus {
  outline: 2px solid var(--rose-l);
  outline-offset: 2px;
}

.a11y-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--gb);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background .3s;
}

.a11y-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--w4);
  transition: transform .3s, background .3s;
}

.a11y-toggle.on {
  background: var(--rose);
}

.a11y-toggle.on::after {
  transform: translateX(-20px);
  background: var(--w);
}

body.hc-mode {
  filter: contrast(1.5) brightness(1.1);
}

body.lg-text {
  font-size: 118%;
}

body.focus-mode *:focus {
  outline: 3px solid var(--rose-l) !important;
  outline-offset: 3px !important;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width:1100px) {
  .container {
    padding: 0 32px;
  }

  .hero-in {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-ph {
    order: -1;
  }

  .ph-tilt {
    transform: perspective(1200px) rotateY(0deg) rotateX(4deg) rotateZ(0deg);
  }

  .story-wrap {
    grid-template-columns: 1fr;
  }

  .story-pc {
    display: none;
  }

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

  .bc-w {
    grid-column: span 2;
  }

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

  .feat-3d-stage {
    height: 420px;
  }

  .feat-card-3d {
    width: 200px;
    padding: 22px 18px;
  }

  .feat-card-3d:nth-child(1) {
    transform: translateX(-50%) translateY(-50%) rotateY(0deg) translateZ(280px);
  }

  .feat-card-3d:nth-child(2) {
    transform: translateX(-50%) translateY(-50%) rotateY(60deg) translateZ(280px);
  }

  .feat-card-3d:nth-child(3) {
    transform: translateX(-50%) translateY(-50%) rotateY(120deg) translateZ(280px);
  }

  .feat-card-3d:nth-child(4) {
    transform: translateX(-50%) translateY(-50%) rotateY(180deg) translateZ(280px);
  }

  .feat-card-3d:nth-child(5) {
    transform: translateX(-50%) translateY(-50%) rotateY(240deg) translateZ(280px);
  }

  .feat-card-3d:nth-child(6) {
    transform: translateX(-50%) translateY(-50%) rotateY(300deg) translateZ(280px);
  }
}

@media (max-width:700px) {
  .container {
    padding: 0 20px;
  }

  nav {
    gap: 16px;
  }

  /* Hide desktop-only nav links in header */
  header nav a:not(.btn-dl) {
    display: none;
  }

  .hero-h1 {
    font-size: 44px;
  }

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

  .btn-p, .btn-gh {
    width: 220px;
    justify-content: center;
  }

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

  .bc-w {
    grid-column: span 1;
  }

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

  /* Best practice: fluid width, never wider than viewport */
  .store-btn {
    width: min(280px, 100%);
    justify-content: center;
  }

  .cta-big {
    font-size: clamp(36px, 10vw, 64px);
    letter-spacing: -2px;
  }

  footer .container,
  .ft-logo,
  .ft-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .ft-links {
    gap: 16px;
  }

  .divider {
    margin: 0 20px;
  }

  .feat-3d-stage {
    height: 360px;
  }

  .feat-card-3d {
    width: 160px;
    padding: 16px 12px;
  }

  .feat-card-3d:nth-child(1) {
    transform: translateX(-50%) translateY(-50%) rotateY(0deg) translateZ(220px);
  }

  .feat-card-3d:nth-child(2) {
    transform: translateX(-50%) translateY(-50%) rotateY(60deg) translateZ(220px);
  }

  .feat-card-3d:nth-child(3) {
    transform: translateX(-50%) translateY(-50%) rotateY(120deg) translateZ(220px);
  }

  .feat-card-3d:nth-child(4) {
    transform: translateX(-50%) translateY(-50%) rotateY(180deg) translateZ(220px);
  }

  .feat-card-3d:nth-child(5) {
    transform: translateX(-50%) translateY(-50%) rotateY(240deg) translateZ(220px);
  }

  .feat-card-3d:nth-child(6) {
    transform: translateX(-50%) translateY(-50%) rotateY(300deg) translateZ(220px);
  }

  .ph-tilt .iphone-body {
    width: 260px;
    height: 540px;
  }

  .story-blk {
    padding: 0 24px;
  }

  #a11y-btn {
    bottom: 16px;
    left: 16px;
  }

  #a11y-panel {
    bottom: 78px;
    left: 16px;
    width: 240px;
  }
}

/* ── Standard Phone (≤480px) ─────────────────────────────────── */
@media (max-width:480px) {
  .container {
    padding: 0 16px;
  }

  header {
    padding: 18px 0;
  }

  .logo-t {
    font-size: 20px;
  }

  /* Touch target: keep btn-dl at least 44px tall */
  .btn-dl {
    padding: 10px 18px;
    font-size: 13px;
  }

  .hero-h1 {
    font-size: clamp(28px, 9vw, 44px);
  }

  .hero-sub {
    font-size: 15px;
    margin-bottom: 32px;
  }

  /* Full-width CTA buttons on small phones */
  .btn-p, .btn-gh {
    width: 100%;
    max-width: 100%;
  }

  .cta-big {
    font-size: clamp(28px, 9vw, 48px);
    letter-spacing: -1.5px;
  }

  .cta-sub {
    font-size: 15px;
    margin-bottom: 36px;
  }

  #download {
    padding: 100px 0;
  }

  .s-name {
    font-size: 15px;
  }
}

/* ── Smallest Phone (≤380px) — iPhone SE 1st gen etc ─────────── */
@media (max-width:380px) {
  .container {
    padding: 0 14px;
  }

  .logo-t {
    font-size: 18px;
  }

  .btn-dl {
    padding: 8px 14px;
    font-size: 12px;
  }

  nav {
    gap: 10px;
  }

  .hero-h1 {
    font-size: clamp(24px, 8vw, 36px);
  }

  .cta-big {
    font-size: clamp(24px, 8vw, 36px);
  }
}