.parents { background: #fff; }
.parents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features .ic { flex: 0 0 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; }
.features strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.features span { color: var(--muted); }

.tint-purple { background: #efe8ff; }
.tint-pink { background: #ffe6f1; }
.tint-yellow { background: #fff1d6; }
.tint-green { background: #dcf7f0; }

/* Phone mockup */
.phone {
  width: 300px;
  height: 600px;
  margin-inline: auto;
  border-radius: 46px;
  background: var(--night);
  padding: 14px;
  box-shadow: 0 40px 60px -20px rgba(59, 29, 143, .55), 0 0 0 6px #fff, 0 0 0 10px rgba(108, 60, 240, .25);
  position: relative;
  transform: rotate(3deg);
}
.phone .notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 24px;
  border-radius: 0 0 16px 16px;
  background: var(--night);
  z-index: 2;
}
.phone .screen {
  height: 100%;
  border-radius: 34px;
  background: linear-gradient(180deg, #f3edff 0%, #fff 60%);
  overflow: hidden;
  padding: 44px 16px 16px;
}
.phone .app-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple);
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.live-pill { font-size: .7rem; color: #fff; background: #ff4d6d; padding: 2px 8px; border-radius: 999px; animation: phone-pulse 1.4s ease-in-out infinite; }

.mini-map {
  height: 150px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, transparent 47%, #fff 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, #fff 47% 53%, transparent 53%),
    #c9f2e5;
  background-size: 80px 80px;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}
.mini-map span { position: absolute; font-size: 1.6rem; }
.mini-map .home { left: 12px; top: 10px; }
.mini-map .school { right: 14px; bottom: 12px; }
.mini-map .van { left: 30px; top: 40px; animation: phone-van 8s ease-in-out infinite alternate; }

/* Notifications are revealed one by one by js/modules/phone-demo.js */
.notif {
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 6px 18px -8px rgba(59, 29, 143, .4);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .85rem;
  opacity: 0;
  transform: translateY(16px) scale(.96);
  transition: opacity .5s ease, transform .5s ease;
}
.notif.show { opacity: 1; transform: none; }
.notif .n-ic { flex: 0 0 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; }
.notif b { display: block; font-size: .9rem; }
.notif small { color: var(--muted); }

@keyframes phone-pulse { 50% { opacity: .55; } }
@keyframes phone-van { 50% { left: 120px; top: 70px; } to { left: 200px; top: 100px; } }

@media (max-width: 960px) {
  .parents-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .phone { transform: none; width: 280px; height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .notif { opacity: 1; transform: none; }
}
