/* Rent GF & BF — homepage mockup + mobile/desktop */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body.app-body {
  margin: 0;
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  font-family: "DM Sans", "Segoe UI", Tahoma, sans-serif;
  color: var(--text-color);
  background: var(--background-color);
}

.site-shell {
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ========== HEADER ========== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 16px;
  padding-top: max(12px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--header-bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  color: var(--header-text);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  margin-right: auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-color), var(--primary-color));
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary-color) 28%, transparent);
}

.brand-logo {
  display: block;
  border-radius: 0;
  object-fit: contain;
  height: auto;
  max-height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text small {
  color: var(--text-secondary);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 10px;
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 10%, #fff);
}

.site-nav a.active::after { display: none; }

.btn-header {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--primary-color) 28%, transparent);
  white-space: nowrap;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--secondary-color);
  border-radius: 2px;
}

.site-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(11, 31, 68, 0.12);
  z-index: 60;
}

.site-nav.open a {
  width: 100%;
  padding: 12px 14px;
}

.site-nav.open a.active::after { display: none; }

.app-header.header-marketing { position: sticky; }

.app-main {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 16px 36px;
  padding-bottom: max(36px, env(safe-area-inset-bottom));
  overflow-x: hidden;
}

.page-form .app-main {
  max-width: 560px;
}

.page-payment .app-main {
  max-width: 920px;
}

.page-form {
  background:
    radial-gradient(700px 320px at 50% 0%, color-mix(in srgb, var(--primary-color) 10%, transparent), transparent 60%),
    var(--background-color);
}

/* ========== CHECKOUT / CUSTOMER DETAILS ========== */
.page-checkout .app-main {
  padding-top: 10px;
  padding-bottom: 16px;
}

.page-checkout .brand-text small,
.page-checkout .app-footer .footer-waves {
  display: none;
}

.page-checkout .app-footer {
  padding: 10px 16px 14px;
}

.page-checkout .footer-thanks {
  display: none;
}

.page-checkout .footer-brand {
  font-size: 0.85rem;
  margin: 0;
}

.page-checkout .back-link {
  margin: 0 0 10px;
  font-size: 0.85rem;
}

.checkout-card {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 14px 14px 16px;
  box-shadow: 0 10px 28px rgba(11, 31, 68, 0.06);
}

.checkout-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.checkout-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-title-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-color), var(--primary-color));
  color: #fff;
  flex-shrink: 0;
  font-size: 0.9rem;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--primary-color) 22%, transparent);
}

.checkout-card .page-title {
  margin: 0 0 2px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.checkout-card .page-sub {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.checkout-safe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-color) 8%, #fff);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.safe-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.7rem;
}

.selected-profile {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary-color) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary-color) 12%, #fff);
}

.selected-profile img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}

.selected-profile-info h2 {
  margin: 0 0 2px;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--secondary-color);
}

.verified-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
}

.selected-meta {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.selected-desc { display: none; }

.selected-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding-top: 0;
}

.price-label {
  color: var(--text-secondary);
  font-size: 0.7rem;
  margin-right: 0;
}

.selected-price-box .price {
  margin: 0;
  color: var(--price-color);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-color);
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
}

.checkout-form .form-group {
  margin-bottom: 10px;
}

.checkout-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.checkout-form .form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.field-ico {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--primary-color) 10%, #fff);
  font-size: 0.72rem;
}

.req { color: #ef4444; }
.optional { color: var(--text-secondary); font-weight: 500; font-size: 0.85em; }

.checkout-form .form-group input {
  min-height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  background: #fff;
  padding: 8px 12px;
  font-size: 0.92rem;
}

.checkout-form .form-group.has-error input,
.checkout-form .form-group.has-error .mobile-row {
  border-color: color-mix(in srgb, var(--error-color) 55%, #fff);
}

.mobile-row {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.mobile-row:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 14%, transparent);
}

.country-code {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: color-mix(in srgb, var(--primary-color) 8%, #fff);
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.85rem;
  border-right: 1px solid var(--border-color);
  white-space: nowrap;
}

.mobile-row input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 42px;
}

.info-banner { display: none; }

.btn-checkout {
  border-radius: 14px;
  min-height: 46px;
  font-size: 0.95rem;
  margin-top: 4px;
}

.secure-note {
  margin: 14px 0 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (min-width: 520px) {
  .checkout-form .form-row-2 {
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
  }
}

@media (min-width: 640px) {
  .checkout-card {
    padding: 18px 20px 20px;
    border-radius: 22px;
  }

  .selected-profile {
    grid-template-columns: 56px 1fr auto;
  }

  .selected-profile img {
    width: 56px;
    height: 56px;
  }
}

/* Forms / payment (shared) */
.page-title {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  color: var(--primary-color);
}
.page-sub { margin: 0 0 18px; color: var(--text-secondary); font-size: 0.95rem; }

.card {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(11, 31, 68, 0.04);
}

.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.88rem; font-weight: 600; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--border-color);
  background: var(--input-bg);
  color: var(--text-color);
  font: inherit;
  font-size: 1rem;
  outline: none;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-color) 16%, transparent);
}
.form-error { margin: 4px 0 0; color: var(--error-color); font-size: 0.82rem; }

.app-footer {
  position: relative;
  margin-top: auto;
  padding: 28px 20px max(28px, env(safe-area-inset-bottom));
  background: #fff;
  color: #64748b;
  text-align: center;
  overflow: hidden;
  border-top: none;
}

