/* ── APP HERO ─────────────────────────────────────────── */

.app-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 80px) clamp(20px, 5vw, 60px) 100px;
  max-width: calc(var(--max-w) + 80px);
  margin: 0 auto;
  position: relative;
}

/* background glow orbs */
.app-hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 255, 113, 0.06) 0%, transparent 60%);
  top: -200px;
  left: -300px;
  pointer-events: none;
}

.app-hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 247, 214, 0.05) 0%, transparent 65%);
  bottom: 0;
  right: -100px;
  pointer-events: none;
}

/* ── HERO CONTENT ────────────────────────────────────── */

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
  display: block;
  animation: fadeUp 0.9s var(--ease) both;
}

.app-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.8rem, 7.5vw, 7rem);
  line-height: 0.87;
  letter-spacing: 0.01em;
  margin-bottom: 30px;
  animation: fadeUp 0.9s var(--ease) 0.1s both;
}

.app-hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.72;
  margin-bottom: 44px;
  animation: fadeUp 0.9s var(--ease) 0.18s both;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  animation: fadeUp 0.9s var(--ease) 0.26s both;
}

.hero-note {
  font-size: 0.76rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  animation: fadeUp 0.9s var(--ease) 0.34s both;
}

/* ── HERO PHONES ─────────────────────────────────────── */

.hero-phones {
  position: relative;
  height: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 1;
}

.hero-phone-primary {
  width: 210px;
  position: relative;
  z-index: 2;
  margin-right: -28px;
  will-change: transform;
  animation: float 5.5s ease-in-out infinite, fadeUp 1s var(--ease) 0.15s both;
}

.hero-phone-secondary {
  width: 180px;
  position: relative;
  z-index: 1;
  margin-bottom: 36px;
  opacity: 0.75;
  will-change: transform;
  animation: float 5.5s ease-in-out 2s infinite, fadeUp 1s var(--ease) 0.3s both;
}

.hero-phone-primary .phone-frame,
.hero-phone-secondary .phone-frame {
  width: 100%;
}

/* ambient glow beneath the phones */
.hero-phones::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(92, 255, 113, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ── SOCIAL PROOF STRIP ───────────────────────────────── */

.social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px clamp(20px, 5vw, 60px);
  background: var(--bg-2);
}

.social-proof .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 72px);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.proof-item svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
  stroke: currentColor;
}

.proof-sep {
  width: 1px;
  height: 18px;
  background: var(--border-bright);
  flex-shrink: 0;
}

/* ── FEATURES SECTION ────────────────────────────────── */

.features-section {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px);
}

.feature-block {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--border);
}

.feature-block:first-child { padding-top: 0; }
.feature-block:last-child  { border-bottom: none; padding-bottom: 0; }

/* flip layout on alternate blocks */
.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  margin-bottom: -8px;
  user-select: none;
}

.feature-label {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.feature-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  letter-spacing: 0.02em;
  line-height: 0.92;
  margin-bottom: 22px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.72;
  max-width: 400px;
}

.feature-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.feature-phone .phone-frame {
  width: clamp(200px, 26vw, 290px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.feature-phone .phone-frame:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(92, 255, 113, 0.1);
}

/* gradient glow behind each feature phone */
.feature-phone::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(92, 255, 113, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* ── SCREENSHOT GALLERY ───────────────────────────────── */

.gallery-section {
  padding: clamp(70px, 9vw, 110px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.gallery-section .section-header {
  padding: 0 clamp(20px, 5vw, 60px);
  margin-bottom: 52px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.gallery-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  letter-spacing: 0.02em;
  line-height: 0.92;
  margin-bottom: 10px;
}

.gallery-section .section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.gallery-scroll {
  display: flex;
  gap: 18px;
  padding: 16px clamp(20px, 5vw, 60px) 48px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  cursor: grab;
}

.gallery-scroll:active { cursor: grabbing; }
.gallery-scroll::-webkit-scrollbar { display: none; }

.gallery-item {
  flex-shrink: 0;
  width: 190px;
  scroll-snap-align: start;
}

.gallery-item .phone-frame {
  width: 100%;
  border-radius: 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.gallery-item:hover .phone-frame {
  transform: scale(1.04) translateY(-8px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(92, 255, 113, 0.09);
}

/* ── FAQ ─────────────────────────────────────────────── */

.faq-section {
  padding: clamp(80px, 10vw, 130px) clamp(20px, 5vw, 60px);
}

.faq-inner {
  max-width: 700px;
  margin: 0 auto;
}

.faq-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  letter-spacing: 0.02em;
  line-height: 0.92;
  margin-bottom: 52px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--border-bright);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.97rem;
  font-weight: 500;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--green); }

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--text-muted);
  transition: transform 0.35s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  user-select: none;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  border-color: var(--green);
  color: #07090A;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 280px;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.72;
}

/* ── FOOTER CTA ──────────────────────────────────────── */

.cta-section {
  padding: clamp(90px, 11vw, 150px) clamp(20px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(92, 255, 113, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: 0.02em;
  line-height: 0.88;
  margin-bottom: 22px;
  position: relative;
}

.cta-section h2 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 44px;
  position: relative;
}

.cta-section .badge-download {
  position: relative;
}

/* ── RESPONSIVE ──────────────────────────────────────── */

@media (max-width: 900px) {
  .app-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 70px;
    gap: 40px;
  }

  .hero-desc,
  .hero-note { margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }

  .hero-phones {
    height: 380px;
    order: -1;
  }

  .hero-phone-primary { width: 180px; margin-right: -24px; }
  .hero-phone-secondary { width: 155px; margin-bottom: 28px; }

  .feature-block {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .feature-block.reverse { direction: ltr; }
  .feature-desc { margin: 0 auto; }
  .feature-phone .phone-frame { width: 210px; }

  .proof-sep { display: none; }

  .gallery-item { width: 155px; }
}

@media (max-width: 600px) {
  .hero-phones { height: 310px; }
  .hero-phone-primary { width: 195px; margin-right: 0; }
  .hero-phone-secondary { display: none; }

  .feature-phone .phone-frame { width: 180px; }
  .gallery-item { width: 140px; }
}
