/* ==========================================================================
   WHY MIRACLE IT — REALISTIC TABLET DEVICE FRAME & HORIZONTAL STORYTELLING
   A Practical, Honest Approach to Tech Education
   Miracle IT Career Academy — Bhopal
   ========================================================================== */

.why-section {
  background-color: var(--color-bg-alt, #07090E);
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
  color: #F8FAFC;
}

.why-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Section Header (Compact, balanced vertical rhythm)
   -------------------------------------------------------------------------- */
.why-header {
  text-align: center;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  max-width: 780px;
}

.why-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FF9433;
  background: rgba(255, 122, 0, 0.12);
  border: 1px solid rgba(255, 122, 0, 0.28);
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.why-header h2,
.why-main-heading {
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  color: #FFFFFF;
  margin-top: 0.15rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-weight: 800;
}

.why-header .text-lead,
.why-subheading {
  font-size: clamp(0.88rem, 1.15vw, 0.98rem);
  color: #94A3B8;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 700px;
}

/* ==========================================================================
   REALISTIC PHYSICAL TABLET DEVICE CHASSIS & PERSPECTIVE STAGE
   Precision-engineered aerospace titanium/graphite framing
   ========================================================================== */
.tablet-perspective-stage {
  perspective: 1600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 auto;
}

.tablet-device-chassis {
  position: relative;
  width: 100%;
  max-width: 1040px;
  /* Multi-layered aerospace titanium/graphite matte finish */
  background: linear-gradient(145deg, #283244 0%, #141A28 35%, #0B101A 75%, #182232 100%);
  border-radius: 32px;
  padding: 11px 11px 13px 11px;
  box-sizing: border-box;
  /* Multi-depth metallic chamfer edges & deep ambient shadows */
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 3px #131A26,
    0 0 0 4.5px rgba(255, 255, 255, 0.08),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.35),
    inset 0 -2px 3px rgba(0, 0, 0, 0.9),
    0 20px 45px -10px rgba(0, 0, 0, 0.8),
    0 35px 75px -15px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(255, 122, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  user-select: none;
}

/* Physical Hardware Details: Sleep / Wake Power Button */
.tablet-power-btn {
  position: absolute;
  top: -3.5px;
  right: 110px;
  width: 50px;
  height: 3.5px;
  background: linear-gradient(180deg, #64748B 0%, #334155 100%);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 -1px 2px rgba(255, 255, 255, 0.25), 0 0 1px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 2;
}

/* Physical Hardware Details: Side Volume Rocker */
.tablet-volume-rocker {
  position: absolute;
  right: -3.5px;
  top: 90px;
  width: 3.5px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.tablet-volume-rocker .vol-btn {
  display: block;
  width: 3.5px;
  height: 36px;
  background: linear-gradient(90deg, #334155 0%, #64748B 100%);
  border-radius: 0 3px 3px 0;
  box-shadow: 1px 0 2px rgba(255, 255, 255, 0.25);
}

/* Micro Stereo Speaker Slots */
.tablet-speaker-slots {
  position: absolute;
  top: -2.5px;
  left: 110px;
  display: flex;
  gap: 4px;
  pointer-events: none;
  z-index: 2;
}

.tablet-speaker-slots i {
  display: block;
  width: 3.5px;
  height: 2.5px;
  background: #090D15;
  border-radius: 1px;
  box-shadow: inset 0 0.5px 1px rgba(0, 0, 0, 0.9);
}

/* Antenna Isolation Bands */
.tablet-antenna-band {
  position: absolute;
  width: 1.5px;
  height: 11px;
  background: rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: 2;
}

.tablet-antenna-band.band-tl { top: 0; left: 36px; }
.tablet-antenna-band.band-tr { top: 0; right: 36px; }

/* Desktop default: hide iPhone-specific mobile elements */
.iphone-btn-action,
.iphone-btn-volup,
.iphone-btn-voldown,
.iphone-btn-power,
.iphone-dynamic-island,
.os-time-mobile,
.iphone-sub-header,
.os-sys-signal {
  display: none;
}

/* Tablet Precision Front Camera & Ambient Sensor Cluster Notch */
.tablet-camera-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  height: 7px;
  z-index: 12;
  pointer-events: none;
}

.tablet-camera-housing {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #060910;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.95), 0 0 0 0.5px rgba(255, 255, 255, 0.18);
}

.tablet-camera-lens {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #38BDF8 0%, #1D4ED8 45%, #050B14 100%);
  position: relative;
  box-shadow: 0 0 2px rgba(56, 189, 248, 0.7);
}

.lens-core {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: radial-gradient(circle, #1E293B 0%, #050914 100%);
}

.lens-glint {
  position: absolute;
  top: 0.5px;
  left: 0.5px;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 1px #FFFFFF;
}

.tablet-sensor-dot {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #070B14;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
}

.tablet-mic-hole {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #050810;
}

.tablet-privacy-led {
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #10B981;
  opacity: 0.9;
  box-shadow: 0 0 4px #10B981;
}

/* Realistic Physical Desk Contact & Occlusion Shadow */
.tablet-desk-shadow {
  position: absolute;
  bottom: -16px;
  left: 5%;
  right: 5%;
  height: 32px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 75%);
  filter: blur(12px);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* Specular Diagonal Glass Glare Sheen */
.tablet-glass-glare {
  position: absolute;
  inset: 11px 11px 13px 11px;
  border-radius: 20px;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 22%,
    transparent 38%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 8;
}

/* ==========================================================================
   TABLET OLED DISPLAY SCREEN BEZEL & AMBIENCE
   Proportioned display height so section & slides fit screen view size
   ========================================================================== */
.tablet-screen-bezel {
  position: relative;
  background: #080D1A;
  background: radial-gradient(circle at 50% 0%, #0E172B 0%, #080C17 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    inset 0 1px 3px rgba(255, 255, 255, 0.08),
    inset 0 -1px 3px rgba(0, 0, 0, 0.6),
    0 4px 20px rgba(0, 0, 0, 0.5);
  /* Perfect desktop/laptop height: fits cleanly in 768px - 1080p screen view */
  height: clamp(450px, 52vh, 490px);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

/* Ambient Display Backdrop */
.tablet-screen-ambience {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.amb-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

.amb-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.amb-orb-a {
  top: -20%;
  left: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.08) 0%, transparent 70%);
}

.amb-orb-b {
  bottom: -20%;
  right: 15%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.07) 0%, transparent 70%);
}

/* Native Tablet Home Indicator Bar */
.tablet-home-indicator {
  width: 110px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  margin: 2px auto 5px auto;
  flex-shrink: 0;
  transition: background 0.25s ease;
  z-index: 10;
}

/* --------------------------------------------------------------------------
   Tablet OS Header / Status Bar (MiracleOS)
   -------------------------------------------------------------------------- */
.tablet-os-bar {
  height: 38px;
  min-height: 38px;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.15rem;
  z-index: 9;
}

.os-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.74rem;
  color: #94A3B8;
}

.os-brand {
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: 0.02em;
}

.os-version {
  color: #38BDF8;
  font-size: 0.66rem;
  font-weight: 600;
}

.os-dot-separator {
  color: rgba(255, 255, 255, 0.2);
}

.os-location {
  color: #64748B;
  font-size: 0.7rem;
}

.os-center {
  display: flex;
  align-items: center;
}

.tablet-chapter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.75rem;
  background: rgba(255, 122, 0, 0.14);
  border: 1px solid rgba(255, 122, 0, 0.32);
  border-radius: 9999px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #FF9433;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.chapter-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  animation: pulseLiveDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.os-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.os-badge-pill {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.66rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
}

.os-sys-wifi {
  color: #94A3B8;
  display: flex;
  align-items: center;
}

.os-time {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #CBD5E1;
}

.os-battery {
  width: 18px;
  height: 9px;
  border: 1.5px solid #94A3B8;
  border-radius: 2.5px;
  padding: 1px;
  position: relative;
  display: flex;
  align-items: center;
}

.os-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 1.5px;
  width: 2px;
  height: 3.5px;
  background: #94A3B8;
  border-radius: 0 1px 1px 0;
}

.battery-level {
  display: block;
  width: 90%;
  height: 100%;
  background: #10B981;
  border-radius: 1px;
}

/* ==========================================================================
   HORIZONTAL STORYTELLING VIEWPORT & TRACK (5 SLIDES)
   Fix: viewport is block so track stretches to exact 500% without shrinking
   ========================================================================== */
.tablet-story-viewport {
  flex: 1 1 auto;
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 5;
  display: block; /* MUST BE BLOCK so flex child doesn't shrink! */
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.tablet-story-viewport.is-dragging {
  cursor: grabbing !important;
}

.tablet-story-track {
  display: flex;
  width: 500%;
  min-width: 500%;
  max-width: 500%;
  flex-shrink: 0;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Individual Slide (Comfortable, breathable layout) */
.tablet-slide {
  width: 20%;
  min-width: 20%;
  max-width: 20%;
  flex: 0 0 20%;
  height: 100%;
  padding: 1.25rem 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.slide-content-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Kicker Row */
.slide-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.slide-tag {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38BDF8;
}

.slide-badge-meta {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.slide-title {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem 0;
}

.slide-sub {
  font-size: clamp(0.82rem, 1.05vw, 0.9rem);
  color: #94A3B8;
  line-height: 1.45;
  margin: 0 0 0.95rem 0;
  max-width: 820px;
}

/* --------------------------------------------------------------------------
   SLIDE 01: 70/30 Formula & 3-Phase Daily Routine Grid
   -------------------------------------------------------------------------- */
.ratio-bar-track {
  width: 100%;
  height: 32px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.ratio-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0 0.85rem;
  white-space: nowrap;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ratio-coding {
  background: linear-gradient(90deg, #FF7A00 0%, #EA580C 100%);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 16px rgba(255, 122, 0, 0.35);
}

.ratio-theory {
  background: linear-gradient(90deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ratio-text-mobile {
  display: none;
}

/* 3-Phase Daily Routine Grid */
.daily-routine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.routine-phase {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.routine-phase:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.routine-phase.phase-active {
  background: rgba(255, 122, 0, 0.07);
  border-color: rgba(255, 122, 0, 0.35);
  box-shadow: 0 4px 18px rgba(255, 122, 0, 0.1);
}

.phase-time {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FF9433;
  margin-bottom: 0.3rem;
  display: inline-block;
}

.routine-phase strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.routine-phase p {
  font-size: 0.76rem;
  color: #94A3B8;
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   SLIDES 02 & 03: Feature Pillar Cards (2 Columns)
   -------------------------------------------------------------------------- */
.pillars-slide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.pillar-story-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.05rem 1.2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.pillar-story-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.pillar-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.pillar-icon-box svg {
  width: 18px;
  height: 18px;
}

.blue-box {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.emerald-box {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.amber-box {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.purple-box {
  background: rgba(168, 85, 247, 0.12);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.28);
}

.pillar-heading {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
}

.pillar-sub {
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.45;
  margin: 0 0 0.75rem 0;
  flex: 1;
}

.pillar-footer-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pillar-footer-tag span {
  font-size: 0.7rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.18rem 0.55rem;
}

/* --------------------------------------------------------------------------
   SLIDE 04: The Transparency Comparison Matrix Dashboard
   -------------------------------------------------------------------------- */
.comp-matrix-dashboard {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.comp-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-row:not(.comp-header-row):hover {
  background: rgba(255, 255, 255, 0.02);
}

.comp-header-row {
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.comp-factor {
  font-size: 0.78rem;
  font-weight: 700;
  color: #38BDF8;
}

.comp-trad {
  font-size: 0.76rem;
  color: #94A3B8;
  line-height: 1.35;
}

.comp-miracle {
  font-size: 0.78rem;
  font-weight: 600;
  color: #10B981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 5px;
  padding: 0.2rem 0.55rem;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   SLIDE 05: The Ethical Transparency Pledge Card
   -------------------------------------------------------------------------- */
.pledge-card-wrap {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 122, 0, 0.25);
  border-radius: 16px;
  padding: 1.15rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pledge-seal {
  width: 52px;
  height: 52px;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 4px 10px rgba(255, 122, 0, 0.35));
}

.seal-ring-outer {
  fill: none;
  stroke: #FF7A00;
  stroke-width: 2;
  opacity: 0.7;
}

.seal-ring-dash {
  fill: none;
  stroke: #FF9433;
  stroke-width: 1.5;
  stroke-dasharray: 4, 3;
}

.seal-tick {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seal-caption {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 9px;
  font-weight: 700;
  fill: #CBD5E1;
  letter-spacing: 0.12em;
}

.pledge-quote-text {
  font-size: clamp(0.82rem, 1.15vw, 0.92rem);
  color: #F1F5F9;
  line-height: 1.5;
  font-style: italic;
  max-width: 720px;
  margin: 0 0 0.85rem 0;
}

.pledge-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.pledge-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.2rem 0.65rem;
}

.pledge-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.pledge-actions-row .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.pledge-actions-row .btn-primary {
  background: linear-gradient(135deg, #FF7A00 0%, #EA580C 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(255, 122, 0, 0.35);
}

.pledge-actions-row .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 122, 0, 0.5);
}

.pledge-actions-row .btn-secondary-light {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pledge-actions-row .btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* ==========================================================================
   TABLET BOTTOM NAVIGATION & INTERACTIVE STORY HUD
   ========================================================================== */
.tablet-bottom-hud {
  height: 48px;
  min-height: 48px;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.15rem;
  position: relative;
  z-index: 10;
  gap: 0.85rem;
}

/* Laser Progress Bar at HUD Top Edge */
.story-progress-bar-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.story-progress-bar-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #FF7A00, #38BDF8);
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.6);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Prev / Next HUD Buttons */
.hud-nav-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  padding: 0.32rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hud-nav-arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.hud-nav-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hud-nav-arrow svg {
  width: 13px;
  height: 13px;
}

/* Story Nav Dots */
.story-nav-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1;
}

.story-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid transparent;
  color: #64748B;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.story-dot:hover {
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.04);
}

.story-dot.is-active {
  background: rgba(255, 122, 0, 0.16);
  border-color: rgba(255, 122, 0, 0.4);
  color: #FF9433;
}

.dot-num {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.1rem 0.32rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.story-dot.is-active .dot-num {
  background: rgba(255, 122, 0, 0.35);
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Laptop screens & smaller desktop (max-width: 1024px) */
@media (max-width: 1024px) {
  .tablet-device-chassis {
    border-radius: 26px;
    padding: 9px 9px 11px 9px;
  }

  .tablet-screen-bezel {
    height: clamp(440px, 50vh, 480px);
    border-radius: 18px;
  }

  .tablet-slide {
    padding: 1.15rem 1.5rem;
  }

  .comp-row {
    grid-template-columns: 140px 1fr 1fr;
    gap: 0.65rem;
    padding: 0.45rem 0.75rem;
  }
}

/* Tablet screen viewports (max-width: 900px) */
@media (max-width: 900px) {
  .story-dot .dot-text {
    display: none;
  }

  .story-dot {
    padding: 0.3rem 0.45rem;
  }

  .daily-routine-grid {
    gap: 0.65rem;
  }

  .routine-phase {
    padding: 0.75rem;
  }

  .routine-phase strong {
    font-size: 0.84rem;
  }

  .routine-phase p {
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   AUTHENTIC IPHONE PRO SCREEN UI ON SMALL SCREENS (max-width: 767px)
   Transforms the tablet into an authentic iPhone Pro with Dynamic Island,
   titanium chassis, physical side buttons, iOS status bar, and home bar.
   ========================================================================== */
@media (max-width: 767px) {
  .why-section {
    padding: 1.75rem 0 4.5rem;
  }

  .why-header {
    margin-bottom: 1.25rem;
  }

  .why-header h2,
  .why-main-heading {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .why-header .text-lead,
  .why-subheading {
    font-size: 0.84rem;
  }

  /* Seamless Mobile iPhone Perspective Stage */
  .tablet-perspective-stage {
    perspective: none;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Hide Desktop-only Tablet Hardware elements */
  .tablet-power-btn,
  .tablet-volume-rocker,
  .tablet-speaker-slots,
  .tablet-antenna-band,
  .tablet-camera-notch {
    display: none !important;
  }

  /* Authentic iPhone Pro Chassis */
  .tablet-device-chassis {
    position: relative;
    width: calc(100% - 24px);
    max-width: 355px;
    margin: 0 auto;
    border-radius: 50px; /* Iconic iPhone Pro curved corner profile */
    padding: 10px 10px 12px 10px;
    /* Aerospace titanium finish with metallic chamfers */
    background: linear-gradient(160deg, #374151 0%, #1F2937 30%, #111827 70%, #1F2937 100%);
    box-shadow: 
      0 0 0 1px rgba(255, 255, 255, 0.22),
      0 0 0 3px #161D29,
      0 0 0 4.5px rgba(255, 255, 255, 0.08),
      inset 0 1.5px 2px rgba(255, 255, 255, 0.35),
      inset 0 -2px 3px rgba(0, 0, 0, 0.9),
      0 20px 45px -10px rgba(0, 0, 0, 0.85),
      0 35px 75px -15px rgba(0, 0, 0, 0.95);
    box-sizing: border-box;
  }

  /* iPhone Left Edge Hardware Buttons: Action Button & Volume */
  .iphone-btn-action {
    display: block !important;
    position: absolute;
    left: -3.5px;
    top: 88px;
    width: 3.5px;
    height: 18px;
    background: linear-gradient(90deg, #64748B, #334155);
    border-radius: 3px 0 0 3px;
    box-shadow: -1px 0 2px rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 2;
  }

  .iphone-btn-volup {
    display: block !important;
    position: absolute;
    left: -3.5px;
    top: 120px;
    width: 3.5px;
    height: 36px;
    background: linear-gradient(90deg, #64748B, #334155);
    border-radius: 3px 0 0 3px;
    box-shadow: -1px 0 2px rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 2;
  }

  .iphone-btn-voldown {
    display: block !important;
    position: absolute;
    left: -3.5px;
    top: 168px;
    width: 3.5px;
    height: 36px;
    background: linear-gradient(90deg, #64748B, #334155);
    border-radius: 3px 0 0 3px;
    box-shadow: -1px 0 2px rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 2;
  }

  /* iPhone Right Edge Hardware Button: Side/Power Button */
  .iphone-btn-power {
    display: block !important;
    position: absolute;
    right: -3.5px;
    top: 128px;
    width: 3.5px;
    height: 52px;
    background: linear-gradient(90deg, #334155, #64748B);
    border-radius: 0 3px 3px 0;
    box-shadow: 1px 0 2px rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 2;
  }

  /* iPhone OLED Display Bezel with Deep Screen Curve */
  .tablet-screen-bezel {
    border-radius: 42px !important;
    height: clamp(520px, 73vh, 590px) !important;
    min-height: 490px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.1), inset 0 -1px 3px rgba(0, 0, 0, 0.8) !important;
    background: #080D1A !important;
    background: radial-gradient(circle at 50% 0%, #0E172B 0%, #080C17 100%) !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Signature iPhone Dynamic Island */
  .iphone-dynamic-island {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 25px;
    background: #000000;
    border-radius: 20px;
    z-index: 30;
    padding: 0 8px;
    box-sizing: border-box;
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 2px 8px rgba(0, 0, 0, 0.8);
    pointer-events: none;
  }

  .island-camera {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #050A14;
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .island-lens {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #38BDF8 0%, #1E3A8A 50%, #030712 100%);
    display: block;
  }

  .island-glint {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 1.5px;
    height: 1.5px;
    background: #FFFFFF;
    border-radius: 50%;
    display: block;
  }

  .island-sensor {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0B1120;
    box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.2);
    display: block;
  }

  /* iOS Precision Top Status Bar */
  .tablet-os-bar {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 1.25rem 0 1.35rem !important;
    background: transparent !important;
    border-bottom: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 25 !important;
  }

  .os-left {
    display: flex !important;
    align-items: center !important;
  }

  .os-brand,
  .os-version,
  .os-location,
  .os-dot-separator,
  .os-center,
  .os-badge-pill,
  .os-time-desktop {
    display: none !important;
  }

  /* iOS Time on Left */
  .os-time-mobile {
    display: block !important;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #F8FAFC !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
  }

  /* iOS Status Icons on Right */
  .os-right {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
  }

  .os-sys-signal {
    display: inline-flex !important;
    align-items: flex-end !important;
    gap: 1.5px !important;
    height: 10px !important;
    margin-right: 1px !important;
  }

  .sig-bar {
    display: block !important;
    width: 2.5px !important;
    background: #CBD5E1 !important;
    border-radius: 0.5px !important;
  }

  .sig-bar.s1 { height: 3px !important; }
  .sig-bar.s2 { height: 5.5px !important; }
  .sig-bar.s3 { height: 8px !important; }
  .sig-bar.s4 { height: 10px !important; }

  .os-sys-wifi {
    display: flex !important;
    color: #CBD5E1 !important;
  }

  .os-sys-wifi svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* iOS Iconic Battery Pill */
  .os-battery {
    width: 21px !important;
    height: 10.5px !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 3px !important;
    padding: 1px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }

  .os-battery::after {
    content: '' !important;
    position: absolute !important;
    right: -3px !important;
    top: 2px !important;
    width: 2px !important;
    height: 4px !important;
    background: #CBD5E1 !important;
    border-radius: 0 1.5px 1.5px 0 !important;
  }

  .battery-level {
    display: block !important;
    width: 80% !important;
    height: 100% !important;
    background: #10B981 !important;
    border-radius: 1px !important;
  }

  /* iPhone Sub-Header (Chapter indicator on Mobile) */
  .iphone-sub-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1rem 0.55rem 1rem !important;
    position: relative !important;
    z-index: 20 !important;
  }

  .iphone-chapter-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    background: rgba(255, 122, 0, 0.12) !important;
    border: 1px solid rgba(255, 122, 0, 0.32) !important;
    border-radius: 9999px !important;
    padding: 0.22rem 0.85rem !important;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #FF9433 !important;
  }

  .iphone-chapter-badge .chapter-live-dot {
    width: 5px !important;
    height: 5px !important;
  }

  /* Slide Viewport inside iPhone Display */
  .tablet-slide {
    padding: 0.35rem 1.1rem 0.85rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    justify-content: flex-start !important;
  }

  .slide-kicker-row {
    margin-bottom: 0.3rem !important;
  }

  .slide-tag {
    font-size: 0.68rem !important;
  }

  .slide-badge-meta {
    font-size: 0.65rem !important;
    padding: 0.12rem 0.45rem !important;
  }

  .slide-title {
    font-size: 1.1rem !important;
    line-height: 1.26 !important;
    margin-bottom: 0.22rem !important;
  }

  .slide-sub {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.65rem !important;
  }

  /* Slide 1 Ratio Bar */
  .ratio-bar-track {
    height: 30px !important;
    margin-bottom: 0.65rem !important;
    border-radius: 8px !important;
  }

  .ratio-text-desktop {
    display: none !important;
  }

  .ratio-text-mobile {
    display: inline !important;
    font-size: 0.72rem !important;
  }

  /* Slide 1 Daily Routine Cards (Native iOS Card Style) */
  .daily-routine-grid {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
  }

  .routine-phase {
    padding: 0.6rem 0.8rem !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .routine-phase.phase-active {
    background: rgba(255, 122, 0, 0.08) !important;
    border-color: rgba(255, 122, 0, 0.35) !important;
  }

  .phase-time {
    font-size: 0.64rem !important;
    margin-bottom: 0.2rem !important;
  }

  .routine-phase strong {
    font-size: 0.82rem !important;
    margin-bottom: 0.2rem !important;
  }

  .routine-phase p {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
  }

  /* Slides 2 & 3: Pillar Cards (Native iOS Card Style) */
  .pillars-slide-grid {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
  }

  .pillar-story-card {
    padding: 0.75rem 0.85rem !important;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .pillar-icon-box {
    width: 30px !important;
    height: 30px !important;
    margin-bottom: 0.4rem !important;
  }

  .pillar-icon-box svg {
    width: 15px !important;
    height: 15px !important;
  }

  .pillar-heading {
    font-size: 0.88rem !important;
    margin-bottom: 0.25rem !important;
  }

  .pillar-sub {
    font-size: 0.74rem !important;
    margin-bottom: 0.45rem !important;
  }

  .pillar-footer-tag span {
    font-size: 0.65rem !important;
    padding: 0.12rem 0.4rem !important;
  }

  /* Slide 4: Comparison Rows */
  .comp-matrix-dashboard {
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  .comp-row {
    grid-template-columns: 1fr !important;
    gap: 0.2rem !important;
    padding: 0.42rem 0.65rem !important;
  }

  .comp-header-row {
    display: none !important;
  }

  .comp-factor {
    font-size: 0.73rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 0.15rem !important;
  }

  .comp-trad {
    font-size: 0.69rem !important;
  }

  .comp-trad::before {
    content: "✕ Traditional: " !important;
    color: #EF4444 !important;
    font-weight: 700 !important;
  }

  .comp-miracle {
    font-size: 0.71rem !important;
    padding: 0.16rem 0.45rem !important;
  }

  .comp-miracle::before {
    content: "✔ Miracle IT: " !important;
    color: #10B981 !important;
    font-weight: 700 !important;
  }

  /* Slide 5: Pledge Card */
  .pledge-card-wrap {
    padding: 0.85rem 0.75rem !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }

  .pledge-seal {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 0.35rem !important;
  }

  .pledge-quote-text {
    font-size: 0.75rem !important;
    margin-bottom: 0.6rem !important;
  }

  .pledge-trust-row {
    gap: 0.3rem !important;
    margin-bottom: 0.7rem !important;
  }

  .pledge-pill {
    font-size: 0.66rem !important;
    padding: 0.18rem 0.45rem !important;
  }

  .pledge-actions-row {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.4rem !important;
  }

  .pledge-actions-row .btn {
    width: 100% !important;
    padding: 0.48rem 0.85rem !important;
    font-size: 0.78rem !important;
  }

  /* iPhone Bottom Navigation HUD */
  .tablet-bottom-hud {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 0.75rem !important;
    background: rgba(11, 17, 32, 0.94) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .hud-nav-arrow {
    padding: 0.25rem 0.55rem !important;
    font-size: 0.68rem !important;
  }

  .story-dot {
    padding: 0.2rem 0.35rem !important;
  }

  .dot-num {
    font-size: 0.58rem !important;
  }

  /* Signature iPhone Home Indicator Bar */
  .tablet-home-indicator {
    width: 130px !important;
    height: 4.5px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 9999px !important;
    margin: 5px auto 7px auto !important;
  }

  /* iPhone Drop Shadow */
  .tablet-desk-shadow {
    width: 80% !important;
    height: 22px !important;
    bottom: -12px !important;
    filter: blur(10px) !important;
  }
}

/* Micro Smartphone Adjustments (max-width: 380px) */
@media (max-width: 380px) {
  .tablet-device-chassis {
    max-width: 330px !important;
    border-radius: 46px !important;
  }

  .tablet-screen-bezel {
    border-radius: 38px !important;
    height: 490px !important;
  }

  .slide-title {
    font-size: 1rem !important;
  }

  .tablet-home-indicator {
    width: 100px !important;
  }
}
