/* ==========================================================================
   RAPT Feature Showcase Pages - Unified Apple Design System
   Applies to: analysis.html, location-lock.html, block-intensity.html, web-block.html
   ========================================================================== */

/* Apple Design Tokens */
:root {
  --feat-bg: #f5f5f7;
  --feat-surface: #ffffff;
  --feat-dark: #000000;
  --feat-dark-card: #141416;
  --feat-dark-subtle: #1c1c1e;
  --feat-blue: #0071e3;
  --feat-blue-soft: #e8f2ff;
  --feat-green: #34c759;
  --feat-green-soft: #eaf8ee;
  --feat-orange: #ff9500;
  --feat-orange-soft: #fff4e5;
  --feat-pink: #ff2d55;
  --feat-pink-soft: #ffe8ec;
  --feat-purple: #af52de;
  --feat-purple-soft: #f7edff;
  --feat-gold: #ffd60a;
  --feat-gold-soft: #fffbe6;
  --feat-text: #1d1d1f;
  --feat-muted: #86868b;
  --feat-subtle: #a1a1a6;
  --feat-line: #d2d2d7;
  --feat-line-light: rgba(0, 0, 0, 0.08);
  --feat-border: rgba(0, 0, 0, 0.06);
  --feat-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --feat-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --feat-shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.08);
  --feat-radius-card: 26px;
  --feat-radius-pill: 999px;
  --feat-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Hero Section - Apple Keynote Display
   -------------------------------------------------------------------------- */
.feat-hero {
  position: relative;
  background: #000000;
  color: #ffffff;
  padding: 100px 20px 80px;
  text-align: center;
  overflow: hidden;
}

.feat-hero__glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 540px;
  filter: blur(55px);
  pointer-events: none;
  z-index: 1;
}

/* Page-specific glow tints */
.feat-hero__glow--analysis {
  background: radial-gradient(ellipse at center, rgba(52, 199, 89, 0.28) 0%, rgba(0, 113, 227, 0.2) 45%, transparent 75%);
}
.feat-hero__glow--location {
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.32) 0%, rgba(175, 82, 222, 0.2) 45%, transparent 75%);
}
.feat-hero__glow--intensity {
  background: radial-gradient(ellipse at center, rgba(255, 45, 85, 0.3) 0%, rgba(255, 149, 0, 0.2) 45%, transparent 75%);
}
.feat-hero__glow--web {
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.3) 0%, rgba(52, 199, 89, 0.22) 45%, transparent 75%);
}

.feat-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}

.feat-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--feat-radius-pill);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #e5e5ea;
  margin-bottom: 24px;
}

.feat-hero__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--feat-blue);
  box-shadow: 0 0 10px var(--feat-blue);
}
.feat-hero__pill-dot--green { background: var(--feat-green); box-shadow: 0 0 10px var(--feat-green); }
.feat-hero__pill-dot--pink { background: var(--feat-pink); box-shadow: 0 0 10px var(--feat-pink); }
.feat-hero__pill-dot--orange { background: var(--feat-orange); box-shadow: 0 0 10px var(--feat-orange); }

.feat-hero__title {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: #ffffff;
}

.feat-hero__title-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.feat-hero__title-accent {
  display: block;
}
.feat-hero__title-accent--green {
  background: linear-gradient(135deg, #30d158 0%, #0071e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feat-hero__title-accent--blue {
  background: linear-gradient(135deg, #5ac8fa 0%, #0071e3 50%, #af52de 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feat-hero__title-accent--pink {
  background: linear-gradient(135deg, #ff375f 0%, #ff9f0a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feat-hero__title-accent--teal {
  background: linear-gradient(135deg, #64d2ff 0%, #30d158 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feat-hero__sub {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.48;
  color: #a1a1a6;
  max-width: 700px;
  margin: 0 auto 36px;
  letter-spacing: -0.01em;
}

/* Quick Jump Pill Navigation */
.feat-quicknav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px auto 0;
  max-width: 820px;
}

.feat-quicknav__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--feat-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: var(--feat-transition);
  cursor: pointer;
}

.feat-quicknav__item:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  color: #ffffff;
}

.feat-quicknav__item svg {
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.feat-quicknav__item:hover svg {
  transform: translateY(2px);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Section Standards
   -------------------------------------------------------------------------- */
.feat-section {
  padding: 100px 20px;
  position: relative;
}

.feat-section--light {
  background: var(--feat-bg);
  color: var(--feat-text);
}

.feat-section--white {
  background: #ffffff;
  color: var(--feat-text);
}

.feat-section--dark {
  background: #000000;
  color: #ffffff;
}

.feat-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.feat-section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.feat-section__eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--feat-blue);
  margin-bottom: 12px;
}
.feat-section--dark .feat-section__eyebrow {
  color: #2997ff;
}

.feat-section__title {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--feat-text);
}
.feat-section--dark .feat-section__title {
  color: #ffffff;
}

.feat-section__desc {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.48;
  color: var(--feat-muted);
  margin: 0;
  letter-spacing: -0.01em;
}
.feat-section--dark .feat-section__desc {
  color: #a1a1a6;
}

/* --------------------------------------------------------------------------
   Apple Bento Grid
   -------------------------------------------------------------------------- */
.feat-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.feat-card {
  position: relative;
  background: var(--feat-surface);
  border-radius: var(--feat-radius-card);
  padding: 38px;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: var(--feat-transition);
}

.feat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.feat-card--span12 { grid-column: span 12; }
.feat-card--span8 { grid-column: span 8; }
.feat-card--span7 { grid-column: span 7; }
.feat-card--span6 { grid-column: span 6; }
.feat-card--span5 { grid-column: span 5; }
.feat-card--span4 { grid-column: span 4; }

.feat-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--feat-radius-pill);
  margin-bottom: 14px;
}

.feat-card__tag--blue { background: var(--feat-blue-soft); color: var(--feat-blue); }
.feat-card__tag--green { background: var(--feat-green-soft); color: var(--feat-green); }
.feat-card__tag--orange { background: var(--feat-orange-soft); color: var(--feat-orange); }
.feat-card__tag--pink { background: var(--feat-pink-soft); color: var(--feat-pink); }
.feat-card__tag--purple { background: var(--feat-purple-soft); color: var(--feat-purple); }
.feat-card__tag--gold { background: var(--feat-gold-soft); color: #b8860b; }

.feat-card__title {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: var(--feat-text);
}

.feat-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--feat-muted);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   Analysis Widgets & Bento Components
   -------------------------------------------------------------------------- */
.analysis-stat-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #fbfbfd;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
}

.stat-metric {
  text-align: center;
}

.stat-metric__val {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--feat-text);
  line-height: 1.1;
  display: block;
}

.stat-metric__val--green { color: var(--feat-green); }
.stat-metric__val--blue { color: var(--feat-blue); }
.stat-metric__val--orange { color: var(--feat-orange); }

.stat-metric__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--feat-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
  display: block;
}

/* Bar Chart Widget */
.chart-bars-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  padding: 16px 10px 0;
  background: #fbfbfd;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.chart-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
  flex: 1;
}

.chart-bar-fill {
  width: 20px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--feat-green) 0%, #30d158 100%);
  transition: height 0.6s ease;
}

.chart-bar-fill--baseline {
  background: #e5e5ea;
}

.chart-bar-day {
  font-size: 11px;
  font-weight: 600;
  color: var(--feat-muted);
}

/* Relapse Reason Chips */
.relapse-reason-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.relapse-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.relapse-item__info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.relapse-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--feat-pink-soft);
  color: var(--feat-pink);
}

.relapse-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--feat-text);
}

.relapse-item span {
  font-size: 11px;
  color: var(--feat-muted);
}

.relapse-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--feat-radius-pill);
  background: #fff4e5;
  color: var(--feat-orange);
}

/* Panda Milestone Card */
.panda-milestone-preview {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #1c1c1e 0%, #121214 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.panda-milestone-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.panda-milestone-copy h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #ffffff;
}

.panda-milestone-copy p {
  font-size: 13px;
  color: #a1a1a6;
  margin: 0 0 10px;
  line-height: 1.4;
}

.panda-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}

.panda-progress-bar__fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, #ffd60a, #ff9f0a);
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Location Lock Interactive Simulator
   -------------------------------------------------------------------------- */
.location-radar-wrap {
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 24px;
}

.place-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.place-tab-btn {
  padding: 8px 16px;
  border-radius: var(--feat-radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: #f0f0f2;
  color: var(--feat-text);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--feat-transition);
}

.place-tab-btn.is-active {
  background: #000000;
  color: #ffffff;
}

.location-map-visual {
  position: relative;
  height: 180px;
  background: #e5e5ea;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(#d1d1d6 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 113, 227, 0.4);
  background: rgba(0, 113, 227, 0.1);
  transition: width 0.4s ease, height 0.4s ease;
}

.radar-pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--feat-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.5);
  z-index: 2;
}

.location-specs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
}

.location-specs-row strong {
  color: var(--feat-blue);
}

/* Offline Shield Pill */
.offline-shield-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff4e5;
  border: 1px solid rgba(255, 149, 0, 0.25);
  color: #c97500;
  font-size: 12px;
  font-weight: 600;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   Block Intensity Interactive Friction Switcher
   -------------------------------------------------------------------------- */
.intensity-toggle-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.intensity-mode-card {
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 24px;
  background: #fbfbfd;
  cursor: pointer;
  transition: var(--feat-transition);
}

.intensity-mode-card:hover {
  background: #f2f2f7;
}

.intensity-mode-card.is-active {
  background: #ffffff;
  border-color: var(--feat-blue);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.12);
}

.intensity-mode-card--strict.is-active {
  border-color: var(--feat-pink);
  box-shadow: 0 8px 24px rgba(255, 45, 85, 0.12);
}

.intensity-mode-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.intensity-mode-card p {
  font-size: 13px;
  color: var(--feat-muted);
  margin: 0 0 16px;
  line-height: 1.45;
}

.intensity-feature-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--feat-radius-pill);
}

.intensity-feature-badge--soft {
  background: var(--feat-green-soft);
  color: var(--feat-green);
}

.intensity-feature-badge--strict {
  background: var(--feat-pink-soft);
  color: var(--feat-pink);
}

/* Interlude Token Widget */
.interlude-token-widget {
  background: #1c1c1e;
  color: #ffffff;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.token-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.token-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd60a, #ff9f0a);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}

.token-info strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.token-info span {
  font-size: 12px;
  color: #a1a1a6;
}

.token-cost-badge {
  font-size: 12px;
  font-weight: 700;
  color: #ff453a;
  background: rgba(255, 69, 58, 0.15);
  padding: 6px 12px;
  border-radius: var(--feat-radius-pill);
}

/* --------------------------------------------------------------------------
   Web Block Auto-Shield Demonstrator
   -------------------------------------------------------------------------- */
.autoshield-stage {
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 24px;
}

.app-selector-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.app-select-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--feat-transition);
}

.app-select-btn.is-active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.autoshield-domains-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.autoshield-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--feat-muted);
}

.autoshield-domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.domain-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--feat-radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: #f0f0f2;
  color: var(--feat-text);
}

.domain-tag.is-locked {
  background: var(--feat-pink-soft);
  color: var(--feat-pink);
}

/* --------------------------------------------------------------------------
   Cinematic Hardware Showcase (Apple Hardware Split)
   -------------------------------------------------------------------------- */
.feat-showcase {
  background: #000000;
  color: #ffffff;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.feat-showcase__glow {
  position: absolute;
  top: 25%;
  right: -80px;
  width: 600px;
  height: 600px;
  filter: blur(60px);
  pointer-events: none;
}

.feat-showcase__glow--analysis { background: radial-gradient(circle, rgba(52, 199, 89, 0.22) 0%, transparent 70%); }
.feat-showcase__glow--location { background: radial-gradient(circle, rgba(0, 113, 227, 0.24) 0%, transparent 70%); }
.feat-showcase__glow--intensity { background: radial-gradient(circle, rgba(255, 45, 85, 0.22) 0%, transparent 70%); }
.feat-showcase__glow--web { background: radial-gradient(circle, rgba(0, 113, 227, 0.22) 0%, transparent 70%); }

.feat-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feat-showcase-copy h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.feat-showcase-copy p {
  font-size: 18px;
  line-height: 1.5;
  color: #a1a1a6;
  margin: 0 0 32px;
}

