/* ══════════════════════════════════════════════════════════════════
   v2-mobile-app.css — Mobile App page
   Visual system aligned with homepage + demo (dark hero / dark features /
   light waitlist + FAQ / dark CTA / dark footer).
   Requires: v2-base.css, v2-components.css
   ══════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════
   1. HERO
   ════════════════════════════════════ */
.app-hero {
  background: var(--bg);
  padding: 96px 5% 96px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.app-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--v2-hero-gradient);
  pointer-events: none;
  z-index: -1;
}

.app-hero-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.app-hero-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* Badge chip on hero — translation ships with an emoji prefix, so no
   pseudo-dot to avoid a double icon. */
.app-badge {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.28);
  font-size: 12.5px; font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}
.app-hero-text h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.07;
  max-width: 560px;
  text-wrap: balance;
  margin: 0;
}
.app-hero-text h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent2) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.app-hero-text p {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
  margin: 0;
}

.app-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.app-hero-trust {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 12px;
}

/* ── Phone mockup visual ── */
.app-hero-phone {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 480px;
}
.phone-glow {
  position: absolute;
  inset: 15% -10% 0% -10%;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.28) 0%, transparent 65%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}
.phone-frame {
  position: relative; z-index: 1;
  width: 260px;
  height: 520px;
  background: linear-gradient(180deg, #1a1a20 0%, #101014 100%);
  border: 1px solid var(--line-2);
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 40px 100px rgba(0,0,0,0.55),
    0 0 0 1px rgba(245,158,11,0.08);
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px;
  background: #07070a;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  position: relative;
  background: #0c0c10;
  border-radius: 32px;
  height: 100%; width: 100%;
  padding: 40px 14px 14px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 600; color: var(--text);
  padding: 0 4px 6px;
}
.phone-status-dots { display: inline-flex; gap: 3px; }
.phone-status-dots i {
  width: 4px; height: 4px; border-radius: 50%; background: var(--text);
  display: inline-block;
}
.phone-header {
  display: flex; align-items: center; gap: 8px;
  padding: 0 4px 4px;
}
.phone-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.phone-header-title {
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text); flex: 1;
}
.phone-header-sub {
  font-size: 10px; color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.phone-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.phone-card-muted { opacity: 0.7; }
.phone-card-row {
  display: flex; align-items: center; justify-content: space-between;
}
.phone-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.28);
  padding: 2px 8px; border-radius: 999px;
}
.phone-tag-muted {
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border-color: var(--line-2);
}
.phone-price {
  font-size: 14px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.phone-line {
  height: 6px; border-radius: 4px;
  background: rgba(255,255,255,0.06);
}
.phone-line-1 { width: 90%; }
.phone-line-2 { width: 60%; }
.phone-meta {
  display: flex; gap: 6px;
  font-size: 10.5px; color: var(--muted);
  font-weight: 500;
}

.phone-fab {
  position: absolute;
  right: 18px; bottom: 22px;
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(245,158,11,0.45);
}

/* ════════════════════════════════════
   2. FEATURES (dark)
   ════════════════════════════════════ */
.app-features {
  background: var(--bg2);
  padding: var(--v2-section-padding);
}
.app-features .v2-center { margin-bottom: 56px; }

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.app-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--dur), border-color var(--dur), background var(--dur);
}
.app-feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  background: var(--bg-raised);
}
.app-feature-card h3 {
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 6px;
}
.app-feature-card p {
  font-size: 14px; color: var(--muted);
  line-height: 1.6;
}

/* ════════════════════════════════════
   3. WAITLIST (light)
   ════════════════════════════════════ */
.waitlist-section {
  background: var(--bg-light);
  color: var(--text-light);
  padding: var(--v2-section-padding);
}
.waitlist-section .v2-section-title { color: var(--text-light); }
.waitlist-section .v2-section-desc  { color: var(--muted-light); }
.waitlist-section .v2-center { margin-bottom: 40px; }

.waitlist-card {
  max-width: 560px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.waitlist-card .ico-tile-light { margin-bottom: 6px; }
.waitlist-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-light);
}
.waitlist-card > p {
  font-size: 15px;
  color: var(--muted-light);
  max-width: 400px;
  line-height: 1.6;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}
.waitlist-input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.waitlist-input::placeholder { color: var(--muted-light); }
.waitlist-input:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}

.waitlist-form .btn-hero { flex-shrink: 0; }

.waitlist-success {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  padding: 16px 20px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-sm);
}

/* Left-aligned trust row. Both items start at the card's left edge and
   flow horizontally; they wrap to a new line on narrow viewports. */
.waitlist-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px 20px;
  width: 100%;
  margin-top: 10px;
}
.waitlist-trust .trust-point { color: var(--muted-light); }
.waitlist-trust .trust-point .ico { color: var(--accent); }

/* ════════════════════════════════════
   4. FAQ (light) — native <details> accordion
   ════════════════════════════════════ */
.app-faq {
  background: var(--bg-light);
  color: var(--text-light);
  padding: 40px 5% var(--v2-section-py);
}
.app-faq .v2-section-title { color: var(--text-light); }
.app-faq .v2-center { margin-bottom: 40px; }

.app-faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-faq-item {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.app-faq-item[open] {
  border-color: rgba(245,158,11,0.35);
  box-shadow: var(--shadow-md);
}
.app-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.app-faq-item summary::-webkit-details-marker { display: none; }
.app-faq-chev {
  width: 16px; height: 16px;
  color: var(--muted-light);
  transition: transform var(--dur), color var(--dur);
  flex-shrink: 0;
}
.app-faq-item[open] .app-faq-chev {
  transform: rotate(180deg);
  color: var(--accent);
}
.app-faq-item p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--muted-light);
  line-height: 1.65;
  margin: 0;
}

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 960px) {
  .app-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .app-hero-text { align-items: center; }
  .app-hero-text h1,
  .app-hero-text p { margin-left: auto; margin-right: auto; }
  .app-hero-actions,
  .app-hero-trust { justify-content: center; }
  .app-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .app-hero            { padding: 64px 5% 64px; }
  .app-hero-phone      { min-height: 460px; }
  .phone-frame         { width: 240px; height: 480px; }
  .app-features-grid   { grid-template-columns: 1fr; }
  .waitlist-card       { padding: 28px; }
  .waitlist-form       { flex-direction: column; gap: 10px; }
  .waitlist-form .btn-hero { width: 100%; }
  .app-faq-item summary { padding: 18px 20px; font-size: 14.5px; }
  .app-faq-item p       { padding: 0 20px 20px; font-size: 14px; }
}
