/* ==========================================================
   TrendifyBoost Coin Purchase — Landing Page Styles
   All rules prefixed with .tbc- to prevent theme conflicts
========================================================== */

.tbc-landing {
  --tbc-bg-deep:     #050c1a;
  --tbc-bg-card:     #0b1628;
  --tbc-bg-input:    #0f1e35;
  --tbc-border:      #1a3050;
  --tbc-accent:      #1e6fff;
  --tbc-accent-2:    #00d4aa;
  --tbc-accent-hot:  #ff6b35;
  --tbc-text-main:   #e8f0fe;
  --tbc-text-muted:  #6a8aad;
  --tbc-text-label:  #94b8d4;
  --tbc-gold:        #f5c842;
  --tbc-success:     #00d4aa;
  --tbc-radius:      14px;
  --tbc-radius-sm:   8px;

  position: relative;
  min-height: 100vh;
  background: var(--tbc-bg-deep);
  color: var(--tbc-text-main);
  font-family: 'Hind Siliguri', sans-serif;
  overflow-x: hidden;
}

.tbc-landing *, .tbc-landing *::before, .tbc-landing *::after {
  box-sizing: border-box;
}

/* Background effects */
.tbc-bg-fx {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(30,111,255,.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,212,170,.10) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 60% 30%, rgba(255,107,53,.06) 0%, transparent 50%);
  pointer-events: none; z-index: 0;
}
.tbc-noise {
  position: absolute; inset: 0; z-index: 0; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.tbc-wrap {
  position: relative; z-index: 1;
  max-width: 560px; margin: 0 auto;
  padding: 32px 16px 60px;
}

/* Header with bigger hero title */
.tbc-header { text-align: center; margin-bottom: 36px; animation: tbcFadeDown .6s ease both; }
.tbc-logo-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.tbc-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--tbc-accent), var(--tbc-accent-2));
  border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 0 28px rgba(30,111,255,.4);
}
.tbc-logo-text {
  font-family: 'Rajdhani', sans-serif; font-size: 26px; font-weight: 700;
  background: linear-gradient(90deg, #fff, var(--tbc-accent-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tbc-hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px; font-weight: 700; line-height: 1.2;
  margin: 0 0 8px; color: var(--tbc-text-main);
}
.tbc-hero-sub { color: var(--tbc-text-muted); font-size: 15px; margin: 0 0 20px; }

/* Social proof ribbon */
.tbc-stats-ribbon {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  background: rgba(30,111,255,.08);
  border: 1px solid rgba(30,111,255,.2);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px; color: var(--tbc-text-label);
}
.tbc-stat { display: flex; align-items: center; gap: 6px; }
.tbc-stat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tbc-success);
  box-shadow: 0 0 10px var(--tbc-success);
  animation: tbcPulse 2s ease-in-out infinite;
}
.tbc-stat-sep { color: var(--tbc-border); }

/* Card */
.tbc-card {
  background: var(--tbc-bg-card);
  border: 1px solid var(--tbc-border);
  border-radius: var(--tbc-radius);
  padding: 26px 24px 22px;
  margin-bottom: 16px;
  box-shadow: 0 4px 40px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.03);
  animation: tbcFadeUp .5s ease both;
}
.tbc-card:nth-child(2) { animation-delay: .06s; }
.tbc-card:nth-child(3) { animation-delay: .12s; }
.tbc-card:nth-child(4) { animation-delay: .18s; }
.tbc-card:nth-child(5) { animation-delay: .24s; }

.tbc-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--tbc-text-muted);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.tbc-card-title span { color: var(--tbc-accent-2); font-size: 18px; }

.tbc-rate-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(30,111,255,.1);
  border: 1px solid rgba(30,111,255,.25);
  border-radius: 100px; padding: 5px 14px;
  font-size: 13px; color: var(--tbc-accent-2); font-weight: 500;
  margin-bottom: 18px;
}

