/* Medkiro — hero with live iPhone illustration */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(120px, 15vw, 170px) 0 clamp(70px, 9vw, 120px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 520px; background: #8ec5ff; top: -140px; right: -80px; }
.blob.b2 { width: 420px; height: 420px; background: #9cf0de; top: 220px; right: 260px; animation-delay: -6s; }
.blob.b3 { width: 360px; height: 360px; background: #d8c8ff; top: 40px; left: -160px; animation-delay: -11s; }
@media (prefers-color-scheme: dark) { .blob { opacity: 0.22; } }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-copy .lead { font-size: clamp(19px, 2vw, 23px); color: var(--text-2); margin-top: 24px; max-width: 560px; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 30px; }
.hero-proof .chip { background: var(--bg-elev); box-shadow: var(--shadow-1); height: 32px; }
.hero-proof .chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* iPhone */
.phone-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 54px; padding: 12px;
  background: linear-gradient(145deg, #2b2b2e, #0d0d0f);
  box-shadow: var(--shadow-3), inset 0 0 0 2px #3a3a3e, inset 0 0 0 4px #111;
  transform: rotate(-4deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: rotate(-4deg) translateY(-12px); } }
.screen {
  position: relative; width: 100%; height: 100%; border-radius: 43px; overflow: hidden;
  background:
    radial-gradient(120% 70% at 20% 0%, #4aa3ff 0%, transparent 60%),
    radial-gradient(120% 80% at 100% 100%, #2ed3b7 0%, transparent 55%),
    linear-gradient(160deg, #1b3a8f, #0d1b3d 70%);
  color: #fff;
}
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; background: #000; border-radius: 20px; z-index: 3; }
.lock-time { text-align: center; padding-top: 58px; }
.lock-time .date { font-size: 15px; font-weight: 600; opacity: 0.85; }
.lock-time .clock { font-size: 74px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; margin-top: 2px; font-family: var(--font-display); }
.notifs { position: absolute; left: 10px; right: 10px; bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.notif {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: start;
  padding: 11px 12px; border-radius: 20px;
  background: rgba(245, 245, 247, 0.78);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  color: #1d1d1f; font-size: 12.5px; line-height: 1.32;
  animation: notifIn 0.7s var(--ease) both;
  transform-origin: top center;
}
.notif b { font-size: 13px; display: block; }
.notif time { font-size: 11px; color: #6e6e73; }
.notif.out { animation: notifOut 0.5s var(--ease) both; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-26px) scale(0.92); } }
@keyframes notifOut { to { opacity: 0; transform: scale(0.9); height: 0; padding: 0; margin: -4px 0; } }
.home-bar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 110px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); }

/* Floating glass widgets around the phone */
.float-card {
  position: absolute; z-index: 2;
  background: var(--glass); border: 0.5px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 22px; box-shadow: var(--shadow-2); padding: 14px 16px;
  animation: float2 8s ease-in-out infinite;
}
@keyframes float2 { 50% { transform: translateY(-10px); } }
.fc-rating { top: 150px; left: -40px; width: 180px; animation-delay: -2s; }
.fc-rating .stars { color: #ffb800; letter-spacing: 2px; font-size: 15px; }
.fc-rating .big { font: 700 34px/1 var(--font-display); letter-spacing: -0.02em; }
.fc-rating .spark { margin-top: 8px; height: 34px; }
.fc-booked { bottom: 130px; right: -50px; width: 230px; animation-delay: -5s; }
.fc-booked b { white-space: nowrap; }
.fc-booked .row { display: flex; gap: 10px; align-items: center; }
.fc-booked small { color: var(--text-3); font-size: 12px; display: block; }
.fc-booked .bar { height: 6px; border-radius: 3px; background: var(--fill); margin-top: 10px; overflow: hidden; }
.fc-booked .bar span { display: block; height: 100%; width: 72%; background: var(--brand); border-radius: inherit; animation: grow 3.5s var(--ease) infinite alternate; }
@keyframes grow { from { width: 30%; } }
.fc-lang { bottom: 30px; left: 10px; display: flex; gap: 6px; padding: 10px 12px; animation-delay: -1s; }
.fc-lang span { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--fill); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
}
@media (max-width: 520px) {
  .phone-stage { min-height: 560px; transform: scale(0.88); margin: -30px 0; }
  .fc-rating { left: -6px; top: 40px; width: 170px; }
  .fc-booked { right: -6px; width: 180px; }
  .fc-lang { display: none; }
}

/* Logo strip of niches */
.niche-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin-top: 70px; color: var(--text-3); font-weight: 600; font-size: 15px; }
.niche-strip span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 520px) { .fc-booked b { white-space: normal; } }
