/* ============================================================
   EIDEVS — pricing.css  (pricing page-specific styles)
   ============================================================ */

/* ============================================================
   PRICING HERO
   ============================================================ */
.pricing-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero .container { position: relative; z-index: 1; }

.pricing-hero-orb-1 {
  width: 500px; height: 500px;
  top: -200px; right: -80px;
}
.pricing-hero-orb-2 {
  width: 360px; height: 360px;
  bottom: -80px; left: -60px;
}

.pricing-hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.8vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-hero-desc {
  font-size: clamp(14.5px, 1.7vw, 17.5px);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.82;
}

/* Discount notice pill */
.pricing-promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.28);
  border-radius: 100px;
  padding: 9px 20px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 28px;
}
.pricing-promo-pill i { font-size: 13px; }

/* Payment note */
.pricing-payment-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.payment-note-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
}
.payment-note-item i { color: #2ecc71; font-size: 12px; }

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-section { padding: 40px 0 var(--section-padding); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

/* ── Base card ── */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 38px 32px 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,123,0,0.2);
  box-shadow: 0 28px 72px rgba(0,0,0,0.4);
}

/* ── Featured / Popular card ── */
.pricing-card.featured {
  background: linear-gradient(160deg,
    rgba(255,123,0,0.1) 0%,
    rgba(13,13,43,1) 60%
  );
  border-color: rgba(255,123,0,0.38);
  box-shadow: 0 0 0 1px rgba(255,123,0,0.12), 0 24px 80px rgba(255,123,0,0.12);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 0 0 1px rgba(255,123,0,0.2), 0 40px 100px rgba(255,123,0,0.18);
}

/* Glow at top of featured card */
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
}

/* ── "Most Popular" badge ── */
.pricing-popular-badge {
  position: absolute;
  top: 22px; right: 22px;
  background: linear-gradient(130deg, var(--accent-orange), var(--accent-orange-dim));
  color: #fff;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* ── Save badge ── */
.pricing-save-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.28);
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.pricing-save-badge i { font-size: 10px; }

/* ── Package label ── */
.pricing-package-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

/* ── Package name ── */
.pricing-package-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

/* ── Subtitle ── */
.pricing-subtitle {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 26px;
  min-height: 42px;
}

