/* PartnerOnRent — 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: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-x: none;
  font-family: "DM Sans", "Segoe UI", Tahoma, sans-serif;
  color: var(--text-color);
  background: var(--background-color);
}

/* Soften over-pink surfaces; keep rose for CTAs only */
:root {
  --pink-soft: #FFF5F8;
  --pink-mid: #FCE7F3;
  --teal-soft: #F0FDFA;
  --sky-soft: #F0F9FF;
  --gold-soft: #FFFBEB;
  --slate-soft: #F8FAFC;
  --header-offset: 68px;
}

.site-shell {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  padding-top: calc(var(--header-offset, 68px) + env(safe-area-inset-top, 0px));
}

/* ========== HEADER ========== */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1200;
  padding: 6px 16px;
  padding-top: max(6px, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--header-bg) 96%, transparent);
  backdrop-filter: blur(14px);
  -webkit-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%;
  min-height: 52px;
}

.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;
  object-position: left center;
  height: 56px;
  width: auto;
  max-height: 56px;
  max-width: min(300px, 68vw);
}

.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 .nav-item {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 10px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-nav .nav-item:hover,
.site-nav .nav-item.active {
  color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 10%, #fff);
}

.site-nav .nav-ico,
.site-nav .nav-chevron {
  display: none;
}

.site-nav .nav-ico svg {
  display: block;
}

.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: 46px;
  height: 46px;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.brand { margin-right: 0; }
.header-inner .brand { margin-right: auto; }

.notif-wrap {
  position: relative;
}
.notif-bell {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #0f172a;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  padding: 0;
}
.notif-bell[aria-expanded="true"],
.notif-bell:hover {
  background: #fff7ed;
  border-color: #fcd34d;
  color: #c0265a;
}
.notif-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c0265a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.notif-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(92vw, 340px);
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  z-index: 70;
  overflow: hidden;
  animation: navCardIn 0.2s ease both;
}
.notif-panel[hidden] { display: none !important; }

@media (max-width: 991px) {
  .notif-panel {
    position: fixed;
    left: 50%;
    right: auto;
    top: calc(58px + env(safe-area-inset-top, 0px));
    width: min(92vw, 340px);
    transform: translateX(-50%);
    animation: notifCenterIn 0.2s ease both;
    z-index: 120;
  }
}

@keyframes notifCenterIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateX(-50%); }
}
.notif-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}
.notif-panel-head strong {
  font-size: 0.92rem;
  color: #0f172a;
}
.notif-mark-read {
  border: 0;
  background: transparent;
  color: #0284c7;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.notif-list {
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: min(60vh, 360px);
  overflow-y: auto;
}
.notif-empty {
  padding: 18px 12px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.86rem;
  font-weight: 600;
}
.notif-item {
  border-radius: 12px;
}
.notif-item.is-read .notif-copy strong { color: #64748b; }
.notif-item.is-read .notif-dot { opacity: 0.35; }
.notif-link {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
}
.notif-link:hover { background: #f8fafc; }
.notif-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #94a3b8;
}
.notif-dot-booking { background: #c0265a; }
.notif-dot-update { background: #f59e0b; }
.notif-dot-info { background: #0d9488; }
.notif-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.notif-copy strong {
  font-size: 0.84rem;
  color: #0f172a;
}
.notif-copy span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}
.notif-copy small {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (min-width: 992px) {
  .notif-bell { display: inline-grid; }
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--primary-color, #C0265A);
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] {
  background: #ffe4ef;
  border-color: #fb7185;
}

/* Mobile dropdown card menu */
.site-nav.open {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  left: 14px;
  right: 14px;
  top: calc(100% + 10px);
  background: #fff;
  border: 1.5px solid #fecdd3;
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(225, 29, 72, 0.14);
  z-index: 60;
  animation: navCardIn 0.22s ease both;
}

@keyframes navCardIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.site-nav.open .nav-item {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  color: #334155;
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
  border-bottom: 1px solid #f1f5f9;
}

.site-nav.open .nav-item:last-child {
  border-bottom: 0;
}

.site-nav.open .nav-ico,
.site-nav.open .nav-chevron {
  display: grid;
  place-items: center;
}

.site-nav.open .nav-ico {
  color: #64748b;
}

.site-nav.open .nav-chevron {
  color: #94a3b8;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.site-nav.open .nav-item:hover {
  background: #fff7fa;
  color: var(--primary-color, #E11D48);
}

.site-nav.open .nav-item.active {
  background: linear-gradient(90deg, #fff1f5, #ffe4ef);
  color: var(--primary-color, #E11D48);
  border-bottom-color: transparent;
}

.site-nav.open .nav-item.active .nav-ico,
.site-nav.open .nav-item.active .nav-chevron {
  color: var(--primary-color, #E11D48);
}

.app-header.header-marketing { position: fixed; }

.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: 28px;
}

.page-checkout .app-footer {
  padding: 22px 16px 18px;
}

.page-checkout .footer-mission,
.page-checkout .footer-trust,
.page-checkout .footer-tagline,
.page-checkout .footer-rule-bottom {
  display: none;
}

.page-checkout .footer-thanks {
  font-size: 0.92rem;
}

.page-checkout .footer-logo {
  height: 34px;
}

.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: 999px;
  min-height: 52px;
  font-size: 0.95rem;
  margin-top: 4px;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}
.btn-checkout.is-ready {
  background: linear-gradient(90deg, #22c55e, #16a34a) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.28);
}
.checkout-legal-note {
  margin: 4px 0 10px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.4;
}
.checkout-legal-note a {
  color: #e11d48;
  font-weight: 700;
  text-decoration: none;
}

.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: 36px 20px 28px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
  overflow: hidden;
  border-top: none;
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("../images/footer-bg.png") center bottom / cover no-repeat,
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 55%, #f0fdfa 100%);
  opacity: 1;
  pointer-events: none;
}

.footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.75) 0%, rgba(238, 242, 255, 0.35) 45%, rgba(240, 253, 250, 0.2) 100%);
}

.footer-waves { display: none; }

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.app-footer p { margin: 0; }

.footer-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 16px;
  max-width: 280px;
}
.footer-rule span {
  flex: 1;
  height: 1px;
  background: #f9a8d4;
  opacity: 0.7;
}
.footer-rule i {
  font-style: normal;
  color: #E11D48;
  font-size: 0.85rem;
  line-height: 1;
}

.footer-thanks {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px !important;
  letter-spacing: -0.01em;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(200px, 60vw);
  object-fit: contain;
}

.footer-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fb7185, #E11D48);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.25);
}

.footer-brand {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1;
}
.footer-brand-accent {
  color: #E11D48;
}

.footer-mission {
  margin: 0 auto 18px !important;
  max-width: 38ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 0;
  margin: 0 auto 18px;
  max-width: 560px;
}

.footer-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  border-right: 1px solid #f9a8d4;
}

.footer-trust-item:last-child {
  border-right: 0;
}

.footer-trust-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffe4ef;
  color: #E11D48;
  flex-shrink: 0;
}

.footer-rule-bottom {
  margin-top: 4px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px !important;
}

.footer-copy,
.footer-legal {
  display: block;
  margin: 8px auto 0;
  max-width: 36rem;
  width: 100%;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #7c8aa5;
  text-align: center;
}
.footer-legal {
  margin-top: 10px !important;
  padding: 0 8px;
  font-size: 0.76rem;
  text-align: center !important;
}
.footer-notice { display: none; }

@media (max-width: 640px) {
  .footer-trust {
    flex-direction: column;
    gap: 10px;
  }
  .footer-trust-item {
    border-right: 0;
    padding: 0;
  }
}

/* ========== MOBILE BOTTOM NAV ========== */
.bottom-nav {
  display: none;
}

