:root {
  --bg-main: #f8faf7;
  --surface: #ffffff;
  --surface-alt: #f2f7f0;
  --line: rgba(125, 159, 112, 0.22);
  --line-strong: rgba(125, 159, 112, 0.45);
  --sage-dark: #152617;
  --sage-primary: #386730;
  --sage-light: #4c8241;
  --sage-soft: #eaf3e7;
  --gold-star: #eab308;
  --gold-soft: #fef9c3;
  --text-main: #141f15;
  --text-muted: #536352;
  --text-dim: #798b78;
  --shadow-card: 0 14px 40px rgba(25, 45, 25, 0.05);
  --shadow-hover: 0 22px 55px rgba(25, 45, 25, 0.09);
  --shadow-active: 0 18px 45px rgba(56, 103, 48, 0.16);
}

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

body {
  font-family: Vazirmatn, system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(238, 246, 236, 0.65) 50%, var(--bg-main) 100%);
}

/* =========================================================
   HEADER (EXACT HOMEPAGE MATCH & FULL DESKTOP BROWSER WIDTH)
========================================================= */
.site-header-wrapper {
  width: 100%;
  padding: 0 3.5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  font-family: Inter, sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1.4px;
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease;
}

.logo-img-wrap .brand-header-img {
  height: 32px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-img-wrap:hover .brand-header-img {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.4));
}

.logo span {
  color: var(--sage-primary);
}

.hub-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(125, 159, 112, 0.16);
  color: var(--sage-dark);
  font-family: Inter, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-right: 6px;
}

.online {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--sage-dark);
  font-family: Inter, Vazirmatn, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: color 0.2s ease;
  position: relative;
}

.nav a:hover, .nav a.active {
  color: var(--sage-dark);
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--sage-primary);
  border-radius: 999px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--sage-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.login:hover {
  border-color: var(--sage-primary);
  background: var(--sage-soft);
  transform: translateY(-1px);
}

.auth-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.header-wallet-btn:hover {
  border-color: var(--sage-primary);
  transform: translateY(-1px);
}

.wallet-amount {
  color: var(--sage-primary);
  font-weight: 900;
  font-family: Vazirmatn, Inter, sans-serif;
  font-size: 13px;
}

.header-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(228, 238, 229, 0.65));
  border: 1px solid rgba(125, 159, 112, 0.35);
  text-decoration: none;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.header-user-btn:hover {
  border-color: var(--sage-primary);
  transform: translateY(-1px);
}

.user-avatar-badge {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sage-soft);
  font-size: 11px;
}

.header-logout-btn {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: #b91c1c;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-logout-btn:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}

/* Page Body Layout */
.page-wrapper {
  max-width: 1260px;
  margin: 38px auto 0;
  padding: 0 24px 80px;
}

/* =========================================================
   HERO HEADLINE & TRUST TAGS
========================================================= */
.stars-hero-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 38px;
}

.trust-badges-strip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 20px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(35, 55, 35, 0.04);
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sage-dark);
}

.trust-badges-strip .pill-online {
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-badges-strip .pill-online::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.stars-main-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  color: var(--sage-dark);
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.stars-main-title .star-highlight {
  color: var(--sage-primary);
}

.stars-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* =========================================================
   ROTATING CAROUSEL BANNER FOR PACKAGES
========================================================= */
.carousel-deck-section {
  background: linear-gradient(180deg, #ecf5eb 0%, #f4f9f2 100%);
  border: 1.5px solid rgba(110, 155, 100, 0.24);
  border-radius: 28px;
  padding: 24px 28px 28px;
  margin-bottom: 38px;
  box-shadow: 0 10px 32px rgba(35, 65, 30, 0.04);
}

.carousel-deck-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.carousel-deck-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-toggle-btn {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sage-primary);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.custom-toggle-btn:hover {
  background: #ffffff;
  border-color: var(--line-strong);
}

/* Carousel Viewport Wrapper & Side Navigation Arrows */
.carousel-viewport-wrapper {
  position: relative;
  width: 100%;
}

.carousel-side-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
  color: var(--sage-dark);
  box-shadow: 0 6px 20px rgba(25, 45, 25, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
}

.carousel-side-nav-btn:hover {
  background: var(--sage-dark);
  color: #ffffff;
  border-color: var(--sage-dark);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(25, 45, 25, 0.22);
}

.carousel-side-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel-side-nav-btn.btn-right {
  right: -16px;
}

.carousel-side-nav-btn.btn-left {
  left: -16px;
}

/* Carousel Track & Cards */
.carousel-viewport {
  position: relative;
  overflow: hidden;
  padding: 8px 6px 14px;
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 2px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.banner-package-card {
  position: relative;
  flex: 0 0 215px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
}

.banner-package-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-hover);
}

.banner-package-card.selected {
  border-color: var(--sage-primary);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-alt) 100%);
  box-shadow: var(--shadow-active);
  transform: translateY(-4px) scale(1.02);
}

