/* ==========================================================================
   SCARHOST — DESIGN v5 — "DARK & RED"
   Concept: Dark premium infrastructure — pas de blanc, pas de violet, pas de bleu
   100% dark noir + rouge sang vif
   Fonts: Outfit (titres) + Figtree (corps) + Roboto Mono (labels tech)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Figtree:wght@400;500;600;700&family=Roboto+Mono:wght@400;500;700&display=swap');

:root {
  /* Rouge signature — profond et saturé */
  --R:          #CC0E2D;
  --R2:         #a50a22;
  --R3:         #7a0719;
  --R-glow:     rgba(204, 14, 45, 0.4);
  --R-glow2:    rgba(204, 14, 45, 0.15);
  --R-soft:     rgba(204, 14, 45, 0.08);
  --R-border:   rgba(204, 14, 45, 0.25);
  --R-border2:  rgba(204, 14, 45, 0.5);

  /* Noirs profonds — palette distincte (pas bleu-noir, pas violet-noir) */
  --N0:   #090808;
  --N1:   #0f0d0d;
  --N2:   #141212;
  --N3:   #1a1818;
  --N4:   #201e1e;
  --N5:   #282525;

  /* Textes — pas de blanc pur */
  --T1:   #f0ece8;  /* titres — très lisible */
  --T2:   #b0a8a0;  /* corps */
  --T3:   #7a726c;  /* secondaire */
  --T4:   #524c48;  /* atténué mais lisible */

  /* Séparateurs */
  --S:    rgba(255, 255, 255, 0.07);
  --S2:   rgba(255, 255, 255, 0.13);

  /* Discord */
  --DC:   #5865F2;
  --DC2:  #4752C4;

  /* Vert uptime */
  --G:    #22c55e;

  /* === TYPO === */
  --fh:  'Outfit', sans-serif;
  --fb:  'Figtree', sans-serif;
  --fm:  'Roboto Mono', monospace;

  /* === FORME === */
  --r1: 4px;
  --r2: 8px;
  --r3: 12px;
  --r4: 18px;
  --ease: all 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--fb);
  background: var(--N0);
  color: var(--T2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--fh);
  color: var(--T1);
  line-height: 1.1;
  font-weight: 800;
}

a { color: inherit; text-decoration: none; transition: var(--ease); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-rouge { color: var(--R) !important; }
.w-100 { width: 100%; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }

/* ===== FOND AMBIANT — glow rouge dramatique en haut ===== */
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow { position: absolute; border-radius: 50%; filter: blur(200px); }

/* Glow principal — haut droite, fort */
.ambient-glow-top {
  top: -150px;
  right: -100px;
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(204,14,45,0.3) 0%, transparent 68%);
}

/* Glow secondaire — bas gauche, subtil */
.ambient-glow-middle {
  bottom: -100px;
  left: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(204,14,45,0.12) 0%, transparent 68%);
}

/* Supprime l'ancienne grid */
.ambient-grid { display: none; }

/* Grain supprimé — causait un effet flou sur les textes */

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.5rem;
  font-family: var(--fb);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--r1);
  transition: var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--R);
  color: #fff;
  border-color: var(--R2);
  box-shadow: 0 0 0 0 var(--R-glow);
}
.btn-primary:hover {
  background: var(--R2);
  box-shadow: 0 4px 24px var(--R-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--T1);
  border-color: var(--S2);
}
.btn-outline:hover {
  border-color: var(--R-border2);
  color: var(--R);
  transform: translateY(-1px);
}

.btn-discord {
  background: var(--DC);
  color: #fff;
  box-shadow: 0 2px 12px rgba(88,101,242,.3);
}
.btn-discord:hover {
  background: var(--DC2);
  box-shadow: 0 4px 20px rgba(88,101,242,.45);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--T1);
  color: var(--N0);
  font-weight: 800;
}
.btn-white:hover { background: #d4cec9; transform: translateY(-1px); }

.btn-lg { padding: .9rem 2rem; font-size: .95rem; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 8, 8, 0.96);
  border-bottom: 1px solid var(--S);
  transition: var(--ease);
}

.site-header.is-scrolled {
  background: rgba(9,8,8,0.99);
  border-bottom-color: var(--R-border);
  box-shadow: 0 2px 20px rgba(0,0,0,.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .85rem 0;
}

.brand { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--r1);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--R-border);
  box-shadow: 0 0 12px rgba(204,14,45,.2);
}