@media (max-width: 991px) {
  html {
    scroll-behavior: auto;
  }

  .app-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--header-bg);
  }

  .app-main {
    animation: none !important;
  }

  .page-payment .btn-pay-now {
    animation: none !important;
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: stretch;
    justify-content: space-between;
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #ffffff;
    border: 0;
    border-top: 1px solid #fce7f3;
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.1);
  }

  .bottom-nav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #E11D48, #fb7185, #f59e0b, #38bdf8);
    opacity: 0.9;
  }

  .bottom-nav-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 52px;
    padding: 6px 2px;
    border-radius: 12px;
    text-decoration: none;
    color: #64748b;
    font-weight: 700;
  }

  .bottom-nav-ico {
    position: relative;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
  }

  .bottom-nav-ico svg {
    display: block;
    grid-area: 1 / 1;
    width: 20px;
    height: 20px;
  }

  .bottom-nav-ico .ico-filled {
    display: none;
  }

  .bottom-nav-label {
    font-size: 0.62rem;
    letter-spacing: 0.01em;
    line-height: 1;
  }

  .bottom-nav-item.is-active {
    font-weight: 800;
  }

  .bottom-nav-item.is-active .ico-outline {
    display: none;
  }

  .bottom-nav-item.is-active .ico-filled {
    display: block;
  }

  .bottom-nav-item.bn-home.is-active {
    color: #E11D48;
    background: linear-gradient(180deg, #fff1f5, #ffe4ef);
    box-shadow: inset 0 0 0 1px #fecdd3;
  }
  .bottom-nav-item.bn-plans.is-active {
    color: #d97706;
    background: linear-gradient(180deg, #fffbeb, #fef3c7);
    box-shadow: inset 0 0 0 1px #fde68a;
  }
  .bottom-nav-item.bn-profiles.is-active {
    color: #0284c7;
    background: linear-gradient(180deg, #f0f9ff, #e0f2fe);
    box-shadow: inset 0 0 0 1px #bae6fd;
  }
  .bottom-nav-item.bn-track.is-active {
    color: #0d9488;
    background: linear-gradient(180deg, #f0fdfa, #ccfbf1);
    box-shadow: inset 0 0 0 1px #99f6e4;
  }
  .bottom-nav-item.bn-account.is-active {
    color: #7c3aed;
    background: linear-gradient(180deg, #f5f3ff, #ede9fe);
    box-shadow: inset 0 0 0 1px #ddd6fe;
  }

  .bottom-nav-item:not(.is-active):hover {
    color: #334155;
    background: #f8fafc;
  }

  body:not(.page-payment) .app-main {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  body:not(.page-payment) .app-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 992px) {
  .bottom-nav { display: none !important; }
}

/* ========== 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-trust {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: 520px;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 20px rgba(15, 23, 42, 0.04);
  color: #334155;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hero-trust::-webkit-scrollbar { display: none; }

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
  line-height: 1;
}
.hero-trust-item svg {
  flex-shrink: 0;
  color: #94a3b8;
}
.hero-trust-sep {
  width: 1px;
  height: 16px;
  margin: 0 12px;
  background: rgba(148, 163, 184, 0.45);
  flex-shrink: 0;
}
.hero-trust-age {
  gap: 8px;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: #0f172a;
}
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: #0f172a;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* legacy class hooks (if referenced elsewhere) */
.hero-pills { display: none; }

.hero-stage-text h1,
.hero-copy h1 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 7.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--secondary-color);
  max-width: 12ch;
  font-weight: 700;
  font-style: italic;
}
.hero-title-lead {
  display: block;
  font-style: italic;
  font-weight: 600;
}
.hero-accent {
  color: var(--primary-color);
  font-family: "Great Vibes", "Caveat", cursive;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.hero-sub {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.45;
  max-width: 34ch;
  font-weight: 600;
  font-style: italic;
}

/* Overlay copy lives on the banner; desktop uses the column copy */
.hero-stage-text-overlay { display: none; }
.hero-stage-text-desktop { display: block; }

.hero-rule {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--primary-color);
  margin: 0 0 16px;
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
}
.hero-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
  padding: 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.25;
}
.hero-service:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: color-mix(in srgb, var(--primary-color) 18%, transparent);
}
.hero-service-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--primary-color) 12%, #fff);
  color: var(--primary-color);
  flex-shrink: 0;
}

.hero-checks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.hero-check-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.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 {
  display: inline-grid;
  place-items: center;
  font-size: 0.95rem;
}
.btn-ico svg { display: block; }
.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:
      "pills visual"
      "content visual"
      "trust visual";
    gap: 16px 40px;
    align-items: start;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
  }
  .hero-pills { grid-area: pills; justify-self: stretch; width: 100%; box-sizing: border-box; }
  .hero-trust {
    grid-area: pills;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 12px 16px;
  }
  .hero-trust-item { font-size: 0.74rem; }
  .hero-trust-sep { margin: 0 10px; }
  .hero-stage { display: contents; }
  .hero-stage-content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .hero-visual {
    grid-area: visual;
    align-self: center;
    justify-self: center;
    position: relative;
    width: 100%;
  }
  .trust-row {
    grid-area: trust;
    grid-template-columns: 1fr;
    margin-top: 8px;
  }
  .hero-below .btn-hero { width: auto; align-self: flex-start; }
}

.trust-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr 36px;
  align-items: center;
  gap: 12px;
  padding: 14px 12px 14px 14px;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7fa 0%, #fff1f5 55%, #ffe4ef 100%);
  border: 1.5px solid #fecdd3;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.trust-card::before {
  content: "";
  position: absolute;
  right: -18px;
  top: -24px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.22) 0%, rgba(251, 113, 133, 0.08) 45%, transparent 70%);
  pointer-events: none;
}

.trust-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -28px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.trust-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(225, 29, 72, 0.12);
}

.trust-card-ico {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #fecdd3;
  box-shadow: 0 6px 14px rgba(225, 29, 72, 0.1);
  flex-shrink: 0;
}

.trust-card-ico svg {
  display: block;
}

.trust-card-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.trust-card-body strong {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.trust-card-body small {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.3;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffe4ef;
  color: #be123c;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.trust-card-go {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #E11D48;
  font-size: 1.25rem;
  font-weight: 500;
  border: 1px solid #fecdd3;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.1);
}

/* legacy class safety */
.trust-item { display: none; }

.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-wrap picture,
.hero-photo {
  width: 100%;
  display: block;
}

.hero-photo {
  border-radius: 28px;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4/5;
  background: #ffe4ef;
  box-shadow: 0 24px 50px rgba(225, 29, 72, 0.14);
}

/* Mobile banner image must keep its native landscape ratio */
.hero-stage .hero-photo-wrap {
  max-width: none;
  margin: 0;
}
.hero-stage .hero-photo {
  border-radius: 0;
  box-shadow: none;
}

.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%, #fb7185 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(225, 29, 72, 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(225, 29, 72, 0.2);
}

.hero-caption-script {
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: #fff;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(190, 18, 60, 0.45);
  padding: 0 8px 4px 0;
  text-align: right;
  line-height: 1.15;
}
.hero-caption-heart {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1;
}

.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-section {
  position: relative;
  margin-top: 8px;
  padding: 8px 0 4px;
}

.profiles-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.profiles-head {
  min-width: 0;
}