.banner-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: var(--sage-primary);
  box-shadow: 0 3px 8px rgba(56, 103, 48, 0.2);
  white-space: nowrap;
  margin-bottom: 12px;
}

.banner-card-badge.gold {
  background: linear-gradient(90deg, #d97706, #f59e0b);
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3);
}

.banner-star-emblem {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  transition: transform 0.25s ease;
}

.banner-package-card.selected .banner-star-emblem {
  transform: scale(1.18) rotate(6deg);
}

.banner-star-count {
  font-size: 22px;
  font-weight: 900;
  color: var(--sage-dark);
  font-family: Inter, Vazirmatn, sans-serif;
  margin-bottom: 2px;
}

.banner-star-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.banner-price-zone {
  width: 100%;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}

.banner-price-num {
  font-size: 16px;
  font-weight: 900;
  color: var(--sage-dark);
  font-family: Inter, Vazirmatn, sans-serif;
  display: block;
}

.banner-price-unit {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Permanent Custom Range Slider with Dynamic Filled Track */
.custom-amount-slider-permanent {
  background: #ffffff;
  border: 1.5px solid rgba(110, 155, 100, 0.28);
  border-radius: 20px;
  padding: 22px 24px;
  margin-top: 18px;
  box-shadow: 0 6px 20px rgba(35, 65, 30, 0.04);
}

.slider-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.slider-top-row label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sage-dark);
}

.slider-digit-display {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 12px;
  background: var(--surface-alt);
  font-size: 20px;
  font-weight: 900;
  color: var(--sage-dark);
  font-family: Inter, Vazirmatn, sans-serif;
}

.custom-range-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to left, var(--sage-primary) 0%, var(--sage-primary) var(--slider-pct, 19.19%), #dde8da var(--slider-pct, 19.19%), #dde8da 100%);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.05s ease;
}

.custom-range-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid var(--sage-primary);
  box-shadow: 0 4px 14px rgba(56, 103, 48, 0.38);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.custom-range-bar::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 18px rgba(56, 103, 48, 0.5);
  border-color: var(--sage-dark);
}

.custom-range-bar::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.22);
  border-color: var(--sage-dark);
}

.custom-range-bar::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid var(--sage-primary);
  box-shadow: 0 4px 14px rgba(56, 103, 48, 0.38);
  cursor: grab;
}

/* =========================================================
   GENEROUS CHECKOUT & SPECIFICATIONS DOCK (EXPANDED)
========================================================= */
.checkout-spacious-dock {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 42px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}

.dock-spacious-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

/* Left Sub-Column: Recipient Specifications & Security */
.spec-entry-column h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--sage-dark);
  margin-bottom: 8px;
}