/* Inputs */
.tbc-input-group { margin-bottom: 12px; position: relative; }
.tbc-input-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--tbc-text-label);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 7px;
}
.tbc-input-wrap { position: relative; display: flex; align-items: center; }
.tbc-input-icon {
  position: absolute; left: 14px; font-size: 18px; line-height: 1;
  pointer-events: none; z-index: 2;
}
.tbc-input-badge {
  position: absolute; right: 12px;
  font-size: 11px; font-weight: 700;
  color: var(--tbc-text-muted);
  background: var(--tbc-border);
  border-radius: 4px; padding: 2px 7px; pointer-events: none;
}

.tbc-landing input[type="text"],
.tbc-landing input[type="number"],
.tbc-landing input[type="password"] {
  width: 100%;
  background: var(--tbc-bg-input);
  border: 1.5px solid var(--tbc-border);
  border-radius: var(--tbc-radius-sm);
  color: var(--tbc-text-main);
  font-family: 'Hind Siliguri', sans-serif;
  font-size: 18px; font-weight: 500;
  padding: 13px 52px 13px 46px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -moz-appearance: textfield;
}
.tbc-landing input::-webkit-inner-spin-button,
.tbc-landing input::-webkit-outer-spin-button { -webkit-appearance: none; }
.tbc-landing input:focus {
  border-color: var(--tbc-accent);
  box-shadow: 0 0 0 3px rgba(30,111,255,.1);
}
.tbc-landing input.tbc-updated {
  border-color: var(--tbc-accent-2);
  box-shadow: 0 0 0 3px rgba(0,212,170,.1);
}
.tbc-landing input::placeholder { color: #2a4460; font-size: 15px; }
.tbc-landing input.tbc-input-sm {
  font-size: 15px !important;
  padding: 11px 14px 11px 42px !important;
}

.tbc-connector {
  display: flex; align-items: center; justify-content: center;
  margin: 4px 0; gap: 6px;
  color: var(--tbc-text-muted); font-size: 11px;
}
.tbc-connector::before, .tbc-connector::after {
  content: ''; flex: 1; height: 1px; background: var(--tbc-border);
}

.tbc-divider { height: 1px; background: var(--tbc-border); margin: 18px 0; }

/* Contact notice */
.tbc-notice {
  display: flex; align-items: flex-start; gap: 9px;
  background: rgba(30,111,255,.05);
  border: 1px solid rgba(30,111,255,.16);
  border-radius: var(--tbc-radius-sm);
  padding: 11px 14px;
  font-size: 13px; color: var(--tbc-text-muted);
  line-height: 1.55; margin-bottom: 16px;
}
.tbc-notice-icon { flex-shrink: 0; font-size: 15px; margin-top: 1px; }
.tbc-hint {
  font-size: 11.5px; color: var(--tbc-text-muted);
  margin-top: 7px; padding-left: 2px; line-height: 1.5;
}
.tbc-contact-saved-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(0,212,170,.05);
  border: 1.5px solid rgba(0,212,170,.2);
  border-radius: var(--tbc-radius-sm);
  padding: 13px 16px;
}
.tbc-contact-saved-info { display: flex; align-items: center; gap: 12px; }
.tbc-contact-saved-icon { font-size: 22px; width: 36px; text-align: center; flex-shrink: 0; }
.tbc-contact-saved-num {
  font-size: 16px; font-weight: 700;
  color: var(--tbc-text-main); letter-spacing: .03em;
}
.tbc-contact-saved-label { font-size: 11px; color: var(--tbc-text-muted); margin-top: 2px; }

/* Locked message */
.tbc-locked-msg {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--tbc-bg-input);
  border: 1.5px dashed var(--tbc-border);
  border-radius: var(--tbc-radius-sm);
  padding: 20px; font-size: 14px; color: var(--tbc-text-muted);
  text-align: center;
}