.profiles-head h2 {
  margin: 0 0 6px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.45rem, 5.2vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.profiles-title-lead { color: #0f172a; }
.profiles-title-accent { color: #c0265a; }

.profiles-decor {
  display: none;
  margin: 0;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 1.35rem;
  font-weight: 700;
  color: #db2777;
  line-height: 1.15;
  text-align: right;
  transform: rotate(-4deg);
  white-space: nowrap;
}
.profiles-decor span { display: block; }
.profiles-decor i {
  font-style: normal;
  margin-left: 4px;
}

.profile-heart-badge {
  display: none;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #f59e0b;
  flex-shrink: 0;
}

.profile-meta-sep {
  margin: 0 4px;
  color: #cbd5e1;
}

.profile-aside {
  display: none;
}

.profile-fav-media {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #e11d72;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  display: none;
  place-items: center;
  z-index: 2;
}
.profile-fav-media svg {
  width: 14px;
  height: 14px;
}

.profiles-head p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.profiles-view-all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.profiles-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.profile-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 0;
  align-items: stretch;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.profile-media {
  position: relative;
  min-height: 168px;
  background: #f1f5f9;
}

.profile-photo {
  width: 100%;
  height: 100%;
  min-height: 168px;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-fav {
  position: static;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #fff7ed;
  color: #ea580c;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: none;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
}
.profile-fav svg {
  display: block;
  width: 12px;
  height: 12px;
  overflow: visible;
}
.profile-fav.is-loved {
  background: #ffedd5;
  color: #c2410c;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}
.profile-fav.is-loved svg {
  fill: currentColor;
  stroke: currentColor;
}

.profile-online {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}
.profile-online i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: block;
  flex-shrink: 0;
  box-shadow:
    0 0 6px 1px rgba(34, 197, 94, 0.95),
    0 0 12px 3px rgba(74, 222, 128, 0.55);
  animation: onlineGlow 1.6s ease-in-out infinite;
}
.profile-online i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 222, 128, 0.7);
  animation: onlinePulse 1.6s ease-out infinite;
}
@keyframes onlineGlow {
  0%, 100% {
    box-shadow:
      0 0 5px 1px rgba(34, 197, 94, 0.85),
      0 0 10px 2px rgba(74, 222, 128, 0.4);
  }
  50% {
    box-shadow:
      0 0 8px 2px rgba(34, 197, 94, 1),
      0 0 18px 5px rgba(74, 222, 128, 0.7);
  }
}
@keyframes onlinePulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.profile-body {
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.profile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.profile-name-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.profile-body h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-verified {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fb7185, #e11d48);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.profile-avail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.profile-avail i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: block;
}

.profile-meta {
  margin: 0;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 500;
}

.profile-desc {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1f5;
  color: #e11d48;
  font-size: 0.66rem;
  font-weight: 700;
}
.profile-tag svg { flex-shrink: 0; }

.profile-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.profile-view-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e11d48;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.profile-footer-sep {
  width: 1px;
  height: 18px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.profile-rent-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  box-shadow: 0 10px 20px rgba(225, 29, 72, 0.28);
  font-weight: 700;
  font-size: 0.82rem;
  gap: 4px;
}

.profile-price {
  color: var(--price-color);
  font-weight: 700;
  font-size: 1.05rem;
}

@media (max-width: 380px) {
  .profile-card { grid-template-columns: 96px 1fr; }
  .profile-media,
  .profile-photo { min-height: 156px; }
  .profile-avail { display: none; }
  .profile-tags { display: none; }
}

.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-section .section-head,
.content-section .content-text {
  text-align: center;
}

.content-text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ========== HOW IT WORKS / IMPORTANT / BOOK CTA ========== */
.how-section,
.important-section,
.book-cta-section {
  margin-bottom: 18px;
}

.how-card {
  background: #fff;
  border-radius: 26px;
  padding: 22px 16px 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  text-align: center;
  border: 1px solid #e2e8f0;
}

.how-top-ico {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #ecfeff;
  color: #0d9488;
  font-size: 1.05rem;
  line-height: 1;
}

.how-title {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 5.5vw, 1.9rem);
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.02em;
}
.how-title-accent { color: #e11d48; }

.how-sub {
  margin: 0 auto 16px;
  max-width: 34ch;
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.45;
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  text-align: left;
}

.how-step {
  display: grid;
  grid-template-columns: 34px 28px 1fr;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 999px;
  background: #fff1f5;
}

.how-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #fb7185, #e11d48);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(225, 29, 72, 0.25);
}

.how-step-ico {
  display: grid;
  place-items: center;
  color: #e11d48;
}
.how-step-ico svg { display: block; }

.how-step-text {
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}

.important-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
}

.important-ico {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fffbeb;
  flex-shrink: 0;
}

.important-copy h2 {
  margin: 0 0 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: #0f172a;
  font-weight: 700;
}

.important-copy p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.book-cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 26px 18px 24px;
  border-radius: 26px;
  background:
    radial-gradient(420px 160px at 90% 20%, rgba(245, 158, 11, 0.18), transparent 60%),
    radial-gradient(360px 140px at 10% 90%, rgba(13, 148, 136, 0.12), transparent 55%),
    linear-gradient(160deg, #fff7ed 0%, #fdf2f8 45%, #ecfeff 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.book-cta-card::before {
  content: "♥";
  position: absolute;
  top: 18px;
  left: 18px;
  color: rgba(225, 29, 72, 0.18);
  font-size: 1.1rem;
  pointer-events: none;
}
.book-cta-card::after {
  content: "♥";
  position: absolute;
  right: 22px;
  bottom: 70px;
  color: rgba(225, 29, 72, 0.16);
  font-size: 0.95rem;
  pointer-events: none;
}

.book-cta-ico {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #e11d48;
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.12);
}

.book-cta-title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 5.5vw, 1.95rem);
  font-weight: 700;
  color: #334155;
  font-style: normal;
}
.book-cta-title em {
  font-style: normal;
  color: #e11d48;
}

.book-cta-sub {
  position: relative;
  z-index: 1;
  margin: 0 auto 16px;
  max-width: 34ch;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.book-cta-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
}

.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;
}

.page-listing .app-main {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.listing-page {
  max-width: 1100px;
  margin: 0 auto;
}
.page-listing .plans-section,
.page-listing .profiles-section {
  margin-top: 4px;
}

/* ========== LEGAL PAGES ========== */
.page-legal .app-main {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.legal-page {
  max-width: 720px;
  margin: 0 auto 24px;
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.legal-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid #fecdd3;
  background: #fff;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.legal-nav-link.is-active {
  background: linear-gradient(90deg, #fb7185, #e11d48);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.22);
}
.legal-card {
  background: #fff;
  border: 1px solid #fce7f3;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(190, 18, 60, 0.07);
  padding: 22px 18px 24px;
}
.legal-eyebrow {
  margin: 0 0 6px;
  color: #e11d48;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.legal-card h1 {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.legal-updated {
  margin: 0 0 16px;
  color: #94a3b8;
  font-size: 0.82rem;
}
.legal-callout {
  margin: 0 0 18px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1.5px solid #fecdd3;
  background: #fff1f5;
}
.legal-callout-warn {
  border-color: #fda4af;
  background: linear-gradient(180deg, #fff1f5, #ffe4ef);
}
.legal-callout strong {
  display: block;
  color: #be123c;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.legal-callout p {
  margin: 0;
  color: #9f1239;
  font-size: 0.88rem;
  line-height: 1.45;
}
.legal-body {
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55;
}
.legal-body h2 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
}
.legal-body p { margin: 0 0 10px; }
.legal-body ul,
.legal-body ol {
  margin: 0 0 12px;
  padding-left: 1.2rem;
}
.legal-body li { margin-bottom: 6px; }
.legal-body a {
  color: #e11d48;
  font-weight: 700;
  text-decoration: none;
}
.legal-body a:hover { text-decoration: underline; }
.legal-copyright-line {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}
.contact-grid {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}
.contact-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1.5px solid #fecdd3;
  background: #fff7fa;
  text-decoration: none;
  color: inherit;
}
.contact-tile strong {
  color: #e11d48;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-tile span {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.95rem;
}
.contact-tile.is-static {
  background: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 14px 0 4px;
}
.footer-links a {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-links a:hover { color: #e11d48; }

/* ========== SUCCESS / PAYMENT SUBMITTED ========== */
.page-success .app-main {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 55%, #f8fafc 100%);
}

.success-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  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;
}
.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  padding: 1px 4px 1px 6px;
  margin: 0 1px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #fecdd3;
}
.copy-chip .order-copy {
  width: 24px;
  height: 24px;
}
.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);
}
.btn-track-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 10px;
  border-radius: 14px;
  font-weight: 800;
  background: #fff !important;
  color: var(--primary-color, #E11D48) !important;
  border: 2px solid #fda4af !important;
  box-shadow: none !important;
}

.header-track-link {
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-color, #E11D48);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff1f5;
  border: 1px solid #fecdd3;
}

