/* ── Maintenance overlay ── */
#maintenance {
  position: fixed; inset: 0; background: var(--bg);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; text-align: center; flex-direction: column; gap: 1rem;
}
#maintenance h2 { font-size: 2rem; font-weight: 700; }

/* ── Hero ── */
.hero {
  min-height: 88vh; display: flex; align-items: center;
  background:
    radial-gradient(ellipse 70% 60% at 65% 40%, #6366f112 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, #818cf808 0%, transparent 60%),
    linear-gradient(180deg, #0f1117 0%, #12141e 100%);
  padding: 5rem 0 4rem;
}
.hero-badge {
  background: #6366f118; color: var(--accent-l);
  border: 1px solid #6366f133; border-radius: 999px;
  padding: .3rem .9rem; font-size: .78rem; display: inline-block; margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.12; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--accent-l); }
.hero-tagline { font-size: 1.05rem; color: #94a3b8; line-height: 1.7; max-width: 500px; margin-bottom: 2rem; }
.price-hero {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-size: 2rem; font-weight: 800; display: inline-block;
}
.btn-buy-hero {
  background: var(--accent); color: #fff; border: none;
  padding: .8rem 2.2rem; border-radius: .6rem;
  font-size: 1rem; font-weight: 600; text-decoration: none;
  display: inline-block; transition: all .2s; cursor: pointer;
}
.btn-buy-hero:hover { background: #4f46e5; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px #6366f144; }
.btn-buy-hero.disabled { background: #1e293b; color: #475569; pointer-events: none; }
.compat-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.compat-pill {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: .35rem; padding: .25rem .65rem; font-size: .75rem; color: var(--text-muted);
}

/* ── Mock app window (fidèle au logiciel réel) ── */
.app-window {
  background: #0d1018;
  border: 1px solid #1e2235;
  border-radius: .45rem;
  overflow: hidden;
  box-shadow: 0 30px 70px #00000077, 0 0 0 1px #2d3048;
  user-select: none;
}

/* Title bar */
.app-titlebar {
  background: #0d1018;
  padding: .45rem .85rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #1e2235;
}
.app-title-brand { color: var(--accent-l); font-weight: 800; font-size: .75rem; letter-spacing: .08em; }
.app-title-sub   { color: #94a3b8; font-weight: 400; font-size: .75rem; margin-left: .4rem; }
.app-title-controls { display: flex; gap: .3rem; }
.app-ctrl-btn {
  width: 22px; height: 22px;
  background: #1a1d27; border: 1px solid #2d3048; border-radius: .2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: #64748b; cursor: default; padding: 0;
}
.app-ctrl-close { color: #f87171; }

/* Body */
.app-body { display: flex; height: 320px; font-size: .72rem; }

/* Sidebar */
.app-sidebar {
  width: 190px; flex-shrink: 0;
  background: #090c12;
  border-right: 1px solid #1e2235;
  display: flex; flex-direction: column; overflow: hidden;
}
.app-sidebar-section {
  padding: .5rem .75rem .35rem;
  font-size: .6rem; color: #475569;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  border-bottom: 1px solid #1e2235;
}
.app-sidebar-search {
  margin: .35rem .5rem;
  background: #111520; border: 1px solid #2d3048;
  border-radius: .2rem; padding: .3rem .65rem;
  font-size: .68rem; color: #374151;
}
.app-server-list { flex: 1; overflow: hidden; }
.app-server-item {
  display: flex; align-items: center; gap: .55rem;
  padding: .5rem .65rem .5rem .55rem;
  border-left: 2px solid transparent;
  border-bottom: 1px solid #1a1d2750;
  cursor: default;
}
.app-server-item.active { border-left-color: var(--accent); background: #6366f10d; }
.app-server-dot { width: 7px; height: 7px; border-radius: 50%; background: #2d3048; flex-shrink: 0; }
.app-server-dot.on { background: var(--accent); }
.app-server-name {
  font-size: .72rem; color: #cbd5e1; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.25;
}
.app-server-uuid { font-size: .58rem; color: #2d3048; font-family: monospace; }

/* Main area */
.app-main { flex: 1; display: flex; flex-direction: column; background: #0d1018; overflow: hidden; }
.app-main-header {
  padding: .55rem 1rem;
  font-size: .8rem; font-weight: 600; color: var(--accent-l);
  border-bottom: 1px solid #1e2235;
}
.app-console-area { flex: 1; background: #080b0f; }
.app-cmd-row {
  display: flex; gap: .35rem; padding: .38rem .5rem;
  border-top: 1px solid #1e2235; background: #0d1018;
}
.app-cmd-input {
  flex: 1; background: #111520; border: 1px solid #2d3048;
  border-radius: .2rem; padding: .3rem .65rem;
  font-size: .68rem; color: #374151;
}
.app-btn-send {
  background: var(--accent); color: #fff; border: none;
  border-radius: .2rem; padding: .3rem .85rem;
  font-size: .68rem; font-weight: 700; cursor: default;
}
.app-action-row {
  display: flex; gap: .3rem; padding: .35rem .5rem;
  border-top: 1px solid #1e2235; background: #0a0d13;
}
.app-action {
  flex: 1; text-align: center; padding: .35rem .1rem;
  border-radius: .22rem; font-size: .66rem; font-weight: 700; cursor: default; white-space: nowrap;
}
.app-action.start   { background: #16a34a; color: #fff; }
.app-action.stop    { background: #dc2626; color: #fff; }
.app-action.restart { background: #d97706; color: #fff; }
.app-action.force   { background: #b91c1c; color: #fff; }
.app-action.files   { background: #047857; color: #fff; flex: 1.3; }
.app-status-bar {
  padding: .28rem .75rem; font-size: .6rem; color: #374151;
  border-top: 1px solid #1e2235; background: #0a0d13;
}

/* ── Features ── */
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: .75rem; padding: 1.5rem; height: 100%;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: #6366f155; transform: translateY(-2px); }
.feature-icon { font-size: 1.6rem; margin-bottom: .85rem; display: block; }
.feature-card h5 { font-size: .92rem; font-weight: 700; margin-bottom: .4rem; }
.feature-card p  { font-size: .82rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-wrap {
  background: var(--bg-dark); border: 1px solid #6366f155;
  border-radius: 1.25rem; padding: 2.5rem 2.75rem;
  box-shadow: 0 0 80px #6366f110;
}
/* Carte abonnement — moins mise en avant */
.pricing-wrap.pricing-secondary {
  border-color: #2d3048;
  box-shadow: none;
  opacity: .9;
}
.plan-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-l); font-weight: 700; }
.plan-price { font-size: 3.8rem; font-weight: 800; line-height: 1; color: #fff; }
.plan-price sup { font-size: 1.4rem; vertical-align: super; }
.plan-price .plan-period { font-size: .9rem; color: var(--text-muted); font-weight: 400; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: .4rem 0; font-size: .88rem; color: #cbd5e1; display: flex; align-items: center; gap: .6rem; }
.check-list li::before {
  content: ''; display: inline-block; width: 16px; height: 16px;
  background: var(--accent); border-radius: 50%; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}
.btn-buy-pricing {
  display: block; width: 100%; text-align: center;
  background: var(--accent); color: #fff; border: none;
  padding: .85rem; border-radius: .6rem; font-size: 1rem; font-weight: 600;
  text-decoration: none; transition: all .2s; cursor: pointer;
}
.btn-buy-pricing:hover { background: #4f46e5; color: #fff; box-shadow: 0 8px 25px #6366f155; }
.btn-buy-pricing.disabled { background: #1e293b; color: #475569; pointer-events: none; }
.secure-note { font-size: .75rem; color: #475569; text-align: center; margin-top: .75rem; }

/* ── Requirements ── */
.req-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: .75rem; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.req-icon  { font-size: 1.5rem; flex-shrink: 0; }
.req-title { font-size: .85rem; font-weight: 700; margin: 0 0 .15rem; }
.req-sub   { font-size: .78rem; color: var(--text-muted); margin: 0; }

/* ── Modal achat ── */
.form-control {
  background: #13151f !important; border-color: #2d3048 !important; color: #e2e8f0 !important;
}
.form-control:focus { border-color: #6366f1 !important; box-shadow: 0 0 0 .2rem #6366f133 !important; }