/* Saved accounts */
.tbc-saved-accounts { margin-bottom: 14px; }
.tbc-saved-label {
  font-size: 12px; font-weight: 600;
  color: var(--tbc-text-muted); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 10px;
}
.tbc-account-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--tbc-bg-input);
  border: 1.5px solid var(--tbc-border);
  border-radius: var(--tbc-radius-sm);
  padding: 11px 14px; margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.tbc-account-item:hover { border-color: var(--tbc-accent); }
.tbc-account-item.selected {
  border-color: var(--tbc-accent-2);
  background: rgba(0,212,170,.06);
}
.tbc-account-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--tbc-border);
  flex-shrink: 0; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.tbc-account-item.selected .tbc-account-radio {
  border-color: var(--tbc-accent-2);
  background: var(--tbc-accent-2);
}
.tbc-account-item.selected .tbc-account-radio::after {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--tbc-bg-deep);
}
.tbc-account-info { flex: 1; min-width: 0; }
.tbc-account-main { font-size: 14px; font-weight: 600; color: var(--tbc-text-main); word-break: break-all; }
.tbc-account-sub { font-size: 12px; color: var(--tbc-text-muted); }

.tbc-edit-btn {
  font-size: 11px; font-weight: 600;
  color: var(--tbc-accent);
  background: rgba(30,111,255,.08);
  border: 1px solid rgba(30,111,255,.2);
  border-radius: 5px; padding: 4px 10px;
  cursor: pointer; transition: all .15s;
  white-space: nowrap; flex-shrink: 0;
}
.tbc-edit-btn:hover { background: rgba(30,111,255,.15); }

.tbc-empty-msg {
  font-size: 13px; color: var(--tbc-text-muted);
  text-align: center; padding: 12px 0;
}

.tbc-add-account-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--tbc-accent);
  background: transparent; border: 1.5px dashed rgba(30,111,255,.25);
  border-radius: var(--tbc-radius-sm);
  padding: 10px 16px; cursor: pointer;
  width: 100%; justify-content: center;
  transition: all .2s; font-family: 'Hind Siliguri', sans-serif;
}
.tbc-add-account-btn:hover { border-color: var(--tbc-accent); background: rgba(30,111,255,.04); }

.tbc-new-account-form {
  background: #070f1f;
  border: 1px solid var(--tbc-border);
  border-radius: var(--tbc-radius-sm);
  padding: 16px; margin-top: 12px;
  display: none;
}
.tbc-new-account-form.open { display: block; animation: tbcFadeUp .25s ease; }

/* Payment methods */
.tbc-payment-methods { display: grid; gap: 10px; }
.tbc-payment-opt {
  display: flex; align-items: center; gap: 12px;
  background: var(--tbc-bg-input);
  border: 1.5px solid var(--tbc-border);
  border-radius: var(--tbc-radius-sm);
  padding: 13px 16px; cursor: pointer; transition: all .2s;
}
.tbc-payment-opt:hover { border-color: var(--tbc-accent); }
.tbc-payment-opt.selected {
  border-color: var(--tbc-accent);
  background: rgba(30,111,255,.06);
}
.tbc-pay-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--tbc-border);
  flex-shrink: 0; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.tbc-payment-opt.selected .tbc-pay-radio {
  border-color: var(--tbc-accent);
  background: var(--tbc-accent);
}
.tbc-payment-opt.selected .tbc-pay-radio::after {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff;
}
.tbc-pay-icon { width: 36px; text-align: center; }
.tbc-pay-emoji { font-size: 22px; }
.tbc-pay-icon img { max-height: 24px; width: auto; }
.tbc-pay-info { flex: 1; min-width: 0; }
.tbc-pay-name { font-size: 14px; font-weight: 600; color: var(--tbc-text-main); }
.tbc-pay-desc { font-size: 12px; color: var(--tbc-text-muted); }

