/* ============================================================
   CEZER — Cloud Hosting Pages Stylesheet
   Shared styles for VPS, Dedicated Servers & Cloud Storage
   Uses --cl-accent variable set per-page for theming
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.cl-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  background: var(--dark);
}

.cl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.cl-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, var(--cl-accent-glow, rgba(14,165,233,.12)) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, var(--cl-accent-glow2, rgba(14,165,233,.06)) 0%, transparent 60%);
}
.cl-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(228,226,221,.02) 60px,
      rgba(228,226,221,.02) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(228,226,221,.02) 60px,
      rgba(228,226,221,.02) 61px
    );
}

.cl-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp .8s ease .15s both;
}

.cl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px 7px 12px;
  background: rgba(228,226,221,.06);
  border: 1px solid rgba(228,226,221,.1);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(228,226,221,.65);
  margin-bottom: 32px;
}
.cl-hero-badge i {
  width: 18px;
  height: 18px;
  color: var(--cl-accent);
}

.cl-hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--beige);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.cl-hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(228,226,221,.5);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cl-hero-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cl-highlight {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(228,226,221,.7);
}
.cl-highlight i {
  width: 16px;
  height: 16px;
  color: var(--cl-accent);
  opacity: .7;
}

.cl-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Coming Soon Banner ────────────────────────────────────── */
.cl-soon-banner {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  padding: 0;
}
.cl-soon-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.cl-soon-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.cl-soon-icon i { width: 20px; height: 20px; }
.cl-soon-text {
  font-size: 14.5px;
  color: rgba(255,255,255,.95);
  text-align: center;
  font-weight: 500;
}
.cl-soon-text strong { font-weight: 700; }
.cl-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  flex-shrink: 0;
}
.cl-soon-badge i { width: 14px; height: 14px; }

/* ── Promo Banner ──────────────────────────────────────────── */
.cl-promo {
  background: var(--cl-accent, #0082c9);
  padding: 0;
}
.cl-promo-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.cl-promo-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.cl-promo-icon i { width: 18px; height: 18px; }
.cl-promo-text {
  font-size: 14px;
  color: rgba(255,255,255,.92);
  text-align: center;
}
.cl-promo-code {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(255,255,255,.18);
  border-radius: 6px;
  font-weight: 700;
  font-family: monospace;
  letter-spacing: .05em;
  color: #fff;
  margin: 0 2px;
}
.cl-promo-btn { flex-shrink: 0; }

/* ── Features Bar ──────────────────────────────────────────── */
.cl-features-bar {
  padding: 0;
  background: var(--dark);
  border-bottom: 1px solid rgba(228,226,221,.06);
}
.cl-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.cl-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 28px;
  border-right: 1px solid rgba(228,226,221,.06);
  transition: background .3s ease;
}
.cl-feature-item:last-child { border-right: none; }
.cl-feature-item:hover { background: rgba(228,226,221,.03); }

.cl-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--cl-accent-bg, rgba(14,165,233,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cl-accent);
  flex-shrink: 0;
}
.cl-feature-icon i { width: 20px; height: 20px; }
.cl-feature-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--beige);
}
.cl-feature-info span {
  font-size: 11.5px;
  color: rgba(228,226,221,.4);
}

/* ── Pricing Section ───────────────────────────────────────── */
.cl-pricing {
  padding: 100px 0;
  background: var(--beige);
}
.cl-pricing-header {
  text-align: center;
  margin-bottom: 32px;
}
.cl-pricing-header .section-desc {
  margin: 8px auto 0;
}

/* Billing Toggle */
.cl-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.cl-toggle-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: none;
  background: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .3s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cl-toggle-btn:hover { color: var(--text); }
.cl-toggle-active {
  background: var(--dark);
  color: var(--beige) !important;
  box-shadow: var(--shadow-sm);
}
.cl-toggle-badge {
  font-size: 11px;
  font-weight: 700;
  background: #57F287;
  color: #1a1c1e;
  padding: 2px 8px;
  border-radius: 100px;
}

/* Pricing Cards — Row Layout */
.cl-plans-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
/* cols-* classes kept for compat but grid is always rows */
.cl-plans-grid.cols-5,
.cl-plans-grid.cols-4,
.cl-plans-grid.cols-6 { /* no-op */ }

.cl-plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  position: relative;
  transition: all .3s ease;
}
.cl-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cl-accent-border, rgba(14,165,233,.25));
}

