/* ==========================================================
   UPlanVPN — ICON BUTTONS (QR / KEY / FLAG)
   ========================================================== */

.uplan-actions{
  display:flex;
  align-items:center;
  gap:5px; /* расстояние между иконками */
}

/* Кнопка-иконка (иконка как background-image) */
.uplan-ibtn{
  width:40px;               /* размер кнопки */
  height:40px;
  padding:0;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.50);
  background-color: rgba(15,23,42,0.88);
  background-repeat:no-repeat;
  background-position:center;
  background-size:18px 18px; /* размер иконки */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, opacity .12s ease;
}

.uplan-ibtn:hover{
  transform: translateY(-1px);
  border-color: rgba(56,189,248,0.65);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.35), 0 10px 30px rgba(2,132,199,0.22);
}

.uplan-ibtn:active{
  transform: translateY(0);
}

.uplan-ibtn:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

/* Типы кнопок */
.uplan-ibtn--qr{
  background-image: url("/assets/img/icons/qr_white.png");
}

.uplan-ibtn--key{
  background-image: url("/assets/img/icons/key.png");
}

/* FLAG: размер флага чуть больше */
.uplan-ibtn--flag{
  background-size:22px 16px;
}

/* 4 флага */
.uplan-flag--de{ background-image: url("/assets/img/flags/germany.png"); }
.uplan-flag--ca{ background-image: url("/assets/img/flags/canada.png"); }
.uplan-flag--tr{ background-image: url("/assets/img/flags/turkey.png"); }
.uplan-flag--nl{ background-image: url("/assets/img/flags/netherland.png"); }

/* Если нужно подсветить текущую активную кнопку (опционально) */
.uplan-ibtn.is-active{
  border-color: rgba(34,197,94,0.75);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.25);
}

/* ==========================================================
   OPTIONAL: GRID IN LOCATION MODAL (если используешь)
   ========================================================== */

.uplan-flag-grid{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.uplan-flag-item{
  flex: 1 1 160px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,0.45);
  background: rgba(15,23,42,0.88);
  padding:12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.uplan-flag-item:hover{
  transform: translateY(-1px);
  border-color: rgba(56,189,248,0.65);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.3), 0 12px 30px rgba(2,132,199,0.20);
}

.uplan-flag-item .name{
  font-weight:600;
  color:#e5e7eb;
}

.uplan-flag-item .hint{
  font-size:12px;
  color: rgba(148,163,184,0.85);
}


/* ==========================================================
   UPlanVPN — RENEW BUTTON (dynamic neon gradient)
   - ширина красной части задаётся переменной --uplan-red (0..100%)
   ========================================================== */

.uplan-renew-btn{
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  background: transparent;
  color: #f1f5f9;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.uplan-renew-btn__label{
  color: inherit;
}

.uplan-renew-btn:hover{
  background: rgba(255,255,255,1);
  border-color: rgba(255,255,255,1);
  color: #0b1220;
}

.uplan-renew-btn:active{
  background: rgba(220,220,220,1);
  color: #0b1220;
}

/* ==========================================================
   UPlanVPN — PAYMENTS TABLE (restore dark theme)
   ========================================================== */

.uplan-table-wrap{
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.28);
  overflow: hidden;
  background: rgba(15,23,42,0.55);
}

.uplan-payments-table{
  --bs-table-color: #e5e7eb;
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(148,163,184,0.22);
  --bs-table-striped-bg: rgba(2,6,23,0.25);
  --bs-table-hover-bg: rgba(56,189,248,0.08);
  margin-bottom: 0;
}

.uplan-payments-table thead th{
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(229,231,235,0.85);
  border-bottom: 1px solid rgba(148,163,184,0.28);
  background: rgba(2,6,23,0.35);
}

.uplan-payments-table tbody td{
  color: rgba(229,231,235,0.92);
  border-top: 1px solid rgba(148,163,184,0.18);
}

.uplan-opid{
  color: #c7d2fe;
  background: rgba(2,6,23,0.35);
  border: 1px solid rgba(129,140,248,0.25);
  border-radius: 10px;
  padding: 2px 8px;
}
/* ==========================================================
   UPlanVPN — NAVBAR (wider, fixed, landing anchors)
   ========================================================== */