.brand-info { display: flex; flex-direction: column; }

.brand-name {
  font-family: var(--fh);
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--T1);
  letter-spacing: -.03em;
  line-height: 1;
}

.brand-accent { color: var(--R); }

.brand-tag {
  font-family: var(--fm);
  font-size: .57rem;
  color: var(--T4);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }

.nav-item {
  font-family: var(--fb);
  font-size: .86rem;
  font-weight: 600;
  color: var(--T3);
  white-space: nowrap;
  position: relative;
}

.nav-item i { display: none; }

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--R);
  transition: width .2s ease;
}

.nav-item:hover { color: var(--T1); }
.nav-item:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger-btn span {
  width: 22px;
  height: 2px;
  background: var(--T1);
  border-radius: 2px;
  transition: var(--ease);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  width: 100%;
  background: var(--N1);
  border-bottom: 1px solid var(--R-border);
  padding: 1.5rem;
  z-index: 99;
  box-shadow: 0 12px 40px rgba(0,0,0,.85);
}

.mobile-drawer.active {
  display: block;
  animation: drawerIn .2s ease-out;
}

@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-drawer-inner { display: flex; flex-direction: column; gap: .8rem; }

.drawer-link {
  font-family: var(--fb);
  font-size: .9rem;
  font-weight: 700;
  color: var(--T2);
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--S);
}

.drawer-link i { color: var(--R); font-size: .85rem; }

/* ===== HERO — DARK SPLIT ===== */
/*
  Layout: 2 colonnes pleine hauteur
  Gauche: texte sur fond noir + barre rouge gauche
  Droite: "rack terminal" fond légèrement plus clair avec lignes de specs
  Rien de centré, rien de générique
*/
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Barre rouge verticale — signature de marque */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--R) 0%, var(--R2) 100%);
  z-index: 2;
  box-shadow: 4px 0 20px rgba(204,14,45,.3);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 88vh;
}

/* Col gauche */
.hero-col-left {
  background: var(--N0);
  padding: 5rem 4rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Pastille kicker — style technique */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--R-soft);
  border: 1px solid var(--R-border);
  color: var(--R);
  font-family: var(--fm);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .32rem .85rem;
  border-radius: var(--r1);
  margin-bottom: 1.8rem;
  width: fit-content;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--R);
  box-shadow: 0 0 8px var(--R);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.3); }
}

/* Grand titre — fort, condensé, gauche */
.hero-heading {
  font-family: var(--fh);
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.04;
  color: var(--T1);
  margin-bottom: 1.4rem;
}

.hero-heading em {
  font-style: normal;
  color: var(--R);
  /* soulignement rouge — pas de glow comme uniheberg */
  border-bottom: 3px solid var(--R2);
  padding-bottom: 2px;
}

.hero-subtext {
  font-size: 1rem;
  color: var(--T2);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-subtext strong { color: var(--T1); }

.hero-cta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Tags spec — rangée du bas */
.hero-tags-row {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid var(--S);
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--fm);
  font-size: .68rem;
  font-weight: 700;
  color: var(--T3);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.hero-tag i { color: var(--R); font-size: .65rem; }

/* Col droite — rack terminal */
.hero-col-right {
  background: var(--N1);
  border-left: 1px solid var(--S);
  display: flex;
  flex-direction: column;
}

/* Header du rack */
.server-rack-header {
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid var(--S);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--N2);
}

.rack-title {
  font-family: var(--fm);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--T3);
}

.rack-live {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--fm);
  font-size: .62rem;
  font-weight: 700;
  color: var(--G);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rack-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--G);
  box-shadow: 0 0 7px var(--G);
  animation: pulse 1.4s infinite;
}

/* Lignes de specs */
.server-rack-body { flex: 1; display: flex; flex-direction: column; }

.rack-row {
  padding: 1.1rem 1.8rem;
  border-bottom: 1px solid var(--S);
  display: flex;
  flex-direction: column;
  gap: .28rem;
  transition: var(--ease);
  cursor: default;
}

.rack-row:hover { background: var(--N3); }

.rack-row-label {
  font-family: var(--fm);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--R);
}

.rack-row-value {
  font-family: var(--fh);
  font-size: .95rem;
  font-weight: 700;
  color: var(--T1);
}

.rack-row-sub {
  font-family: var(--fm);
  font-size: .68rem;
  color: var(--T3);
}