.feat-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feat-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feat-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feat-check-icon--green { background: rgba(52, 199, 89, 0.2); color: #30d158; }
.feat-check-icon--blue { background: rgba(0, 113, 227, 0.2); color: #2997ff; }
.feat-check-icon--pink { background: rgba(255, 45, 85, 0.2); color: #ff375f; }

.feat-check-item strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.feat-check-item span {
  font-size: 14px;
  color: #86868b;
  line-height: 1.45;
}

/* Realistic iPhone Shell Container */
.feat-device-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.feat-phone-wrap {
  width: 320px;
  position: relative;
}

.phone-shell-apple {
  position: relative;
  background: #241016;
  padding: 1px;
  border-radius: 46px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.phone-frame-highlight-apple {
  background: #3a393e;
  padding: 2.5px;
  border-radius: 45px;
}

.phone-frame-bezel-apple {
  background: #000000;
  padding: 10px;
  border-radius: 43px;
  overflow: hidden;
}

.phone-screen-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
}

/* Dual Floating Pills */
.floating-status-pill {
  position: absolute;
  background: rgba(30, 30, 32, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--feat-radius-pill);
  padding: 10px 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.floating-status-pill--top {
  top: 15%;
  left: -28px;
  animation: floatSubtle 4s ease-in-out infinite;
}

.floating-status-pill--bottom {
  bottom: 15%;
  right: -28px;
  animation: floatSubtle 4s ease-in-out infinite 2s;
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   Routine / Scenarios Cards
   -------------------------------------------------------------------------- */
.feat-routine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feat-routine-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  transition: var(--feat-transition);
}

.feat-routine-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.feat-routine-card--dark {
  background: #111111;
  color: #ffffff;
  border: none;
}

.feat-routine-card--warm {
  background: #ffe9df;
  color: #1d1d1f;
  border: none;
}

.feat-routine-card--fresh {
  background: #e5f1de;
  color: #1d1d1f;
  border: none;
}

.routine-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--feat-muted);
  margin-bottom: 20px;
}
.feat-routine-card--dark .routine-tag { color: #a1a1a6; }

.feat-routine-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--feat-text);
}
.feat-routine-card--dark h3 { color: #ffffff; }

.feat-routine-card p {
  font-size: 14px;
  line-height: 1.48;
  color: var(--feat-muted);
  margin: 0;
}
.feat-routine-card--dark p { color: #a1a1a6; }

/* --------------------------------------------------------------------------
   Apple Spec Comparison Matrix
   -------------------------------------------------------------------------- */
.feat-table-wrap {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--feat-border);
  box-shadow: var(--feat-shadow-sm);
  overflow-x: auto;
  margin-top: 40px;
}

.feat-spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.feat-spec-table th,
.feat-spec-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--feat-line-light);
}

.feat-spec-table th {
  background: #fafafc;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--feat-muted);
}

.feat-spec-table tr:last-child td {
  border-bottom: none;
}

.feat-spec-table tr:hover td {
  background: #fbfbfd;
}

.feat-spec-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--feat-text);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   CTA Download Section
   -------------------------------------------------------------------------- */
.feat-cta {
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  padding: 100px 20px;
  text-align: center;
}

.feat-cta__box {
  max-width: 800px;
  margin: 0 auto;
  background: #000000;
  border-radius: 36px;
  padding: 60px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.feat-cta__glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  filter: blur(40px);
  pointer-events: none;
}

.feat-cta__inner {
  position: relative;
  z-index: 2;
}

.feat-cta__box h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.feat-cta__box p {
  font-size: 18px;
  color: #a1a1a6;
  margin: 0 0 32px;
}

.feat-cta .store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.feat-cta .store-badges img {
  height: 48px;
  transition: transform 0.2s ease;
}

.feat-cta .store-badges img:hover {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .feat-card--span8,
  .feat-card--span7,
  .feat-card--span6,
  .feat-card--span5 {
    grid-column: span 12;
  }
  .feat-card--span4 {
    grid-column: span 6;
  }
  .feat-routine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feat-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .feat-card--span4 {
    grid-column: span 12;
  }
  .feat-card {
    padding: 28px 20px;
  }
  .feat-routine-grid {
    grid-template-columns: 1fr;
  }
  .analysis-stat-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .intensity-toggle-wrap {
    grid-template-columns: 1fr;
  }
  .floating-status-pill--top,
  .floating-status-pill--bottom {
    position: static;
    margin: 12px auto;
    width: fit-content;
  }
  .feat-phone-wrap {
    width: 260px;
  }
  .feat-cta__box {
    padding: 40px 20px;
    border-radius: 24px;
  }
}

/* --------------------------------------------------------------------------
   Permissions Page Specific Styles
   -------------------------------------------------------------------------- */
.feat-hero__glow--permissions {
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.28) 0%, rgba(52, 199, 89, 0.2) 45%, transparent 75%);
}

.platform-switch-bar {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--feat-radius-pill);
  padding: 5px;
  gap: 6px;
  margin: 28px auto 0;
}

.platform-tab-btn {
  padding: 10px 26px;
  border-radius: var(--feat-radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: #a1a1a6;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--feat-transition);
}

.platform-tab-btn:hover {
  color: #ffffff;
}

.platform-tab-btn.is-active {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.platform-panel {
  display: none;
  animation: appleFadeIn 0.35s ease;
}

.platform-panel.is-active {
  display: block;
}

.permission-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--feat-radius-pill);
}

.permission-badge--core {
  background: var(--feat-blue-soft);
  color: var(--feat-blue);
}

.permission-badge--strict {
  background: var(--feat-pink-soft);
  color: var(--feat-pink);
}

.permission-badge--optional {
  background: #f0f0f2;
  color: var(--feat-muted);
}

.permission-badge--apple {
  background: #1d1d1f;
  color: #ffffff;
}

.permission-guarantee-card {
  background: transparent;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.permission-guarantee-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.permission-guarantee-card p {
  font-size: 14px;
  color: #a1a1a6;
  margin: 0;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Minimalist Open Architecture Layouts (No Box Clutter)
   -------------------------------------------------------------------------- */
.feat-arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 36px;
  margin-top: 50px;
}

@media (max-width: 960px) {
  .feat-arch-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }
}

@media (max-width: 640px) {
  .feat-arch-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.feat-arch-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feat-arch-item__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.feat-arch-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--feat-blue);
}

.feat-arch-item__dot--pink { background: var(--feat-pink); }
.feat-arch-item__dot--orange { background: var(--feat-orange); }
.feat-arch-item__dot--green { background: var(--feat-green); }
.feat-arch-item__dot--purple { background: var(--feat-purple); }

.feat-arch-item h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--feat-text);
}

.feat-arch-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--feat-muted);
  margin: 0 0 12px;
}

.feat-arch-item__status {
  font-size: 12px;
  font-weight: 600;
  color: var(--feat-blue);
  letter-spacing: 0.01em;
}

.feat-arch-item__status--pink { color: var(--feat-pink); }
.feat-arch-item__status--orange { color: var(--feat-orange); }
.feat-arch-item__status--green { color: var(--feat-green); }

/* Minimalist Stat Hero Row (Open Typography) */
.feat-stats-minimal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 50px 0;
  text-align: left;
}

@media (max-width: 900px) {
  .feat-stats-minimal {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feat-stat-minimal__val {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--feat-text);
  margin-bottom: 8px;
  display: block;
}

.feat-stat-minimal__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--feat-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Minimalist Split Hero Showcase */
.feat-split-minimal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .feat-split-minimal {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.feat-split-minimal__copy h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: #ffffff;
}

.feat-split-minimal__copy p {
  font-size: 17px;
  line-height: 1.5;
  color: #a1a1a6;
  margin: 0 0 32px;
}

.feat-pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feat-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feat-pillar-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.feat-pillar-item span {
  font-size: 14px;
  line-height: 1.45;
  color: #a1a1a6;
}

/* ==========================================================================
   AUTHENTIC APPLE DESIGN PRIMITIVES (Directly from Apple.com & User Screenshots)
   ========================================================================== */

/* --- Pattern B: Category & Sub-navigation Ribbon (Screenshot 2) --- */
.apple-ribbon-hero {
  background: #ffffff;
  padding: 100px 20px 40px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.apple-ribbon-hero__title {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: #1d1d1f;
  margin: 0 0 16px;
}

.apple-ribbon-hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  color: #6e6e73;
  max-width: 720px;
  margin: 0 auto 36px;
  letter-spacing: -0.01em;
}

.apple-ribbon-nav {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  overflow-x: auto;
  padding: 12px 10px 16px;
  -webkit-overflow-scrolling: touch;
}

.apple-ribbon-nav::-webkit-scrollbar {
  display: none;
}

.apple-ribbon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #1d1d1f;
  min-width: 76px;
  gap: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.apple-ribbon-item:hover {
  opacity: 0.7;
}

.apple-ribbon-item.is-active {
  color: #0071e3;
}

.apple-ribbon-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f5f5f7;
  color: #1d1d1f;
  transition: background 0.2s ease;
}

.apple-ribbon-item.is-active .apple-ribbon-icon {
  background: #0071e3;
  color: #ffffff;
}

.apple-ribbon-icon svg {
  width: 24px;
  height: 24px;
}

.apple-ribbon-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.apple-ribbon-badge {
  font-size: 10px;
  font-weight: 600;
  color: #ff3b30;
  letter-spacing: 0.02em;
  margin-top: -4px;
}

/* --- Pattern C: Feature Spotlight Split (Screenshot 3) --- */
.apple-spotlight {
  padding: 100px 24px;
  background: #ffffff;
  overflow: hidden;
}

.apple-spotlight--alt {
  background: #f5f5f7;
}

.apple-spotlight--dark {
  background: #000000;
  color: #ffffff;
}

.apple-spotlight__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
  box-sizing: border-box;
}

.apple-spotlight__inner--reverse {
  direction: rtl;
}

.apple-spotlight__inner--reverse > * {
  direction: ltr;
}

@media (max-width: 860px) {
  .apple-spotlight__inner,
  .apple-spotlight__inner--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
    direction: ltr;
  }
}

.apple-spotlight__copy {
  max-width: 480px;
}

.apple-spotlight__eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #86868b;
  margin-bottom: 14px;
  display: block;
}

.apple-spotlight--dark .apple-spotlight__eyebrow {
  color: #a1a1a6;
}

.apple-spotlight__heading {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #1d1d1f;
  margin: 0 0 18px;
}

.apple-spotlight--dark .apple-spotlight__heading {
  color: #ffffff;
}

.apple-spotlight__desc {
  font-size: 17px;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0 0 20px;
}

.apple-spotlight--dark .apple-spotlight__desc {
  color: #a1a1a6;
}

/* Authentic Apple Feature Specs (Spotlight 1) */
.apple-spotlight__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
}

.apple-spotlight__feature-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.apple-spotlight__feature-title {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.apple-spotlight__feature-desc {
  font-size: 14px;
  line-height: 1.45;
  color: #6e6e73;
}

/* Authentic Apple Keynote Stat Callout (Spotlight 2) */
.apple-spotlight__stat-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0 28px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  max-width: 440px;
  box-sizing: border-box;
}

.apple-spotlight__stat-number {
  font-size: 42px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.apple-spotlight__stat-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.apple-spotlight__stat-title {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.apple-spotlight__stat-desc {
  font-size: 13px;
  line-height: 1.4;
  color: #6e6e73;
}

/* Authentic Apple Action Link */
.apple-spotlight__action {
  margin-top: 4px;
}

.apple-spotlight__action .apple-link {
  font-size: 17px;
  font-weight: 400;
  color: #0071e3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.apple-spotlight__action .apple-link:hover {
  text-decoration: underline;
}

.apple-spotlight__action .apple-link .arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.apple-spotlight__action .apple-link:hover .arrow {
  transform: translateX(3px);
}

.apple-spotlight__visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Authentic Complete Phone Shell - Exactly Identical to Home Page (index.html) */
.apple-spotlight__visual .phone-shell,
.apple-phone-frame {
  position: relative;
  width: 240px;
  max-width: 100%;
  margin: 0 auto;
  background: #241016;
  padding: 0.8px;
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16), 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
}

.apple-spotlight--dark .apple-spotlight__visual .phone-shell,
.apple-spotlight--dark .apple-phone-frame {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.apple-spotlight__visual .phone-frame-highlight,
.apple-phone-frame .phone-frame-highlight {
  width: 100%;
  background: #e8e9ec;
  padding: 1.2px;
  border-radius: 33.2px;
  box-sizing: border-box;
}

.apple-spotlight__visual .phone-frame-bezel,
.apple-phone-frame .phone-frame-bezel {
  width: 100%;
  background: #000000;
  padding: 3px;
  border-radius: 32px;
  box-sizing: border-box;
  overflow: hidden;
}

.apple-spotlight__visual .phone-frame-bezel img,
.apple-phone-frame .phone-frame-bezel img,
.apple-phone-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 29px;
  margin: 0;
  border: 0;
}

.apple-phone-island {
  display: none !important;
}

/* --- Pattern A: Clean 2-Column Feature & Service Grid (Screenshot 1) --- */
.apple-grid-section {
  padding: 100px 24px;
  background: #ffffff;
}

.apple-grid-section--alt {
  background: #f5f5f7;
}

.apple-grid-section--dark {
  background: #000000;
  color: #ffffff;
}

.apple-grid-inner {
  max-width: 1020px;
  margin: 0 auto;
}

.apple-grid-header {
  margin-bottom: 64px;
  text-align: left;
}

.apple-grid-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.apple-grid-section--dark .apple-grid-header h2 {
  color: #ffffff;
}

.apple-grid-header p {
  font-size: 18px;
  color: #6e6e73;
  margin: 0;
  max-width: 680px;
  line-height: 1.48;
}

.apple-grid-section--dark .apple-grid-header p {
  color: #a1a1a6;
}

.apple-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 60px;
}