.uplan-body{
  /* так как navbar fixed-top */
  padding-top: 76px;
}

.uplan-body .card {
	background: ffffff00 !important;
}

.uplan-navbar{
  /*background: linear-gradient(135deg, rgba(15,23,42,0.98), rgba(15,23,42,0.94));*/
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148,163,184,0.28);
}

.uplan-nav-inner{
  max-width: 1400px;
  padding-left: 20px;
  padding-right: 20px;
}

.uplan-brand-pill{
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.35);
  color: #e5e7eb;
  font-weight: 600;
}

.uplan-navlink{
  opacity: .88;
  padding: 10px 12px;
  border-radius: 10px;
}
.uplan-navlink:hover{
  opacity: 1;
  background: rgba(255,255,255,0.05);
}

.uplan-nav-cta{
  background: linear-gradient(135deg,#22d3ee,#6366f1);
  border: none;
  color: #f9fafb;
  box-shadow: 0 18px 45px rgba(56,189,248,0.22);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: .03em;
}
.uplan-nav-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(99,102,241,0.28);
  color: #fff;
}

/* ==========================================================
   UPlanVPN — HOME / LANDING
   ========================================================== */

.uplan-hero{
  margin-top: -9px;
  background:
    radial-gradient(circle at 0 0, rgba(56,189,248,0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(129,140,248,0.18), transparent 55%),
    linear-gradient(135deg,#020617,#020617);
}

.uplan-bg-parallax{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.uplan-bg-parallax canvas{
  width:100%;
  height:100%;
  display:block;
  opacity: .9;
}

.uplan-hero-content{
  position:relative;
  z-index:1;
}

.uplan-hero-badge{
  background: rgba(15,23,42,0.85) !important;
  border: 1px solid rgba(148,163,184,0.5) !important;
  color: #e5e7eb !important;
}

.uplan-hero-cta{
  background: linear-gradient(135deg,#22d3ee,#6366f1);
  border: none;
  box-shadow: 0 18px 45px rgba(56,189,248,0.35);
  border-radius: 14px;
}
.uplan-hero-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(99,102,241,0.35);
}

.uplan-dot{
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.45);
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
}
.uplan-dot-ok{ background: rgba(34,197,94,0.15); color:#4ade80; border-color: rgba(74,222,128,0.35); }
.uplan-dot-cyan{ background: rgba(56,189,248,0.15); color:#38bdf8; border-color: rgba(56,189,248,0.35); }
.uplan-dot-indigo{ background: rgba(129,140,248,0.15); color:#818cf8; border-color: rgba(129,140,248,0.35); }

.uplan-hero-card{
  background:
    radial-gradient(circle at 0 0, rgba(56,189,248,0.20), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(129,140,248,0.20), transparent 55%),
    linear-gradient(145deg,#020617,#020617);
  border-radius: 22px;
}

.uplan-online-pill{
  background: rgba(22,163,74,0.16);
  color:#4ade80;
  border:1px solid rgba(74,222,128,0.4);
}

.uplan-step{
  width: 32px;
  height: 32px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  border: 1px solid rgba(148,163,184,0.35);
}
.uplan-step-cyan{ background:rgba(56,189,248,0.15); color:#e0f2fe; }
.uplan-step-indigo{ background:rgba(129,140,248,0.18); color:#e0e7ff; }
.uplan-step-teal{ background:rgba(15,118,110,0.22); color:#a5f3fc; }

.uplan-chip{
  background: rgba(15,23,42,0.9);
  border:1px solid rgba(148,163,184,0.5);
  color:#e5e7eb;
}

.uplan-ghost-btn{
  background: transparent;
  border-radius: 999px;
  border:1px solid rgba(148,163,184,0.7);
  color:#e5e7eb;
}
.uplan-ghost-btn:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(56,189,248,0.55);
  color:#fff;
}

.uplan-feature-card{
  background: rgba(15,23,42,0.55);
  border: 1px solid rgba(148,163,184,0.20);
  border-radius: 18px;
}
.uplan-feature-card:hover{
  border-color: rgba(56,189,248,0.38);
  box-shadow: 0 18px 45px rgba(2,132,199,0.18);
}

/* Pricing tiles */
.uplan-price-card{
  background: linear-gradient(180deg, rgba(15,23,42,0.78), rgba(2,6,23,0.86));
  border: 1px solid rgba(148,163,184,0.22);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 42px rgba(2,6,23,0.35);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.uplan-price-card:hover{
  transform: translateY(-6px);
  border-color: rgba(56,189,248,0.40);
  box-shadow: 0 22px 60px rgba(2,132,199,0.18);
}

.uplan-price-tag{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  /*border-radius: 999px;*/
  font-size: 25px;
  /*background: rgba(56,189,248,0.12);*/
  /*border: 1px solid rgba(56,189,248,0.35);*/
  /*color: #e5e7eb;*/
  /*color: #e2bb1d;*/
  color: #2ac6ef;
  font-weight: 700;
}
.uplan-price-period{
  font-size: 12px;
  color: rgba(148,163,184,0.9);
}
.uplan-price-title{
  display: flex;
  justify-content: end;
  /*font-weight: 800;*/
  /*font-size: 18px;*/
  color: #fff;
  margin-top: -10px;
}
.uplan-price-amount{
  font-weight: 900;
  font-size: 50px;
  letter-spacing: -0.02em;
  /*color: #fff;*/
  margin-top: 10px;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}
.uplan-price-meta{
  display: flex;
  align-items: self-end;
  margin-left: 20px;
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  padding-top: 2px;
  padding-bottom: 2px;
  
}
.uplan-price-cta{
  background: linear-gradient(135deg,#22d3ee,#6366f1);
  border:none;
  border-radius: 14px;
  font-weight: 800;
  padding: 12px 14px;
  box-shadow: 0 18px 45px rgba(56,189,248,0.22);
}
.uplan-price-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(99,102,241,0.28);
}

/* Locations pills */
.uplan-loc{
  background: rgba(15,23,42,0.70);
  border: 1px solid rgba(148,163,184,0.35);
  color: #e5e7eb;
  padding: 10px 12px;
}

/* Support */
.uplan-support-card{
  background: rgba(15,23,42,0.55);
  border: 1px solid rgba(148,163,184,0.20);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 42px rgba(2,6,23,0.28);
}
.uplan-support-cta{
  background: linear-gradient(135deg,#22d3ee,#6366f1);
  border: none;
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  padding: 10px 14px;
}

/* Mobile tweaks */
@media (max-width: 576px){
  .uplan-body{ padding-top: 70px; }
  .uplan-nav-inner{ padding-left: 14px; padding-right: 14px; }
}



/* ===== Navbar logo (brand) ===== */
.uplan-nav-logo{
  width:40px;
  height:40px;
  border-radius:14px;
  object-fit:cover;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}

/* ===== Hero right card: darker + semi-transparent (override Bootstrap card bg) ===== */
.uplan-hero .card.uplan-hero-card{
  /*background:*/
  /*  radial-gradient(circle at 0 0, rgba(56,189,248,0.18), transparent 55%),*/
  /*  radial-gradient(circle at 100% 100%, rgba(129,140,248,0.18), transparent 55%),*/
  /*  linear-gradient(145deg, rgba(2,6,23,0.78), rgba(2,6,23,0.78)) !important;*/
  /*background-color: rgba(2,6,23,0.78) !important;*/
  border: 1px solid rgba(148,163,184,0.20) !important;
  backdrop-filter: blur(3px);
}

/* ===== Supported platforms chips ===== */
.uplan-platform-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(15,23,42,0.85);
  /*border: 1px solid rgba(148,163,184,0.40);*/
  color:#e5e7eb;
  font-size:13px;
  line-height:1;
}

.platform-icon{
  width:18px;
  height:18px;
  display:block;
  fill: currentColor;
  opacity: .95;
}

.uplan-hero-meta{ margin-top: 8px; }
