/* ========================================================
   PPAY LANDING PAGE — STYLE.CSS
   Design direction: Refined dark-navy + clean white with 
   electric blue accents. Premium fintech feel.
   ======================================================== */

:root {
  --navy: #0d1b3e;
  --navy-mid: #152243;
  --navy-light: #1c2f5a;
  --blue: #1a56db;
  --blue-light: #3b82f6;
  --cyan: #38bdf8;
  --white: #ffffff;
  --off-white: #f0f4ff;
  --gray: #8898b3;
  --gray-light: #c5d1e8;
  --border: rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- UTILS ---- */
.section__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 540px;
  margin-bottom: 0;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(-2deg); }
}

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

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.08); opacity: 0.1; }
}

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

.animate-in {
  opacity: 0;
  animation: fadeUp 0.7s var(--transition) forwards;
  animation-delay: var(--delay, 0s);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: rgba(13, 27, 62, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 50%;
}

.nav__logo-fallback {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  align-items: center;
  gap: 0;
}

.logo-p {
  color: var(--navy);
  background: var(--white);
  padding: 2px 8px;
  border-radius: 6px;
}

.logo-pay {
  color: var(--cyan);
  margin-left: 2px;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav__links a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav__cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 16px;
  background: rgba(13, 27, 62, 0.98);
  border-top: 1px solid var(--border);
}

.nav__mobile a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.nav__mobile.open { display: flex; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,86,219,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,219,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,86,219,0.25) 0%, transparent 70%);
  top: -100px; right: -100px;
}

.hero__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, transparent 70%);
  bottom: 0; left: -100px;
}

.hero__content {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.25);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  width: fit-content;
}

.badge__dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: ringPulse 2s ease infinite;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.headline--accent {
  background: linear-gradient(135deg, var(--blue-light), var(--cyan));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  box-shadow: 0 8px 32px rgba(26,86,219,0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26,86,219,0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-light);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn--ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { text-align: left; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.stat__label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* PHONE */
.hero__phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone__frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1e2d54, #0f1e40);
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  animation: floatPhone 6s ease-in-out infinite;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.phone__notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 28px;
  background: #0d1b3e;
  border-radius: 20px;
  z-index: 10;
}

.phone__screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 42px;
}

.phone__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone__home-btn {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
}

.phone__glow {
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 100px;
  background: radial-gradient(ellipse, rgba(26,86,219,0.4) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* Mock app fallback */
.mock-app {
  background: #1e2d54;
  height: 100%;
  padding: 60px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mock-greeting { font-size: 11px; color: #8898b3; }
.mock-greeting strong { display: block; font-size: 14px; color: white; font-family: var(--font-display); }
.mock-balance { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 16px; }
.mock-balance small { font-size: 9px; letter-spacing: 0.1em; color: #8898b3; text-transform: uppercase; }
.mock-amount { font-size: 24px; font-weight: 800; font-family: var(--font-display); }
.mock-actions { display: flex; gap: 8px; }
.mock-actions span { font-size: 9px; background: rgba(255,255,255,0.08); padding: 6px 8px; border-radius: 8px; flex: 1; text-align: center; }
.mock-services { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.mock-service { font-size: 8px; background: rgba(255,255,255,0.05); border-radius: 10px; padding: 8px 4px; text-align: center; line-height: 1.5; }

/* ---- HERO SCROLL HINT ---- */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 16px; height: 16px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

/* ---- FEATURES ---- */
.features {
  padding: 120px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(26,86,219,0.04) 50%, transparent);
  pointer-events: none;
}

.features .section__inner { text-align: center; }
.features .section__sub { margin: 0 auto 60px; }

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 60px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,86,219,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  background: var(--card-hover);
  border-color: rgba(26,86,219,0.3);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }

.feature-card--large {
  grid-column: span 2;
}

.feature-card--dark {
  background: rgba(26,86,219,0.1);
  border-color: rgba(26,86,219,0.2);
}

.feature-card--accent {
  background: linear-gradient(135deg, rgba(56,189,248,0.08), rgba(26,86,219,0.08));
  border-color: rgba(56,189,248,0.2);
}

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
}

.feature-card__tag {
  display: inline-block;
  margin-top: 16px;
  background: rgba(56,189,248,0.15);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(56,189,248,0.2);
}

.feature-card__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feature-card__methods span {
  background: rgba(255,255,255,0.08);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--gray-light);
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, rgba(21,34,67,0.5) 50%, transparent);
}

.how-it-works .section__inner { text-align: center; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.step__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26,86,219,0.4);
  margin-bottom: 16px;
  display: block;
}

.step:hover .step__number {
  -webkit-text-stroke-color: var(--blue-light);
  transition: var(--transition);
}

.step__content h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step__content p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.65;
}

.step__connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,86,219,0.4), transparent);
  margin-top: 44px;
  flex-shrink: 0;
}

/* ---- SCREENSHOTS ---- */
.screenshots {
  padding: 120px 0;
}

.screenshots .section__inner { text-align: center; }
.screenshots .section__sub { margin: 0 auto 60px; }

/* Outer wrapper: clips the sliding track, leaves room for prev/next buttons */
.screenshots__track-wrapper {
  position: relative;
  margin-top: 60px;
  /* Side padding makes space for the arrow buttons without overlapping slides */
  padding: 0 64px;
}

/* Edge fade masks — gives depth without hiding content abruptly */
.screenshots__track-wrapper::before,
.screenshots__track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.screenshots__track-wrapper::before {
  left: 64px;
  background: linear-gradient(to right, var(--navy), transparent);
}
.screenshots__track-wrapper::after {
  right: 64px;
  background: linear-gradient(to left, var(--navy), transparent);
}