/* Barre uptime */
.server-rack-footer {
  padding: 1.1rem 1.8rem;
  background: var(--N2);
  border-top: 1px solid var(--R-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rack-uptime-label {
  font-family: var(--fm);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--T3);
  margin-bottom: .4rem;
}

.rack-uptime-bar {
  width: 100%;
  height: 3px;
  background: var(--S);
  border-radius: 99px;
  overflow: hidden;
}

.rack-uptime-fill {
  height: 100%;
  width: 99.7%;
  background: var(--G);
  box-shadow: 0 0 6px var(--G);
}

.rack-uptime-val {
  font-family: var(--fh);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--G);
  white-space: nowrap;
}

/* ===== COMMON SECTIONS ===== */
.section-title-box { margin-bottom: 2.5rem; }
.section-title-box.centered { text-align: center; }
.section-title-box.centered p { margin: 0 auto; }

.badge-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid var(--R-border);
  color: var(--R);
  font-family: var(--fm);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .28rem .75rem;
  border-radius: var(--r1);
  background: var(--R-soft);
  margin-bottom: .9rem;
}

.section-title-box h2 {
  font-family: var(--fh);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: .55rem;
}

.section-title-box p {
  font-size: .97rem;
  color: var(--T2);
  max-width: 560px;
  line-height: 1.65;
}

.section-line {
  width: 32px;
  height: 3px;
  background: var(--R);
  border-radius: 99px;
  margin-bottom: 1rem;
  box-shadow: 0 0 8px var(--R-glow);
}

.centered .section-line { margin: 0 auto 1rem; }

/* ===== PRICING ===== */
.section-pricing { padding: 5rem 0; }

/* Tabs */
.category-nav-wrapper { margin-bottom: 2.2rem; }

.category-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--S);
}

.cat-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: .8rem 1.4rem;
  font-family: var(--fb);
  font-size: .88rem;
  font-weight: 700;
  color: var(--T3);
  cursor: pointer;
  transition: var(--ease);
  margin-bottom: -1px;
  white-space: nowrap;
}

.cat-btn i { font-size: .9rem; }
.cat-btn:hover { color: var(--T2); }
.cat-btn.active { color: var(--T1); border-bottom-color: var(--R); }

/* Panels */
.plan-panel { display: none; animation: up .22s ease-out; }
.plan-panel.active { display: block; }

@keyframes up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Strip catégorie */
.cat-header-strip {
  background: var(--N2);
  border: 1px solid var(--S);
  border-left: 3px solid var(--R);
  padding: 1rem 1.5rem;
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 0 var(--r2) var(--r2) 0;
}

.cat-header-strip-left { display: flex; align-items: center; gap: 1rem; }

.cat-strip-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r1);
  background: var(--R-soft);
  border: 1px solid var(--R-border);
  color: var(--R);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cat-header-strip-left h3 { font-size: 1.05rem; margin-bottom: .1rem; }
.cat-header-strip-left p { color: var(--T3); font-size: .83rem; }

.cat-header-strip-tags { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }

.strip-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--N3);
  border: 1px solid var(--S);
  color: var(--T2);
  padding: .28rem .65rem;
  border-radius: var(--r1);
  font-family: var(--fm);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.strip-tag i { color: var(--G); font-size: .65rem; }