.footer-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  pointer-events: none;
  z-index: 0;
}
.footer-waves svg {
  display: block;
  width: 100%;
  height: 100%;
}
.footer-waves .wave { fill: #dbeafe; opacity: 0.55; }
.footer-waves .wave-2 { fill: #bfdbfe; opacity: 0.45; }
.footer-waves .wave-3 { fill: #93c5fd; opacity: 0.35; }

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}
.app-footer p { margin: 0; }
.footer-thanks {
  font-size: 0.92rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 4px !important;
}
.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-color, #0056D2);
  letter-spacing: -0.01em;
}
.footer-brand span { font-weight: 700; }
.footer-copy,
.footer-legal {
  margin: 8px auto 0;
  max-width: 42ch;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #94a3b8;
}
.footer-legal { margin-top: 4px; font-size: 0.72rem; }
.footer-notice { display: none; }

/* ========== SECTIONS ========== */
.section { margin-bottom: 34px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.section-head { margin-bottom: 16px; }
.section-head h2 {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.45;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.section-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* ========== HERO ========== */
.hero-section { margin-top: 4px; }

.hero-split {
  display: grid;
  gap: 22px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 1; }

.hero-pills {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-color) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary-color) 14%, #fff);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-pills span { opacity: 0.45; margin: 0 4px; }

.hero-copy h1 {
  margin: 0 0 12px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.85rem, 7.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--secondary-color);
  max-width: 14ch;
  font-weight: 800;
}
.hero-accent { color: var(--primary-color); }

.hero-sub {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 38ch;
}

.btn,
.btn-hero {
  appearance: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: var(--button-text);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--primary-color) 28%, transparent);
}

.btn:hover,
.btn-hero:hover { filter: brightness(1.03); }
.btn:active,
.btn-hero:active { transform: scale(0.98); }

.btn-block { width: 100%; }
.btn-sm {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.9rem;
  border-radius: 12px;
}
.btn-ghost {
  background: transparent;
  color: var(--primary-color);
  box-shadow: none;
  border: 1.5px solid var(--border-color);
}
.btn-ico { font-size: 0.95rem; }
.btn-arrow { font-size: 1.1rem; }

.trust-row {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

@media (min-width: 992px) {
  .hero-blob {
    animation: blob 8s ease-in-out infinite alternate;
  }
  .hero-split {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "copy visual"
      "trust visual";
    gap: 20px 40px;
    align-items: start;
  }
  .hero-copy { grid-area: copy; }
  .hero-visual { grid-area: visual; align-self: center; }
  .trust-row {
    grid-area: trust;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 8px;
  }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--primary-color) 10%, #fff);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.trust-item small {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px;
}

.hero-blob {
  position: absolute;
  inset: 6% 2% 0 2%;
  background:
    radial-gradient(circle at 30% 30%, #cfe0ff 0%, transparent 55%),
    radial-gradient(circle at 70% 60%, #9fc2ff 0%, transparent 50%),
    linear-gradient(160deg, #eaf2ff, #d5e6ff);
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
  filter: blur(2px);
  z-index: 0;
  animation: none;
  transform: none;
}

@keyframes blob {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-8px) scale(1.03); }
}

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 auto;
}

.hero-photo {
  width: 100%;
  display: block;
  border-radius: 28px;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4/5;
  background: #dbe8ff;
  box-shadow: 0 24px 50px rgba(11, 31, 68, 0.16);
}

.hero-sparkles {
  position: absolute;
  top: 8%;
  left: 4%;
  width: 28px;
  height: 28px;
  z-index: 2;
  background:
    radial-gradient(circle at 30% 30%, var(--primary-color) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 55%, #60a5fa 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 40% 80%, var(--primary-color) 0 1px, transparent 2px);
  opacity: 0.85;
}

.hero-caption {
  position: absolute;
  right: 12px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 24px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 86, 210, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(11, 31, 68, 0.2);
}

.hero-script,
.social-proof {
  display: none;
}

/* ========== HOME STATS ========== */
.home-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 8px 0 28px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #eff6ff, #f8fbff);
  border: 1px solid #dbeafe;
}

.home-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
}
.home-stat-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 4px 12px rgba(11, 31, 68, 0.06);
  flex-shrink: 0;
}
.home-stat strong {
  display: block;
  font-size: 1rem;
  color: var(--secondary-color);
  line-height: 1.1;
}
.home-stat small {
  color: var(--text-secondary);
  font-size: 0.72rem;
}

/* ========== CONNECTIONS ========== */
.connections-section { margin-bottom: 28px; }
.connections-head { text-align: center; max-width: 36rem; margin: 0 auto 16px; }
.section-kicker {
  margin: 0 0 6px;
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.connections-head h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: var(--secondary-color);
  font-weight: 800;
}
.connections-head h2 span { color: var(--primary-color); }
.connections-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.connections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.connection-card {
  background: color-mix(in srgb, var(--primary-color) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary-color) 10%, #fff);
  border-radius: 18px;
  padding: 16px 14px;
  text-align: left;
}
.connection-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 10px;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(11, 31, 68, 0.06);
}
.connection-card h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  color: var(--secondary-color);
}
.connection-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.35;
}

/* ========== PLANS ========== */
.plans-section {
  position: relative;
  padding: 8px 0 4px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(0, 86, 210, 0.05), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(147, 197, 253, 0.12), transparent 50%);
  border-radius: 28px;
}

.plans-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.plans-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.plans-head-copy h2 {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  color: var(--secondary-color, #0b1f44);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.plans-lead {
  margin: 0;
  max-width: 42ch;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.plans-compare {
  display: none;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary-color);
  flex-shrink: 0;
}

.plans-compare-script {
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 11ch;
  text-align: right;
}

.plans-compare-arrow {
  font-size: 1.1rem;
  transform: rotate(25deg);
  opacity: 0.85;
}

.plans-compare-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-color);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 86, 210, 0.28);
  transition: transform 0.2s ease;
}