.cl-plan-popular {
  border-color: var(--cl-accent);
  box-shadow: 0 0 0 1px var(--cl-accent), var(--shadow-md);
  z-index: 2;
}
.cl-plan-popular:hover {
  border-color: var(--cl-accent);
}

.cl-popular-badge {
  position: absolute;
  top: -11px;
  left: 28px;
  padding: 4px 14px;
  background: var(--cl-accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.cl-plan-header {
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  min-width: 0;
}
.cl-plan-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.cl-plan-cpu {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cl-plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.cl-price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.cl-price-period {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.cl-plan-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.cl-plan-specs li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 12.5px;
  color: var(--text);
  border-bottom: none;
  white-space: nowrap;
}
.cl-plan-specs li:last-child { border-bottom: none; }
.cl-plan-specs li i {
  width: 14px;
  height: 14px;
  color: var(--cl-accent);
  flex-shrink: 0;
}
.cl-plan-specs li strong { font-weight: 600; }

.cl-plan-btn {
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 120px;
  text-align: center;
  justify-content: center;
}

/* Disabled / Soon button */
.btn-soon {
  background: rgba(41,41,41,.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: not-allowed;
  opacity: .65;
  pointer-events: none;
}
.btn-soon:hover {
  transform: none;
  box-shadow: none;
}

/* ── Included Features ─────────────────────────────────────── */
.cl-included {
  padding: 100px 0;
  background: var(--dark);
}
.cl-included-header {
  text-align: center;
  margin-bottom: 56px;
}
.cl-included-header .section-label {
  color: rgba(228,226,221,.35);
}
.cl-included-header .section-title {
  color: var(--beige);
}

.cl-included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cl-inc-card {
  background: rgba(228,226,221,.04);
  border: 1px solid rgba(228,226,221,.06);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all .3s ease;
}
.cl-inc-card:hover {
  background: rgba(228,226,221,.07);
  border-color: var(--cl-accent-border, rgba(14,165,233,.2));
  transform: translateY(-3px);
}
.cl-inc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--cl-accent-bg, rgba(14,165,233,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cl-accent);
  margin-bottom: 18px;
}
.cl-inc-icon i { width: 20px; height: 20px; }
.cl-inc-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 8px;
}
.cl-inc-card p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(228,226,221,.45);
}

/* ── Security Section (Cloud Storage) ──────────────────────── */
.cl-security {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
}
.cl-security::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(0,130,201,.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(0,130,201,.03) 0%, transparent 60%);
  pointer-events: none;
}
.cl-security-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.cl-security-header .section-label {
  color: rgba(228,226,221,.35);
}
.cl-security-header .section-title {
  color: var(--beige);
}
.cl-security-header .section-desc {
  color: rgba(228,226,221,.5);
  margin: 12px auto 0;
}

.cl-security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  margin-bottom: 60px;
}

.cl-sec-card {
  background: rgba(228,226,221,.03);
  border: 1px solid rgba(228,226,221,.06);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.cl-sec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cl-accent), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.cl-sec-card:hover {
  background: rgba(228,226,221,.06);
  border-color: rgba(0,130,201,.2);
  transform: translateY(-4px);
}
.cl-sec-card:hover::before { opacity: 1; }

.cl-sec-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--cl-accent-bg, rgba(0,130,201,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cl-accent);
  margin-bottom: 20px;
}
.cl-sec-icon i { width: 24px; height: 24px; }

.cl-sec-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 10px;
}
.cl-sec-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(228,226,221,.5);
}

/* Security Promise Box */
.cl-security-promise {
  background: linear-gradient(135deg, rgba(0,130,201,.08) 0%, rgba(0,130,201,.02) 100%);
  border: 1px solid rgba(0,130,201,.15);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.cl-security-promise-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cl-accent-bg, rgba(0,130,201,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cl-accent);
  margin: 0 auto 20px;
}
.cl-security-promise-icon i { width: 26px; height: 26px; }
.cl-security-promise h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 12px;
}
.cl-security-promise p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(228,226,221,.55);
  max-width: 600px;
  margin: 0 auto;
}

