: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 & ACCENTS
========================================================= */
.premium-hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 38px;
}

.premium-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  color: var(--sage-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 18px;
}

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

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

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

/* =========================================================
   SECTION 1: VIP PLANS DECK
========================================================= */
.premium-plans-section {
  background: linear-gradient(180deg, #ecf5eb 0%, #f4f9f2 100%);
  border: 1.5px solid rgba(110, 155, 100, 0.24);
  border-radius: 28px;
  padding: 26px 28px 32px;
  margin-bottom: 38px;
  box-shadow: 0 10px 32px rgba(35, 65, 30, 0.04);
}

/* =========================================================
   MASTER CHECKOUT STUDIO (UNIFIED STEPPED LAYOUT)
========================================================= */
.premium-checkout-studio {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto 48px;
}

.studio-layout-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 28px;
  align-items: start;
}

/* RIGHT COLUMN: STEP-BY-STEP CUSTOMER FLOW */
.studio-steps-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.studio-step-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 24px 26px;
  box-shadow: 0 6px 24px rgba(35, 55, 35, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.studio-step-card:hover {
  border-color: rgba(67, 107, 72, 0.28);
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 20px;
}

.step-number-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sage-primary), var(--sage-dark));
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(56, 103, 48, 0.22);
}

.step-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-main-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--sage-dark);
  margin: 0;
}

.step-sub-desc {
  font-size: 12px;
  color: var(--text-dim);
}

/* STEP 1: COMPACT & LUXURY PLAN CARDS */
.studio-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.premium-plan-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 20px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.premium-plan-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(46, 89, 39, 0.08);
}

.premium-plan-card.selected {
  border-color: var(--sage-primary);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-alt) 100%);
  box-shadow: 0 10px 28px rgba(46, 89, 39, 0.14);
  transform: translateY(-3px);
}

.plan-ribbon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(90deg, #d97706, #f59e0b);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
  margin-bottom: 12px;
  white-space: nowrap;
}

.plan-ribbon-badge.blue {
  background: linear-gradient(90deg, var(--sage-primary), var(--sage-dark));
  box-shadow: 0 2px 8px rgba(56, 103, 48, 0.2);
}

.plan-ribbon-badge.neutral {
  background: var(--sage-primary);
  box-shadow: 0 2px 6px rgba(56, 103, 48, 0.15);
}

.plan-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.plan-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.25s ease;
}

.premium-plan-card.selected .plan-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.plan-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--sage-dark);
  margin: 0;
}

.plan-period-desc {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
  display: block;
}

.plan-price-zone {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.monthly-breakdown-row {
  width: 100%;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--surface-alt);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
}

.breakdown-label {
  color: var(--text-muted);
}

.breakdown-num {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--sage-dark);
  font-family: Inter, Vazirmatn, sans-serif;
}

.breakdown-unit {
  font-size: 10px;
  color: var(--text-dim);
}

.plan-total-price-zone {
  width: 100%;
}

.total-label {
  font-size: 10.5px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1px;
}

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

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

.plan-price-unit {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
}

.card-select-check {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--sage-primary);
  opacity: 0;
  transform: translateY(3px);
  transition: all 0.2s ease;
}

.premium-plan-card.selected .card-select-check {
  opacity: 1;
  transform: translateY(0);
}

/* STEP 2: USERNAME INPUT & RECIPIENT CARD */
.target-mode-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 5px;
  border-radius: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

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

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

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

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

.spacious-username-wrap input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  font-size: 16px;
  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: 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dim);
  pointer-events: none;
}

.input-spinner {
  width: 18px;
  height: 18px;
  border: 2px 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: 12px;
}

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

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

/* NOT GIFTABLE WARNING BOX IN INQUIRY */
.not-giftable-warning-box {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: simFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.not-gift-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.not-gift-texts {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.not-gift-heading {
  font-size: 13px;
  font-weight: 800;
  color: #92400e;
}

.not-gift-desc {
  font-size: 11.5px;
  color: #b45309;
  line-height: 1.6;
  margin: 0;
}

/* LIVE TELEGRAM PROFILE SIMULATOR */
.telegram-profile-simulator {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 238, 0.95));
  border: 1.5px solid rgba(110, 155, 100, 0.38);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 6px 20px rgba(35, 55, 35, 0.05);
  animation: simFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 12px;
}