/* ========== TRACK BOOKING ========== */
.page-track .app-main {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 45%, #f8fafc 100%);
}
.track-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(190, 18, 60, 0.08);
  padding: 28px 20px 22px;
  max-width: 420px;
  margin: 10px auto 18px;
}
.track-card::before,
.track-card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.track-card::before {
  top: -56px;
  left: -60px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.24), transparent 68%);
}
.track-card::after {
  right: -48px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.16), transparent 70%);
}
.track-hero,
.track-form,
.track-result,
.track-home {
  position: relative;
  z-index: 1;
}
.track-hero {
  text-align: center;
  margin-bottom: 20px;
}
.track-illust {
  position: relative;
  width: 126px;
  height: 100px;
  margin: 0 auto 16px;
}
.track-illust-doc {
  position: absolute;
  left: 10px;
  top: 12px;
  opacity: 0.95;
}
.track-illust-glass {
  position: absolute;
  right: 0;
  top: 0;
  filter: drop-shadow(0 10px 16px rgba(225, 29, 72, 0.18));
}
.track-illust-dots {
  position: absolute;
  left: 4px;
  bottom: 12px;
  width: 48px;
  height: 18px;
  background:
    radial-gradient(circle at 4px 8px, #fb7185 0 2px, transparent 2.5px),
    radial-gradient(circle at 16px 4px, #fda4af 0 1.8px, transparent 2.3px),
    radial-gradient(circle at 28px 12px, #e11d48 0 1.5px, transparent 2px),
    radial-gradient(circle at 40px 6px, #f9a8d4 0 1.8px, transparent 2.3px);
  opacity: 0.85;
}
.track-title {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.02em;
}
.track-title span { color: #e11d48; }
.track-title-bar {
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #e11d48;
}
.track-lead {
  margin: 0 auto;
  max-width: 32ch;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.45;
}
.track-form .form-group { margin-bottom: 14px; }
.track-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}
.track-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1.5px solid #fecdd3;
  background: #fff;
}
.track-input:focus-within {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.18);
}
.track-input-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffe4ef;
  color: #e11d48;
  flex-shrink: 0;
}
.track-form .track-input input {
  width: 100%;
  min-height: 40px;
  border: 0 !important;
  outline: none;
  padding: 0;
  font-size: 0.95rem;
  background: transparent !important;
  color: #0f172a;
  border-radius: 0;
  box-shadow: none !important;
}
.track-form .track-input input:focus {
  outline: none;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.track-form .track-input input::placeholder { color: #94a3b8; }
.track-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}
.btn-track {
  min-height: 52px;
  border-radius: 999px !important;
  font-weight: 800;
  font-size: 1rem;
  gap: 8px;
  background: linear-gradient(90deg, #fb7185, #e11d48) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(225, 29, 72, 0.28);
}
.track-result {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #fce7f3;
}
.track-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.track-result-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.track-result-id {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.track-companion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #fff1f5;
  margin-bottom: 14px;
}
.track-companion img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  background: #ffe4ef;
}
.track-companion-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}
.track-companion strong {
  display: block;
  color: #0f172a;
  font-size: 0.98rem;
}
.track-companion-meta {
  display: block;
  color: #64748b;
  font-size: 0.8rem;
}
.track-steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 0;
}
.track-step {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 0 0 14px;
}
.track-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: #fecdd3;
}
.track-step.is-done:not(:last-child)::before,
.track-step.is-active:not(:last-child)::before {
  background: #fb7185;
}
.track-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff1f5;
  color: #e11d48;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1.5px solid #fecdd3;
  z-index: 1;
}
.track-step.is-done .track-step-dot {
  background: linear-gradient(145deg, #fb7185, #e11d48);
  border-color: transparent;
  color: #fff;
}
.track-step.is-active .track-step-dot {
  background: #fff;
  border-color: #e11d48;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
}
.track-step.is-fail .track-step-dot {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}
.track-step-body strong {
  display: block;
  color: #0f172a;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.track-step-body span {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.35;
}
.track-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  background: #fff7fa;
  overflow: hidden;
}
.track-meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #fce7f3;
  font-size: 0.86rem;
}
.track-meta li:last-child { border-bottom: 0; }
.track-meta span { color: #64748b; }
.track-meta strong { color: #0f172a; font-weight: 700; text-align: right; }
.track-home {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.track-home:hover { color: #e11d48; }

.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: #fff7fa;
  border-top: none;
}
.page-success .app-footer .footer-inner {
  text-align: center;
}
.page-success .success-thanks {
  display: none;
}
.page-success .footer-mission,
.page-success .footer-trust {
  display: none;
}

@media (max-width: 767px) {
  .page-success .app-main {
    padding: 10px 12px calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .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: 1fr; gap: 12px; }

  .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: 1fr; gap: 14px; }

  .hero-visual { min-height: 420px; }
}

/* Compact mobile homepage polish */
@media (max-width: 991px) {
  .page-home .app-main {
    padding: 12px 16px 28px;
    overflow-x: hidden;
  }
  .page-home .hero-section,
  .page-home .hero-split {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-home .hero-blob,
  .page-home .hero-sparkles {
    display: none;
  }
  .page-home .app-header {
    padding: 4px 14px;
    padding-top: max(4px, env(safe-area-inset-top));
    border-bottom: none;
    background: #fff;
  }
  .page-home .brand-logo {
    height: 58px;
    max-height: 58px;
    max-width: min(310px, 70vw);
  }
  .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: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff1f5;
    border: 1.5px solid #fda4af;
  }

  .hero-section {
    margin: 0 auto 12px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent;
  }
  .hero-split {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0 auto;
    align-items: stretch;
  }

  .hero-trust {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 11px 12px;
    margin: 0 auto;
    border-radius: 12px;
    background: #fff;
    border-color: rgba(15, 23, 42, 0.08);
  }
  .hero-trust-item {
    font-size: 0.62rem;
    gap: 5px;
  }
  .hero-trust-item svg {
    width: 12px;
    height: 12px;
  }
  .hero-trust-sep {
    margin: 0 6px;
    height: 14px;
  }
  .hero-trust-badge {
    min-width: 30px;
    height: 20px;
    font-size: 0.62rem;
  }
  .hero-trust-age {
    font-size: 0.66rem;
  }

  /* Banner: natural image size (1024x576), text overlaid on empty left */
  .hero-stage {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-radius: 0;
    overflow: visible;
    min-height: 0;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
  }

  .hero-visual {
    position: relative;
    z-index: 0;
    min-height: 0 !important;
    height: auto;
    width: 100%;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(225, 29, 72, 0.12);
    pointer-events: none;
    max-width: 100%;
  }
  .hero-photo-wrap {
    position: relative;
    inset: auto;
    max-width: none !important;
    margin: 0 auto !important;
    width: 100%;
  }
  .hero-photo-wrap picture {
    display: block;
    width: 100%;
    line-height: 0;
  }
  .hero-photo {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    border-radius: 0 !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: right center !important;
    box-shadow: none !important;
    background: #fff5f8;
  }

  .hero-stage-content {
    display: contents;
  }

  .hero-stage-text-overlay {
    display: flex;
  }
  .hero-stage-text-desktop {
    display: none !important;
  }

  .hero-stage-text {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: min(58%, 280px);
    padding: 16px 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background: linear-gradient(
      105deg,
      rgba(255, 250, 251, 0.72) 0%,
      rgba(255, 250, 251, 0.38) 42%,
      rgba(255, 250, 251, 0.08) 68%,
      transparent 88%
    );
    pointer-events: none;
  }
  .hero-stage-text h1,
  .hero-stage-text .hero-sub,
  .hero-stage-text .hero-rule {
    pointer-events: auto;
  }

  .hero-stage-text h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.45rem, 6.8vw, 1.95rem);
    max-width: 11ch;
    margin: 0 0 10px;
    line-height: 1.02;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  }
  .hero-title-lead {
    display: block;
    color: #0f172a;
    font-style: italic;
  }
  .hero-stage-text .hero-accent {
    display: block;
    font-family: "Great Vibes", "Caveat", cursive;
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    font-style: normal;
    font-weight: 400;
    color: var(--primary-color, #C0265A);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.45);
  }
  .hero-stage-text .hero-sub {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic;
    font-weight: 600;
    font-size: 0.86rem;
    line-height: 1.35;
    margin: 0;
    max-width: 26ch;
    color: #475569;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  }
  .hero-rule {
    width: 36px;
    height: 3px;
    margin: 0;
  }

  .hero-below {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
    position: relative;
    z-index: 1;
  }
  .hero-services {
    margin: 0;
    gap: 6px;
    max-width: none;
  }
  .hero-service {
    font-size: 0.7rem;
    gap: 7px;
  }
  .hero-service-ico {
    width: 40px;
    height: 40px;
    background: #ffe4ef;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.08);
  }
  .btn-hero {
    width: 100%;
    max-width: none;
    min-height: 50px;
    font-size: 0.98rem;
    box-shadow: 0 12px 24px rgba(225, 29, 72, 0.28);
  }
  .hero-checks {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 10px;
    margin: 0;
    max-width: none;
  }
  .hero-checks li {
    font-size: 0.72rem;
    color: #334155;
  }

  .hero-caption-script {
    display: flex;
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    color: #fff;
    font-size: 0.78rem;
    text-shadow: 0 2px 8px rgba(136, 19, 55, 0.45);
  }

  .trust-row {
    display: none;
  }

  .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: 12px; }
  .profiles-section { margin-top: 4px; }
  .profile-card {
    grid-template-columns: 108px 1fr;
    border-radius: 20px;
  }
  .profile-media,
  .profile-photo {
    min-height: 160px;
  }
  .profile-body {
    padding: 10px 10px 8px;
  }
  .profile-body h3 { font-size: 1rem; }
  .profile-desc { font-size: 0.76rem; }
  .profile-rent-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .hero-stage-text {
    width: min(66%, 250px);
    padding: 12px 10px 14px;
  }
  .hero-stage-text h1 {
    font-size: 1.32rem;
  }
  .hero-stage-text .hero-accent {
    font-size: 1.65rem;
  }
  .hero-stage-text .hero-sub {
    font-size: 0.78rem;
  }
  .hero-trust {
    padding: 10px 8px;
  }
  .hero-trust-item {
    font-size: 0.58rem;
  }
  .hero-trust-sep {
    margin: 0 4px;
  }
}

/* ========== 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: 8px 32px; padding-top: max(8px, env(safe-area-inset-top)); }
  .brand-logo {
    height: 60px;
    max-height: 60px;
    max-width: 340px;
  }

  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    margin-right: 8px;
  }

  .site-nav .nav-item {
    display: inline-flex;
  }

  .site-nav .nav-ico,
  .site-nav .nav-chevron {
    display: none !important;
  }

  .site-nav.open {
    position: static;
    flex-direction: row;
    gap: 4px;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
    animation: none;
  }

  .site-nav.open .nav-item {
    width: auto;
    display: inline-flex;
    grid-template-columns: none;
    border-bottom: 0;
    padding: 8px 12px;
  }

  .btn-header { display: inline-flex; }

  .app-main { padding: 28px 32px 64px; }

  .hero-split {
    min-height: 520px;
  }

  .hero-stage-text h1 {
    font-size: 3.4rem;
    max-width: 12ch;
  }
  .hero-stage-text .hero-accent {
    font-size: 3.8rem;
    display: inline;
  }
  .hero-stage-text-overlay {
    display: none !important;
  }
  .hero-stage-text-desktop {
    display: block !important;
  }

  .hero-sub { font-size: 1.12rem; max-width: 42ch; }

  .hero-photo-wrap { max-width: 460px; margin: 0 auto; }
  .hero-photo {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
  }

  .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: 1fr;
    gap: 18px;
    max-width: 980px;
  }

  .profiles-head-row {
    align-items: flex-end;
    margin-bottom: 8px;
  }

  .profiles-decor {
    display: block;
  }

  .profiles-section-listing .profiles-view-all {
    display: none;
  }

  .profile-card {
    grid-template-columns: 200px minmax(0, 1fr) 220px;
    align-items: stretch;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eef2f7;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
  }

  .profile-media {
    min-height: 230px;
    border-radius: 0;
  }

  .profile-media,
  .profile-photo {
    min-height: 230px;
    height: 100%;
  }

  .profile-photo {
    object-position: center top;
  }

  .profile-fav-media {
    display: grid;
  }

  .profile-fav-inline,
  .profile-avail-mobile,
  .profile-footer {
    display: none !important;
  }

  .profile-heart-badge {
    display: inline-grid;
  }

  .profile-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    min-width: 0;
  }

  .profile-body h3 {
    font-size: 1.35rem;
  }

  .profile-desc {
    -webkit-line-clamp: 2;
    min-height: 0;
    margin: 8px 0 12px;
    font-size: 0.92rem;
    color: #64748b;
  }

  .profile-meta {
    margin-top: 4px;
    font-size: 0.9rem;
  }

  .profile-tags {
    margin-top: 2px;
  }

  .profile-aside {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    padding: 20px 18px;
    border-left: 1px solid #eef2f7;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  }

  .profile-aside .profile-avail {
    align-self: flex-start;
    margin: 0;
  }

  .profile-aside-stats {
    display: grid;
    gap: 8px;
  }

  .profile-aside-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #64748b;
    font-size: 0.86rem;
  }

  .profile-aside-stat svg {
    color: #e11d72;
    flex-shrink: 0;
  }

  .profile-aside-stat strong {
    color: #0f172a;
  }

  .profile-aside-actions {
    display: grid;
    gap: 10px;
    margin-top: 4px;
  }

  .profile-rent-btn-aside {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e11d72, #f43f8a);
    color: #fff;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(225, 29, 114, 0.28);
  }

  .profile-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid #f9a8d4;
    background: #fff;
    color: #db2777;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
  }

  .profile-view-btn:hover {
    background: #fff1f2;
  }

  .page-profiles .listing-page,
  .page-profiles .profiles-listing {
    max-width: 1040px;
    margin: 0 auto;
  }

  .page-profiles .profiles-section {
    margin-top: 4px;
  }

  .profiles-head h2 {
    font-size: 2.1rem;
  }

  .profiles-view-all {
    padding: 9px 14px;
    font-size: 0.84rem;
  }

  .brand-text strong { font-size: 1.28rem; }
}

@media (min-width: 1200px) {
  .header-inner,
  .footer-inner,
  .page-home .app-main {
    max-width: 1200px;
  }

  .profiles-grid {
    max-width: 1080px;
  }

  .profile-card {
    grid-template-columns: 220px minmax(0, 1fr) 240px;
  }
}

/* ========== 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-tip {
  margin: 0 0 14px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 0.82rem;
  line-height: 1.45;
}

.pay-tip strong { font-weight: 700; }
.pay-tip em { font-style: normal; font-weight: 700; color: #0056d2; }

.pay-tip-warn {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: #9a3412 !important;
}
.pay-tip-warn em { color: #c2410c; }

.pay-now-note {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: #5b6b86;
  line-height: 1.35;
}

.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-pulse-hint,
.qr-wrap.qr-pulse-hint {
  outline: 3px solid #0056d2;
  outline-offset: 4px;
  border-radius: 14px;
  animation: qrHintPulse 0.7s ease 2;
}

@keyframes qrHintPulse {
  0%, 100% { outline-color: #0056d2; }
  50% { outline-color: #93c5fd; }
}

.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: flex;
  align-items: flex-start;
  gap: 8px;
}

.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(12px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

[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-stage-content { animation: animFadeUp 0.7s ease both; }
.page-home .hero-visual { animation: animScaleIn 0.75s 0.12s ease both; }
.page-home .trust-card { animation: animFadeUp 0.55s ease both; }
.page-home .trust-card:nth-child(1) { animation-delay: 0.2s; }
.page-home .trust-card:nth-child(2) { animation-delay: 0.3s; }
.page-home .trust-card:nth-child(3) { animation-delay: 0.4s; }

.page-checkout .checkout-card,
.page-payment .pay-card,
.page-proof .proof-card,
.page-success .success-card {
  animation: animFadeUp 0.55s ease both;
}

/* ========== SIMPLE PAYMENT (QR + UPI + UTR) ========== */
.page-payment-simple .pay-card-simple {
  max-width: 440px;
  margin: 0 auto;
  padding: 18px 16px 20px;
}

.pay-simple-head {
  text-align: center;
  margin-bottom: 14px;
}

.pay-simple-head h1 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary-color, #0b1f44);
}