/* ── FAQ Section ───────────────────────────────────────────── */
.cl-faq {
  padding: 100px 0;
  background: var(--beige);
}
.cl-faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.cl-faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cl-faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s ease;
}
.cl-faq-item:hover {
  border-color: var(--cl-accent-border, rgba(14,165,233,.25));
}
.cl-faq-item.active {
  border-color: var(--cl-accent-border, rgba(14,165,233,.3));
  box-shadow: var(--shadow-md);
}

.cl-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark);
  transition: all .2s ease;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
}
.cl-faq-question:hover {
  color: var(--cl-accent);
}
.cl-faq-question i {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform .3s ease;
  flex-shrink: 0;
}
.cl-faq-item.active .cl-faq-question i {
  transform: rotate(180deg);
  color: var(--cl-accent);
}

.cl-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.cl-faq-item.active .cl-faq-answer {
  max-height: 500px;
}
.cl-faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.cl-faq-answer-inner a {
  color: var(--cl-accent);
  font-weight: 500;
}
.cl-faq-answer-inner a:hover {
  text-decoration: underline;
}

/* ── Documentation / How it works ──────────────────────────── */
.cl-doc {
  padding: 100px 0;
  background: var(--beige-light);
}
.cl-doc-header {
  text-align: center;
  margin-bottom: 56px;
}

.cl-doc-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.cl-doc-step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all .3s ease;
}
.cl-doc-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cl-accent-border, rgba(14,165,233,.25));
}
.cl-doc-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cl-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.cl-doc-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.cl-doc-step p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.cl-doc-arrow {
  display: flex;
  align-items: center;
  padding-top: 52px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.cl-doc-arrow i { width: 20px; height: 20px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cl-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cl-feature-item:nth-child(2) { border-right: none; }
  .cl-feature-item:nth-child(1),
  .cl-feature-item:nth-child(2) {
    border-bottom: 1px solid rgba(228,226,221,.06);
  }
  .cl-included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cl-security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cl-plan-card {
    grid-template-columns: 160px 1fr auto;
    gap: 20px;
    padding: 18px 22px;
  }
}

@media (max-width: 768px) {
  .cl-hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 30px) 20px 50px;
  }
  .cl-hero-highlights { gap: 14px; }

  .cl-features-grid {
    grid-template-columns: 1fr;
  }
  .cl-feature-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(228,226,221,.06);
  }
  .cl-feature-item:last-child { border-bottom: none; }

  /* Stack plan cards vertically on mobile */
  .cl-plan-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
    text-align: center;
  }
  .cl-plan-header {
    text-align: center;
  }
  .cl-plan-price {
    justify-content: center;
  }
  .cl-plan-specs {
    justify-content: center;
  }
  .cl-plan-btn {
    width: 100%;
  }
  .cl-popular-badge {
    left: 50%;
    transform: translateX(-50%);
  }

  .cl-included-grid {
    grid-template-columns: 1fr;
  }
  .cl-security-grid {
    grid-template-columns: 1fr;
  }

  .cl-doc-steps {
    flex-direction: column;
    gap: 16px;
  }
  .cl-doc-arrow {
    padding-top: 0;
    justify-content: center;
  }
  .cl-doc-arrow i { transform: rotate(90deg); }

  .cl-soon-inner,
  .cl-promo-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .cl-security-promise {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .cl-hero-title { font-size: 2.2rem; }
  .cl-price-amount { font-size: 26px; }
}

/* ── Page-specific accent variables ────────────────────────── */

/* VPS Page */
.vps-page {
  --cl-accent: #0ea5e9;
  --cl-accent-bg: rgba(14,165,233,.12);
  --cl-accent-glow: rgba(14,165,233,.12);
  --cl-accent-glow2: rgba(14,165,233,.06);
  --cl-accent-border: rgba(14,165,233,.25);
}

/* Dedicated Page */
.dedicated-page {
  --cl-accent: #8b5cf6;
  --cl-accent-bg: rgba(139,92,246,.12);
  --cl-accent-glow: rgba(139,92,246,.12);
  --cl-accent-glow2: rgba(139,92,246,.06);
  --cl-accent-border: rgba(139,92,246,.25);
}

/* Cloud Storage Page */
.cloud-storage-page {
  --cl-accent: #0082c9;
  --cl-accent-bg: rgba(0,130,201,.1);
  --cl-accent-glow: rgba(0,130,201,.12);
  --cl-accent-glow2: rgba(0,130,201,.06);
  --cl-accent-border: rgba(0,130,201,.25);
}