/* Plan Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.plan-card {
  background: var(--N2);
  border: 1px solid var(--S);
  border-radius: var(--r3);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--ease);
}

.plan-card:hover {
  border-color: var(--R-border);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0,0,0,.6), 0 0 0 1px var(--R-border);
}

.plan-card.is-popular {
  border-color: var(--R-border2);
  background: linear-gradient(160deg, rgba(204,14,45,0.1) 0%, var(--N2) 50%);
  box-shadow: 0 0 30px rgba(204,14,45,.15);
}

.card-badge-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--R);
  color: #fff;
  font-family: var(--fm);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .22rem .8rem;
  border-radius: var(--r1);
  white-space: nowrap;
  box-shadow: 0 2px 12px var(--R-glow);
}

.card-head { margin-bottom: 1.1rem; }

.card-category {
  font-family: var(--fm);
  font-size: .63rem;
  font-weight: 700;
  color: var(--R);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: .2rem;
}

.card-plan-name {
  font-family: var(--fh);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--T1);
}

.card-pricing { display: flex; align-items: baseline; gap: 1px; margin-top: .35rem; }

.card-pricing .currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--T3);
}

.card-pricing .val {
  font-family: var(--fh);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--T1);
  line-height: 1;
}

.card-pricing .per { font-size: .8rem; color: var(--T4); }

.card-sep {
  height: 1px;
  background: var(--S);
  margin: 1.1rem 0;
}

.card-specs-table {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.1rem;
}

.spec-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .83rem;
  gap: .4rem;
}

.spec-entry-left {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--T3);
  font-family: var(--fm);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.spec-entry-left i { width: 13px; text-align: center; }
.spec-entry-right { color: var(--T1); font-weight: 700; font-size: .83rem; text-align: right; }

.spec-entry-cpu {
  background: var(--R-soft);
  border: 1px solid var(--R-border);
  border-left: 2px solid var(--R);
  padding: .38rem .65rem;
  border-radius: 0 var(--r1) var(--r1) 0;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.feat-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .83rem;
  color: var(--T2);
}

.feat-row i { color: var(--G); font-size: .75rem; flex-shrink: 0; }

.card-action { margin-top: auto; }

.btn-order {
  width: 100%;
  padding: .78rem;
  background: transparent;
  border: 1px solid var(--S2);
  color: var(--T1);
  border-radius: var(--r1);
  font-family: var(--fb);
  font-weight: 700;
  font-size: .86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  transition: var(--ease);
  cursor: pointer;
}

.btn-order:hover {
  background: var(--R);
  border-color: var(--R);
  box-shadow: 0 4px 18px var(--R-glow);
  transform: translateY(-1px);
}

.btn-order-popular {
  background: var(--R);
  border-color: var(--R2);
  box-shadow: 0 2px 14px var(--R-glow);
}

.btn-order-popular:hover {
  background: var(--R2);
  box-shadow: 0 5px 22px var(--R-glow);
}

/* Custom Banner */
.custom-banner {
  margin-top: 2.5rem;
  background: var(--N2);
  border: 1px solid var(--S);
  border-left: 3px solid #F59E0B;
  border-radius: 0 var(--r3) var(--r3) 0;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.custom-banner-info { display: flex; align-items: center; gap: 1.1rem; }

.custom-banner-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r1);
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #F59E0B;
  flex-shrink: 0;
}

.custom-banner-info h4 { font-size: 1.05rem; margin-bottom: .15rem; }
.custom-banner-info p { color: var(--T2); font-size: .86rem; }

/* ===== HARDWARE ===== */
.section-hardware { padding: 5rem 0; }

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.hw-card {
  background: var(--N2);
  border: 1px solid var(--S);
  border-radius: var(--r3);
  padding: 1.6rem;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}

.hw-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--R), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}

.hw-card:hover {
  border-color: var(--R-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}

.hw-card:hover::after { opacity: 1; }

.hw-card-wide { grid-column: span 2; }

.hw-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r1);
  background: var(--R-soft);
  border: 1px solid var(--R-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--R);
  margin-bottom: 1rem;
}

.hw-card h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.hw-card p { color: var(--T2); font-size: .88rem; line-height: 1.6; }

.hw-pill-tag {
  display: inline-block;
  margin-top: .85rem;
  font-family: var(--fm);
  font-size: .63rem;
  font-weight: 700;
  color: var(--R);
  background: var(--R-soft);
  border: 1px solid var(--R-border);
  padding: .22rem .65rem;
  border-radius: var(--r1);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ===== ANTI-DDOS ===== */
.section-antiddos { padding: 5rem 0; }

.antiddos-box {
  background: var(--N1);
  border: 1px solid var(--R-border);
  border-radius: var(--r4);
  padding: 3rem 3.5rem;
  display: grid;
  grid-template-columns: 1.5fr .5fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(204,14,45,.08);
}

.antiddos-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--R), var(--R2), transparent);
}

.label-red { background: var(--R-soft); color: var(--R); border-color: var(--R-border); }

.antiddos-text-side h2 { font-size: 2.1rem; margin-bottom: .65rem; }
.antiddos-text-side p { color: var(--T2); font-size: .97rem; margin-bottom: 1.6rem; line-height: 1.65; }

.antiddos-points-list { display: flex; flex-direction: column; gap: .7rem; }

.point-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--T1);
}

.point-row i { font-size: .95rem; }

