/* =========================================
   Nyxcloud — Pricing page (v3)
   - Fix PC "rozjetí" a šířky
   - Lepší hosting blok
   - CTA vždy dole + lepší spacing
   - Bez zásahu do zbytku webu (scoped)
   ========================================= */

.pricingPage{
  padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 7vw, 96px);
}

/* Ceník ať má rozumnou šířku a hezky sedí uprostřed */
.pricingPage .container{
  width: 100%;
  max-width: 1180px; /* méně než 1320 => lepší čitelnost + žádné "moře" vpravo */
  margin: 0 auto;
}

/* Header */
.pricingHead{
  max-width: 860px;
  margin: 0 auto clamp(18px, 3vw, 34px);
  text-align: left;
}

.pricingTitle{
  margin: 0 0 10px;
  font-size: clamp(30px, 3.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.pricingLead{
  margin: 0;
  color: var(--muted);
}

.pricingNote{
  margin-top: 14px;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 850;
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}

/* Grid */
.pricingGrid4{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 26px);
  align-items: stretch;
}

/* 1 column on small screens */
@media (max-width: 980px){
  .pricingGrid4{ grid-template-columns: 1fr; }
}

/* Card */
.priceCard{
  display: flex;
  flex-direction: column;
  gap: 16px;

  padding: clamp(18px, 2.1vw, 26px);
  border-radius: var(--r-xl);

  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(34,211,238,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));

  box-shadow: 0 18px 48px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  min-height: 100%;
}

.priceCard.is-featured{
  border-color: rgba(34,211,238,.35);
  box-shadow: 0 24px 70px rgba(0,0,0,.6);
}

/* Header (plan) */
.priceHeader{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.priceHeader__main{
  min-width: 0;
}

.planName{
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.planDesc{
  margin-top: 6px;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.55;
}

.planBadge{
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;

  color: #020617;
  background: linear-gradient(135deg, #22d3ee, #6366f1);
}

/* Price block */
.priceBlock{
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}

.planPrice{
  display: flex;
  align-items: baseline;
  gap: 10px;

  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 980;
  letter-spacing: -0.02em;
}

.planFrom{
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted2);
}

.planCcy{
  font-size: 14px;
  font-weight: 850;
  color: var(--muted);
}

.planSub{
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.planIncluded{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,.85);
}

/* Hosting after 1 year (nicer + readable) */
.planHosting{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.planHosting__title{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
  margin-bottom: 10px;
}

.planHosting__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
  display: grid;
  gap: 6px;
}

/* Features */
.planFeaturesWrap{
  padding-top: 4px;
}

.planFeaturesTitle{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin: 0 0 10px 0;
}

.planFeatures{
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  gap: 10px;
  color: var(--muted);
}

.planFeatures li{
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.planFeatures li::before{
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34,211,238,.18);
  flex-shrink: 0;
}

/* CTA */
.planCta{
  margin-top: auto; /* drží CTA dole */
  padding-top: 10px;
}

.ctaForm{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* When user not logged in */
.ctaStack{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.ctaHint{
  font-size: 13px;
  color: rgba(255,255,255,.60);
  padding-left: 2px;
}

.ctaNotice{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.80);
}

/* NOTE FIELD */
.noteField{
  display: flex;
  flex-direction: column;
  gap: 10px;

  padding: 14px;
  border-radius: 18px;

  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(34,211,238,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 12px 30px rgba(0,0,0,.35);
}

.noteField__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fieldLabel{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.noteField__counter{
  font-size: 11px;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  white-space: nowrap;
}

.noteField__hint{
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,.6);
}

.pricingPage textarea{
  width: 100%;
  min-height: 96px;
  max-height: 190px;

  padding: 12px 14px;
  border-radius: 14px;

  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.38);

  color: var(--text);
  font-size: 14px;
  line-height: 1.5;

  resize: vertical;
  box-sizing: border-box;

  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.pricingPage textarea::placeholder{ color: rgba(255,255,255,.42); }

.pricingPage textarea:focus{
  outline: none;
  background: rgba(0,0,0,.48);
  border-color: rgba(34,211,238,.55);
  box-shadow: 0 0 0 4px rgba(34,211,238,.18);
}

.noteField.is-near .noteField__counter{
  color: #f59e0b;
  border-color: rgba(245,158,11,.55);
}

/* Buttons in pricing: full width CTA */
.pricingPage .btn.btn-block{
  width: 100%;
  min-height: 48px;
}

/* Mobile tweaks */
@media (max-width: 520px){
  .pricingHead{ text-align: left; }
  .noteField__head{ align-items: flex-start; flex-direction: column; }
  .noteField__counter{ align-self: flex-end; }
  .pricingPage textarea{ min-height: 88px; }
}
