.app-page {
  --app-ink: #101828;
  --app-muted: #5f6b7a;
  --app-blue: #165dff;
  --app-cyan: #19b5fe;
  color: var(--app-muted);
  background: #fff;
}

.app-page .nav-item > a[aria-current="page"] {
  color: var(--app-blue);
  font-weight: 700;
}

.app-hero {
  position: relative;
  min-height: 760px;
  padding: 148px 0 88px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(22, 93, 255, 0.08), rgba(22, 93, 255, 0) 42%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.app-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(22, 93, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 93, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, #000, transparent 70%);
  pointer-events: none;
}

.app-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: 72px;
}

.app-eyebrow,
.app-section-heading > span,
.app-final-download span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--app-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.app-hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--app-ink);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.14;
  letter-spacing: 0;
}

.app-hero h1 span { color: var(--app-blue); }

.app-hero-copy > p {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.9;
}

.app-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.app-download-btn {
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  color: #fff;
  background: var(--app-blue);
  border-color: var(--app-blue);
  box-shadow: 0 12px 28px rgba(22, 93, 255, 0.25);
}

.app-download-btn:hover {
  color: #fff;
  background: #0e42d2;
  border-color: #0e42d2;
  transform: translateY(-2px);
}

.app-download-btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-secondary-link {
  color: var(--app-ink);
  font-weight: 700;
  border-bottom: 1px solid #98a2b3;
}

.app-secondary-link:hover { color: var(--app-blue); border-color: var(--app-blue); }

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  color: #667085;
  font-size: 13px;
}

.app-meta span + span { position: relative; }
.app-meta span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -13px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #98a2b3;
}

.app-login-note { margin-top: 14px; color: #98a2b3; font-size: 13px !important; }

.app-phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 570px;
}

.app-phone-orbit {
  position: absolute;
  border: 1px solid rgba(22, 93, 255, 0.16);
  border-radius: 50%;
}

.app-phone-orbit-one { width: 490px; height: 490px; }
.app-phone-orbit-two { width: 390px; height: 390px; border-color: rgba(25, 181, 254, 0.25); }

.app-phone {
  position: relative;
  z-index: 2;
  width: 300px;
  padding: 10px;
  border: 7px solid #111827;
  border-radius: 42px;
  background: #111827;
  box-shadow: 0 32px 70px rgba(16, 24, 40, 0.28);
  transform: rotate(2deg);
}

.app-phone-speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 5;
  width: 76px;
  height: 18px;
  border-radius: 20px;
  background: #111827;
  transform: translateX(-50%);
}

.app-phone-screen {
  position: relative;
  min-height: 536px;
  padding: 14px 14px 0;
  overflow: hidden;
  border-radius: 30px;
  background: #f5f7fb;
}