.pay-simple-amount {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: #334155;
}

.pay-simple-amount strong {
  color: #0056d2;
  font-size: 1.35rem;
}

.pay-simple-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.pay-simple-block {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.pay-simple-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0b1f44;
}

.pay-simple-hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.page-payment-simple .qr-wrap-dynamic {
  margin: 0 auto;
}

.page-payment-simple .pay-tip {
  display: block;
  margin: 0 0 4px;
}

.pay-utr-form .form-group {
  margin-bottom: 14px;
}

.pay-utr-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.88rem;
}

.pay-utr-form input[type="text"] {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid #d7e6ff;
  padding: 0 12px;
  font-size: 0.95rem;
}

.pay-utr-form input[type="text"]:focus {
  outline: none;
  border-color: #0056d2;
  box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.12);
}

.pay-shot-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 110px;
  padding: 16px;
  border-radius: 14px;
  border: 2px dashed #93c5fd;
  background: #eff6ff;
  cursor: pointer;
  text-align: center;
}

.pay-shot-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0056d2;
  color: #fff;
  font-weight: 800;
}

.pay-shot-text {
  font-size: 0.88rem;
  color: #1e3a8a;
}

.pay-shot-file {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0056d2;
  word-break: break-all;
}

.pay-shot-preview {
  margin-top: 10px;
}

.pay-shot-preview img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #dbeafe;
}

.page-payment-simple .btn-paid {
  margin-top: 4px;
}

.page-payment-simple .form-group.has-error input,
.page-payment-simple .form-group.has-error .pay-shot-drop {
  border-color: #ef4444;
}

/* ========== PROFESSIONAL PAYMENT (blue) ========== */
body.page-payment-pro {
  --pay-blue: #0B5FFF;
  --pay-blue-deep: #0747C9;
  --pay-blue-soft: #E8F0FF;
  --pay-ink: #0B1F44;
  --pay-muted: #64748B;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(11, 95, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #F4F8FF 0%, #EEF3FB 45%, #F8FAFC 100%);
}
body.page-payment-pro .site-shell {
  background: transparent;
}
body.page-payment-pro .app-main {
  max-width: 480px;
  padding: 12px 16px 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}
body.page-payment-pro .app-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(11, 95, 255, 0.08);
  backdrop-filter: blur(10px);
}
body.page-payment-pro .bottom-nav,
body.page-checkout .bottom-nav,
body.page-proof-pro .bottom-nav,
body.page-success .bottom-nav {
  display: none !important;
}

body.page-checkout .app-main,
body.page-proof-pro .app-main,
body.page-success .app-main {
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
}