.spec-entry-column p.sub-lead {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.target-mode-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 6px;
  border-radius: 16px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.mode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.mode-btn.active {
  background: #ffffff;
  color: var(--sage-dark);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.spacious-input-group {
  margin-bottom: 20px;
}

.spacious-input-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

.spacious-username-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.spacious-username-wrap input {
  width: 100%;
  height: 60px;
  padding: 0 20px 0 48px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  font-size: 17px;
  font-weight: 700;
  color: var(--sage-dark);
  direction: ltr;
  text-align: left;
  outline: none;
  font-family: Inter, sans-serif;
  transition: all 0.2s ease;
}

.spacious-username-wrap input:focus {
  border-color: var(--sage-primary);
  box-shadow: 0 0 0 4px rgba(56, 103, 48, 0.12);
}

.spacious-username-wrap .at-mark {
  position: absolute;
  left: 18px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dim);
  pointer-events: none;
}

.validation-status-box {
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
  display: flex;
  align-items: center;
  gap: 8px;
}

.validation-status-box.error {
  background: #fef2f2;
  border-color: rgba(239, 68, 68, 0.25);
  color: #b91c1c;
}

/* Telegram Profile Live Resolution Card */
.telegram-profile-card {
  margin-top: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 238, 0.92));
  border: 1.5px solid rgba(110, 155, 100, 0.35);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 6px 20px rgba(35, 55, 35, 0.05);
  animation: profileCardPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes profileCardPop {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.profile-card-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  background: var(--surface-alt);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sage-primary), var(--sage-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  font-family: Inter, sans-serif;
}

.profile-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

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

.profile-display-name {
  font-size: 15.5px;
  font-weight: 900;
  color: var(--sage-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.profile-verified-badge {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.profile-handle-name {
  font-size: 12.5px;
  color: var(--text-muted);
  font-family: Inter, monospace;
  direction: ltr;
  text-align: right;
  font-weight: 600;
}

.profile-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  margin-top: 2px;
}

.profile-status-pill .status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.input-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(56, 103, 48, 0.2);
  border-top-color: var(--sage-primary);
  border-radius: 50%;
  animation: spinnerRotate 0.75s linear infinite;
  margin-right: auto;
  margin-left: 14px;
}

@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}

.security-assurance-box {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.assurance-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.assurance-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--sage-dark);
  margin-bottom: 4px;
}

.assurance-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Right Sub-Column: Sticky Invoice Dock & Mini Timeline */
.invoice-and-timeline-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 92px;
}

/* TOP SHOWCASE VISUAL BANNER ABOVE DOCK */
.dock-showcase-visual-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: 0 10px 28px rgba(28, 48, 28, 0.08);
  background: #111a13;
}

.dock-visual-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-showcase-visual-card:hover .dock-visual-img {
  transform: scale(1.03);
}

.studio-sticky-dock.spacious-invoice-card {
  background: linear-gradient(165deg, #ffffff 0%, var(--surface-alt) 100%);
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: 0 10px 32px rgba(28, 48, 28, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dock-brand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.star-icon-bubble {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.2);
}

.dock-brand-name {
  font-size: 14px;
  font-weight: 900;
  color: var(--sage-dark);
  display: block;
}

.dock-brand-sub {
  font-size: 10.5px;
  color: var(--text-dim);
  display: block;
  margin-top: 2px;
}

.dock-status-badge {
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-weight: 800;
}

.dock-invoice-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dock-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}

.dock-meta-row strong {
  color: var(--sage-dark);
  font-weight: 800;
}

.recipient-row .recipient-inline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.recipient-row .rec-icon {
  font-size: 11px;
}

.recipient-row strong {
  font-family: Inter, monospace;
  font-size: 12px;
  direction: ltr;
}

.dock-divider {
  border-top: 1px dashed var(--line);
}

.dock-total-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 4px 0;
}

.dock-total-box .total-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sage-dark);
}

.total-amount-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.amount-number {
  font-size: 26px;
  font-weight: 900;
  color: var(--sage-dark);
  font-family: Inter, Vazirmatn, sans-serif;
  letter-spacing: -0.5px;
}

.amount-currency {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.dock-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spacious-action-primary-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #244c1d 0%, #3e7432 50%, #244c1d 100%);
  background-size: 200% 200%;
  animation: btnGradientShift 5s ease infinite;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(46, 89, 39, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.spacious-action-primary-btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 50%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: rotate(25deg);
  animation: btnShimmerSweep 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes btnShimmerSweep {
  0% { left: -80%; }
  32% { left: 140%; }
  100% { left: 140%; }
}

@keyframes btnGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.spacious-action-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(46, 89, 39, 0.36);
}

.spacious-action-primary-btn:active {
  transform: translateY(1px);
}

.btn-arrow {
  font-size: 17px;
  transition: transform 0.2s ease;
}

.spacious-action-primary-btn:hover .btn-arrow {
  transform: translateX(-4px);
}

.spacious-action-wallet-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--sage-dark);
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.spacious-action-wallet-btn:hover {
  border-color: var(--sage-primary);
  background: #ffffff;
}