.phone-topbar { display: flex; justify-content: space-between; padding: 0 4px; color: #111827; font-size: 10px; font-weight: 700; }
.phone-greeting { display: flex; align-items: center; justify-content: space-between; padding: 22px 4px 14px; }
.phone-greeting small { display: block; color: #7b8794; font-size: 11px; }
.phone-greeting strong { display: block; color: #101828; font-size: 15px; }
.phone-greeting img { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; }

.phone-progress {
  padding: 16px;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, #165dff, #0f49cf);
  box-shadow: 0 10px 24px rgba(22, 93, 255, 0.22);
}
.phone-progress > span { font-size: 11px; opacity: 0.82; }
.phone-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.phone-metrics div { border-right: 1px solid rgba(255,255,255,0.22); }
.phone-metrics div:last-child { border-right: 0; }
.phone-metrics strong { display: block; font-size: 20px; }
.phone-metrics small { display: block; margin-top: 2px; font-size: 9px; opacity: 0.8; }

.phone-task { position: relative; margin-top: 12px; padding: 14px; border: 1px solid #e6eaf0; border-radius: 10px; background: #fff; }
.phone-task-label { display: inline-block; padding: 2px 7px; color: #e57100; font-size: 9px; border-radius: 3px; background: rgba(255,125,0,0.1); }
.phone-task strong { display: block; margin-top: 8px; color: #101828; font-size: 13px; }
.phone-task p { margin: 3px 72px 0 0; color: #7b8794; font-size: 9px; line-height: 1.5; }
.phone-task button { position: absolute; right: 12px; bottom: 14px; padding: 6px 9px; color: #fff; font: inherit; font-size: 9px; border: 0; border-radius: 4px; background: #165dff; }
.phone-recent { margin-top: 15px; }
.phone-section-title { display: flex; justify-content: space-between; margin-bottom: 8px; }
.phone-section-title strong { color: #101828; font-size: 12px; }
.phone-section-title span { color: #165dff; font-size: 9px; }
.phone-contact { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; padding: 9px 8px; margin-bottom: 6px; border: 1px solid #edf0f4; border-radius: 8px; background: #fff; }
.phone-contact i { display: grid; place-items: center; width: 28px; height: 28px; color: #165dff; font-size: 11px; font-style: normal; border-radius: 50%; background: #e8f3ff; }
.phone-contact strong, .phone-contact small { display: block; }
.phone-contact strong { color: #101828; font-size: 10px; }
.phone-contact small, .phone-contact > span { color: #98a2b3; font-size: 8px; }
.phone-tabs { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 8px; color: #98a2b3; font-size: 9px; text-align: center; background: #fff; border-top: 1px solid #edf0f4; }
.phone-tabs .active { color: #165dff; font-weight: 700; }

.app-features { padding: 104px 0; background: #fff; }
.app-section-heading { max-width: 720px; margin-bottom: 48px; }
.app-section-heading h2, .app-workflow h2, .app-recording h2, .app-final-download h2 { color: var(--app-ink); font-size: clamp(32px, 4vw, 46px); line-height: 1.25; }
.app-section-heading p, .app-workflow-copy > p { margin-top: 16px; font-size: 17px; }
.app-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #dfe5ee; border: 1px solid #dfe5ee; }
.app-feature { position: relative; min-height: 330px; padding: 40px; background: #fff; }
.app-feature-primary { color: rgba(255,255,255,0.8); background: #165dff; }
.app-feature-index { position: absolute; top: 32px; right: 32px; color: #cfd6e1; font-size: 13px; font-weight: 700; }
.app-feature-primary .app-feature-index { color: rgba(255,255,255,0.55); }
.app-feature-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 58px; color: #165dff; background: #e8f3ff; }
.app-feature-primary .app-feature-icon { color: #fff; background: rgba(255,255,255,0.16); }
.app-feature-icon svg, .app-recording-mark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-feature h3 { margin-bottom: 14px; color: var(--app-ink); font-size: 23px; }
.app-feature-primary h3 { color: #fff; }
.app-feature p { font-size: 15px; line-height: 1.8; }

.app-workflow { padding: 104px 0; background: #f5f7fa; }
.app-workflow-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.app-steps { counter-reset: none; }
.app-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid #d9e0ea; }
.app-steps li:last-child { margin-bottom: 0; border-bottom: 0; }
.app-steps li > span { color: #165dff; font-size: 13px; font-weight: 700; }
.app-steps strong { display: block; margin-bottom: 5px; color: var(--app-ink); font-size: 20px; }
.app-steps p { font-size: 15px; }

.app-recording { padding: 88px 0; background: #fff; }
.app-recording-inner { display: grid; grid-template-columns: 140px 1fr; gap: 44px; align-items: center; max-width: 1000px; }
.app-recording-mark { display: grid; place-items: center; width: 140px; height: 140px; color: #165dff; background: #e8f3ff; }
.app-recording-mark svg { width: 54px; height: 54px; }
.app-recording h2 { margin-bottom: 18px; }
.app-recording p { max-width: 760px; font-size: 16px; line-height: 1.85; }
.app-recording .app-supported { margin-top: 12px; color: #344054; font-weight: 700; }

.app-final-download { padding: 72px 0; color: rgba(255,255,255,0.78); background: #101828; }
.app-final-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.app-final-download span { color: #84adff; }
.app-final-download h2 { max-width: 680px; color: #fff; }
.app-download-btn-light { flex-shrink: 0; background: #fff; border-color: #fff; color: #165dff; box-shadow: none; }
.app-download-btn-light:hover { color: #165dff; background: #f1f5ff; border-color: #f1f5ff; }
.footer-download { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; color: #fff; font-size: 14px; border: 1px solid rgba(255,255,255,0.28); border-radius: 4px; }
.footer-download:hover { color: #fff; border-color: #ff7d00; }

@media (max-width: 1024px) {
  .app-hero-grid { grid-template-columns: 1fr 360px; gap: 32px; }
  .app-phone-orbit-one { width: 410px; height: 410px; }
  .app-phone-orbit-two { width: 330px; height: 330px; }
  .app-feature { padding: 32px; }
  .app-workflow-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .app-hero { min-height: 0; padding: 112px 0 56px; }
  .app-hero::before { background-size: 40px 40px; }
  .app-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-hero h1 { font-size: 42px; }
  .app-hero-copy > p { font-size: 16px; }
  .app-hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .app-secondary-link { align-self: center; }
  .app-download-btn { width: 100%; }
  .app-meta { justify-content: center; }
  .app-login-note { text-align: center; }
  .app-phone-stage { min-height: 540px; overflow: hidden; }
  .app-phone { width: 280px; transform: none; }
  .app-phone-orbit-one { width: 390px; height: 390px; }
  .app-phone-orbit-two { width: 320px; height: 320px; }
  .app-features, .app-workflow, .app-recording { padding: 72px 0; }
  .app-feature-grid { grid-template-columns: 1fr; }
  .app-feature { min-height: 280px; }
  .app-feature-icon { margin-bottom: 42px; }
  .app-workflow-grid { grid-template-columns: 1fr; gap: 42px; }
  .app-recording-inner { grid-template-columns: 1fr; gap: 28px; }
  .app-recording-mark { width: 88px; height: 88px; }
  .app-recording-mark svg { width: 38px; height: 38px; }
  .app-final-inner { align-items: stretch; flex-direction: column; }
  .app-final-download h2 { font-size: 32px; }
  .app-page .footer-grid { grid-template-columns: 1fr; }
  .footer-download { width: 100%; }
}

@media (max-width: 420px) {
  .app-hero h1 { font-size: 36px; }
  .app-phone-stage { min-height: 520px; }
  .app-phone { width: 264px; }
  .app-phone-screen { min-height: 500px; }
  .phone-contact:nth-of-type(3) { display: none; }
  .app-meta { gap: 8px 18px; }
  .app-feature { padding: 28px 24px; }
  .app-steps li { grid-template-columns: 42px 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .app-phone { transform: none; }
}