.paypro-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 14px;
}
.paypro-back {
  color: var(--pay-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.paypro-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(11, 95, 255, 0.16);
  box-shadow: 0 6px 16px rgba(11, 95, 255, 0.08);
}
.paypro-timer-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pay-muted);
}
.paypro-timer .timer-value {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--pay-blue);
  font-variant-numeric: tabular-nums;
}
.paypro-timer.is-expired {
  border-color: rgba(239, 68, 68, 0.35);
  background: #FEF2F2;
}
.paypro-timer.is-expired .timer-value { color: #DC2626; }

.paypro-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(11, 95, 255, 0.1);
  box-shadow:
    0 18px 40px rgba(11, 63, 170, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

.paypro-hero {
  padding: 22px 20px 18px;
  text-align: center;
  background:
    linear-gradient(160deg, #0B5FFF 0%, #2563EB 48%, #1D4ED8 100%);
  color: #fff;
}
.paypro-kicker {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.paypro-hero h1 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.paypro-amount {
  margin: 0 0 6px;
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.paypro-order {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.88;
}

.paypro-companion {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #EEF2FF;
  background: linear-gradient(180deg, #F8FBFF 0%, #fff 100%);
}
.paypro-photo {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #DBEAFE;
  box-shadow: 0 8px 18px rgba(11, 95, 255, 0.12);
}
.paypro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.paypro-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.paypro-name-row h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pay-ink);
  letter-spacing: -0.02em;
}
.paypro-verified {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pay-blue);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
}
.paypro-meta {
  margin: 0 0 8px;
  font-size: 0.86rem;
  color: var(--pay-muted);
}
.paypro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.paypro-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pay-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.paypro-tag-soft {
  background: var(--pay-blue-soft);
  color: var(--pay-blue-deep);
}
.paypro-booked {
  margin: 0;
  font-size: 0.78rem;
  color: #64748b;
}

.paypro-about {
  padding: 12px 16px 4px;
}
.paypro-about h3,
.paypro-actions h3 {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.paypro-about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.paypro-about-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 72px;
  padding: 8px 4px;
  border-radius: 12px;
  background: #F8FBFF;
  border: 1px solid #E8EEF9;
  text-align: center;
}
.paypro-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #DBEAFE;
  color: #2563eb;
  flex-shrink: 0;
}
.paypro-ico svg {
  width: 14px;
  height: 14px;
  display: block;
}
.paypro-about-list li:nth-child(1) .paypro-ico { color: #7c3aed; }
.paypro-about-list li:nth-child(2) .paypro-ico { color: #d97706; }
.paypro-about-list li:nth-child(3) .paypro-ico { color: #2563eb; }
.paypro-about-list li:nth-child(4) .paypro-ico { color: #059669; }
.paypro-about-list strong {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94A3B8;
  line-height: 1.1;
}
.paypro-about-list small {
  display: block;
  margin-top: 0;
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--pay-ink);
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .paypro-about-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .paypro-about-list li {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 8px 10px;
    text-align: left;
  }
}

.paypro-actions {
  padding: 14px 18px 8px;
}
.paypro-help {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #475569;
}
.paypro-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.paypro-btn-primary {
  background: linear-gradient(180deg, #1A6BFF 0%, #0B5FFF 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 95, 255, 0.28);
}
.paypro-btn-primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

#pay-now-btn {
  position: relative;
  overflow: hidden;
  transform-origin: center center;
  animation: payNowZoom 1.35s ease-in-out infinite;
}
#pay-now-btn:hover,
#pay-now-btn:focus-visible {
  animation: none;
  transform: scale(1.03);
  filter: brightness(1.04);
}

@keyframes payNowZoom {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 24px rgba(11, 95, 255, 0.28);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 16px 30px rgba(11, 95, 255, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  #pay-now-btn {
    animation: none !important;
  }
}
.paypro-btn-secondary {
  margin-top: 10px;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 700;
  background: #fff;
  color: var(--pay-blue-deep);
  border: 1.5px solid #BFDBFE;
}
.paypro-btn-secondary:hover {
  background: var(--pay-blue-soft);
}
.paypro-fallback,
.paypro-proof-cta {
  margin-top: 14px;
}
.paypro-fallback .paypro-help {
  margin-bottom: 10px;
  font-size: 0.82rem;
}
.paypro-secure {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}
.paypro-wait {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 0.86rem;
  font-weight: 600;
}
.paypro-wait[hidden] { display: none !important; }
.paypro-wait-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563EB;
  animation: paypro-pulse 1s ease-in-out infinite;
}
@keyframes paypro-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}
.paypro-confirm-form { margin: 0; }

.paypro-proof {
  padding-bottom: 18px;
}
.paypro-proof-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.paypro-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--pay-ink);
}
.paypro-field .req { color: #EF4444; }
.paypro-field input[type="text"] {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid #BFDBFE;
  padding: 0 14px;
  font-size: 0.95rem;
  background: #fff;
  color: var(--pay-ink);
  box-sizing: border-box;
}
.paypro-field input[type="text"]:focus {
  outline: none;
  border-color: var(--pay-blue);
  box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.14);
}
.paypro-field.has-error input[type="text"],
.paypro-field.has-error .paypro-drop {
  border-color: #F87171;
}
.paypro-field-error {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: #DC2626;
  font-weight: 600;
}
.paypro-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 112px;
  padding: 16px;
  border-radius: 14px;
  border: 2px dashed #93C5FD;
  background: #EFF6FF;
  cursor: pointer;
  text-align: center;
}
.paypro-drop-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pay-blue);
  color: #fff;
  font-weight: 800;
}
.paypro-drop-text {
  font-size: 0.88rem;
  color: #1E3A8A;
}
.paypro-drop-file {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pay-blue);
  word-break: break-all;
}
.paypro-drop-preview {
  margin-top: 10px;
}
.paypro-drop-preview img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #DBEAFE;
}

.paypro-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  padding: 16px;
  border-radius: 18px;
  background: #F8FBFF;
  border: 1px solid #DBEAFE;
  width: fit-content;
}
.paypro-qr img,
.paypro-qr .dynamic-qr,
.paypro-qr .dynamic-qr img {
  width: 168px !important;
  height: 168px !important;
}
.paypro-qr-amount {
  margin: 0;
  font-weight: 800;
  color: var(--pay-blue);
  font-size: 1.05rem;
}
.paypro-upi {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F8FBFF;
  border: 1px solid #DBEAFE;
}
.paypro-upi code {
  flex: 1;
  font-size: 0.88rem;
  color: var(--pay-ink);
  word-break: break-all;
}
.paypro-copy {
  border: none;
  background: var(--pay-blue);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
}
.paypro-merchant {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: #64748b;
}

.paypro-alert {
  margin: 12px 18px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E3A8A;
  font-size: 0.86rem;
  line-height: 1.4;
}
.paypro-alert-danger {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}

.paypro-foot {
  padding: 8px 18px 18px;
}
.paypro-foot p {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #94A3B8;
}

@media (min-width: 768px) {
  body.page-payment-pro .app-main {
    padding-top: 24px;
  }
  .paypro-card {
    border-radius: 24px;
  }
  .paypro-amount {
    font-size: 2.4rem;
  }
}



/* ========== PROOF UPLOAD PAGE ========== */
.page-proof .app-main {
  max-width: 480px;
  padding-top: 12px;
}

.page-proof {
  background:
    radial-gradient(700px 320px at 50% 0%, color-mix(in srgb, var(--primary-color) 12%, transparent), transparent 58%),
    #F7F4F6;
}

.page-proof .proof-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

.page-proof .proof-back:hover {
  color: var(--primary-color);
}

.page-proof .proof-card {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--primary-color) 10%, #fff);
  border-radius: 22px;
  padding: 22px 18px 18px;
  box-shadow: 0 14px 36px rgba(40, 20, 40, 0.08);
}

.page-proof .proof-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.page-proof .proof-head-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--accent-color, #F43F7A), var(--primary-color, #E11D48));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--primary-color) 28%, transparent);
}

.page-proof .proof-title {
  margin: 0 0 4px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--secondary-color, #1F1230);
  line-height: 1.2;
}

.page-proof .proof-title span {
  color: var(--primary-color, #E11D48);
}

.page-proof .proof-sub {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.page-proof .proof-form .form-group {
  margin-bottom: 18px;
}

.page-proof .proof-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--secondary-color, #1F1230);
}

.page-proof .proof-label-ico {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-color, #F43F7A), var(--primary-color, #E11D48));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.page-proof .proof-label-ico-img {
  padding: 0;
}

.page-proof .proof-input {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1.5px solid #E8E0E6;
  background: #fff;
  padding: 0 14px;
  font-size: 0.95rem;
  color: var(--secondary-color);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-proof .proof-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 16%, transparent);
}

.page-proof .proof-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #EEF6FF;
  border: 1px solid #D6E8FF;
  color: #1E4A7A;
  font-size: 0.8rem;
  line-height: 1.4;
}