.plans-compare:hover .plans-compare-btn {
  transform: translateX(3px);
}

.plans-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6eef9;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(11, 31, 68, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 31, 68, 0.1);
}

.plan-card.is-featured {
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(0, 86, 210, 0.14);
}

.plan-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card-inner {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plan-top {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "ico title"
    "pill pill";
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 14px;
}

.plan-ico {
  grid-area: ico;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef2f7;
  position: relative;
  flex-shrink: 0;
}

.plan-ico::before {
  content: "★";
  color: #64748b;
  font-size: 1.15rem;
  font-weight: 700;
}

.plan-ico-gold .plan-ico { background: #fff1dc; }
.plan-ico-gold .plan-ico::before { content: "♛"; color: #d97706; font-size: 1.2rem; }
.plan-ico-diamond .plan-ico { background: #efeaff; }
.plan-ico-diamond .plan-ico::before { content: "◆"; color: #7c3aed; }

.plan-title-block {
  grid-area: title;
  min-width: 0;
}

.plan-title-block h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary-color, #0b1f44);
  line-height: 1.2;
}

.plan-tag {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.plan-pill {
  grid-area: pill;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  background: #f1f5f9;
  color: #64748b;
}

.plan-tier-gold .plan-pill {
  background: #fff1e4;
  color: #c2410c;
}

.plan-tier-diamond .plan-pill {
  background: #f3e8ff;
  color: #7c3aed;
}

.plan-price {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.15;
}

.plan-duration {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  opacity: 0.85;
}

.plan-desc {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
}

.plan-features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #60a5fa;
}

.plan-tier-gold .plan-features li::before { color: #f59e0b; }
.plan-tier-diamond .plan-features li::before { color: #a78bfa; }

.plan-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  border-radius: 14px !important;
  min-height: 48px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn.plan-cta-outline {
  background: #fff;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  box-shadow: none;
}

.btn.plan-cta-outline:hover {
  background: #f0f6ff;
  filter: none;
}

.btn.plan-cta-solid {
  background: var(--primary-color);
  color: #fff;
  border: 1.5px solid var(--primary-color);
  box-shadow: 0 10px 22px rgba(0, 86, 210, 0.25);
}

.btn.plan-cta-solid:hover {
  filter: brightness(1.05);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-pink { background: #ffe4ec; color: #db2777; }
.badge-orange { background: #ffedd5; color: #c2410c; }
.badge-purple { background: #ede9fe; color: #6d28d9; }
.badge-blue { background: #dbeafe; color: #1d4ed8; }

/* ========== PROFILES ========== */
.profiles-grid {
  display: grid;
  gap: 14px;
}

.profile-card {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 0;
  align-items: stretch;
  box-shadow: 0 10px 28px rgba(11, 31, 68, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11, 31, 68, 0.1);
}

.profile-photo {
  width: 112px;
  height: auto;
  min-height: 0;
  max-height: 180px;
  object-fit: contain;
  object-position: center top;
  background: #e8f1ff;
  align-self: stretch;
}

.profile-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.profile-body h3 { margin: 0; font-size: 1.08rem; }
.profile-meta { margin: 0; color: var(--text-secondary); font-size: 0.85rem; }
.profile-desc {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.profile-price {
  color: var(--price-color);
  font-weight: 700;
  font-size: 1.05rem;
}

.content-card,
.card {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(11, 31, 68, 0.04);
}

.content-text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.contact-card {
  text-align: center;
  background:
    radial-gradient(600px 200px at 50% 0%, color-mix(in srgb, var(--primary-color) 12%, transparent), transparent 70%),
    var(--card-color);
}

.contact-card h2 {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--primary-color);
}

.contact-card p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.custom-section-image {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 12px;
  object-fit: cover;
  max-height: 220px;
}

.empty-state {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-secondary);
  border: 1px dashed var(--border-color);
  border-radius: 18px;
  background: var(--card-color);
}

.alert { padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; font-size: 0.92rem; }
.alert-error { background: #fee2e2; color: var(--error-color); }
.alert-success { background: #dcfce7; color: var(--success-color); }
.alert-info { background: #e8f1ff; color: var(--secondary-color); }

.summary-list { list-style: none; margin: 0 0 18px; padding: 0; }
.summary-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border-color); font-size: 0.95rem;
}
.summary-list li:last-child {
  border-bottom: none; font-weight: 700; color: var(--price-color); font-size: 1.1rem;
}
.summary-list span:first-child { color: var(--text-secondary); }

.qr-wrap { text-align: center; margin: 8px 0 16px; }
.qr-wrap img {
  width: min(220px, 70vw); height: auto; border-radius: 18px;
  border: 1px solid var(--border-color); background: #fff; padding: 10px;
}

.upi-row { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.upi-row code {
  flex: 1; min-height: 48px; display: flex; align-items: center;
  padding: 0 14px; border-radius: 14px;
  background: #e8f1ff; border: 1px solid var(--border-color);
  font-size: 0.92rem; word-break: break-all;
}

.upi-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 18px; }
.upi-app {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px; border-radius: 16px; border: 1px solid var(--border-color);
  background: var(--card-color); text-decoration: none; color: var(--text-color);
  font-size: 0.78rem; font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.upi-app:hover {
  box-shadow: 0 8px 18px rgba(11, 31, 68, 0.08);
  transform: translateY(-1px);
}
.upi-app:active { transform: scale(0.97); }
.upi-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: contain;
  display: block;
  background: #f8fafc;
  padding: 6px;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.instructions {
  white-space: pre-line; color: var(--text-secondary);
  font-size: 0.9rem; line-height: 1.5; margin: 0 0 18px;
}

.back-link {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500;
}

/* ========== SUCCESS / PAYMENT SUBMITTED ========== */
.page-success .app-main {
  background: linear-gradient(180deg, #faf7f8 0%, #f4f2f5 55%, #f7f5f8 100%);
}

.success-card {
  background: #fff;
  border: 1px solid rgba(225, 29, 72, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  padding: 26px 18px 18px;
  text-align: center;
  max-width: 460px;
  margin: 10px auto 16px;
}

.success-status-ico {
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
}
.success-status-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: pop 0.45s ease both;
}
.success-status-wait {
  background: #fff1e8;
  color: #ea580c;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.14);
}
.success-status-ok {
  background: linear-gradient(145deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.3);
}
@keyframes pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-title {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.2;
}
.page-success-pending .success-title span,
.success-title span {
  color: var(--primary-color, #E11D48);
}
.success-lead {
  margin: 0 auto 16px;
  max-width: 38ch;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}
.success-lead strong { color: #334155; }

.companion-pick {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px;
  margin: 0 0 12px;
  border-radius: 18px;
  border: 1px solid #fbcfe8;
  background: linear-gradient(135deg, #fff1f5, #fdf2f8);
}
.companion-pick-ok {
  border-color: #bbf7d0;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}
.companion-pick-photo {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, #fda4af, #fb7185);
  box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(225, 29, 72, 0.18);
}
.companion-pick-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.companion-pick-heart {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #E11D48;
  font-size: 0.68rem;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.companion-pick-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  color: #be123c;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffe4ef;
}
.companion-pick-ok .companion-pick-badge {
  color: #047857;
  background: #d1fae5;
}
.companion-pick-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
}
.companion-pick-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: #64748b;
}

.pending-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  padding: 13px 14px;
  margin: 0 0 14px;
  border-radius: 16px;
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
}
.pending-banner-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #ea580c;
  color: #fff;
}
.pending-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pending-banner strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #c2410c;
}
.pending-banner span {
  font-size: 0.82rem;
  color: #9a3412;
  line-height: 1.4;
}

.success-details {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  text-align: left;
}
.success-details li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid #f1f5f9;
}
.success-details li:last-child { border-bottom: none; }
.detail-ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff1f5;
  color: #E11D48;
  font-size: 0.85rem;
}
.detail-ico-gold { background: #fffbeb; }
.detail-label {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
}
.detail-value {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: right;
}
.detail-value-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.order-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0f172a;
}
.order-copy {
  border: 0;
  background: transparent;
  color: #E11D48;
  padding: 2px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  border-radius: 6px;
}
.order-copy:active { transform: scale(0.92); }
.membership-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}
.success-amount {
  color: #16a34a !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}
.badge-submitted { background: #fff7ed; color: #ea580c; }
.badge-verified { background: #ecfdf5; color: #047857; }
.badge-pending { background: #eff6ff; color: #1d4ed8; }
.badge-rejected { background: #fef2f2; color: #b91c1c; }

.success-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  margin: 4px 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff1f5;
  border: 1px solid #fecdd3;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.5;
}
.success-note p { margin: 0; }
.success-note strong {
  color: #E11D48;
  font-weight: 800;
}
.note-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #E11D48;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  font-style: italic;
  margin-top: 1px;
}

.btn-success-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(90deg, #E11D48, #db2777) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.28);
}

.success-thanks {
  text-align: center;
  margin: 0 auto 8px;
  color: #64748b;
  font-size: 0.92rem;
}
.success-thanks strong {
  color: var(--primary-color, #E11D48);
}

.page-success .app-footer {
  background: transparent;
  border-top: none;
}
.page-success .app-footer .footer-inner {
  text-align: center;
}
.page-success .success-thanks {
  display: none;
}

@media (max-width: 767px) {
  .page-success .app-main {
    padding: 10px 12px 18px;
  }
  .success-card {
    padding: 20px 14px 14px;
    margin: 4px auto 12px;
    border-radius: 20px;
    width: 100%;
  }
  .success-status-circle {
    width: 64px;
    height: 64px;
  }
  .success-title {
    font-size: 1.35rem;
  }
  .success-lead {
    font-size: 0.86rem;
    margin-bottom: 14px;
  }
  .companion-pick {
    padding: 12px;
    margin-bottom: 10px;
  }
  .companion-pick-photo {
    width: 56px;
    height: 56px;
  }
  .companion-pick-name {
    font-size: 1.08rem;
  }
  .success-details li {
    padding: 10px 0;
  }
  .btn-success-home {
    min-height: 48px;
    border-radius: 14px;
  }
}
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(20px);
  background: var(--secondary-color); color: #fff;
  padding: 12px 18px; border-radius: 14px; font-size: 0.9rem;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ========== TABLET ========== */
@media (min-width: 720px) {
  .app-main { padding: 24px 28px 48px; }

  .trust-row { grid-template-columns: repeat(3, 1fr); gap: 14px; }

  .home-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 18px 10px;
  }
  .home-stat {
    justify-content: center;
    border-right: 1px solid #dbeafe;
  }
  .home-stat:last-child { border-right: none; }

  .connections-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }

  .plans-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
  }

  .plans-compare { display: inline-flex; }

  .plans-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .plan-top {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "ico title pill";
    align-items: start;
  }

  .plan-pill {
    justify-self: end;
    max-width: 12ch;
    text-align: center;
  }

  .plan-card.is-featured {
    transform: translateY(-6px);
  }

  .plan-card.is-featured:hover {
    transform: translateY(-10px);
  }

  .profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .hero-visual { min-height: 420px; }
}

/* Compact mobile homepage polish */
@media (max-width: 719px) {
  .page-home .app-main {
    padding: 12px 14px 28px;
    overflow-x: hidden;
  }
  .page-home .hero-section,
  .page-home .hero-split,
  .page-home .hero-visual,
  .page-home .hero-photo-wrap {
    max-width: 100%;
    overflow: hidden;
  }
  .page-home .hero-blob,
  .page-home .hero-sparkles {
    display: none;
  }
  .page-home .app-header {
    padding: 10px 14px;
    padding-top: max(10px, env(safe-area-inset-top));
    border-bottom: none;
    background: rgba(255, 255, 255, 0.92);
  }
  .page-home .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .page-home .brand-text strong {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
  }
  .page-home .brand-text small {
    font-size: 0.68rem;
  }
  .page-home .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
  }

  .hero-section { margin-top: 2px; }
  .hero-split { gap: 16px; }
  .hero-copy h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
    max-width: 13ch;
  }
  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 14px;
  }
  .btn-hero {
    width: 100%;
    min-height: 50px;
  }
  .trust-row {
    margin-top: 16px;
    gap: 10px;
  }
  .trust-item {
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #e8f0fe;
  }
  .trust-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .hero-visual { min-height: 0; }
  .hero-photo-wrap { max-width: 100%; }
  .hero-photo {
    aspect-ratio: 5/4;
    border-radius: 22px;
  }
  .hero-caption {
    font-size: 0.72rem;
    padding: 8px 12px;
    right: 10px;
    bottom: 10px;
  }

  .home-stats {
    margin: 4px 0 20px;
    padding: 8px;
  }
  .connections-head h2 { font-size: 1.25rem; }
  .connection-card { padding: 14px 12px; }

  .section { margin-bottom: 26px; }
  .section-head h2 { font-size: 1.25rem; }
  .plans-grid { gap: 10px; }
  .profiles-grid { gap: 10px; }
}

/* ========== DESKTOP ========== */
@media (min-width: 992px) {
  body.page-home {
    background:
      radial-gradient(900px 420px at 85% 8%, color-mix(in srgb, var(--primary-color) 10%, transparent), transparent 55%),
      radial-gradient(700px 380px at 10% 0%, #eaf2ff, transparent 50%),
      #fff;
  }

  .app-header { padding: 14px 32px; }

  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    margin-right: 8px;
  }

  .btn-header { display: inline-flex; }

  .app-main { padding: 28px 32px 64px; }

  .hero-split {
    min-height: 520px;
  }

  .hero-copy h1 {
    font-size: 3.4rem;
    max-width: 12ch;
  }

  .hero-sub { font-size: 1.08rem; max-width: 42ch; }

  .hero-photo-wrap { max-width: 460px; margin-left: auto; }
  .hero-photo { aspect-ratio: 4/5; }

  .home-stats {
    margin: 8px 0 40px;
    padding: 22px 12px;
  }
  .home-stat strong { font-size: 1.2rem; }
  .home-stat small { font-size: 0.8rem; }

  .connections-head h2 { font-size: 2rem; }
  .connections-grid { gap: 16px; }
  .connection-card { padding: 22px 18px; }

  .section { margin-bottom: 52px; }
  .section-head h2 { font-size: 2rem; }

  .plans-section {
    padding: 12px 0 8px;
  }

  .plan-card-inner { padding: 22px 22px 24px; }

  .plan-price { font-size: 1.9rem; }

  .profiles-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .profile-card {
    grid-template-columns: 1fr;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .profile-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
    background: #f8fafc;
    display: block;
  }

  .profile-body {
    padding: 16px 18px 18px;
    flex: 1;
    min-height: 0;
  }

  .profile-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
  }

  .profile-footer {
    margin-top: auto;
    padding-top: 10px;
  }

  .brand-text strong { font-size: 1.28rem; }
}

@media (min-width: 1200px) {
  .header-inner,
  .footer-inner,
  .page-home .app-main {
    max-width: 1200px;
  }
}

/* ========== PAYMENT PAGE ========== */
/* Keep payment flow on classic blue (site theme can stay rose elsewhere) */
body.page-payment {
  --primary-color: #0056D2;
  --secondary-color: #0B1F44;
  --accent-color: #2F80ED;
  --background-color: #F5F9FF;
  --card-color: #FFFFFF;
  --header-bg: #FFFFFF;
  --header-text: #0B1F44;
  --text-color: #0B1F44;
  --text-secondary: #5B6B86;
  --button-color: #0056D2;
  --button-text: #FFFFFF;
  --button-hover: #0046B0;
  --border-color: #D7E6FF;
  --price-color: #0056D2;
  --button-background: #0056D2;
}

.page-payment {
  background:
    radial-gradient(800px 360px at 50% 0%, rgba(0, 86, 210, 0.12), transparent 55%),
    #F5F9FF;
}

.page-payment .pay-hero {
  background: linear-gradient(135deg, #2F80ED, #0056D2);
}

.page-payment .btn-pay-now,
.page-payment .btn-paid {
  background: linear-gradient(135deg, #2F80ED, #0056D2) !important;
  box-shadow: 0 12px 24px rgba(0, 86, 210, 0.28) !important;
}

.page-payment .amount,
.page-payment .qr-amount-badge,
.page-payment .plan-chip,
.page-payment .apps-ok {
  color: #0056D2;
}

.page-payment .plan-chip {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.page-payment .pay-scan-panel {
  background: color-mix(in srgb, #0056D2 7%, #fff);
  border-color: color-mix(in srgb, #0056D2 12%, #fff);
}

.page-payment .pay-upi-alert,
.page-payment .alert-error {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
}

.page-payment .pay-topbar .pay-timer {
  background: #eff6ff;
  border-color: #93c5fd;
}

.page-payment .pay-topbar .pay-timer .timer-value {
  color: #0056D2;
}

.pay-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pay-topbar .back-link { margin: 0; }

.pay-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.pay-secure-badge strong {
  display: block;
  color: var(--primary-color);
  font-size: 0.82rem;
}

.pay-secure-badge small { font-size: 0.7rem; }

.pay-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 26px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(11, 31, 68, 0.08);
}

.pay-hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.pay-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pay-hero-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.pay-hero h1 {
  margin: 0 0 6px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.pay-hero p {
  margin: 0;
  opacity: 0.92;
  font-size: 0.88rem;
  line-height: 1.4;
}

.pay-hero-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pay-script {
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  opacity: 0.95;
}

.pay-timer {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 14px;
  padding: 8px 12px;
  text-align: center;
  min-width: 92px;
}

.pay-timer .timer-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.pay-timer .timer-value {
  display: block;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1.1;
}

.pay-timer.expired,
.pay-timer.warn {
  background: rgba(220, 38, 38, 0.22);
  border-color: rgba(255,255,255,0.35);
}

.pay-scan-panel {
  background: color-mix(in srgb, var(--primary-color) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary-color) 12%, #fff);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 14px;
}

.scan-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pay-scan-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  margin-top: 0;
  margin-bottom: 12px;
}

.pay-summary-top {
  margin-top: 0;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  padding: 4px 10px;
}

.page-payment .btn-pay-now {
  margin-top: 4px;
}

.pay-now-hint {
  margin: -6px 0 12px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.qr-scan-tip {
  margin: 8px 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #64748b;
  text-align: left;
}

.pay-upi-alert {
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.pay-upi-alert code {
  font-size: 0.85em;
}

.dynamic-qr {
  -webkit-touch-callout: none;
  user-select: none;
}

.pay-qr-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 280px;
  margin: 0 auto;
  width: 100%;
}

.pay-scan-panel .qr-wrap {
  margin: 0;
}

.qr-wrap-dynamic {
  text-align: center;
}

.dynamic-qr {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  box-sizing: content-box;
  display: grid;
  place-items: center;
}

.dynamic-qr img,
.dynamic-qr canvas {
  display: block;
  width: 160px !important;
  height: 160px !important;
  max-width: 100%;
}

.qr-amount-badge {
  margin: 8px 0 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-color);
}

.qr-static-warn {
  margin: 6px 0 0;
  font-size: 0.68rem;
  line-height: 1.3;
  color: #b45309;
}

.pay-scan-panel .qr-wrap img {
  width: 100%;
  max-width: 148px;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  background: #fff;
}

.qr-placeholder {
  min-height: 140px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 0.72rem;
  border: 1px dashed var(--border-color);
}

.pay-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 4px 8px;
}

.pay-summary-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--primary-color) 12%, #fff);
}

.pay-summary-row:last-child { border-bottom: none; }

.sum-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary-color);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.pay-summary-row small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.68rem;
  line-height: 1.2;
}

.pay-summary-row strong {
  font-size: 0.88rem;
  color: var(--secondary-color);
  line-height: 1.2;
  word-break: break-word;
}

.pay-amount-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.plan-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--primary-color) 18%, #fff);
  color: var(--primary-color) !important;
  font-size: 0.75rem !important;
  font-weight: 800;
}

.pay-summary-row .amount {
  color: var(--price-color);
  font-size: 1.05rem;
  margin-left: auto;
  white-space: nowrap;
}

.pay-tip { display: none; }

.pay-upi-block { margin-bottom: 14px; }

.upi-label {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--secondary-color);
}

.copy-btn { white-space: nowrap; }

.pay-apps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.pay-apps-head h2 {
  margin: 0;
  font-size: 1rem;
  color: var(--secondary-color);
}

.apps-ok {
  color: #15803d;
  background: #dcfce7;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.upi-apps-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.upi-apps-grid .upi-app {
  padding: 14px 8px;
  font-size: 0.78rem;
  text-align: center;
  gap: 8px;
}

.upi-apps-grid .upi-logo {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: contain;
  background: #f8fafc;
  padding: 6px;
  box-sizing: border-box;
}

.btn-pay-now {
  margin: 4px 0 14px;
  min-height: 52px;
  border-radius: 14px;
  font-size: 1.02rem;
  font-weight: 800;
  gap: 8px;
  width: 100%;
  border: none;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color, #3b82f6), var(--primary-color));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--primary-color) 28%, transparent);
}

.how-pay {
  margin-bottom: 14px;
}

.how-pay h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--secondary-color);
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.how-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: color-mix(in srgb, var(--primary-color) 6%, #fff);
  border-radius: 12px;
  padding: 10px 12px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-text {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.35;
  padding-top: 3px;
}

.btn-paid {
  min-height: 56px;
  border-radius: 16px;
  font-size: 1.05rem;
  gap: 10px;
}

.btn-paid:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.paid-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.pay-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
}

.pay-trust span {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

@media (min-width: 768px) {
  .pay-card { padding: 18px; }

  .pay-topbar .pay-timer { display: none; }

  .pay-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
  }

  .pay-hero h1 { font-size: 1.7rem; }

  .pay-hero-side {
    flex-direction: column;
    align-items: flex-end;
  }

  .pay-scan-panel {
    padding: 16px 18px;
  }

  .pay-scan-top {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pay-scan-panel .qr-wrap img {
    max-width: 180px;
  }

  .pay-summary {
    padding: 8px 14px;
  }

  .pay-summary-row {
    padding: 10px 0;
  }

  .pay-summary-row strong { font-size: 1rem; }
  .pay-summary-row .amount { font-size: 1.25rem; }

  .upi-apps-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .how-steps li {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
}

/* Compact mobile payment — keep icons/text visible, tighter spacing */
@media (max-width: 767px) {
  .page-payment .app-header {
    padding: 8px 12px;
    padding-top: max(8px, env(safe-area-inset-top));
  }
  .page-payment .brand-text small,
  .page-payment .app-footer,
  .page-payment .pay-script,
  .page-payment .pay-timer-hero {
    display: none !important;
  }

  .page-payment .app-main {
    padding: 8px 10px 78px;
    max-width: 100%;
  }

  .page-payment .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .page-payment .brand-text strong {
    font-size: 0.92rem;
  }

  .pay-topbar {
    margin-bottom: 8px;
  }
  .pay-topbar .pay-timer {
    padding: 4px 10px;
    min-width: 78px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--primary-color) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--primary-color) 22%, #fff);
    color: var(--primary-color);
  }
  .pay-topbar .pay-timer .timer-label {
    font-size: 0.58rem;
    color: var(--text-secondary);
  }
  .pay-topbar .pay-timer .timer-value {
    font-size: 1.05rem;
    color: var(--primary-color);
  }
  .pay-topbar .pay-timer.expired,
  .pay-topbar .pay-timer.warn {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
  }
  .pay-topbar .pay-timer.expired .timer-value,
  .pay-topbar .pay-timer.warn .timer-value {
    color: #b91c1c;
  }

  .pay-card {
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(11, 31, 68, 0.06);
  }

  .pay-hero {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 14px;
  }
  .pay-hero-main {
    gap: 10px;
    align-items: center;
  }
  .pay-hero-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.95rem;
  }
  .pay-hero h1 {
    margin: 0 0 2px;
    font-size: 1.05rem;
  }
  .pay-hero p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.3;
    opacity: 0.92;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .pay-hero-side { display: none; }

  .pay-scan-panel {
    padding: 10px;
    border-radius: 14px;
    margin-bottom: 10px;
  }

  .scan-pill {
    margin-bottom: 8px;
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .pay-scan-top {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }

  .pay-scan-panel .qr-wrap img {
    max-width: 128px;
    border-radius: 12px;
  }

  .dynamic-qr {
    width: 120px;
    height: 120px;
    padding: 6px;
  }

  .dynamic-qr img,
  .dynamic-qr canvas {
    width: 120px !important;
    height: 120px !important;
  }

  .qr-amount-badge {
    font-size: 0.78rem;
    margin-top: 6px;
  }

  .qr-placeholder {
    min-height: 120px;
    padding: 6px;
    font-size: 0.65rem;
  }

  .pay-summary {
    padding: 2px 6px;
  }

  .pay-summary-row {
    padding: 5px 0;
    gap: 6px;
  }
  .sum-ico {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 0.72rem;
  }
  .pay-summary-row small { font-size: 0.62rem; }
  .pay-summary-row strong { font-size: 0.8rem; }
  .plan-chip {
    font-size: 0.68rem !important;
    padding: 2px 7px;
  }
  .pay-summary-row .amount { font-size: 0.95rem; }

  .pay-tip {
    margin-top: 0;
    padding: 8px 10px;
    font-size: 0.7rem;
    line-height: 1.35;
    gap: 6px;
  }

  .pay-upi-block { margin-bottom: 10px; }
  .upi-row { margin-bottom: 0; }
  .upi-label {
    margin: 0 0 6px;
    font-size: 0.82rem;
  }
  .upi-row code {
    font-size: 0.85rem;
    padding: 10px 12px;
    min-height: 0;
  }
  .upi-row .copy-btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .pay-apps-head {
    margin-bottom: 8px;
    gap: 6px;
  }
  .pay-apps-head h2 {
    font-size: 0.9rem;
  }
  .apps-ok {
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  .upi-apps,
  .upi-apps-grid {
    gap: 8px;
    margin: 0 0 10px;
  }
  .upi-apps-grid .upi-app {
    padding: 12px 6px;
    font-size: 0.75rem;
    border-radius: 14px;
    gap: 8px;
  }
  .upi-apps-grid .upi-logo,
  .upi-apps .upi-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    padding: 5px;
  }

  .btn-pay-now {
    margin: 2px 0 12px;
    min-height: 48px;
    font-size: 0.98rem;
    border-radius: 14px;
  }

  .how-pay {
    margin-bottom: 10px;
  }
  .how-pay h2 {
    margin: 0 0 8px;
    font-size: 0.9rem;
  }
  .how-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }
  .how-steps li {
    flex: none;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
  }
  .step-num {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
    flex-shrink: 0;
  }
  .step-text {
    font-size: 0.8rem;
    line-height: 1.35;
    padding-top: 1px;
  }

  .pay-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 0.65rem;
  }
  .pay-trust span {
    font-size: 0.9rem;
    margin-bottom: 1px;
  }

  #paid-form {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, #fff 28%);
  }
  .btn-paid {
    min-height: 48px;
    border-radius: 14px;
    font-size: 0.98rem;
    width: 100%;
    box-shadow: 0 10px 24px rgba(0, 86, 210, 0.28);
  }
  .paid-check {
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
  }
}