/* Summary */
.tbc-summary-rows { margin-bottom: 4px; }
.tbc-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--tbc-border);
  font-size: 14px;
}
.tbc-summary-row:last-child { border-bottom: none; }
.tbc-summary-row .tbc-key { color: var(--tbc-text-muted); }
.tbc-summary-row .tbc-val { font-weight: 600; color: var(--tbc-text-main); }
.tbc-summary-row.tbc-total .tbc-key {
  font-size: 15px; color: var(--tbc-text-main); font-weight: 600;
}
.tbc-summary-row.tbc-total .tbc-val {
  font-size: 22px; font-weight: 700; color: var(--tbc-gold);
}

/* CTA */
.tbc-cta-btn {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--tbc-accent), #0a4fcf);
  border: none; border-radius: var(--tbc-radius-sm);
  color: #fff; font-family: 'Rajdhani', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: .04em;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .25s;
  box-shadow: 0 4px 24px rgba(30,111,255,.3);
  position: relative; overflow: hidden;
}
.tbc-cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent);
  opacity: 0; transition: opacity .2s;
}
.tbc-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 32px rgba(30,111,255,.4); }
.tbc-cta-btn:hover::before { opacity: 1; }
.tbc-cta-btn:active { transform: translateY(0); }
.tbc-cta-btn:disabled {
  opacity: .5; cursor: not-allowed; transform: none; box-shadow: none;
}
.tbc-cta-btn .tbc-arrow { transition: transform .2s; }
.tbc-cta-btn:hover .tbc-arrow { transform: translateX(4px); }

.tbc-pay-note {
  text-align: center; font-size: 12px;
  color: var(--tbc-text-muted); margin-top: 12px;
}

/* Save buttons */
.tbc-btn-save {
  background: var(--tbc-accent); color: #fff;
  border: none; border-radius: var(--tbc-radius-sm);
  padding: 11px 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .2s;
  font-family: 'Hind Siliguri', sans-serif;
}
.tbc-btn-save:hover { background: #3a7fff; }
.tbc-btn-full { width: 100%; padding: 12px; font-size: 15px; }

/* Trust badges */
.tbc-trust-row {
  display: flex; justify-content: center; gap: 20px;
  margin-top: 20px; flex-wrap: wrap;
}
.tbc-trust-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--tbc-text-muted);
}
.tbc-trust-item .tbc-icon { font-size: 14px; }

/* Toast */
.tbc-toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--tbc-success); color: #000;
  font-weight: 700; font-size: 14px;
  padding: 12px 24px; border-radius: 100px;
  opacity: 0; pointer-events: none;
  transition: all .3s; z-index: 999999; white-space: nowrap;
  font-family: 'Hind Siliguri', sans-serif;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.tbc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.tbc-toast.error { background: #ff4757; color: #fff; }

/* Modal */
.tbc-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  z-index: 99999; display: none;
  align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
}
.tbc-modal-overlay.open { display: flex; }
.tbc-modal {
  background: var(--tbc-bg-card);
  border: 1px solid var(--tbc-border);
  border-radius: var(--tbc-radius);
  padding: 28px; max-width: 380px; width: 100%;
  animation: tbcFadeUp .25s ease;
}
.tbc-modal-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px; font-weight: 700;
  margin-bottom: 20px; color: var(--tbc-text-main);
}
.tbc-modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.tbc-btn-cancel {
  flex: 1; padding: 12px;
  border-radius: var(--tbc-radius-sm);
  background: var(--tbc-bg-input); color: var(--tbc-text-muted);
  border: none; font-family: 'Hind Siliguri', sans-serif;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.tbc-btn-cancel:hover { background: var(--tbc-border); }
.tbc-modal .tbc-btn-save { flex: 1; padding: 12px; font-size: 15px; }

/* Animations */
@keyframes tbcFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tbcFadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tbcPulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* Responsive */
@media (max-width: 480px) {
  .tbc-card { padding: 20px 16px; }
  .tbc-wrap { padding: 20px 12px 50px; }
  .tbc-hero-title { font-size: 26px; }
  .tbc-stats-ribbon { font-size: 12px; padding: 6px 14px; gap: 8px; }
}