.page-proof .proof-info-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #3B82F6;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  font-style: italic;
  margin-top: 1px;
}

.page-proof .proof-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 168px;
  padding: 22px 16px;
  border-radius: 16px;
  border: 2px dashed color-mix(in srgb, var(--primary-color) 45%, #FAD1E0);
  background: color-mix(in srgb, var(--primary-color) 7%, #fff);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.page-proof .proof-dropzone:hover,
.page-proof .proof-dropzone.is-drag {
  border-color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 11%, #fff);
}

.page-proof .proof-dropzone.has-file {
  border-style: solid;
}

.page-proof .proof-drop-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent-color, #F43F7A), var(--primary-color, #E11D48));
  box-shadow: 0 8px 16px color-mix(in srgb, var(--primary-color) 24%, transparent);
  margin-bottom: 2px;
}

.page-proof .proof-drop-title {
  font-size: 0.95rem;
  color: var(--secondary-color);
}

.page-proof .proof-drop-title strong {
  color: var(--primary-color);
  font-weight: 800;
}

.page-proof .proof-drop-hint {
  font-size: 0.78rem;
  color: var(--text-secondary);
  max-width: 260px;
  line-height: 1.4;
}

.page-proof .proof-drop-file {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-color);
  word-break: break-all;
}

.page-proof .proof-preview-wrap {
  margin-top: 12px;
}

.page-proof .proof-preview {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--primary-color) 14%, #fff);
  box-shadow: 0 8px 18px rgba(40, 20, 40, 0.08);
}

.page-proof .btn-proof-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.28);
}

.page-proof .btn-proof-submit:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.page-proof .btn-proof-plane {
  display: grid;
  place-items: center;
}

.page-proof .proof-safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.page-proof .form-group.has-error .proof-input,
.page-proof .form-group.has-error .proof-dropzone {
  border-color: #ef4444;
}

.page-proof .proof-form .form-group {
  animation: animFadeUp 0.45s ease both;
}

.page-proof .proof-form .form-group:nth-of-type(1) { animation-delay: 0.08s; }
.page-proof .proof-form .form-group:nth-of-type(2) { animation-delay: 0.16s; }
.page-proof .btn-proof-submit { animation: animScaleIn 0.45s 0.24s ease both; }
.page-proof .proof-safe { animation: animFadeUp 0.4s 0.32s 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; }
}

/* Mobile: cut page entrance animations that cause scroll jank */
@media (max-width: 991px) {
  .page-checkout .checkout-card,
  .page-payment .pay-card,
  .page-proof .proof-card,
  .page-success .success-card,
  .page-home .hero-stage-content,
  .page-home .hero-visual,
  .page-home .trust-card,
  .page-success .success-status-ico,
  .page-success .success-title,
  .page-success .success-lead,
  .page-success .companion-pick,
  .page-success .pending-banner,
  .page-success .success-details,
  .page-success .success-note,
  .page-success .btn-success-home,
  .page-payment .pay-hero,
  .page-payment .pay-scan-panel,
  .page-payment .upi-app,
  .page-payment .how-steps li,
  .page-payment .btn-paid,
  .page-checkout .selected-profile,
  .page-checkout .plan-option,
  .page-checkout .form-group,
  .page-checkout .btn-checkout {
    animation: none !important;
  }
}