@media (max-width: 768px) {
  .apple-grid-container {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }
}

.apple-grid-item {
  /* ZERO BORDERS, ZERO BACKGROUND, ZERO CARDS */
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.apple-grid-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #1d1d1f;
}

.apple-grid-section--dark .apple-grid-icon {
  color: #ffffff;
}

.apple-grid-icon svg {
  width: 44px;
  height: 44px;
}

.apple-grid-item h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.apple-grid-section--dark .apple-grid-item h3 {
  color: #ffffff;
}

.apple-grid-item p {
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0 0 16px;
}

.apple-grid-section--dark .apple-grid-item p {
  color: #a1a1a6;
}

.apple-grid-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0066cc;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.apple-grid-link:hover {
  text-decoration: underline;
}

.apple-grid-link span.arrow {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1;
  margin-top: -1px;
}

/* --- Clean Interactive Canvas Stage (Borderless) --- */
.apple-interactive-stage {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px;
  background: transparent;
  border: none;
}

/* ==========================================================================
   MINIMALIST MICRO-ANIMATIONS & INTERACTIVE CONTROLS
   Zero fake boxes. Pure typography, realistic phone frames, and subtle physics.
   ========================================================================== */

/* --- 1. Web Block: Instant Domain Test Pills & Phone Shield Indicator --- */
.apple-domain-tester {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}

.apple-domain-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #d2d2d7;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.apple-domain-pill:hover {
  border-color: #86868b;
  transform: translateY(-1px);
}

.apple-domain-pill.is-active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.apple-domain-pill--adult {
  border-color: rgba(255, 59, 48, 0.35);
  color: #d70015;
  background: rgba(255, 59, 48, 0.05);
  font-weight: 600;
}

.apple-domain-pill--adult:hover {
  border-color: #ff3b30;
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
}

.apple-domain-pill--adult.is-active {
  background: #d70015;
  border-color: #d70015;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(215, 0, 21, 0.28);
}

/* Apple Minimalist Exit Callout (Spotlight 2) */
.apple-exit-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 24px;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  max-width: 440px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.apple-exit-callout:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

.apple-exit-callout__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #0071e3;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.apple-exit-callout.is-counting .apple-exit-callout__badge {
  background: #ff3b30;
  animation: appleBadgePulse 1s infinite ease-in-out;
}

@keyframes appleBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.apple-exit-callout__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.apple-exit-callout__title {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.apple-exit-callout__desc {
  font-size: 13px;
  line-height: 1.38;
  color: #86868b;
  margin: 0;
}

.apple-shield-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #34c759;
  margin-top: 8px;
  transition: opacity 0.2s ease;
}

.apple-shield-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.6);
  animation: appleShieldPulse 2s infinite ease-in-out;
}

@keyframes appleShieldPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Subtle Phone Pulse Effect on Selection */
.apple-phone-frame.pulse-shield,
.phone-shell.pulse-shield,
.apple-app-screenshot.pulse-shield {
  animation: phoneShieldGlow 0.6s ease-out;
}

@keyframes phoneShieldGlow {
  0% { box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16), 0 0 0 3px #34c759; }
  100% { box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08); }
}

/* --- 2. Analysis: Stock-Style Screen Time Downward Trend Chart --- */
.apple-stock-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 24px 26px 20px;
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.04);
  margin-top: 28px;
  width: 100%;
  max-width: 520px;
  box-sizing: border-box;
}

.apple-stock-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.apple-stock-card__metrics {
  display: flex;
  flex-direction: column;
}

.apple-stock-card__val {
  font-size: 38px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.apple-stock-card__val.is-updating {
  opacity: 0.3;
  transform: translateY(-4px);
}

.apple-stock-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(52, 199, 89, 0.12);
  color: #248a3d;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 980px;
  margin-top: 6px;
  align-self: flex-start;
}

.apple-stock-card__pills {
  display: inline-flex;
  gap: 4px;
  background: #f5f5f7;
  padding: 3px;
  border-radius: 980px;
}

.apple-stock-pill {
  padding: 5px 14px;
  border-radius: 980px;
  border: none;
  background: transparent;
  color: #6e6e73;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.apple-stock-pill:hover {
  color: #1d1d1f;
}

.apple-stock-pill.is-active {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* SVG Chart Canvas */
.apple-stock-canvas-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  margin-bottom: 6px;
  cursor: crosshair;
}

.apple-stock-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.apple-stock-guide {
  stroke: rgba(0, 0, 0, 0.05);
  stroke-dasharray: 4 4;
}

#stock-line-path {
  transition: stroke-dashoffset 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}

#stock-clip-rect {
  transition: width 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}

#stock-area-path {
  transition: opacity 0.5s ease;
}

#stock-live-beacon {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: stock-beacon-fadein 0.35s ease 1.1s forwards;
}

@keyframes stock-beacon-fadein {
  from { opacity: 0; transform: scale(0.2); }
  to { opacity: 1; transform: scale(1); }
}

#stock-beacon-ring {
  animation: stock-beacon-pulse 2s infinite ease-out;
  transform-origin: center;
}

@keyframes stock-beacon-pulse {
  0% { r: 5px; opacity: 1; stroke-width: 2; }
  100% { r: 16px; opacity: 0; stroke-width: 0.5; }
}

/* Floating Tooltip */
.apple-stock-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  background: #1d1d1f;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -120%);
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  z-index: 10;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.apple-stock-tooltip__day {
  color: #86868b;
}

.apple-stock-tooltip__val {
  color: #34c759;
  font-weight: 700;
}

.apple-stock-y-label {
  font-size: 10px;
  font-weight: 600;
  fill: #86868b;
  text-anchor: end;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

@keyframes stock-dot-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  65% {
    transform: scale(1.45);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.apple-stock-node-dot {
  fill: #34c759;
  stroke: #ffffff;
  stroke-width: 2;
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: stock-dot-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transition: r 0.2s ease, fill 0.2s ease, stroke-width 0.2s ease;
}

.apple-stock-node-dot:hover,
.apple-stock-node-dot.is-active {
  r: 6px;
  stroke-width: 2.5;
  fill: #248a3d;
}

/* X-Axis */
.apple-stock-axis {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 38px 0 10px;
}

.apple-stock-axis span {
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}

.apple-stock-axis span:hover,
.apple-stock-axis span.is-active {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.apple-stock-axis .is-today {
  color: #0071e3;
  font-weight: 700;
}

.apple-stock-axis .is-today:hover,
.apple-stock-axis .is-today.is-active {
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
}

/* --- 3. Block Intensity: Steve Jobs Keynote Stage & Pure Typography --- */
.apple-segmented-control {
  display: inline-flex;
  gap: 4px;
  background: #ebebee;
  padding: 4px;
  border-radius: 999px;
  margin: 28px 0 36px;
}

.apple-segment-pill {
  padding: 9px 24px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #6e6e73;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.apple-segment-pill:hover {
  color: #1d1d1f;
}

.apple-segment-pill.is-active {
  background: #ffffff;
  color: #1d1d1f;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.04);
}

.apple-mode-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.apple-mode-content.is-hidden {
  display: none;
  opacity: 0;
  transform: translateY(6px);
}

.apple-feature-text-block h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 8px;
}

.apple-feature-text-block p {
  font-size: 16px;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0;
  max-width: 440px;
}

/* Obsidian Glass Keynote Stage */
.steve-intensity-stage {
  width: 100%;
  max-width: 470px;
  min-height: 490px;
  background: #0c0c0f;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  color: #ffffff;
  user-select: none;
}

.steve-view {
  display: none;
  opacity: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.steve-view.is-active {
  display: flex;
  opacity: 1;
}

/* Stage Eyebrow Badges */
.steve-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.steve-stage-badge.is-soft {
  background: rgba(251, 191, 36, 0.12);
  color: #ffd84d;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.steve-stage-badge.is-strict {
  background: rgba(255, 59, 48, 0.14);
  color: #ff453a;
  border: 1px solid rgba(255, 59, 48, 0.3);
}

/* Ambient Backlights */
.steve-glow-soft {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: steveAuraPulse 4s infinite ease-in-out;
}

.steve-glow-strict {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: steveAuraPulse 2.8s infinite ease-in-out;
}

@keyframes steveAuraPulse {
  0%, 100% { transform: translateX(-50%) scale(0.95); opacity: 0.7; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

/* Soft Mode Widgets */
.steve-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 16px;
}

.steve-target-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #f5f7fb;
}

.steve-timer-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steve-timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.steve-timer-bg {
  fill: none;
  stroke: rgba(255, 216, 77, 0.14);
  stroke-width: 8;
}

.steve-timer-bar {
  fill: none;
  stroke: #ffd84d;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.steve-timer-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steve-timer-num {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.steve-timer-unit {
  font-size: 11px;
  font-weight: 700;
  color: #ffd84d;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.steve-stage-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.steve-stage-desc {
  font-size: 13.5px;
  color: #a1a1aa;
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.4;
}

.steve-stage-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.steve-unlock-btn {
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 216, 77, 0.35);
  background: rgba(255, 216, 77, 0.1);
  color: #ffd84d;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.steve-unlock-btn.is-ready {
  background: #ffd84d;
  border-color: #ffd84d;
  color: #000000;
  box-shadow: 0 4px 18px rgba(255, 216, 77, 0.35);
}

.steve-cost-note {
  font-size: 12px;
  color: #71717a;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Strict Mode: The Interlude Meteor Star Centerpiece */
.steve-meteor-hero {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 6px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steve-meteor-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 59, 48, 0.25);
  animation: steveMeteorPulse 3s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes steveMeteorPulse {
  0% { transform: scale(0.65); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

.steve-meteor-img {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(255, 216, 77, 0.45));
  animation: steveMeteorFloat 3.5s infinite ease-in-out;
}

@keyframes steveMeteorFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

/* Interlude Deduction Floating Pill */
.steve-deduct-pill {
  position: absolute;
  top: 10px;
  right: -8px;
  z-index: 3;
  background: #d70015;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(215, 0, 21, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: stevePillBounce 2s infinite ease-in-out;
}

@keyframes stevePillBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.steve-strict-spec-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.steve-strict-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 4px 0;
  color: #d4d4d8;
}

.steve-strict-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.steve-strict-val {
  font-weight: 700;
  color: #ff453a;
}

.steve-strict-val.is-gold {
  color: #ffd84d;
}

.steve-override-btn {
  width: 100%;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff3b30, #d70015);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  box-shadow: 0 4px 18px rgba(255, 59, 48, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.steve-override-btn:active {
  transform: scale(0.98);
}

/* --- 4. Location Lock: Minimalist Radar Ring --- */
.apple-radar-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-radar-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 113, 227, 0.25);
}

.apple-radar-ring {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.08);
  border: 2px solid #0071e3;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-radar-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0071e3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

.apple-radar-dot svg {
  width: 16px;
  height: 16px;
}

.apple-place-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.apple-place-pill {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid #d2d2d7;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-place-pill:hover {
  border-color: #86868b;
}

.apple-place-pill.is-active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}

/* --- 5. Permissions: Platform Panels & Privacy Whitepaper Ledger --- */
.platform-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.platform-panel.is-active {
  display: block;
  opacity: 1;
}

.apple-ledger-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid #e5e5ea;
}

.apple-ledger-row {
  display: grid;
  grid-template-columns: 200px 1fr 130px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #e5e5ea;
  text-align: left;
}

@media (max-width: 720px) {
  .apple-ledger-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
}

.apple-ledger-row__name {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.apple-ledger-row__desc {
  font-size: 14px;
  line-height: 1.5;
  color: #6e6e73;
}

.apple-ledger-row__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #f5f5f7;
  color: #86868b;
  text-align: center;
  white-space: nowrap;
}

/* --- 6. Rules: Interactive Countdown Dial Micro-Animation --- */
.countdown-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-dial {
  position: relative;
  width: 160px;
  height: 160px;
}

.countdown-dial svg {
  transform: rotate(-90deg);
  width: 160px;
  height: 160px;
}

.countdown-dial circle {
  fill: none;
  stroke-width: 8;
}

.countdown-dial__track {
  stroke: #e5e5ea;
}

.countdown-dial__progress {
  stroke: #0071e3;
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 95;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.countdown-dial__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-dial__time {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
}

.countdown-dial__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #86868b;
  margin-top: 2px;
}

.countdown-controls {
  margin-top: 20px;
}

.countdown-preset-pills {
  display: flex;
  gap: 8px;
}

.countdown-pill {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: #f5f5f7;
  color: #1d1d1f;
  border: 1px solid #d2d2d7;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.countdown-pill:hover {
  border-color: #86868b;
}

.countdown-pill.is-active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}