/* Clip window — this is what actually hides overflow slides */
.screenshots__clip {
  overflow: hidden;
}

/* The sliding track — NO justify-content:center (breaks transform math) */
.screenshots__track {
  display: flex;
  gap: 24px;
  /* Will be set to translateX by JS */
  transform: translateX(0);
  transition: transform 0.52s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px 0 48px;
  /* width is set by JS to exact pixel total so it never wraps */
  will-change: transform;
}

/* Each slide is a fixed-width column */
.screenshot-slide {
  flex: 0 0 220px;
  width: 220px;
  text-align: center;
  /* Scale-up the active (center) slide via JS-added class */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-slide.is-active .screenshot-phone {
  transform: scale(1.06) translateY(-10px);
  box-shadow: 0 36px 80px rgba(26, 86, 219, 0.35);
  border-color: rgba(26, 86, 219, 0.4);
}

/* The phone shell */
.screenshot-phone {
  width: 220px;
  height: 426px;
  background: linear-gradient(145deg, #1e2d54, #0f1e40);
  border-radius: 36px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Notch cutout */
.screenshot-phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  background: #0d1b3e;
  border-radius: 12px;
  z-index: 3;
}

/* Home bar */
.screenshot-phone::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  z-index: 3;
}

.screenshot-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 34px;
}

.screenshot-label {
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.screenshot-slide.is-active .screenshot-label {
  color: var(--white);
}

/* Arrow buttons — vertically centred on the phone card, not the whole wrapper */
.screenshots__btn {
  position: absolute;
  top: calc(24px + 213px); /* padding-top + half phone height */
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
  z-index: 10;
  backdrop-filter: blur(12px);
  line-height: 1;
}

.screenshots__btn:hover {
  background: var(--blue);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.screenshots__btn:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.screenshots__btn--prev { left: 0; }
.screenshots__btn--next { right: 0; }

/* Dots */
.screenshots__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.screenshots__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
  flex-shrink: 0;
}

.screenshots__dot.active {
  background: var(--blue-light);
  width: 28px;
  border-radius: 4px;
}

/* Touch/swipe hint on mobile */
@media (max-width: 768px) {
  .screenshots__track-wrapper {
    padding: 0 16px;
  }
  .screenshots__track-wrapper::before,
  .screenshots__track-wrapper::after { display: none; }
  .screenshots__btn { display: none; }

  .screenshots__clip {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .screenshots__clip::-webkit-scrollbar { display: none; }

  .screenshots__track {
    /* On mobile, let native scroll handle it */
    transform: none !important;
    transition: none;
    padding-left: 8px;
    padding-right: 8px;
  }

  .screenshot-slide {
    scroll-snap-align: center;
  }

  .screenshot-slide.is-active .screenshot-phone {
    transform: none;
  }
}

/* ---- TICKER ---- */
.ticker-section {
  background: rgba(26,86,219,0.08);
  border-top: 1px solid rgba(26,86,219,0.15);
  border-bottom: 1px solid rgba(26,86,219,0.15);
  padding: 18px 0;
  overflow: hidden;
}

.ticker { overflow: hidden; white-space: nowrap; }

.ticker__track {
  display: inline-flex;
  gap: 48px;
  animation: tickerScroll 30s linear infinite;
}

.ticker__track span {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
  white-space: nowrap;
}

.ticker__track em {
  font-style: normal;
  color: var(--cyan);
  font-weight: 700;
  margin-left: 8px;
}

/* ---- SECURITY ---- */
.security {
  padding: 120px 0;
}

.security__text .section__title { margin-bottom: 20px; }
.security__text p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.security__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.security__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-light);
}

.security__list span {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  background: rgba(26,86,219,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 400px;
}

.security__badge {
  position: relative;
  z-index: 2;
  text-align: center;
  background: linear-gradient(145deg, rgba(26,86,219,0.2), rgba(56,189,248,0.1));
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: var(--radius);
  padding: 32px 40px;
  backdrop-filter: blur(20px);
}

.security__shield {
  font-size: 3rem;
  margin-bottom: 12px;
}

.security__badge span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.security__rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26,86,219,0.2);
}
.ring--1 { width: 200px; height: 200px; animation: ringPulse 3s ease infinite; }
.ring--2 { width: 300px; height: 300px; animation: ringPulse 3s ease infinite 0.5s; }
.ring--3 { width: 380px; height: 380px; animation: ringPulse 3s ease infinite 1s; }

/* ---- DOWNLOAD ---- */
.download {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(26,86,219,0.15) 0%, rgba(56,189,248,0.05) 50%, transparent 100%);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.download__orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(26,86,219,0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.download__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.download__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.download__sub {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.7;
}

.download__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  text-decoration: none;
  color: var(--white);
  transition: all var(--transition);
  min-width: 180px;
}

.store-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.store-btn__icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.store-btn__icon svg { width: 100%; height: 100%; }

.store-btn small { display: block; font-size: 0.7rem; color: var(--gray); }
.store-btn span:last-child { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }

.download__referral {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 16px;
}

/* ---- FOOTER ---- */
.footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 16px;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--large { grid-column: span 2; }

  .section__inner--split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .security__visual { height: 280px; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__badge, .hero__actions { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero__sub, .hero__stats { margin-left: auto; margin-right: auto; }
  .hero__stats { justify-content: center; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .step__connector { display: none; }

  .screenshots__track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-left: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }

  .screenshot-slide { scroll-snap-align: center; }

  .screenshots__btn { display: none; }

  .features__grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }

  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .phone__frame { width: 240px; height: 480px; }
  .download__buttons { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; max-width: 260px; justify-content: center; }
}