/* ===== Customer account ===== */
.auth-card { max-width: 440px; margin: 0 auto 28px; }
.auth-switch {
  margin: 18px 0 4px;
  text-align: center;
  font-size: 0.92rem;
  color: #64748b;
}
.auth-switch a {
  color: var(--brand, #c0265a);
  font-weight: 700;
  text-decoration: none;
}

.page-account .back-link { margin-bottom: 10px; }

/* ===== Profile / Account page (mockup) ===== */
body.page-account .site-shell {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
body.page-account .app-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 14px 28px;
}

@media (max-width: 991px) {
  body.page-account .app-main {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

/* Footer on desktop only for account (mobile uses bottom nav) */
@media (max-width: 991px) {
  body.page-account .app-footer {
    display: none;
  }
}
@media (min-width: 992px) {
  body.page-account .app-footer {
    display: block;
    margin-top: 12px;
  }
  body.page-account .app-main {
    padding-bottom: 40px;
  }
}

.profile-page {
  animation: animFadeUp 0.35s ease both;
}

.profile-summary {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 18px 16px 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  margin-bottom: 14px;
}
.profile-summary::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -30px;
  width: 180px;
  height: 140px;
  background:
    radial-gradient(ellipse at center, rgba(251, 207, 232, 0.55), transparent 70%);
  pointer-events: none;
}
.profile-summary-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #fce7f3;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.15);
  display: block;
}
.profile-avatar-cam {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f43f8a, #fb7185);
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(244, 63, 138, 0.35);
  cursor: pointer;
  text-decoration: none;
}
.profile-identity-copy { min-width: 0; }
.profile-name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  word-break: break-word;
}
.profile-phone {
  margin: 4px 0 8px;
  color: #64748b;
  font-size: 0.9rem;
}
.profile-since {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}
.profile-logout {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1.5px solid #fecdd3;
  background: #fff;
  color: #e11d48;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}
.profile-logout:hover {
  background: #fff1f2;
}

.profile-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.profile-stat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  min-width: 0;
}
.profile-stat-ico {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.7);
}
.profile-stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 2px;
}
.profile-stat-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.profile-stat small {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: #64748b;
}
.profile-stat small a {
  color: #e11d72;
  font-weight: 700;
  text-decoration: none;
}
.profile-stat-paid {
  background: #fff1f2;
  color: #be123c;
}
.profile-stat-paid .profile-stat-ico { color: #e11d48; }
.profile-stat-orders {
  background: #eff6ff;
  color: #1d4ed8;
}
.profile-stat-orders .profile-stat-ico { color: #2563eb; }
.profile-stat-plan {
  background: #fffbeb;
  color: #b45309;
}
.profile-stat-plan .profile-stat-ico { color: #d97706; }
.profile-stat-plan-on { color: #059669; }

.profile-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 14px;
  padding: 5px;
  background: #334155;
  border-radius: 999px;
  overflow-x: auto;
  position: sticky;
  top: 0;
  z-index: 40;
}
.profile-tabs a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.profile-tabs a.is-active {
  color: #fff;
  background: linear-gradient(90deg, #e11d72, #f43f8a 55%, #fb7185);
  box-shadow: 0 6px 16px rgba(225, 29, 114, 0.35);
}

.profile-panel {
  background: #fff;
  border-radius: 22px;
  padding: 18px 16px 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  margin-bottom: 20px;
}
.profile-panel-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}
.profile-panel-sub {
  margin: 4px 0 16px;
  color: #94a3b8;
  font-size: 0.88rem;
}

.profile-field { margin-bottom: 14px; }
.profile-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e293b;
}
.profile-dp-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-dp-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #fce7f3;
  border: 2px solid #f9a8d4;
  flex-shrink: 0;
}
.profile-dp-file { flex: 1; min-width: 0; }
.profile-dp-file input[type="file"] {
  width: 100%;
  font-size: 0.82rem;
  color: #64748b;
}
.profile-hint {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
}
.profile-input {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.profile-input:focus-within {
  border-color: #f9a8d4;
  box-shadow: 0 0 0 3px rgba(244, 63, 138, 0.1);
}
.profile-input.is-disabled {
  background: #f8fafc;
}
.profile-input-ico {
  display: grid;
  place-items: center;
  padding: 0 12px;
  color: #94a3b8;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
}
.profile-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 12px 12px;
  font-size: 0.92rem;
  color: #0f172a;
}
.profile-input.is-disabled input {
  color: #64748b;
}
.profile-field.has-error .profile-input {
  border-color: #fda4af;
}
.profile-save {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  margin-top: 4px;
}
.profile-save:hover { filter: brightness(1.03); }
.profile-empty {
  text-align: center;
  padding: 18px 8px 8px;
  color: #64748b;
}
.profile-empty .profile-save {
  max-width: 240px;
  margin: 12px auto 0;
}

.account-order-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.account-order {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}
.account-order-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.account-order-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
}
.account-order-status.status-verified { background: #dcfce7; color: #166534; }
.account-order-status.status-submitted { background: #fef3c7; color: #92400e; }
.account-order-status.status-pending { background: #e0f2fe; color: #075985; }
.account-order-status.status-rejected { background: #fee2e2; color: #991b1b; }
.account-order-meta {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.account-order-foot {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}
.account-order-foot time { color: #94a3b8; margin-right: auto; }
.account-order-foot a {
  color: #e11d72;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 640px) {
  .profile-stats { grid-template-columns: 1fr; }
  .profile-tabs a { font-size: 0.7rem; padding: 9px 6px; gap: 3px; }
  .profile-tabs a svg { width: 13px; height: 13px; }
  .profile-summary-top { flex-wrap: wrap; }
}
@media (min-width: 641px) {
  .profile-summary { padding: 20px; }
  .profile-avatar { width: 80px; height: 80px; }
  .profile-name { font-size: 1.5rem; }
}

/* ===== Login page (mockup, compact + header) ===== */
body.page-login {
  --login-pink: #e11d72;
  --login-pink-soft: #fce7f3;
  --login-green-a: #22c55e;
  --login-green-b: #4ade80;
}
body.page-login .site-shell {
  padding-top: calc(var(--header-offset, 68px) + env(safe-area-inset-top, 0px));
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(251, 207, 232, 0.4), transparent 55%),
    radial-gradient(ellipse 60% 35% at 100% 0%, rgba(233, 213, 255, 0.35), transparent 50%),
    linear-gradient(180deg, #fdf8fb 0%, #f8fafc 55%, #fff5f8 100%);
}
body.page-login .app-main {
  padding: 12px 14px 24px;
  max-width: 440px;
  margin: 0 auto;
}
body.page-login .app-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.login-page {
  position: relative;
  z-index: 1;
  width: 100%;
  animation: animFadeUp 0.35s ease both;
}

.login-card {
  background: #fff;
  border-radius: 22px;
  padding: 18px 16px 16px;
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.07),
    0 1px 4px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  text-align: center;
}

.login-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f43f8a 0%, #fb7185 45%, #fb923c 100%);
  box-shadow: 0 6px 16px rgba(244, 63, 138, 0.3);
}

.login-title {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.login-sub {
  margin: 4px 0 14px;
  color: #94a3b8;
  font-size: 0.82rem;
}

.login-form { text-align: left; }
.login-field { margin-bottom: 12px; }
.login-field label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
}
.login-field-ico {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.login-field-ico svg { width: 12px; height: 12px; }
.login-field-ico-phone {
  background: #fce7f3;
  color: #db2777;
}
.login-field-ico-lock {
  background: #f3e8ff;
  color: #9333ea;
}

.login-mobile,
.login-pass {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-mobile:focus-within,
.login-pass:focus-within {
  border-color: #f9a8d4;
  box-shadow: 0 0 0 3px rgba(244, 63, 138, 0.1);
}
.login-cc {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 10px;
  border: 0;
  border-right: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: default;
  white-space: nowrap;
}
.login-mobile input,
.login-pass input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 11px 12px;
  font-size: 0.9rem;
  color: #0f172a;
}
.login-mobile input::placeholder,
.login-pass input::placeholder {
  color: #94a3b8;
}
.login-eye {
  position: relative;
  border: 0;
  background: transparent;
  color: #94a3b8;
  padding: 0 12px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.login-eye svg {
  width: 18px;
  height: 18px;
  display: block;
}
.login-eye .eye-off { display: none !important; }
.login-eye.is-visible .eye-open { display: none !important; }
.login-eye.is-visible .eye-off { display: block !important; }
.login-eye:hover { color: #64748b; }

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 14px;
  flex-wrap: wrap;
}
.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
.login-remember input {
  width: 14px;
  height: 14px;
  accent-color: var(--login-pink);
}
.login-forgot {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--login-pink);
  text-decoration: none;
}
.login-forgot:hover { text-decoration: underline; }

.login-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, var(--login-green-a), var(--login-green-b));
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.login-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.login-submit:active { transform: translateY(0); }

.login-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: #cbd5e1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.login-or::before,
.login-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.login-or span { color: #94a3b8; }

.login-create {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fdf2f8, #fce7f3);
  border: 1px solid #fbcfe8;
  text-decoration: none;
  color: #9d174d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.login-create:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 63, 138, 0.1);
}
.login-create-ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--login-pink);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(244, 63, 138, 0.1);
}
.login-create-ico svg { width: 15px; height: 15px; }
.login-create-text {
  flex: 1;
  text-align: left;
  font-size: 0.84rem;
  color: #64748b;
}
.login-create-text strong {
  color: var(--login-pink);
  font-weight: 800;
}
.login-create-chevron {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--login-pink);
  line-height: 1;
}

.page-login .alert {
  text-align: left;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

@media (min-width: 480px) {
  .login-card { padding: 22px 20px 18px; }
  .login-title { font-size: 1.45rem; }
}

/* ===== Register page (same family as login) ===== */
body.page-register {
  --login-pink: #e11d72;
  --login-pink-soft: #fce7f3;
  --login-green-a: #22c55e;
  --login-green-b: #4ade80;
}
body.page-register .site-shell {
  padding-top: calc(var(--header-offset, 68px) + env(safe-area-inset-top, 0px));
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(251, 207, 232, 0.4), transparent 55%),
    radial-gradient(ellipse 60% 35% at 100% 0%, rgba(233, 213, 255, 0.35), transparent 50%),
    linear-gradient(180deg, #fdf8fb 0%, #f8fafc 55%, #fff5f8 100%);
}
body.page-register .app-main {
  padding: 8px 12px 20px;
  max-width: 400px;
  margin: 0 auto;
}
body.page-register .app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.register-card {
  position: relative;
  overflow: visible;
  padding: 14px 14px 12px;
  border-radius: 20px;
}
.register-ribbon {
  position: absolute;
  top: -4px;
  right: 8px;
  padding: 6px 10px 8px;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 0.98rem;
  font-weight: 700;
  color: #be185d;
  line-height: 1;
  background:
    radial-gradient(ellipse at center, rgba(252, 231, 243, 0.95) 0%, rgba(252, 231, 243, 0.55) 55%, transparent 75%);
  transform: rotate(6deg);
  pointer-events: none;
  z-index: 2;
}
.register-ribbon::after {
  content: "";
  display: block;
  width: 72%;
  height: 2px;
  margin: 3px auto 0;
  background: linear-gradient(90deg, transparent, #f43f8a, transparent);
  border-radius: 2px;
}
.register-badge {
  width: 44px;
  height: 44px;
  margin: 2px auto 6px;
  box-shadow: 0 4px 12px rgba(244, 63, 138, 0.28);
}
.register-badge svg {
  width: 18px;
  height: 18px;
}
body.page-register .login-title {
  font-size: 1.2rem;
}
body.page-register .login-sub {
  margin: 2px 0 10px;
  font-size: 0.75rem;
  line-height: 1.3;
}
body.page-register .login-field {
  margin-bottom: 8px;
}
body.page-register .login-field label {
  margin-bottom: 4px;
  font-size: 0.76rem;
  gap: 5px;
}
body.page-register .login-field-ico {
  width: 18px;
  height: 18px;
  border-radius: 6px;
}
body.page-register .login-field-ico svg {
  width: 10px;
  height: 10px;
}
body.page-register .login-mobile,
body.page-register .login-pass {
  border-radius: 10px;
}
body.page-register .login-mobile input,
body.page-register .login-pass input {
  padding: 9px 10px;
  font-size: 0.84rem;
}
body.page-register .login-cc {
  padding: 0 8px;
  font-size: 0.78rem;
}
body.page-register .login-eye {
  width: 38px;
  padding: 0 8px;
}
body.page-register .login-eye svg {
  width: 16px;
  height: 16px;
}
body.page-register .login-submit {
  padding: 11px 16px;
  font-size: 0.9rem;
  margin-top: 2px;
}
body.page-register .register-agree {
  margin: 0 0 10px;
  font-size: 0.72rem;
  gap: 7px;
}
body.page-register .register-or {
  margin: 10px 0 0;
}
body.page-register .register-or span {
  font-size: 0.76rem;
}
body.page-register .alert {
  margin-bottom: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
}

.register-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 14px;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
}
.register-agree input {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  accent-color: var(--login-pink);
}
.register-agree a {
  color: var(--login-pink);
  font-weight: 700;
  text-decoration: none;
}
.register-agree a:hover { text-decoration: underline; }
.register-agree.has-error { color: #b91c1c; }

.register-or {
  margin: 14px 0 2px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.register-or span {
  color: #64748b;
  font-size: 0.82rem;
  white-space: nowrap;
}
.register-or a {
  color: var(--login-pink);
  font-weight: 800;
  text-decoration: none;
}
.register-or a:hover { text-decoration: underline; }

.page-register .login-field.has-error .login-mobile,
.page-register .login-field.has-error .login-pass {
  border-color: #fda4af;
}
.page-register .form-error {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: #e11d48;
  text-align: left;
}

@media (min-width: 480px) {
  body.page-register .register-card { padding: 16px 16px 14px; }
  body.page-register .login-title { font-size: 1.28rem; }
}