.antiddos-graphic-side { display: flex; align-items: center; justify-content: center; }

.shield-display {
  width: 170px;
  height: 170px;
  background: var(--R-soft);
  border: 1px solid var(--R-border);
  border-radius: var(--r4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(204,14,45,.25), inset 0 0 30px rgba(204,14,45,.05);
  position: relative;
}

.shield-radar {
  position: absolute;
  inset: 0;
  border-radius: var(--r4);
  background: radial-gradient(circle, rgba(204,14,45,.2) 0%, transparent 70%);
}

.shield-svg { font-size: 3rem; color: var(--R); margin-bottom: .3rem; }
.shield-badge-title { font-family: var(--fh); font-size: .85rem; font-weight: 800; }

.shield-live-indicator {
  font-family: var(--fm);
  font-size: .65rem;
  font-weight: 700;
  color: var(--G);
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .2rem;
}

.dot-green {
  width: 5px;
  height: 5px;
  background: var(--G);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--G);
}

/* ===== MONITORING ===== */
.section-monitoring { padding: 3.5rem 0; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

/* Cards métriques — dark avec top-border rouge */
.metric-item {
  background: var(--N2);
  border: 1px solid var(--S);
  border-top: 3px solid var(--R);
  border-radius: 0 0 var(--r2) var(--r2);
  padding: 1.6rem 1.3rem 1.3rem;
  text-align: left;
  transition: var(--ease);
}

.metric-item:hover {
  transform: translateY(-3px);
  border-color: var(--R-border);
  border-top-color: var(--R);
  box-shadow: 0 8px 28px rgba(0,0,0,.5), 0 -1px 0 var(--R);
}

.metric-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 1px;
  margin-bottom: .25rem;
}

.metric-number-wrap .counter {
  font-family: var(--fh);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--T1);
  line-height: 1;
}

.metric-unit {
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--R);
}

.metric-label {
  font-family: var(--fm);
  font-size: .65rem;
  font-weight: 700;
  color: var(--T3);
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* ===== FAQ ===== */
.section-faq { padding: 5rem 0; }
.faq-wrapper { max-width: 760px; }

.faq-accordion { display: flex; flex-direction: column; gap: .6rem; }

.faq-row {
  background: var(--N2);
  border: 1px solid var(--S);
  border-radius: var(--r2);
  overflow: hidden;
  transition: var(--ease);
}

.faq-row:hover { border-color: var(--R-border); }

.faq-trigger {
  width: 100%;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--fb);
  font-size: .95rem;
  font-weight: 700;
  color: var(--T1);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-icon { color: var(--R); font-size: .82rem; transition: transform .22s ease; flex-shrink: 0; }
.faq-row.active .faq-icon { transform: rotate(180deg); }

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease-out;
  padding: 0 1.4rem;
}

.faq-content p { padding: .75rem 0 1.2rem; color: var(--T2); font-size: .9rem; line-height: 1.65; }

/* ===== DISCORD CTA ===== */
.section-discord-cta { padding: 2rem 0 5rem; }

.cta-discord-card {
  background: var(--N1);
  border: 1px solid var(--S);
  border-radius: var(--r4);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-discord-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--DC), transparent);
}

.cta-left { display: flex; align-items: center; gap: 1.3rem; }

.cta-logo-img {
  width: 56px;
  height: 56px;
  border-radius: var(--r2);
  object-fit: cover;
  border: 1px solid var(--S);
}

.cta-left h3 { font-family: var(--fh); font-size: 1.35rem; margin-bottom: .2rem; }
.cta-left p { color: var(--T2); font-size: .9rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: #060505;
  border-top: 1px solid var(--S);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }

.footer-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--r1);
  object-fit: cover;
}

.footer-brand-title { font-family: var(--fh); font-size: 1.15rem; font-weight: 900; color: var(--T1); }

.footer-about { font-size: .86rem; color: var(--T3); line-height: 1.7; margin-bottom: 1.3rem; max-width: 260px; }

.network-status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(34,197,94,.07);
  color: #4ade80;
  font-family: var(--fm);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: .32rem .75rem;
  border-radius: var(--r1);
  border: 1px solid rgba(34,197,94,.18);
}

.footer-title {
  font-family: var(--fm);
  color: var(--T2);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin-bottom: 1.1rem;
}

.footer-menu { display: flex; flex-direction: column; gap: .5rem; }