.dock-trust-seals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.seal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: var(--sage-dark);
}

.seal-icon {
  font-size: 13px;
}

.dock-mini-timeline {
  padding-top: 6px;
}

.mini-timeline-head {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.mini-flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.mini-step {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-dim);
}

.mini-step.active {
  color: var(--sage-dark);
  font-weight: 800;
}

.mini-step .num {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
}

.mini-step.active .num {
  background: var(--sage-primary);
  border-color: var(--sage-primary);
  color: #ffffff;
}

.flow-sep {
  color: var(--text-dim);
  font-size: 11px;
}

/* STARS KEY NOTES ASSURANCE CARD */
.stars-notes-assurance-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.stars-notes-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--sage-dark);
}

.notes-head-icon {
  font-size: 15px;
}

.stars-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stars-notes-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.stars-notes-list li strong {
  color: var(--sage-dark);
  font-weight: 800;
}

.bullet-dot {
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================================================
   CUSTOM BRANDED NOTICE MODAL
========================================================= */
.pooritel-notice-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 15, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: modalFadeIn 0.22s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pooritel-notice-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: modalCardPop 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalCardPop {
  from { transform: scale(0.93) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.notice-icon-bubble {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: #fffbeb;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.18);
}

.notice-icon-bubble.stars-mode {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.2);
}

.notice-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--sage-dark);
  margin: 0 0 10px 0;
  line-height: 1.45;
}

.notice-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--sage-dark);
}

.notice-user-pill strong {
  font-family: Inter, monospace;
}

.notice-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 22px 0;
}

.notice-actions-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-notice-primary {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--sage-primary), var(--sage-dark));
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(56, 103, 48, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-notice-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 8px 24px rgba(56, 103, 48, 0.36);
}

/* =========================================================
   INSTITUTIONAL PILLARS & USE-CASES
========================================================= */
.institutional-pillars-section {
  padding: 40px 0 20px;
}

.pillars-main-title {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--sage-dark);
  margin-bottom: 26px;
}

.pillars-tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.trust-pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s;
}

.trust-pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.pillar-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sage-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.trust-pillar-card h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--sage-dark);
  margin-bottom: 8px;
}

.trust-pillar-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =========================================================
   FAQ ACCORDION
========================================================= */
.stars-faq-section {
  padding: 30px 0 20px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-card-row {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faq-card-button {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  color: var(--sage-dark);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-chevron {
  font-size: 14px;
  transition: transform 0.25s ease;
  color: var(--sage-primary);
}

.faq-card-row.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-card-text {
  display: none;
  padding: 0 22px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-card-row.open .faq-card-text {
  display: block;
}

/* =========================================================
   FOOTER (PERSIAN BRANDING)
========================================================= */
.official-footer {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Responsive */
@media(max-width: 980px) {
  .carousel-deck-section {
    padding: 20px 16px 24px;
  }
  .carousel-side-nav-btn.btn-right {
    right: -8px;
  }
  .carousel-side-nav-btn.btn-left {
    left: -8px;
  }
  .dock-spacious-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .checkout-spacious-dock {
    padding: 24px;
  }
  .pillars-tri-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 780px) {
  .site-header-wrapper {
    padding: 0 16px;
  }
  .header {
    height: 68px;
  }
  .nav, .header-brand .online {
    display: none;
  }
  .header-wallet-btn .wallet-label {
    display: none;
  }
}

@media(max-width: 640px) {
  .page-wrapper {
    padding: 0 14px 60px;
    margin-top: 24px;
  }
  .carousel-side-nav-btn {
    width: 38px;
    height: 38px;
  }
  .carousel-side-nav-btn.btn-right {
    right: -6px;
  }
  .carousel-side-nav-btn.btn-left {
    left: -6px;
  }
}