.sim-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--sage-primary);
}

.sim-vip-tag {
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d97706, #f59e0b);
  color: #ffffff;
  letter-spacing: 0.5px;
}

.simulator-card-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sim-avatar-container {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.sim-avatar-glow-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a, #eab308);
  opacity: 0.85;
  animation: avatarGlowPulse 2.8s ease-in-out infinite;
}

@keyframes avatarGlowPulse {
  0% { transform: scale(0.98); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.6)); }
  100% { transform: scale(0.98); opacity: 0.6; }
}

.sim-avatar-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  z-index: 2;
}

.sim-avatar-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-primary), var(--sage-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  font-family: Inter, sans-serif;
  border: 2px solid #ffffff;
  z-index: 2;
}

.sim-premium-star-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  z-index: 5;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.4);
}

.sim-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

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

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

.sim-star-icon {
  font-size: 13px;
}

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

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

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

/* STEP 3: IMPORTANT NOTES & TERMS */
.step-notes-card.needs-attention {
  animation: shakeTermsCard 0.45s ease-in-out;
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25) !important;
}

@keyframes shakeTermsCard {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

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

.notes-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
}

.point-bullet {
  font-size: 14px;
  line-height: 1.4;
  flex-shrink: 0;
}

.point-text {
  color: var(--text-secondary);
}

.point-text strong {
  color: var(--sage-dark);
  font-weight: 800;
  display: inline;
  margin-left: 4px;
}

.notes-agreement-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.notes-agreement-check:hover {
  background: var(--sage-soft);
  border-color: rgba(67, 107, 72, 0.25);
}

.notes-agreement-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sage-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.notes-agreement-check span {
  font-size: 12px;
  font-weight: 700;
  color: var(--sage-dark);
  line-height: 1.5;
}

.terms-warning-pill {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #b91c1c;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  animation: simFadeIn 0.2s ease-out;
}

/* =========================================================
   LEFT COLUMN: STICKY INVOICE & PAYMENT DOCK
========================================================= */
.studio-sidebar-column {
  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);
  margin-bottom: 16px;
  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 {
  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: 8px;
}

.crown-icon {
  font-size: 20px;
}

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

.dock-status-badge {
  font-size: 10.5px;
  padding: 3px 8px;
  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: 13px;
  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;
}

/* Primary Payment Action Button */
.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);
}

.btn-pay-locked {
  opacity: 0.52 !important;
  filter: grayscale(0.4) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  animation: none !important;
}

.btn-pay-locked::after {
  display: none !important;
}

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

/* Trust & Security Seals */
.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;
}

/* Mini Delivery Timeline */
.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;
}

/* RESPONSIVE LAYOUT ADJUSTMENTS */
@media (max-width: 992px) {
  .studio-layout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .studio-sidebar-column {
    position: static;
  }
}

@media (max-width: 680px) {
  .studio-plans-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dock-trust-seals {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: right;
  }

  .seal-item {
    flex-direction: row;
    gap: 6px;
  }
}

.flow-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow-step-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1.5px solid var(--line);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.flow-step-item.active .flow-step-bubble {
  background: var(--sage-primary);
  border-color: var(--sage-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(56, 103, 48, 0.25);
}

.flow-step-item strong {
  font-size: 12.5px;
  color: var(--sage-dark);
  margin-bottom: 2px;
}

.flow-step-item span {
  font-size: 10px;
  color: var(--text-dim);
}

/* =========================================================
   SECTION 3: FEATURES GRID
========================================================= */
.premium-features-section {
  margin-bottom: 50px;
}

.section-lead-title {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--sage-dark);
  margin-bottom: 8px;
}

.section-lead-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 34px;
}

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

.feature-item-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

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

.feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

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

.feature-item-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================================
   SECTION 4: FAQ ACCORDION
========================================================= */
.premium-faq-section {
  max-width: 880px;
  margin: 0 auto 50px;
}

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

/* =========================================================
   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;
}

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

.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.warning {
  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);
}

.btn-notice-secondary {
  width: 100%;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-notice-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--sage-primary);
}

/* =========================================================
   FOOTER
========================================================= */
.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) {
  .plans-deck-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dock-spacious-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .checkout-spacious-dock {
    padding: 24px;
  }
  .features-hex-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;
  }
  .target-mode-switcher {
    grid-template-columns: 1fr;
  }
}