/* Rules Page: View Toggle Controls */
.rules-view-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.rules-toggle-btn {
  padding: 6px 18px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  background: #f5f5f7;
  color: #6e6e73;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rules-toggle-btn:hover {
  color: #1d1d1f;
  background: #e8e8ed;
}

.rules-toggle-btn.is-active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}

.apple-rules-location-banner {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Apple Multi-Column Footer */
.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .footer__columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  color: #f5f5f7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}

.footer__col a {
  display: block;
  font-size: 12px;
  color: #86868b;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: #f5f5f7;
}

/* --- 7. Rules: Apple Interactive Showcase (Stage Manager Pattern) --- */
.rules-showcase-section {
  padding: 40px 24px 80px;
  max-width: 1060px;
  margin: 0 auto;
}

/* Apple Segmented Pill Tab Bar */
.rules-tab-bar-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.rules-tab-bar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: #f5f5f7;
  border-radius: 999px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rules-tab-bar::-webkit-scrollbar {
  display: none;
}

.rules-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #6e6e73;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.rules-tab-btn:hover {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.04);
}

.rules-tab-btn.is-active {
  background: #1d1d1f;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

/* The Main Showcase Stage Card */
.rules-stage-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

/* Individual Rule Panels */
.rules-panel {
  display: none;
  padding: 64px 64px;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.rules-panel.is-active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.rules-panel__content {
  flex: 0.95;
  max-width: 420px;
}

.rules-panel__title {
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.rules-panel__desc {
  font-size: 17px;
  line-height: 1.55;
  color: #6e6e73;
  margin: 0;
}

/* Stage Stage Animation Wrapper - Clean, Spacious, Vector-Sharp */
.rules-panel__stage {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 360px;
  min-height: 330px;
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 44px 32px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Bottom Nav Controller: Prev, Next, and Indicator Dots */
.rules-stage-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.rules-nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.rules-nav-arrow svg {
  width: 18px;
  height: 18px;
}

.rules-nav-arrow:hover {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.rules-nav-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d2d2d7;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.rules-nav-dot.is-active {
  background: #1d1d1f;
  width: 22px;
  border-radius: 999px;
}

@media (max-width: 860px) {
  .rules-showcase-section {
    padding: 30px 16px 60px;
  }
  .rules-panel {
    flex-direction: column;
    padding: 36px 24px;
    gap: 36px;
  }
  .rules-panel__content {
    max-width: 100%;
    text-align: center;
  }
  .rules-panel__meta {
    justify-content: center;
  }
  .rules-panel__stage {
    width: 100%;
    min-width: auto;
  }
}

/* Common Pill Badge */
.anim-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #6e6e73;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.anim-pill.is-blocked {
  background: rgba(255, 59, 48, 0.12) !important;
  border-color: rgba(255, 59, 48, 0.2) !important;
  color: #ff3b30 !important;
  font-weight: 600;
}

.anim-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.anim-dot--blue { background: #0071e3; box-shadow: 0 0 6px rgba(0, 113, 227, 0.4); }
.anim-dot--purple { background: #af52de; box-shadow: 0 0 6px rgba(175, 82, 222, 0.4); }
.anim-dot--green { background: #34c759; box-shadow: 0 0 6px rgba(52, 199, 89, 0.4); }
.anim-dot--red { background: #ff3b30; box-shadow: 0 0 6px rgba(255, 59, 48, 0.4); }

@keyframes animPulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.anim-dot--pulse {
  animation: animPulseRing 1.2s infinite ease-in-out;
}

/* Universal Tabular Time Label */
.anim-time-label {
  width: 44px;
  min-width: 44px;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #86868b;
  text-align: center;
  flex-shrink: 0;
}
.anim-time-label--target {
  color: #af52de;
  font-weight: 700;
}

/* 1. Countdown Clock Dial - Enriched Scale */
.anim-clock-dial {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anim-clock-dial--lg {
  width: 124px;
  height: 124px;
}

.anim-dial-svg {
  width: 88px;
  height: 88px;
  transform: rotate(-90deg);
}

.anim-dial-svg--lg {
  width: 124px;
  height: 124px;
}

.anim-dial-track {
  fill: none;
  stroke: #e5e5ea;
  stroke-width: 4.5;
}

.anim-dial-fill {
  fill: none;
  stroke: #0071e3;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 239;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.3s ease;
}

.anim-dial-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anim-dial-digits {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.anim-dial-digits--lg {
  font-size: 26px;
}

/* 2. End Time: Calendar Date Picker & Lock Animation */
.anim-cal-card {
  width: 250px;
  height: 186px;
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-cal-card.is-locked {
  border-color: rgba(175, 82, 222, 0.45);
  box-shadow: 0 8px 30px rgba(175, 82, 222, 0.18);
}

.anim-cal-view {
  position: absolute;
  inset: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

/* State 1: Setup */
.anim-cal-view--setup {
  justify-content: space-between;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.anim-cal-card.is-locked .anim-cal-view--setup {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.anim-cal-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f5f7;
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
}

.anim-cal-chip-icon {
  font-size: 14px;
}

.anim-cal-date-val {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}

.anim-cal-check {
  font-size: 12px;
  color: #34c759;
  font-weight: 800;
}

.anim-cal-picker-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0;
}

.anim-cal-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 5px 14px;
  min-width: 56px;
}

.anim-cal-col-val {
  font-size: 20px;
  font-weight: 700;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1.1;
}

.anim-cal-col-lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: #86868b;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.anim-cal-colon {
  font-size: 20px;
  font-weight: 700;
  color: #86868b;
  margin-top: -10px;
}

.anim-cal-btn {
  background: #0071e3;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 7px 0;
  border-radius: 980px;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
  cursor: pointer;
  letter-spacing: -0.01em;
}

/* State 2: Locked */
.anim-cal-view--locked {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.anim-cal-card.is-locked .anim-cal-view--locked {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.anim-cal-lock-ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(175, 82, 222, 0.12);
  border: 1px solid rgba(175, 82, 222, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  animation: pulse-cal-ring 2s infinite ease-in-out;
}

@keyframes pulse-cal-ring {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(175, 82, 222, 0.2); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(175, 82, 222, 0); }
}

.anim-cal-lock-icon {
  font-size: 24px;
  line-height: 1;
}

.anim-cal-lock-title {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.anim-cal-lock-time {
  font-size: 13px;
  font-weight: 700;
  color: #af52de;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.anim-cal-lock-sub {
  font-size: 11px;
  font-weight: 500;
  color: #86868b;
  letter-spacing: -0.01em;
}

.anim-pill.is-locked-purple {
  background: rgba(175, 82, 222, 0.1) !important;
  border-color: rgba(175, 82, 222, 0.25) !important;
  color: #af52de !important;
  font-weight: 600;
}

/* 3. Schedule 24h Timeline */
.anim-sched-header {
  text-align: center;
}

.anim-sched-current {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.anim-sched-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.anim-sched-track {
  width: 200px;
  height: 18px;
  background: #f0f0f4;
  border-radius: 9px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.anim-sched-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  right: 12%;
  background: rgba(0, 113, 227, 0.22);
  border-radius: 4px;
}

.anim-sched-cursor {
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 14px;
  border-radius: 7px;
  background: #0071e3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: left 0.1s linear;
}

/* 4. Screen Limit */
.anim-screen-bar {
  width: 210px;
  height: 12px;
  background: #e5e5ea;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.anim-screen-fill {
  height: 100%;
  width: 0%;
  background: #34c759;
  border-radius: 999px;
  transition: width 0.25s linear, background-color 0.3s ease;
}

.anim-screen-fill.is-blocked {
  background: #ff3b30;
}

.anim-screen-digits {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

/* 5. Share Screen */
.anim-app-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.anim-app-chip {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.anim-app-chip svg {
  width: 40px;
  height: 40px;
}

.anim-app-chip.is-active {
  box-shadow: 0 0 0 2.5px #0071e3;
  transform: scale(1.1);
}

.anim-app-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 59, 48, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 9px;
}

.anim-app-chip.is-locked .anim-app-overlay {
  opacity: 1;
  transform: scale(1);
}

.anim-app-lock {
  font-size: 18px;
  color: #fff;
  line-height: 1;
}

.anim-shared-bar {
  width: 190px;
  height: 8px;
  background: #e5e5ea;
  border-radius: 999px;
  overflow: hidden;
}

.anim-shared-fill {
  width: 100%;
  height: 100%;
  background: #0071e3;
  border-radius: 999px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.anim-shared-fill.is-empty {
  width: 0%;
  background: #ff3b30;
}

/* 6. Use & Lock Dual-Phase Morphing Effect */
.anim-cooldown-effect {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.anim-cooldown-svg {
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
}

.anim-cooldown-track {
  fill: none;
  stroke: #e5e5ea;
  stroke-width: 4.5;
}

.anim-cooldown-ring {
  fill: none;
  stroke: #34c759;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 176;
  stroke-dashoffset: 35;
  transition: stroke 0.4s ease, stroke-dashoffset 0.4s ease;
}

.anim-cooldown-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.anim-cooldown-glyph {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 4px;
  transition: transform 0.25s ease;
}

.anim-cooldown-digits {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #1d1d1f;
}

.apple-rule-widget--cooldown.is-focus-mode .anim-cooldown-ring {
  stroke: #ff3b30;
}

.apple-rule-widget--cooldown.is-focus-mode {
  box-shadow: 0 0 16px rgba(255, 59, 48, 0.18);
  border-color: rgba(255, 59, 48, 0.28);
}

.apple-rule-widget--cooldown.is-break-mode {
  box-shadow: 0 0 14px rgba(52, 199, 89, 0.16);
  border-color: rgba(52, 199, 89, 0.24);
}

/* 7. Click Limit Interactive Tap Target */
.anim-click-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.anim-tap-target {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #1d1d1f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  font-size: 20px;
  transition: transform 0.1s ease, background-color 0.2s ease;
}

.anim-tap-target:active,
.anim-tap-target.is-tapped {
  transform: scale(0.9);
}

.anim-tap-target.is-locked {
  background: #ff3b30;
  animation: animShake 0.4s ease;
}

@keyframes animShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-3px); }
  40%, 80% { transform: translateX(3px); }
}

.anim-pips {
  display: flex;
  gap: 3px;
}

.anim-pip {
  width: 5px;
  height: 12px;
  border-radius: 2px;
  background: #0071e3;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.anim-pip.is-used {
  background: #e5e5ea;
  opacity: 0.4;
}

/* ========================================================
   LOCATION LOCK: SPATIAL GEOFENCE BIG INTERACTIVE ANIMATION
   ======================================================== */
.geofence-stage-header {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 20px;
  text-align: center;
}

.geofence-stage-title {
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  line-height: 1.25;
  margin: 0;
}

.geofence-stage-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3.4;
  min-height: 420px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.geofence-stage-card.is-zone-active {
  box-shadow: 0 20px 50px rgba(255, 59, 48, 0.14), 0 0 0 1.5px rgba(255, 59, 48, 0.25);
}

.geofence-map-grid {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  background: #fbfbfd;
  overflow: hidden;
}

.geofence-map-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Radar & Perimeter */
.geofence-ring--mid {
  transition: r 0.45s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
}

.geofence-stage-card.is-zone-active .geofence-ring--mid {
  stroke: #ff3b30;
  fill: url(#geo-locked-grad);
  animation: geoRingPulse 2.2s ease-in-out infinite;
}

@keyframes geoRingPulse {
  0%, 100% { stroke-width: 2; opacity: 0.9; }
  50% { stroke-width: 3.5; opacity: 1; }
}

.geofence-sonar-wave {
  transform-origin: 230px 190px;
  animation: geoSonarPulse 2.8s ease-out infinite;
}

@keyframes geoSonarPulse {
  0% { transform: scale(0.6); opacity: 0.75; }
  70% { transform: scale(1.18); opacity: 0.15; }
  100% { transform: scale(1.32); opacity: 0; }
}

/* Target Landmark Node */
.geofence-target-halo {
  transition: all 0.3s ease;
}

.geofence-target-icon {
  user-select: none;
}

.geofence-target-label {
  position: absolute;
  top: 61%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  transition: all 0.3s ease;
}

/* Location Beacon */
.geofence-beacon {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
}

.geofence-beacon-dot {
  width: 14px;
  height: 14px;
  background: #0071e3;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.45);
  margin: 7px auto;
  position: relative;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.geofence-stage-card.is-zone-active .geofence-beacon-dot {
  background: #ff3b30;
  box-shadow: 0 2px 10px rgba(255, 59, 48, 0.6);
}

.geofence-beacon-halo {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.28);
  animation: geoBeaconPulse 1.6s ease-out infinite;
}

.geofence-stage-card.is-zone-active .geofence-beacon-halo {
  background: rgba(255, 59, 48, 0.3);
}

@keyframes geoBeaconPulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.85); opacity: 0; }
}

.geofence-beacon-pill {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #1d1d1f;
  background: #ffffff;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  transition: all 0.25s ease;
}

.geofence-beacon-pill.is-inside {
  background: #ff3b30;
  color: #ffffff;
  border-color: #ff3b30;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
}

/* Top Dynamic Island HUD */
.geofence-hud-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  font-size: 12px;
  font-weight: 500;
  color: #1d1d1f;
  white-space: nowrap;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.geofence-hud-island.is-locked {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.geofence-hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0071e3;
  transition: all 0.3s ease;
}

.geofence-hud-dot--blue {
  background: #0071e3;
}

.geofence-hud-dot--red {
  background: #ff3b30;
  box-shadow: 0 0 8px #ff3b30;
  animation: geoDotPulse 1.2s ease infinite;
}

@keyframes geoDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* Bottom App Shield HUD */
.geofence-lock-hud {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 10px 16px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.geofence-lock-hud.is-locked {
  background: rgba(29, 29, 31, 0.94);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.geofence-lock-hud__header {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.geofence-lock-hud__title {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  transition: color 0.3s ease;
}

.geofence-lock-hud.is-locked .geofence-lock-hud__title {
  color: #ffffff;
}

.geofence-lock-hud__state {
  font-size: 11px;
  color: #86868b;
  transition: color 0.3s ease;
}

.geofence-lock-hud.is-locked .geofence-lock-hud__state {
  color: #ff3b30;
  font-weight: 500;
}

.geofence-app-chips {
  display: flex;
  align-items: center;
  gap: 8px;
}

.geofence-app-chip {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.geofence-app-chip svg {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.geofence-app-chip.is-locked svg {
  filter: blur(1.5px) grayscale(0.4);
  transform: scale(0.92);
}

.geofence-app-lock {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.geofence-app-chip.is-locked .geofence-app-lock {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 480px) {
  .geofence-stage-card {
    min-height: 380px;
  }
  .geofence-lock-hud {
    padding: 8px 12px;
  }
  .geofence-app-chip {
    width: 28px;
    height: 28px;
  }
}

/* ========================================================
   CALIBRATED FRICTION: AUTOMATIC APPLE ANIMATION STAGE
   ======================================================== */
.apple-friction-specs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.apple-friction-spec h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.apple-friction-spec p {
  font-size: 14px;
  line-height: 1.45;
  color: #6e6e73;
  margin: 0;
  max-width: 420px;
}

.apple-stage-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Top Live Phase Indicator with Progress Bar */
.apple-stage-phases {
  display: inline-flex;
  align-items: center;
  background: #f2f2f7;
  padding: 3px;
  border-radius: 999px;
  gap: 4px;
}

.apple-phase-indicator {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #86868b;
  cursor: pointer;
  user-select: none;
  transition: color 0.25s ease;
}

.apple-phase-indicator.is-active {
  background: #ffffff;
  color: #1d1d1f;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.apple-phase-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #0071e3;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.apple-phase-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.apple-phase-dot--soft {
  background: #ff9500;
}

.apple-phase-dot--strict {
  background: #ff3b30;
}

/* ========================================================
   SPOTLIGHT 1: TWIN CENTERED CARDS (IMAGE 2 REFERENCE STYLE)
   ======================================================== */
.apple-spotlight--cards {
  width: 100%;
  padding: 88px 24px 108px;
  background: #fbfbfd;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.apple-spotlight__center-header {
  text-align: center;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto 52px;
}

.apple-spotlight__center-header .apple-spotlight__heading {
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  line-height: 1.15;
  margin: 0;
}

.apple-twin-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
  box-sizing: border-box;
}

.apple-twin-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 530px;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.apple-twin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.apple-twin-card--soft {
  background: radial-gradient(circle at 50% 26%, rgba(0, 113, 227, 0.045) 0%, #ffffff 68%);
}

.apple-twin-card--strict {
  background: radial-gradient(circle at 50% 26%, rgba(255, 149, 0, 0.045) 0%, #ffffff 68%);
}

/* The upper interactive showcase stage */
.apple-twin-card__stage {
  flex: 1;
  min-height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
}

.apple-twin-card__view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-twin-card__view--locked {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
  gap: 16px;
}

.apple-twin-card__stage.is-open .apple-twin-card__view--locked {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.apple-twin-card__view--unlocked {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  z-index: 2;
  gap: 14px;
}

.apple-twin-card__stage.is-open .apple-twin-card__view--unlocked {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* App Icon with Lock on it */
.apple-app-icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-twin-card__stage:hover .apple-app-icon-wrap {
  transform: scale(1.03);
}

.apple-app-icon {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
}

.apple-app-lock-badge {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.apple-app-lock-badge.is-tapping {
  transform: scale(0.88);
  background: rgba(0, 0, 0, 0.58);
}

/* Keynote-Style Simulated Tap Indicator */
.app-mock-finger {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.app-mock-finger.is-active {
  opacity: 1;
  transform: scale(1.18);
}

.apple-app-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.apple-app-name {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.apple-app-status {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.apple-app-status--soft {
  color: #0071e3;
  background: rgba(0, 113, 227, 0.08);
}

.apple-app-status--strict {
  color: #d70015;
  background: rgba(215, 0, 21, 0.08);
}

/* Unlocked Showcase Typography & Elements */
.apple-stage-headline {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.015em;
  margin: 0;
}

.apple-stage-sub {
  font-size: 13px;
  font-weight: 500;
  color: #86868b;
  text-align: center;
  margin: 0;
  line-height: 1.35;
}

/* Soft Mode Circular Breathing Timer */
.apple-stage-breath {
  position: relative;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-stage-breath-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.apple-stage-breath-track {
  fill: none;
  stroke: #f2f2f7;
  stroke-width: 5;
}

.apple-stage-breath-stroke {
  fill: none;
  stroke: #0071e3;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.95s linear;
}

.apple-stage-breath-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-stage-breath-num {
  font-size: 26px;
  font-weight: 700;
  color: #0071e3;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Strict Mode Interlude Meteor Token */
.apple-stage-token-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-stage-token-halo {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.22) 0%, rgba(255, 180, 0, 0) 70%);
  animation: appleHaloPulse 3.6s ease-in-out infinite;
}

.apple-stage-meteor {
  width: 68px;
  height: 68px;
  display: block;
  position: relative;
  z-index: 2;
  animation: appleMeteorFloat 3.6s ease-in-out infinite;
}

/* Card Bottom Footer: Guaranteed Pixel-Perfect Alignment */
.apple-twin-card__footer {
  padding: 28px 32px 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(250, 250, 252, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-sizing: border-box;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
}

.apple-twin-card__meta {
  margin-bottom: 2px;
}

.apple-twin-card__badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-block;
}

.apple-twin-card__badge--soft {
  color: #0071e3;
  background: rgba(0, 113, 227, 0.08);
}

.apple-twin-card__badge--strict {
  color: #d70015;
  background: rgba(215, 0, 21, 0.08);
}

.apple-twin-card__title {
  font-size: 19px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
}

.apple-twin-card__desc {
  font-size: 14px;
  line-height: 1.45;
  color: #6e6e73;
  margin: 0;
}

@keyframes appleMeteorFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.04);
  }
}

@keyframes appleHaloPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}

.apple-meteor-orb--pulsing {
  animation: appleMeteorFloat 3.8s ease-in-out infinite;
}

.apple-canvas-glow--strict {
  animation: appleHaloPulse 3.8s ease-in-out infinite;
}

.apple-canvas-glow--soft {
  animation: appleHaloPulse 5s ease-in-out infinite;
}

@media (max-width: 820px) {
  .apple-twin-cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .apple-twin-card {
    max-width: 100%;
    width: 100%;
    min-height: auto;
  }
}

/* Pure Apple Feature Canvas (No Phone Hardware - Image 2 Style) */
.apple-feature-canvas {
  position: relative;
  width: 100%;
  max-width: 440px;
  min-height: 400px;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.apple-canvas-scene {
  position: absolute;
  inset: 0;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.apple-canvas-scene.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Ambient Radial Glow */
.apple-canvas-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  opacity: 0.65;
  z-index: 0;
}

.apple-canvas-glow--soft {
  background: radial-gradient(circle, rgba(0, 113, 227, 0.18) 0%, rgba(52, 199, 89, 0.1) 60%, rgba(255, 255, 255, 0) 100%);
}

.apple-canvas-glow--strict {
  background: radial-gradient(circle, rgba(245, 209, 102, 0.3) 0%, rgba(255, 59, 48, 0.12) 60%, rgba(255, 255, 255, 0) 100%);
}

/* Soft Mode: Breathing Progress */
.apple-breath-visual {
  position: relative;
  width: 156px;
  height: 156px;
  margin: auto 0;
  z-index: 2;
}

.apple-breath-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.apple-breath-track {
  fill: none;
  stroke: #f2f2f7;
  stroke-width: 5;
}

.apple-breath-stroke {
  fill: none;
  stroke: #0071e3;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 427;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.15s linear, stroke 0.3s ease;
}

.apple-breath-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.apple-breath-num {
  font-size: 46px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.apple-breath-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #86868b;
  margin-top: 4px;
}

/* Strict Mode: Meteor Token Showcase */
.apple-strict-visual {
  position: relative;
  width: 140px;
  height: 140px;
  margin: auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.apple-meteor-orb {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 209, 102, 0.3) 0%, rgba(245, 209, 102, 0.05) 60%, transparent 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.apple-meteor-orb.is-flashing {
  transform: scale(1.18);
  background: radial-gradient(circle, rgba(245, 209, 102, 0.5) 0%, rgba(245, 209, 102, 0.15) 65%, transparent 85%);
  box-shadow: 0 0 32px rgba(245, 209, 102, 0.45);
}

.apple-canvas-meteor {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(245, 209, 102, 0.6));
}

/* Canvas Meta Description & Badges */
.apple-canvas-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  z-index: 2;
  width: 100%;
}

.apple-canvas-title {
  font-size: 19px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.apple-canvas-desc {
  font-size: 13.5px;
  color: #6e6e73;
  margin: 0;
  line-height: 1.45;
  max-width: 290px;
}

.apple-token-pill {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  font-variant-numeric: tabular-nums;
}

.apple-token-pill.is-burned {
  color: #b27a00;
  background: rgba(229, 169, 60, 0.15);
  font-weight: 700;
}

.apple-canvas-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.apple-canvas-badge--soft {
  background: #f2f2f7;
  color: #6e6e73;
}

.apple-canvas-badge--soft.is-ready {
  background: #eaf8ee;
  color: #34c759;
  border: 1px solid rgba(52, 199, 89, 0.3);
}

.apple-canvas-badge--strict {
  background: #1d1d1f;
  color: #ffffff;
}

.apple-canvas-badge--strict.is-active {
  background: #fff8e6;
  color: #b27a00;
  border: 1px solid rgba(229, 169, 60, 0.4);
  font-variant-numeric: tabular-nums;
}


/* ========================================================
   SPOTLIGHT 2: APPLE SPECIFICATION LIST (COMPARISON STYLE)
   ======================================================== */
.apple-spotlight__copy--specs {
  max-width: 600px;
}

.apple-spotlight__copy--specs .apple-spotlight__heading {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.028em;
  color: #1d1d1f;
  line-height: 1.15;
  margin: 0 0 36px;
}

.apple-specs-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  width: 100%;
}

.apple-spec-item {
  display: flex;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.apple-spec-item:last-child {
  border-bottom: none;
}

.apple-spec-item__icon {
  width: 54px;
  min-width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
  color: #1d1d1f;
  flex-shrink: 0;
}

.apple-spec-item__text {
  font-size: 18px;
  line-height: 1.44;
  color: #1d1d1f;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.apple-spec-item__text strong {
  color: #1d1d1f;
  font-weight: 700;
}

.apple-pricing-kicker {
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.015em;
  display: block;
  margin-bottom: 4px;
}

.apple-pricing-sub {
  font-size: 14px;
  color: #86868b;
}

.apple-price-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.apple-price-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.apple-price-card:hover {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.apple-price-card__left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.apple-price-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.015em;
}

.apple-price-card__desc {
  font-size: 13px;
  color: #86868b;
  line-height: 1.35;
}

.apple-price-card__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.apple-price-card__savings {
  font-size: 15px;
  font-weight: 600;
  color: #b8860b;
  letter-spacing: -0.01em;
}

.apple-price-card__price {
  font-size: 21px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

/* Interlude Screenshot & Layout in Spotlight 2 */
.apple-spotlight__copy--pricing {
  max-width: 540px;
}

.apple-spotlight__visual--center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-app-screenshot,
.apple-interlude-screenshot {
  max-width: 320px;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: #000000;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-app-screenshot:hover,
.apple-interlude-screenshot:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.22), 0 6px 20px rgba(0, 0, 0, 0.08);
}

.apple-app-screenshot__img,
.apple-interlude-screenshot__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   WEB BLOCK REDESIGN - PRODUCT-LED APPLE CINEMATIC STORYTELLING
   ========================================================================== */

.wb-body {
  background: #ffffff;
  color: #1d1d1f;
  overflow-x: hidden;
}

/* Act 1: The Opening & Hero */
.wb-hero-section {
  padding: 80px 24px 120px;
  text-align: center;
  position: relative;
  background: #ffffff;
}

.wb-hero-header {
  max-width: 860px;
  margin: 0 auto 52px;
}

.wb-hero-title {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin: 0;
  text-wrap: balance;
}

/* Dramatic Hero Product Stage */
.wb-stage {
  position: relative;
  max-width: 1080px;
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

/* Scaled Elegant Phone Device */
.wb-hero-device {
  position: relative;
  width: 290px;
  max-width: 82vw;
  background: #1c1c1e;
  border-radius: 42px;
  padding: 1.5px;
  box-shadow: 0 36px 90px -18px rgba(0, 0, 0, 0.2),
              0 14px 32px -8px rgba(0, 0, 0, 0.08),
              0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  z-index: 2;
  margin: 0 auto;
}

.wb-stage.is-slammed .wb-hero-device {
  animation: wbDeviceRecoil 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

@keyframes wbDeviceRecoil {
  0% { transform: scale(1); }
  30% { transform: scale(0.988) translateY(1px); }
  65% { transform: scale(1.004); }
  100% { transform: scale(1); }
}

.wb-hero-device:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 46px 110px -18px rgba(0, 0, 0, 0.24),
              0 18px 40px -8px rgba(0, 0, 0, 0.1),
              0 0 0 1px rgba(0, 0, 0, 0.1);
}

.wb-hero-device .phone-frame-highlight {
  width: 100%;
  background: #3a3a3c;
  padding: 1.2px;
  border-radius: 40.8px;
  box-sizing: border-box;
}

.wb-hero-device .phone-frame-bezel {
  width: 100%;
  background: #000000;
  padding: 4px;
  border-radius: 39.6px;
  box-sizing: border-box;
  overflow: hidden;
}

.wb-hero-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
}

/* Floating Satellite Pills with Heavy Impact Slam Physics */
.wb-floating-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08), 0 4px 14px rgba(0, 0, 0, 0.04);
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  z-index: 3;
  user-select: none;
  opacity: 0;
  pointer-events: none;
  transform-origin: center center;
}

.wb-stage.is-slammed .wb-floating-pill {
  pointer-events: auto;
}

.wb-stage.is-slammed .wb-floating-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.12), 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.wb-floating-pill--left {
  left: calc(50% - 290px);
  top: 20%;
}

.wb-floating-pill--right {
  right: calc(50% - 300px);
  top: 36%;
}

.wb-floating-pill--bottom {
  left: calc(50% - 250px);
  bottom: 12%;
}

/* "廣告紙大力貼上牆" - High Velocity Impact & Settle Keyframes */
@keyframes pillSlamLeft {
  0% {
    opacity: 0;
    transform: scale(2.4) translate3d(-30px, -45px, 0) rotate(-10deg);
    filter: blur(8px);
    box-shadow: 0 80px 120px rgba(0, 0, 0, 0.16);
  }
  60% {
    opacity: 1;
    transform: scale(0.91) translate3d(2px, 3px, 0) rotate(1deg);
    filter: blur(0px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28), 0 2px 5px rgba(0, 0, 0, 0.16);
  }
  80% {
    transform: scale(1.04) translate3d(-1px, -1px, 0) rotate(-0.4deg);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0) rotate(0deg);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08), 0 4px 14px rgba(0, 0, 0, 0.04);
  }
}

@keyframes pillSlamRight {
  0% {
    opacity: 0;
    transform: scale(2.5) translate3d(35px, -45px, 0) rotate(10deg);
    filter: blur(8px);
    box-shadow: 0 80px 120px rgba(0, 0, 0, 0.16);
  }
  60% {
    opacity: 1;
    transform: scale(0.91) translate3d(-2px, 3px, 0) rotate(-1deg);
    filter: blur(0px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28), 0 2px 5px rgba(0, 0, 0, 0.16);
  }
  80% {
    transform: scale(1.04) translate3d(1px, -1px, 0) rotate(0.4deg);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0) rotate(0deg);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08), 0 4px 14px rgba(0, 0, 0, 0.04);
  }
}

@keyframes pillSlamBottom {
  0% {
    opacity: 0;
    transform: scale(2.3) translate3d(0, 50px, 0) rotate(-6deg);
    filter: blur(8px);
    box-shadow: 0 80px 120px rgba(0, 0, 0, 0.16);
  }
  60% {
    opacity: 1;
    transform: scale(0.92) translate3d(0, -3px, 0) rotate(0.8deg);
    filter: blur(0px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28), 0 2px 5px rgba(0, 0, 0, 0.16);
  }
  80% {
    transform: scale(1.03) translate3d(0, 1px, 0) rotate(-0.3deg);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0) rotate(0deg);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08), 0 4px 14px rgba(0, 0, 0, 0.04);
  }
}

.wb-stage.is-slammed .wb-floating-pill--left {
  animation: pillSlamLeft 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

.wb-stage.is-slammed .wb-floating-pill--right {
  animation: pillSlamRight 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
}

.wb-stage.is-slammed .wb-floating-pill--bottom {
  animation: pillSlamBottom 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.48s forwards;
}

.wb-pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  flex-shrink: 0;
}

.wb-pill-icon--reddit {
  background: #ff4500;
  color: #ffffff;
}

.wb-pill-icon--reddit svg {
  width: 16px;
  height: 16px;
  display: block;
}

.wb-pill-icon--crimson {
  background: rgba(255, 59, 48, 0.12);
  color: #d70015;
}

.wb-pill-icon--sync {
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
}

.wb-pill-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: #1d1d1f;
  color: #ffffff;
}

.wb-pill-badge--crimson {
  background: #d70015;
  color: #ffffff;
}

/* Responsive adjustment for floating pills */
@media (max-width: 980px) {
  .wb-stage {
    min-height: auto;
    flex-direction: column;
    gap: 20px;
    padding: 0 16px;
  }
  .wb-floating-pill {
    position: static;
    margin: 6px auto;
  }
  .wb-floating-pill--left,
  .wb-floating-pill--right,
  .wb-floating-pill--bottom {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  @keyframes pillSlamMobile {
    0% {
      opacity: 0;
      transform: scale(1.35) translateY(-14px);
      filter: blur(4px);
    }
    65% {
      opacity: 1;
      transform: scale(0.96) translateY(2px);
      filter: blur(0px);
    }
    100% {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }

  .wb-stage.is-slammed .wb-floating-pill:nth-child(1) {
    animation: pillSlamMobile 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
  }
  .wb-stage.is-slammed .wb-floating-pill:nth-child(2) {
    animation: pillSlamMobile 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.24s forwards;
  }
  .wb-stage.is-slammed .wb-floating-pill:nth-child(3) {
    animation: pillSlamMobile 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.40s forwards;
  }
}

/* Act 2: The 5-Second Intervention */
.wb-intervention-section {
  position: relative;
  background: #f5f5f7;
  padding: 160px 24px 140px;
  overflow: hidden;
  text-align: center;
}

/* Enormous Sculptural 5s Backdrop */
.wb-giant-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(200px, 34vw, 480px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(0, 0, 0, 0.038);
  user-select: none;
  pointer-events: none;
  z-index: 1;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.5s ease;
}

.wb-moment-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.wb-moment-title {
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin: 0 auto 16px;
  max-width: 720px;
  text-wrap: balance;
}

.wb-moment-sub {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  color: #6e6e73;
  letter-spacing: -0.01em;
  max-width: 580px;
  margin: 0 auto 64px;
}

/* 5s Centerpiece Stage */
.wb-intervention-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: 880px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .wb-intervention-stage {
    flex-direction: column;
    gap: 40px;
  }
}

/* Secondary phone device */
.wb-moment-device {
  width: 290px;
  max-width: 80vw;
  background: #1c1c1e;
  border-radius: 42px;
  padding: 1.5px;
  box-shadow: 0 36px 90px -15px rgba(0, 0, 0, 0.2),
              0 14px 32px -8px rgba(0, 0, 0, 0.08),
              0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease;
  margin: 0 auto;
}

.wb-moment-device .phone-frame-highlight {
  width: 100%;
  background: #3a3a3c;
  padding: 1.2px;
  border-radius: 40.8px;
  box-sizing: border-box;
}

.wb-moment-device .phone-frame-bezel {
  width: 100%;
  background: #000000;
  padding: 4px;
  border-radius: 39.6px;
  box-sizing: border-box;
  overflow: hidden;
}

.wb-moment-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 35px;
}

/* Interactive 5s Breathing Dial */
.wb-timer-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 28px;
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 280px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.07), 0 4px 14px rgba(0, 0, 0, 0.03);
  user-select: none;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.wb-timer-card:hover {
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.1), 0 6px 18px rgba(0, 0, 0, 0.05);
}

.wb-timer-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.wb-timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.wb-timer-track {
  fill: none;
  stroke: rgba(0, 0, 0, 0.06);
  stroke-width: 6;
}

.wb-timer-fill {
  fill: none;
  stroke: #0071e3;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 276.46;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear, stroke 0.3s ease;
}

.wb-timer-digit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.wb-timer-number {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #1d1d1f;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.wb-timer-unit {
  font-size: 20px;
  font-weight: 600;
  color: #86868b;
  margin-left: 1px;
}

.wb-timer-status {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.wb-timer-hint {
  font-size: 13px;
  line-height: 1.4;
  color: #86868b;
}

.wb-timer-card.is-defended .wb-timer-status {
  color: #34c759;
}

/* Act 3: Restrained Architectural Specification */
.wb-specs-section {
  padding: 120px 24px 140px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.wb-specs-inner {
  max-width: 980px;
  margin: 0 auto;
}

.wb-specs-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.wb-specs-title {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin: 0 0 14px;
  text-wrap: balance;
}

.wb-specs-sub {
  font-size: 18px;
  color: #6e6e73;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.wb-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

@media (max-width: 820px) {
  .wb-specs-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.wb-spec-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wb-spec-name {
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.015em;
}

.wb-spec-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e73;
}

/* ==========================================================================
   RAPT 36-Day Free Trial & Referral Program - Apple Design Standard
   Applied to: trial.html
   ========================================================================== */

/* --- Hero Display Section --- */
.apple-trial-hero {
  background: #ffffff;
  padding: 110px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.apple-trial-hero__inner {
  max-width: 920px;
  margin: 0 auto;
}

.apple-trial-hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #86868b;
  margin-bottom: 16px;
  display: inline-block;
}

.apple-trial-hero__title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #1d1d1f;
  margin: 0 0 24px;
}

.apple-trial-hero__gradient {
  background: linear-gradient(135deg, #0071e3 0%, #30d158 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.apple-trial-hero__sub {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.48;
  color: #6e6e73;
  max-width: 720px;
  margin: 0 auto 44px;
  letter-spacing: -0.01em;
}

/* Apple Metric Equation Strip (Zero card borders, pure typography) */
.apple-trial-equation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 18px 32px;
  background: #f5f5f7;
  border-radius: 999px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.apple-eq-node {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.apple-eq-num {
  font-size: 26px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  line-height: 1;
}

.apple-eq-label {
  font-size: 13px;
  font-weight: 500;
  color: #6e6e73;
  letter-spacing: -0.005em;
}

.apple-eq-op {
  font-size: 18px;
  font-weight: 600;
  color: #a1a1a6;
  line-height: 1;
}

.apple-eq-node--total .apple-eq-num {
  color: #0071e3;
}

.apple-eq-node--total .apple-eq-label {
  color: #0071e3;
  font-weight: 600;
}

@media (max-width: 640px) {
  .apple-trial-equation {
    border-radius: 20px;
    padding: 16px 20px;
    gap: 12px;
  }
  .apple-eq-num {
    font-size: 20px;
  }
  .apple-eq-label {
    font-size: 11px;
  }
}

/* Hero Download CTA & Guarantee */
.apple-trial-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 36px;
}

.apple-trial-hero__actions .store-badges {
  margin-top: 0;
}

.apple-trial-hero__guarantee {
  font-size: 13px;
  font-weight: 500;
  color: #86868b;
  margin: 14px 0 0;
  letter-spacing: -0.01em;
}

/* --- Section Headers (Apple Standard) --- */
.apple-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.apple-section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #86868b;
  margin-bottom: 12px;
  display: block;
}

.apple-section-title {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: #1d1d1f;
  margin: 0 0 16px;
}

.apple-section-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.48;
  color: #6e6e73;
  margin: 0;
  letter-spacing: -0.005em;
}

/* --- Section 2: Progressive Stacking Timeline --- */
.apple-trial-timeline-section {
  padding: 110px 24px;
  background: #f5f5f7;
}

.apple-timeline-inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* Continuous Horizontal Stepper (Zero cards, floating architecture) */
.apple-stepper-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: start;
}

/* Background static track line */
.apple-stepper-track::before {
  content: "";
  position: absolute;
  top: 24px;
  left: calc((100% - 84px) / 8);
  right: calc((100% - 84px) / 8);
  height: 2px;
  background: #d2d2d7;
  z-index: 1;
}

/* Dynamic sequential connecting line traveling in Apple Black */
.apple-stepper-track::after {
  content: "";
  position: absolute;
  top: 24px;
  left: calc((100% - 84px) / 8);
  width: calc(100% - (100% - 84px) / 4);
  height: 2px;
  background: #1d1d1f;
  z-index: 1;
  transform-origin: left center;
  animation: animTrackProgress 11s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes animTrackProgress {
  0%, 21% { transform: scaleX(0); opacity: 1; }
  24%, 45% { transform: scaleX(0.3333); opacity: 1; }
  48%, 69% { transform: scaleX(0.6666); opacity: 1; }
  72%, 94% { transform: scaleX(1); opacity: 1; }
  96%, 98% { transform: scaleX(1); opacity: 1; }
  99%, 100% { transform: scaleX(0); opacity: 0; }
}

.apple-stepper-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.apple-stepper-step:hover {
  transform: translateY(-2px);
}

.apple-stepper-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #d2d2d7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #86868b;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

/* Sequential Black Node Animations (1 -> 2 -> 3 -> 4) */
.step-col--1 .apple-stepper-node {
  animation: animNode1 11s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes animNode1 {
  0%, 94% {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08);
  }
  98%, 100% {
    background: #ffffff;
    border-color: #d2d2d7;
    color: #86868b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
}

.step-col--2 .apple-stepper-node {
  animation: animNode2 11s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes animNode2 {
  0%, 22% {
    background: #ffffff;
    border-color: #d2d2d7;
    color: #86868b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  24%, 94% {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08);
  }
  98%, 100% {
    background: #ffffff;
    border-color: #d2d2d7;
    color: #86868b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
}

.step-col--3 .apple-stepper-node {
  animation: animNode3 11s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes animNode3 {
  0%, 46% {
    background: #ffffff;
    border-color: #d2d2d7;
    color: #86868b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  48%, 94% {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08);
  }
  98%, 100% {
    background: #ffffff;
    border-color: #d2d2d7;
    color: #86868b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
}

.step-col--4 .apple-stepper-node {
  animation: animNode4 11s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes animNode4 {
  0%, 70% {
    background: #ffffff;
    border-color: #d2d2d7;
    color: #86868b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  72%, 94% {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.08);
  }
  98%, 100% {
    background: #ffffff;
    border-color: #d2d2d7;
    color: #86868b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
}

.apple-stepper-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86868b;
  margin-bottom: 6px;
  display: block;
  text-align: center;
  transition: color 0.3s ease;
}

.step-col--1 .apple-stepper-tag { animation: animTag1 11s ease infinite; }
@keyframes animTag1 {
  0%, 94% { color: #1d1d1f; font-weight: 700; }
  98%, 100% { color: #86868b; font-weight: 600; }
}

.step-col--2 .apple-stepper-tag { animation: animTag2 11s ease infinite; }
@keyframes animTag2 {
  0%, 22% { color: #86868b; font-weight: 600; }
  24%, 94% { color: #1d1d1f; font-weight: 700; }
  98%, 100% { color: #86868b; font-weight: 600; }
}

.step-col--3 .apple-stepper-tag { animation: animTag3 11s ease infinite; }
@keyframes animTag3 {
  0%, 46% { color: #86868b; font-weight: 600; }
  48%, 94% { color: #1d1d1f; font-weight: 700; }
  98%, 100% { color: #86868b; font-weight: 600; }
}

.step-col--4 .apple-stepper-tag { animation: animTag4 11s ease infinite; }
@keyframes animTag4 {
  0%, 70% { color: #86868b; font-weight: 600; }
  72%, 94% { color: #1d1d1f; font-weight: 700; }
  98%, 100% { color: #86868b; font-weight: 600; }
}

.apple-stepper-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #1d1d1f;
  margin: 0 0 4px;
  line-height: 1.25;
  text-align: center;
}

.apple-stepper-desc {
  font-size: 14px;
  line-height: 1.48;
  color: #6e6e73;
  margin: 0 0 12px;
}

/* ==========================================================================
   Apple 4-Step Animated Micro-Interactions (Monochrome B&W, Sequential on 11s)
   ========================================================================== */
.apple-anim-stage {
  width: 100%;
  height: 120px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  padding: 16px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.step-col--1 .apple-anim-stage { animation: animStage1 11s ease infinite; }
@keyframes animStage1 {
  0%, 22% { border-color: rgba(0, 113, 227, 0.3); box-shadow: 0 8px 24px rgba(0, 113, 227, 0.08); }
  24%, 94% { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04); }
  98%, 100% { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04); }
}

.step-col--2 .apple-anim-stage { animation: animStage2 11s ease infinite; }
@keyframes animStage2 {
  0%, 22% { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04); }
  24%, 46% { border-color: rgba(0, 113, 227, 0.3); box-shadow: 0 8px 24px rgba(0, 113, 227, 0.08); }
  48%, 94% { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04); }
  98%, 100% { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04); }
}

.step-col--3 .apple-anim-stage { animation: animStage3 11s ease infinite; }
@keyframes animStage3 {
  0%, 46% { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04); }
  48%, 70% { border-color: rgba(0, 113, 227, 0.3); box-shadow: 0 8px 24px rgba(0, 113, 227, 0.08); }
  72%, 94% { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04); }
  98%, 100% { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04); }
}

.step-col--4 .apple-anim-stage { animation: animStage4 11s ease infinite; }
@keyframes animStage4 {
  0%, 70% { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04); }
  72%, 94% { border-color: rgba(0, 113, 227, 0.3); box-shadow: 0 8px 24px rgba(0, 113, 227, 0.08); }
  98%, 100% { border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04); }
}

/* --- Animation 1: App Store Download --- */
.anim-dl-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.anim-dl-app-info {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.anim-dl-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: block;
}

.anim-dl-text-wrap {
  display: flex;
  flex-direction: column;
}

.anim-dl-title {
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.2;
}

.anim-dl-sub {
  font-size: 11px;
  color: #86868b;
  line-height: 1.2;
}

.anim-dl-btn-box {
  position: relative;
  width: 60px;
  height: 26px;
}

.anim-dl-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 26px;
  border-radius: 999px;
  background: #0071e3;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
  animation: animDlBtn 11s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes animDlBtn {
  0%, 3% {
    width: 60px;
    background: #0071e3;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
  }
  5%, 15% {
    width: 26px;
    background: transparent;
    color: transparent;
    box-shadow: none;
  }
  17%, 94% {
    width: 60px;
    background: #0071e3;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
  }
  98%, 100% {
    width: 60px;
    background: #0071e3;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
  }
}

.anim-dl-spinner {
  position: absolute;
  right: 0;
  top: 0;
  width: 26px;
  height: 26px;
  pointer-events: none;
  animation: animDlSpinOpacity 11s ease infinite;
}

@keyframes animDlSpinOpacity {
  0%, 4% { opacity: 0; }
  5%, 15% { opacity: 1; }
  17%, 100% { opacity: 0; }
}

.anim-dl-spinner circle.track {
  fill: none;
  stroke: #e5e5ea;
  stroke-width: 2.5;
}

.anim-dl-spinner circle.fill {
  fill: none;
  stroke: #0071e3;
  stroke-width: 2.5;
  stroke-dasharray: 63;
  stroke-dashoffset: 63;
  transform-origin: 50% 50%;
  animation: animDlCircle 11s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes animDlCircle {
  0%, 4% { stroke-dashoffset: 63; transform: rotate(-90deg); }
  15%, 94% { stroke-dashoffset: 0; transform: rotate(270deg); }
  98%, 100% { stroke-dashoffset: 63; transform: rotate(-90deg); }
}

/* --- Animation 2: Input 6-char Code & Enter Key --- */
.anim-code-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px 12px;
  width: 100%;
  max-width: 196px;
  box-sizing: border-box;
  animation: animCodeInputFocus 11s ease infinite;
}

@keyframes animCodeInputFocus {
  0%, 22% { border-color: rgba(0, 0, 0, 0.08); box-shadow: none; }
  24%, 44% { border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15); }
  46%, 100% { border-color: rgba(0, 0, 0, 0.08); box-shadow: none; }
}

.anim-code-icon {
  color: #86868b;
  flex-shrink: 0;
}

.anim-code-text-display {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: 0.08em;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
}

.anim-code-chars {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: animTypeChars 11s steps(6) infinite;
}

@keyframes animTypeChars {
  0%, 24% { width: 0; }
  27%, 38% { width: 6ch; }
  39%, 94% { width: 6ch; }
  98%, 100% { width: 0; }
}

.anim-code-cursor {
  width: 2px;
  height: 14px;
  background: #0071e3;
  display: inline-block;
  margin-left: 2px;
  animation: animBlink 0.8s infinite;
}

@keyframes animBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.anim-code-enter-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #0071e3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  animation: animEnterTap 11s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes animEnterTap {
  0%, 38% { transform: scale(1); background: #0071e3; }
  40% { transform: scale(0.82); background: #005bb5; }
  42%, 94% { transform: scale(1); background: #0071e3; }
  98%, 100% { transform: scale(1); background: #0071e3; }
}

/* --- Animation 3: Three Circles Filling Sequentially --- */
.anim-circles-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 204px;
  padding: 0;
  position: relative;
  margin: 0 auto;
}

.anim-c-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.anim-c-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #d2d2d7;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #86868b;
  position: relative;
  transition: all 0.3s ease;
}

.anim-c-num,
.anim-c-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.anim-c-slot--1 .anim-c-dot { animation: animDot1 11s ease infinite; }
.anim-c-slot--1 .anim-c-num { animation: animNum1 11s ease infinite; }
.anim-c-slot--1 .anim-c-check { animation: animCheck1 11s ease infinite; }

.anim-c-slot--2 .anim-c-dot { animation: animDot2 11s ease infinite; }
.anim-c-slot--2 .anim-c-num { animation: animNum2 11s ease infinite; }
.anim-c-slot--2 .anim-c-check { animation: animCheck2 11s ease infinite; }

.anim-c-slot--3 .anim-c-dot { animation: animDot3 11s ease infinite; }
.anim-c-slot--3 .anim-c-num { animation: animNum3 11s ease infinite; }
.anim-c-slot--3 .anim-c-check { animation: animCheck3 11s ease infinite; }

@keyframes animDot1 {
  0%, 48% { background: #f5f5f7; border-color: #d2d2d7; }
  51%, 94% { background: #0071e3; border-color: #0071e3; transform: scale(1.06); }
  98%, 100% { background: #f5f5f7; border-color: #d2d2d7; transform: scale(1); }
}

@keyframes animNum1 {
  0%, 48% { opacity: 1; }
  51%, 94% { opacity: 0; }
  98%, 100% { opacity: 1; }
}

@keyframes animCheck1 {
  0%, 48% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  51%, 94% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  98%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
}

@keyframes animDot2 {
  0%, 57% { background: #f5f5f7; border-color: #d2d2d7; }
  60%, 94% { background: #0071e3; border-color: #0071e3; transform: scale(1.06); }
  98%, 100% { background: #f5f5f7; border-color: #d2d2d7; transform: scale(1); }
}

@keyframes animNum2 {
  0%, 57% { opacity: 1; }
  60%, 94% { opacity: 0; }
  98%, 100% { opacity: 1; }
}

@keyframes animCheck2 {
  0%, 57% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  60%, 94% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  98%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
}

@keyframes animDot3 {
  0%, 65% { background: #f5f5f7; border-color: #d2d2d7; box-shadow: none; }
  68%, 94% { background: #0071e3; border-color: #0071e3; transform: scale(1.06); box-shadow: 0 2px 10px rgba(0, 113, 227, 0.2); }
  98%, 100% { background: #f5f5f7; border-color: #d2d2d7; transform: scale(1); box-shadow: none; }
}

@keyframes animNum3 {
  0%, 65% { opacity: 1; }
  68%, 94% { opacity: 0; }
  98%, 100% { opacity: 1; }
}

@keyframes animCheck3 {
  0%, 65% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  68%, 94% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  98%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
}

.anim-c-line {
  flex: 1;
  height: 2px;
  background: #d2d2d7;
  margin: 0 -2px 14px;
  position: relative;
  z-index: 1;
}

.anim-c-line--1 { animation: animLine1 11s ease infinite; }
.anim-c-line--2 { animation: animLine2 11s ease infinite; }

@keyframes animLine1 {
  0%, 53% { background: #d2d2d7; }
  56%, 94% { background: #0071e3; }
  98%, 100% { background: #d2d2d7; }
}

@keyframes animLine2 {
  0%, 62% { background: #d2d2d7; }
  65%, 94% { background: #0071e3; }
  98%, 100% { background: #d2d2d7; }
}

.anim-c-label {
  font-size: 10px;
  font-weight: 600;
  color: #86868b;
}

/* --- Animation 4: Total 36 Days Complete Shield (Pixel-Perfect Dial & Math Alignment) --- */
.anim-shield-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 58px;
  width: 100%;
}

.anim-total-dial {
  position: relative;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.anim-total-svg {
  width: 58px;
  height: 58px;
  display: block;
  transform: none !important;
}

.anim-total-track {
  fill: none;
  stroke: #e5e5ea;
  stroke-width: 4;
}

.anim-total-fill {
  fill: none;
  stroke: #0071e3;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 163.36;
  stroke-dashoffset: 163.36;
  animation: animTotalFill 11s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes animTotalFill {
  0%, 72% { stroke-dashoffset: 163.36; }
  82%, 94% { stroke-dashoffset: 0; }
  98%, 100% { stroke-dashoffset: 163.36; }
}

.anim-total-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
  box-sizing: border-box;
}

.anim-total-number {
  font-size: 21px;
  font-weight: 800;
  color: #1d1d1f;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  display: block;
  margin: 0;
  padding: 0;
  transform: translateY(1px);
}

.anim-total-days {
  font-size: 8px;
  font-weight: 700;
  color: #0071e3;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-top: 3px;
  text-transform: uppercase;
  display: block;
}

.anim-shield-sum {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.anim-shield-sum-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #6e6e73;
}

.anim-shield-sum-pill {
  padding: 3px 8px;
  border-radius: 6px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.anim-shield-sum-pill--bonus {
  background: rgba(0, 113, 227, 0.08);
  color: #0071e3;
  border-color: rgba(0, 113, 227, 0.2);
  font-weight: 700;
}

@media (max-width: 900px) {
  .apple-stepper-track {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .apple-stepper-track::before {
    top: 24px;
    bottom: 24px;
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .apple-stepper-track::after {
    display: none;
  }
  .apple-stepper-step {
    padding-left: 64px;
    align-items: flex-start;
    text-align: left;
  }
  .apple-stepper-node {
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
  }
}

/* --- Section 3: In-App Referral Spotlight Split --- */

.apple-referral-split {
  padding: 120px 24px;
  background: #ffffff;
  overflow: hidden;
}

.apple-referral-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;
}

@media (max-width: 960px) {
  .apple-referral-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* Phone Stage with Floating Satellite Badges */
.apple-referral-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.apple-referral-device {
  width: 100%;
  max-width: 320px;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  border-radius: 40px;
}

.apple-referral-device .phone-frame-highlight {
  width: 100%;
  background: #2c2c2e;
  padding: 2px;
  border-radius: 40px;
  box-sizing: border-box;
}

.apple-referral-device .phone-frame-bezel {
  width: 100%;
  background: #000000;
  padding: 3px;
  border-radius: 38px;
  box-sizing: border-box;
  overflow: hidden;
}

.apple-referral-device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 35px;
}

/* Floating Satellite Callouts around phone */
.apple-referral-satellite {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  white-space: nowrap;
  animation: appleFloat 4s ease-in-out infinite alternate;
}

.apple-satellite--top-right {
  top: 12%;
  right: -36px;
}

.apple-satellite--bottom-left {
  bottom: 22%;
  left: -42px;
  animation-delay: -2s;
}

@keyframes appleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@media (max-width: 600px) {
  .apple-satellite--top-right {
    right: -10px;
    top: 6%;
    font-size: 11px;
    padding: 8px 12px;
  }
  .apple-satellite--bottom-left {
    left: -10px;
    bottom: 12%;
    font-size: 11px;
    padding: 8px 12px;
  }
}

.apple-satellite-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
}
.apple-satellite-dot--gold { background: #ffd60a; }

/* Referral Spotlight Copy (Apple Cupertino Typography) */
.apple-referral-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

.apple-referral-heading {
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin: 0 0 20px;
}

.apple-referral-lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  font-weight: 400;
  color: #6e6e73;
  margin: 0;
}

/* Interactive In-App Mechanism Widget */
.apple-sim-box {
  background: #f5f5f7;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.apple-sim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.apple-sim-title {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.apple-sim-status {
  font-size: 13px;
  font-weight: 600;
  color: #0071e3;
}

/* Simulator Code Field */
.apple-sim-code-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.apple-sim-code-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: 0.05em;
  flex: 1;
}

.apple-sim-copy-btn {
  background: #0071e3;
  color: #ffffff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.apple-sim-copy-btn:hover {
  background: #0077ed;
}

.apple-sim-copy-btn:active {
  transform: scale(0.96);
}

/* Simulator Interactive 3-Friend Tracker */
.apple-sim-friends {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apple-sim-friends-bar {
  width: 100%;
  height: 8px;
  background: #e5e5ea;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.apple-sim-friends-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0071e3, #34c759);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-sim-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.apple-sim-fbtn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #6e6e73;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.apple-sim-fbtn.is-active {
  background: #e8f8ee;
  border-color: #34c759;
  color: #1b7a37;
  font-weight: 600;
}

.apple-sim-toast {
  font-size: 13px;
  font-weight: 600;
  color: #1b7a37;
  min-height: 18px;
  text-align: center;
  transition: opacity 0.2s ease;
}

/* --- Section 5: Trust & Zero-Risk Principles --- */
.apple-trust-section {
  padding: 100px 24px;
  background: #ffffff;
}

.apple-trust-inner {
  max-width: 1020px;
  margin: 0 auto;
}

.apple-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

@media (max-width: 820px) {
  .apple-trust-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.apple-trust-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apple-trust-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #0071e3;
  margin-bottom: 8px;
}

.apple-trust-icon svg {
  width: 38px;
  height: 38px;
}

.apple-trust-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #1d1d1f;
  margin: 0;
}

.apple-trust-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0;
}

/* --- Section 6: Apple Editorial FAQ Accordion --- */
.apple-faq-section {
  padding: 110px 24px;
  background: #f5f5f7;
}

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

.apple-faq-list {
  display: flex;
  flex-direction: column;
}

.apple-faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.apple-faq-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.apple-faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  font-family: inherit;
  transition: opacity 0.2s ease;
}

.apple-faq-button:hover {
  opacity: 0.7;
}

.apple-faq-q {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #1d1d1f;
  line-height: 1.3;
}

.apple-faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86868b;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-faq-icon svg {
  width: 20px;
  height: 20px;
}

.apple-faq-item.is-open .apple-faq-icon {
  transform: rotate(45deg);
  color: #0071e3;
}

.apple-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-faq-item.is-open .apple-faq-panel {
  max-height: 280px;
}

.apple-faq-answer {
  font-size: 16px;
  line-height: 1.55;
  color: #6e6e73;
  padding-bottom: 24px;
  margin: 0;
}

/* --- Section 7: Minimalist Keynote Download CTA --- */
.apple-trial-cta {
  padding: 120px 24px;
  background: #ffffff;
  text-align: center;
}

.apple-trial-cta__inner {
  max-width: 680px;
  margin: 0 auto;
}

.apple-trial-cta__title {
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #1d1d1f;
  margin: 0 0 16px;
}

.apple-trial-cta__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.48;
  color: #6e6e73;
  margin: 0 auto 36px;
}

.apple-trial-cta__badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.apple-store-btn {
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.apple-store-btn:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.apple-store-btn img {
  height: 44px;
  width: auto;
  display: block;
}

/* Minimalist Apple Closing CTA */
.apple-trial-closing {
  padding: 96px 24px 104px;
  background: #f5f5f7;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.apple-closing-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.apple-closing-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #1d1d1f;
  margin: 0 0 28px;
}

.apple-closing-inner .store-badges {
  margin: 0;
}

/* ==========================================================================
   RAPT Account Management - True Apple Minimalist Standards
   Applies to: account.html
   ========================================================================== */

.apple-acc-page {
  background: #ffffff;
  color: #1d1d1f;
  min-height: 100vh;
}

/* Local Nav Strip */
.apple-acc-subnav {
  position: sticky;
  top: 48px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.apple-acc-subnav__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.apple-acc-subnav__title {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
}

.apple-acc-subnav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.apple-acc-subnav__link {
  font-size: 13px;
  color: #6e6e73;
  text-decoration: none;
  transition: color 0.2s ease;
}

.apple-acc-subnav__link:hover {
  color: #0071e3;
}

/* Hero Section */
.apple-acc-hero {
  padding: 96px 24px 44px;
  text-align: left;
}

.apple-acc-hero__inner {
  max-width: 980px;
  margin: 0 auto;
}

.apple-acc-hero__title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin: 0;
}

/* Editorial Sections Container */
.apple-acc-sections {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

/* Apple 2-Column Editorial Row */
.apple-acc-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  padding: 44px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  scroll-margin-top: 96px;
}

.apple-acc-row__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #1d1d1f;
  margin: 0;
}

.apple-acc-row__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.apple-acc-row__text {
  font-size: 17px;
  line-height: 1.55;
  color: #48484a;
  margin: 0;
}

/* Minimal tags for connected items */
.apple-acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.apple-acc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f5f5f7;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
}

.apple-acc-tag svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Apple Blue Action Link with Chevron */
.apple-acc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 400;
  color: #0071e3;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.apple-acc-link:hover {
  text-decoration: underline;
  gap: 7px;
}

.apple-acc-link .chevron {
  font-size: 16px;
  line-height: 1;
}

/* Apple Primary Action Button */
.apple-acc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: #1d1d1f;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.apple-acc-btn:hover {
  background: #df3f34;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Apple Clean Light Footer */
.apple-acc-footer {
  background: #f5f5f7;
  padding: 32px 24px 40px;
  font-size: 12px;
  color: #86868b;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.apple-acc-footer__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.apple-acc-footer__links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.apple-acc-footer a {
  color: #6e6e73;
  text-decoration: none;
  transition: color 0.2s ease;
}

.apple-acc-footer a:hover {
  color: #1d1d1f;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .apple-acc-hero {
    padding: 52px 20px 36px;
  }
  .apple-acc-sections {
    padding: 0 20px 80px;
  }
  .apple-acc-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }
  .apple-acc-row__title {
    font-size: 21px;
  }
  .apple-acc-row__text {
    font-size: 16px;
  }
  .apple-acc-subnav__links {
    gap: 16px;
  }
  .apple-acc-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   RAPT Account Deletion - Apple Design Standard
   Applied to: delete-account.html
   ========================================================================== */

.apple-del-hero,
.apple-del-page .apple-acc-hero {
  text-align: center;
  padding: 68px 24px 36px;
}

.apple-del-hero__title,
.apple-del-page .apple-acc-hero__title {
  text-align: center;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .apple-del-hero,
  .apple-del-page .apple-acc-hero {
    padding: 44px 20px 24px;
  }
  .apple-del-hero__title,
  .apple-del-page .apple-acc-hero__title {
    font-size: clamp(24px, 6.5vw, 30px);
  }
}

.apple-del-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.apple-delete-wrap {
  max-width: 540px;
  margin: 0 auto 56px;
  width: 100%;
}

.delete-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 44px 38px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  text-align: left;
}

.delete-card[hidden] {
  display: none !important;
}

.delete-card h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin: 0 0 10px;
}

.delete-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0 0 24px;
}

/* Apple Buttons in Delete Card & Modals */
.delete-card .button,
.modal-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-decoration: none;
  font-family: inherit;
}

.delete-card .button-dark,
.modal-card .button-dark {
  background: #1d1d1f;
  color: #ffffff;
}

.delete-card .button-dark:hover,
.modal-card .button-dark:hover {
  background: #000000;
  transform: scale(1.01);
}

.delete-card .button-light,
.modal-card .button-light {
  background: #f5f5f7;
  color: #1d1d1f;
}

.delete-card .button-light:hover,
.modal-card .button-light:hover {
  background: #e8e8ed;
}

.delete-card .danger,
.modal-card .danger {
  background: #ff3b30;
  color: #ffffff;
}

.delete-card .danger:hover,
.modal-card .danger:hover {
  background: #d70015;
  transform: scale(1.01);
}

/* Subtle Divider */
.delete-card .or {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0;
  font-size: 13px;
  color: #86868b;
}

.delete-card .or:before,
.delete-card .or:after {
  content: "";
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  flex: 1;
}

/* Form Fields */
.delete-form {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
}

.field input {
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #fbfbfd;
  padding: 0 16px;
  font-size: 15px;
  color: #1d1d1f;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  width: 100%;
}

.field input:focus {
  border-color: #0071e3;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.16);
}

/* Messages & Feedback */
.delete-message {
  font-size: 14px;
  line-height: 1.45;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff2f1;
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: #d70015;
  margin-top: 18px;
}

.delete-message[hidden],
.modal[hidden] {
  display: none !important;
}

/* Warning List */
.warning-list {
  display: grid;
  gap: 0;
  margin: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
}

.warning-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.warning-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 4px;
}

.warning-item span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #6e6e73;
}

/* Countdown */
.delete-countdown {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  text-align: center;
  margin: 28px 0;
  font-variant-numeric: tabular-nums;
}

.delete-actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
  margin-top: 24px;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10000;
}

.modal-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  text-align: left;
  box-sizing: border-box;
}

.modal-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}

.modal-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0 0 16px;
}

@media (max-width: 600px) {
  .delete-card {
    padding: 32px 22px;
    border-radius: 20px;
  }
}