/* ========== CHECKOUT PLAN PICKER ========== */
.plan-picker {
  display: grid;
  gap: 8px;
}
.plan-option {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 10px 12px 10px 38px;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.plan-option input {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary-color);
}
.plan-option.is-selected,
.plan-option:has(input:checked) {
  border-color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 6%, #fff);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary-color) 12%, transparent);
}
.plan-option-top {
  display: contents;
}
.plan-option-name {
  font-weight: 800;
  color: var(--secondary-color);
  font-size: 0.92rem;
  line-height: 1.2;
}
.plan-option-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--primary-color);
}
.plan-option-price {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--price-color, var(--primary-color));
  margin: 0 0 0 auto;
  flex-shrink: 0;
}

/* ========== STEP ANIMATIONS ========== */
@keyframes animFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes animFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes animScaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes animSlideRight {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes animPulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.app-main {
  animation: animFadeIn 0.35s ease both;
}

[data-anim] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-anim].is-in {
  opacity: 1;
  transform: none;
}

[data-anim="fade"] { transform: none; }
[data-anim="scale"] { transform: scale(0.94); }
[data-anim="left"] { transform: translateX(-16px); }
[data-anim="right"] { transform: translateX(16px); }

[data-anim="fade"].is-in,
[data-anim="scale"].is-in,
[data-anim="left"].is-in,
[data-anim="right"].is-in {
  opacity: 1;
  transform: none;
}

