/* === App page-specific styles === */

/* Hero */
.app-hero {
  padding: 72px 0 64px;
}

.app-hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-hero-left {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 860px;
}

.app-hero-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  flex: 0 0 128px;
  box-shadow: 0 18px 48px rgba(102, 126, 234, 0.35);
}

.app-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}

.app-hero-sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 620px;
}

.app-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.app-hero-note {
  font-size: 13px;
  color: var(--text-soft);
}

/* Screenshots */
.screenshot-stack {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.screenshot {
  margin: 0;
}

.screenshot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: #0c0c1d;
}

.screenshot figcaption {
  text-align: center;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.screenshot figcaption strong {
  color: var(--text);
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
  font-weight: 700;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.step {
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h4 {
  font-size: 17px;
  margin-bottom: 6px;
  font-weight: 700;
}

.step p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  padding: 32px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-card-pro {
  border-color: rgba(102, 126, 234, 0.5);
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.04));
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
}

.pro-badge-large {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #f6d365, #fda085);
  color: #3a2a00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(253, 160, 133, 0.35);
}

.price-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-period {
  color: var(--text-soft);
  font-size: 13px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.price-features li strong { color: var(--text); font-weight: 600; }
.price-features .muted { color: var(--text-soft); font-style: italic; }

/* Download */
.download-block {
  text-align: center;
}

.download-block h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 10px;
}

.download-block > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn-large {
  flex-direction: column;
  align-items: center;
  padding: 18px 36px;
  min-width: 240px;
  gap: 4px;
}

.btn-large span {
  font-size: 16px;
  font-weight: 700;
}

.btn-large small {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 400;
}

.download-note {
  color: var(--text-soft);
  font-size: 13px;
}

/* FAQ */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color 0.15s ease;
}

.faq details[open] {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

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

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 720px) {
  .app-hero-left { flex-direction: column; text-align: center; align-items: center; }
  .app-hero-sub { text-align: center; }
  .app-hero-ctas { justify-content: center; }
  .screenshot-stack { gap: 56px; }
  .btn-large { width: 100%; min-width: 0; }
}
