/* Dental Membership Plans – v1.0.0 */

.dmp-root {
  --brand:      #49C8EF;
  --brand-dark: #1aa8d0;
  --brand-pale: #e8f9fd;
  --brand-text: #0a4a5c;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  padding: 2.5rem 0;
  max-width: 860px;
  margin: 0 auto;
}

.dmp-root * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Keyframe animations ─────────────────────────────────────── */

@keyframes dmp-fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dmp-slideIn {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes dmp-barGrow {
  from { width: 0; }
}

@keyframes dmp-pulse {
  0%   { transform: scale(1);   opacity: .65; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ── Hero header ─────────────────────────────────────────────── */

.dmp-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2rem;
  animation: dmp-fadeUp .5s ease both;
}

.dmp-hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
  flex-shrink: 0;
}

.dmp-hero-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand);
  animation: dmp-pulse 1.7s ease-out infinite;
}

.dmp-hero-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.dmp-hero-sub {
  font-size: 13px;
  color: #666;
  margin-top: 3px;
}

/* ── Plan card grid ──────────────────────────────────────────── */

.dmp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .dmp-grid { grid-template-columns: 1fr; }
}

.dmp-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  animation: dmp-fadeUp .55s ease both;
}

.dmp-card.card-a { animation-delay: .10s; }
.dmp-card.card-b { border: 2px solid var(--brand); animation-delay: .20s; }

/* Top accent bar */
.dmp-card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  animation: dmp-barGrow .7s .4s ease both;
}
.dmp-card.card-a .dmp-card-accent { background: #e5e5e5; }
.dmp-card.card-b .dmp-card-accent { background: var(--brand); }

/* Plan name */
.dmp-plan-name {
  font-size: 19px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  animation: dmp-slideIn .4s .25s ease both;
  opacity: 0;
  animation-fill-mode: both;
}

/* Badge */
.dmp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 20px;
  margin-bottom: 14px;
  background: var(--brand-pale);
  color: var(--brand-text);
  animation: dmp-fadeUp .4s .35s ease both;
  opacity: 0;
  animation-fill-mode: both;
}

.dmp-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* Pricing */
.dmp-price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 2px;
  animation: dmp-fadeUp .4s .30s ease both;
  opacity: 0;
  animation-fill-mode: both;
}

.dmp-price {
  font-size: 36px;
  font-weight: 700;
  color: #111;
}

.dmp-price-yr {
  font-size: 15px;
  color: #888;
}

.dmp-price-mo {
  font-size: 12px;
  color: #888;
  margin-bottom: 14px;
  animation: dmp-fadeUp .4s .35s ease both;
  opacity: 0;
  animation-fill-mode: both;
}

/* Divider */
.dmp-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 14px 0;
}

/* Services list */
.dmp-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.dmp-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  animation: dmp-slideIn .35s ease both;
  opacity: 0;
  animation-fill-mode: both;
}

.dmp-service:nth-child(1) { animation-delay: .40s; }
.dmp-service:nth-child(2) { animation-delay: .48s; }
.dmp-service:nth-child(3) { animation-delay: .56s; }
.dmp-service:nth-child(4) { animation-delay: .64s; }
.dmp-service:nth-child(5) { animation-delay: .72s; }

.dmp-sname { color: #666; }
.dmp-sfee  { font-weight: 700; color: #111; white-space: nowrap; padding-left: 8px; }

/* Savings bar */
.dmp-savings-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.dmp-savings-left  { color: #888; }
.dmp-savings-right { font-weight: 700; color: var(--brand-text); }

.dmp-bar-track {
  height: 5px;
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}

.dmp-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: var(--brand);
  animation: dmp-barGrow .85s .8s ease both;
}

/* ── Perks card ──────────────────────────────────────────────── */

.dmp-perks-card {
  background: var(--brand-pale);
  border: 1px solid var(--brand);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 18px;
  animation: dmp-fadeUp .5s .50s ease both;
  opacity: 0;
  animation-fill-mode: both;
}

.dmp-perks-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dmp-perks-title svg { flex-shrink: 0; }

.dmp-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .dmp-perks-grid { grid-template-columns: 1fr; }
}

.dmp-perk {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--brand-text);
  animation: dmp-slideIn .35s ease both;
  opacity: 0;
  animation-fill-mode: both;
}

.dmp-perk:nth-child(1) { animation-delay: .60s; }
.dmp-perk:nth-child(2) { animation-delay: .68s; }
.dmp-perk:nth-child(3) { animation-delay: .76s; }
.dmp-perk:nth-child(4) { animation-delay: .84s; }

.dmp-perk svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--brand);
}

/* ── CTA Button ──────────────────────────────────────────────── */

.dmp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  background: var(--brand);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .18s ease, transform .12s ease;
  animation: dmp-fadeUp .5s .75s ease both;
  opacity: 0;
  animation-fill-mode: both;
}

.dmp-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  color: #fff !important;
  text-decoration: none !important;
}

.dmp-btn:active {
  transform: scale(.98);
}

.dmp-fine {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  margin-top: 9px;
  animation: dmp-fadeUp .4s .90s ease both;
  opacity: 0;
  animation-fill-mode: both;
}