[data-anim-delay="1"] { transition-delay: 0.06s; }
[data-anim-delay="2"] { transition-delay: 0.12s; }
[data-anim-delay="3"] { transition-delay: 0.18s; }
[data-anim-delay="4"] { transition-delay: 0.24s; }
[data-anim-delay="5"] { transition-delay: 0.3s; }
[data-anim-delay="6"] { transition-delay: 0.36s; }

.page-home .hero-copy { animation: animFadeUp 0.7s ease both; }
.page-home .hero-visual { animation: animScaleIn 0.75s 0.12s ease both; }
.page-home .trust-item { animation: animFadeUp 0.55s ease both; }
.page-home .trust-item:nth-child(1) { animation-delay: 0.2s; }
.page-home .trust-item:nth-child(2) { animation-delay: 0.3s; }
.page-home .trust-item:nth-child(3) { animation-delay: 0.4s; }

.page-checkout .checkout-card,
.page-payment .pay-card,
.page-success .success-card {
  animation: animFadeUp 0.55s ease both;
}

.page-checkout .selected-profile { animation: animScaleIn 0.5s 0.08s ease both; }
.page-checkout .plan-option { animation: animSlideRight 0.45s ease both; }
.page-checkout .plan-option:nth-child(1) { animation-delay: 0.12s; }
.page-checkout .plan-option:nth-child(2) { animation-delay: 0.2s; }
.page-checkout .plan-option:nth-child(3) { animation-delay: 0.28s; }
.page-checkout .form-group { animation: animFadeUp 0.45s ease both; }
.page-checkout .form-group:nth-of-type(1) { animation-delay: 0.18s; }
.page-checkout .form-group:nth-of-type(2) { animation-delay: 0.26s; }
.page-checkout .form-group:nth-of-type(3) { animation-delay: 0.34s; }
.page-checkout .btn-checkout { animation: animScaleIn 0.45s 0.4s ease both; }