.footer-menu a { color: var(--T3); font-size: .86rem; display: flex; align-items: center; gap: .45rem; }
.footer-menu a i { color: var(--R); font-size: .72rem; }
.footer-menu a:hover { color: var(--T1); transform: translateX(3px); }

.footer-text-muted { font-size: .86rem; color: var(--T3); line-height: 1.55; margin-bottom: .75rem; }

.footer-copyright-bar { border-top: 1px solid rgba(255,255,255,.04); padding: 1.2rem 0; }

.footer-copyright-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--fm);
  font-size: .68rem;
  color: var(--T3);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.footer-note { color: var(--T3); }

/* ===== FLOATING DISCORD ===== */
.floating-discord-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--DC);
  color: #fff;
  border-radius: var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(88,101,242,.4);
  z-index: 999;
  transition: var(--ease);
}

.floating-discord-btn:hover {
  background: var(--DC2);
  transform: translateY(-2px);
  border-radius: var(--r2);
}

.floating-label {
  position: absolute;
  right: 60px;
  background: var(--N3);
  border: 1px solid var(--S2);
  color: var(--T1);
  padding: .32rem .75rem;
  border-radius: var(--r1);
  font-family: var(--fm);
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(5px);
  transition: var(--ease);
}

.floating-discord-btn:hover .floating-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1200px) { .container { max-width: 1280px; padding: 0 2rem; } }

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 360px; }
  .hero-col-left { padding: 4rem 3rem; }
}

@media (max-width: 950px) {
  .main-nav, .header-actions .btn-discord { display: none; }
  .burger-btn { display: flex; }
  .hero-inner { grid-template-columns: 1fr; min-height: unset; }
  .hero-col-left { padding: 3.5rem 1.5rem 3rem; }
  .hero-col-right { border-left: none; border-top: 1px solid var(--S); }
  .hero-heading { font-size: clamp(2rem, 5vw, 2.8rem); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hardware-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-card-wide { grid-column: span 2; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .antiddos-box { grid-template-columns: 1fr; padding: 2rem; gap: 2rem; }
  .cta-discord-card { padding: 2rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .hide-mobile { display: none; }
  .header-inner { padding: .7rem 0; }
  .brand-logo { width: 32px; height: 32px; }
  .brand-name { font-size: 1.1rem; }
  .hero-col-left { padding: 2.5rem 1rem 2rem; }
  .hero-heading { font-size: clamp(1.8rem, 7vw, 2.3rem); }
  .hero-subtext { font-size: .9rem; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .hero-tags-row { gap: 1rem; }
  .category-nav { overflow-x: auto; }
  .cat-btn { padding: .75rem .9rem; font-size: .82rem; flex-shrink: 0; }
  .cat-header-strip { flex-direction: column; align-items: flex-start; padding: .9rem 1.1rem; gap: .8rem; }
  .cards-grid { grid-template-columns: 1fr; gap: 1rem; }
  .plan-card { padding: 1.3rem; }
  .card-pricing .val { font-size: 1.9rem; }
  .hardware-grid { grid-template-columns: 1fr; }
  .hw-card-wide { grid-column: span 1; }
  .antiddos-box { padding: 1.4rem; }
  .antiddos-text-side h2 { font-size: 1.55rem; }
  .shield-display { width: 140px; height: 140px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .metric-item { padding: 1.2rem 1rem; }
  .metric-number-wrap .counter { font-size: 2rem; }
  .metric-unit { font-size: 1rem; }
  .section-faq { padding: 3.5rem 0; }
  .faq-trigger { padding: .95rem 1.1rem; font-size: .9rem; }
  .cta-discord-card { flex-direction: column; text-align: center; padding: 1.6rem 1.2rem; gap: 1.2rem; }
  .cta-left { flex-direction: column; gap: .8rem; }
  .cta-right { width: 100%; }
  .cta-right .btn { width: 100%; }
  .custom-banner { flex-direction: column; border-left: none; border-top: 3px solid #F59E0B; border-radius: var(--r2); padding: 1.3rem; gap: 1rem; text-align: center; }
  .custom-banner-info { flex-direction: column; gap: .6rem; }
  .custom-banner .btn { width: 100%; }
  .site-footer { padding-top: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; margin-bottom: 2rem; }
  .footer-copyright-inner { flex-direction: column; gap: .4rem; text-align: center; }
  .floating-discord-btn { display: none; }
}