/* ── Price display ── */
.pricing-price-wrap {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-original {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.pricing-currency {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  vertical-align: top;
  line-height: 2.5;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-card.featured .pricing-amount { color: var(--accent-orange); }

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* ── Feature list ── */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-feature i {
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 13px;
}
.pricing-feature i.check   { color: #2ecc71; }
.pricing-feature i.cross   { color: var(--text-muted); opacity: 0.4; }
.pricing-feature i.partial { color: var(--accent-gold); }

.pricing-feature.dimmed { opacity: 0.5; }

/* ── CTA button ── */
.pricing-cta {
  width: 100%;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* Delivery note under button */
.pricing-delivery {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.pricing-delivery i { color: var(--accent-orange); font-size: 11px; }

/* ============================================================
   COMPARISON TABLE NOTE
   ============================================================ */
.pricing-note-strip {
  margin-top: 48px;
  padding: 18px 28px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.pricing-note-strip i { color: var(--accent-orange); font-size: 18px; }
.pricing-note-strip p { font-size: 13.5px; color: var(--text-secondary); }
.pricing-note-strip strong { color: var(--text-primary); }

/* ============================================================
   HOSTING SECTION
   ============================================================ */
.hosting-section { padding: var(--section-padding) 0; }

.hosting-header { margin-bottom: 48px; }

.hosting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hosting-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-mid), border-color var(--t-mid);
}
.hosting-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,123,0,0.2);
}

/* top accent bar */
.hosting-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.hosting-card:nth-child(1)::before { background: #7499ff; }
.hosting-card:nth-child(2)::before { background: var(--accent-orange); }
.hosting-card:nth-child(3)::before { background: var(--accent-gold); }

.hosting-plan {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.hosting-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.hosting-price {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--glass-border);
}

.hosting-amount {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 900;
  color: var(--text-primary);
}
.hosting-card:nth-child(2) .hosting-amount { color: var(--accent-orange); }
.hosting-card:nth-child(3) .hosting-amount { color: var(--accent-gold); }

.hosting-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
}

.hosting-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.hosting-feature {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.hosting-feature i {
  width: 14px;
  font-size: 12px;
  color: #2ecc71;
  flex-shrink: 0;
}

/* ============================================================
   REFERRAL SECTION
   ============================================================ */
.referral-section { padding: 0 0 var(--section-padding); }

.referral-card {
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 80px);
  background: linear-gradient(140deg, rgba(245,197,24,0.06) 0%, rgba(255,123,0,0.04) 50%, transparent 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

/* Gold glow at top */
.referral-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* decorative big text */
.referral-card::after {
  content: '₂';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 280px;
  font-weight: 900;
  color: rgba(245,197,24,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.referral-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
}
.referral-label i { font-size: 12px; }

.referral-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.referral-title span { color: var(--accent-gold); }

.referral-desc {
  font-size: clamp(14px, 1.6vw, 16.5px);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 28px;
}

.referral-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.referral-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.referral-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.referral-step-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.referral-step-text strong { color: var(--text-primary); }

/* Right: reward visual */
.referral-reward {
  text-align: center;
  position: relative;
  z-index: 1;
}

.referral-reward-box {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245,197,24,0.28);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 200px;
  box-shadow: 0 0 60px rgba(245,197,24,0.08);
}

.referral-reward-icon {
  font-size: 36px;
  margin-bottom: 8px;
  animation: reward-bob 3s ease-in-out infinite;
}
@keyframes reward-bob {
  0%, 100% { transform: rotate(-6deg) scale(1); }
  50%       { transform: rotate(6deg) scale(1.08); }
}

.referral-reward-label {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.referral-reward-amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: -0.01em;
  line-height: 1;
}

.referral-reward-sub {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   PRICING FAQ STRIP
   ============================================================ */
.pricing-faq {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 22px 24px;
  cursor: pointer;
  transition: border-color var(--t-mid), background var(--t-mid);
}
.faq-item:hover {
  border-color: rgba(255,123,0,0.22);
  background: var(--bg-surface);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.faq-question i {
  color: var(--accent-orange);
  font-size: 12px;
  transition: transform var(--t-mid);
  flex-shrink: 0;
}

.faq-item.open .faq-question i { transform: rotate(45deg); }

.faq-answer {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding-top: 0;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding-top: 14px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .hosting-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .referral-card { grid-template-columns: 1fr; text-align: center; }
  .referral-reward { order: -1; }
  .referral-reward-box { margin: 0 auto; }
  .referral-steps { align-items: flex-start; text-align: left; }
  .pricing-faq { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pricing-hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 48px;
  }
  .pricing-payment-note { flex-direction: column; gap: 10px; }
  .referral-card { padding: 36px 24px; }
  .referral-desc { max-width: 100%; }
}

@media (max-width: 480px) {
  /* Horizontal scroll for pricing cards */
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 12px;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  .pricing-grid::-webkit-scrollbar { height: 3px; }
  .pricing-grid::-webkit-scrollbar-thumb { background: var(--accent-orange); border-radius: 2px; }
  .pricing-card {
    min-width: 290px;
    scroll-snap-align: center;
  }
  .pricing-card.featured { transform: none; }

  /* Horizontal scroll for hosting */
  .hosting-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 12px;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  .hosting-grid::-webkit-scrollbar { height: 3px; }
  .hosting-grid::-webkit-scrollbar-thumb { background: var(--accent-orange); border-radius: 2px; }
  .hosting-card {
    min-width: 270px;
    scroll-snap-align: center;
  }
}