.page-payment .pay-hero { animation: animFadeUp 0.5s ease both; }
.page-payment .pay-scan-panel { animation: animScaleIn 0.55s 0.1s ease both; }
.page-payment .btn-pay-now { animation: animPulseSoft 2.2s 0.8s ease-in-out infinite; }
.page-payment .upi-app { animation: animFadeUp 0.45s ease both; }
.page-payment .upi-app:nth-child(1) { animation-delay: 0.2s; }
.page-payment .upi-app:nth-child(2) { animation-delay: 0.28s; }
.page-payment .upi-app:nth-child(3) { animation-delay: 0.36s; }
.page-payment .how-steps li { animation: animSlideRight 0.4s ease both; }
.page-payment .how-steps li:nth-child(1) { animation-delay: 0.15s; }
.page-payment .how-steps li:nth-child(2) { animation-delay: 0.22s; }
.page-payment .how-steps li:nth-child(3) { animation-delay: 0.29s; }
.page-payment .how-steps li:nth-child(4) { animation-delay: 0.36s; }
.page-payment .how-steps li:nth-child(5) { animation-delay: 0.43s; }
.page-payment .btn-paid { animation: animFadeUp 0.45s 0.35s ease both; }

.page-success .success-status-ico { animation: animScaleIn 0.55s ease both; }
.page-success .success-title { animation: animFadeUp 0.5s 0.15s ease both; }
.page-success .success-lead { animation: animFadeUp 0.5s 0.22s ease both; }
.page-success .companion-pick,
.page-success .pending-banner,
.page-success .success-details,
.page-success .success-note,
.page-success .btn-success-home {
  animation: animFadeUp 0.5s ease both;
}
.page-success .companion-pick { animation-delay: 0.28s; }
.page-success .pending-banner { animation-delay: 0.32s; }
.page-success .success-details { animation-delay: 0.36s; }
.page-success .success-note { animation-delay: 0.44s; }
.page-success .btn-success-home { animation-delay: 0.5s; }

.btn, .btn-hero, .btn-checkout, .btn-pay-now, .btn-paid, .plan-cta, .upi-app {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn:hover, .btn-hero:hover, .btn-checkout:hover, .btn-pay-now:hover, .plan-cta:hover, .upi-app:hover {
  transform: translateY(-2px);
}
.plan-card:hover, .profile-card:hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-anim] {
    opacity: 1 !important;
    transform: none !important;
  }
  .app-main { animation: none; }
}

