/* ════════════════════════════════════════
   In The Book — Brochure Site
   Device mockups + shared utilities
   ════════════════════════════════════════ */

/* ── MacBook ─────────────────────────────────── */
.mockup-macbook {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.38));
}
.mockup-macbook-lid {
  background: #1d1d1f;
  border-radius: 10px 10px 0 0;
  padding: 20px 18px 8px;
  position: relative;
}
.mockup-macbook-lid::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #3a3a3c;
  border-radius: 50%;
}
.mockup-macbook-screen {
  background: rgba(0,0,0,0.38);
  aspect-ratio: 16/10;
  border-radius: 2px;
  overflow: hidden;
}
.mockup-macbook-base {
  background: linear-gradient(180deg, #e0e0e2 0%, #c8c8ca 100%);
  height: 18px;
  border-radius: 0 0 4px 4px;
  position: relative;
}
.mockup-macbook-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0,0,0,0.12);
}
.mockup-macbook-base::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18%;
  height: 5px;
  background: #b0b0b2;
  border-radius: 0 0 3px 3px;
}
.mockup-macbook-foot {
  height: 3px;
  background: #b8b8ba;
  margin: 0 4%;
  border-radius: 0 0 4px 4px;
}

/* ── iPhone ──────────────────────────────────── */
.mockup-iphone {
  background: #1d1d1f;
  border-radius: 40px;
  padding: 10px;
  position: relative;
  box-shadow:
    0 25px 50px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.1),
    inset 0 0 0 2px rgba(0,0,0,0.25);
}
/* volume buttons */
.mockup-iphone::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 22%;
  width: 3px;
  height: 7%;
  background: #111;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 calc(140% + 5px) 0 0 #111, 0 calc(280% + 10px) 0 0 #111;
}
/* power button */
.mockup-iphone::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 28%;
  width: 3px;
  height: 11%;
  background: #111;
  border-radius: 0 2px 2px 0;
}
.mockup-iphone-screen {
  background: white;
  border-radius: 30px;
  aspect-ratio: 9/19.5;
  overflow: hidden;
  position: relative;
}
.mockup-iphone-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 22px;
  background: #1d1d1f;
  border-radius: 20px;
  z-index: 1;
}
.mockup-iphone-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 4px;
  background: rgba(0,0,0,0.22);
  border-radius: 3px;
}

/* ── Backgrounds ─────────────────────────────── */
.bg-hero {
  background-color: #1a2332;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(140deg, #0f1419 0%, #1a2332 50%, #243347 100%);
  background-size: 26px 26px, 100% 100%;
}
.bg-cta {
  background: linear-gradient(135deg, #0060d9 0%, #0070F3 50%, #3b9eff 100%);
}

/* ── Feature icon ────────────────────────────── */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* ── Pricing ─────────────────────────────────── */
.pricing-popular {
  position: relative;
  transform: scale(1.04);
  box-shadow:
    0 0 0 2px #0070F3,
    0 20px 60px rgba(0,112,243,0.18),
    0 4px 16px rgba(0,0,0,0.08);
  z-index: 1;
}
.pricing-popular .popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #0070F3;
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #374151;
  line-height: 1.5;
}
.plan-check-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.plan-check-icon svg { color: #22b574; }
.plan-check-icon.on-dark { background: rgba(52,213,141,0.15); }
.plan-check-icon.on-dark svg { color: #34D58D; }

/* ── Step number ─────────────────────────────── */
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0070F3, #005ac2);
  color: white;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,112,243,0.35);
}

/* ── About feature rows ──────────────────────── */
.feature-row {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 768px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row.reverse > *:first-child { order: 2; }
  .feature-row.reverse > *:last-child  { order: 1; }
}

/* ── Brand name chip ─────────────────────────── */
/*
  Wraps "In The Book" in prose text to signal it's the app name,
  not the Irish phrase. Use: <span class="itb">In The Book</span>
  Auto-inverts on dark section backgrounds.
*/
.itb {
  display: inline;
  background: #e8f1fd;
  color: #0055c8;
  font-weight: 600;
  padding: 0 5px 1px;
  border-radius: 4px;
  white-space: nowrap;
}
.bg-hero .itb,
.bg-navy .itb {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  outline: 1px solid rgba(255, 255, 255, 0.18);
}
.bg-cta .itb {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  outline: 1px solid rgba(255, 255, 255, 0.28);
}

/* ── Utility ─────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
}
