:root {
  --brand-blue: #0B55C5;
  --brand-teal: #05A9B7;
  --brand-orange: #FF6B00;
  --text-heading: #0F172A;
  --text-body: #475569;
  --text-muted: #94A3B8;
  --bg-canvas: #F5F8FF;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html,
body {
  min-height: 100dvh;
  width: 100%;
  background: var(--bg-canvas);
  color: var(--text-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.blob-blue {
  width: 420px;
  height: 420px;
  background: var(--brand-blue);
  top: -140px;
  left: -140px;
}

.blob-teal {
  width: 380px;
  height: 380px;
  background: var(--brand-teal);
  bottom: -140px;
  right: -140px;
}

.app-screen {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.brand-header {
  padding: env(safe-area-inset-top, 0px) 0 1.5rem;
}

.brand-logo {
  height: 40px;
}

.app-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(11, 85, 197, 0.12);
  padding: 2rem 1.75rem;
  text-align: center;
  margin: auto 0;
}

.version-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  background: rgba(11, 85, 197, 0.08);
  border: 1px solid rgba(11, 85, 197, 0.2);
  color: var(--brand-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}

.app-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-subtitle {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 1.6rem;
}

.install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-teal) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(11, 85, 197, 0.3);
  transition: transform 0.2s ease;
}

.install-btn:hover {
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.1rem;
}

.install-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  margin-bottom: 1.6rem;
}

.platform-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 0.3rem;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 9999px;
  margin-bottom: 1.1rem;
}

.tab-btn {
  flex: 1;
  padding: 0.5rem 0.6rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: #fff;
  color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.tab-panel {
  display: none;
  text-align: left;
  margin-bottom: 1.6rem;
}

.tab-panel.active {
  display: block;
}

.steps-list {
  list-style: none;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 2rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-body);
  margin-bottom: 0.7rem;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgba(11, 85, 197, 0.1);
  color: var(--brand-blue);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-list strong {
  color: var(--text-heading);
}

.ios-icon {
  display: inline-block;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.feature-chip {
  padding: 0.6rem 0.5rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.03);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-body);
}

.app-footer {
  padding-top: 2rem;
  text-align: center;
}

.app-footer p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .app-screen {
    padding-top: 3rem;
  }
}
