
/* =========================================================
   NIGHTBOX HOSTING™ V3 PREMIUM
   Léger • Sans framework • Responsive
========================================================= */

.v3-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 112px 0 82px;
  background:
    radial-gradient(circle at 76% 40%, rgba(0,140,255,.14), transparent 29%),
    radial-gradient(circle at 18% 20%, rgba(0,90,210,.12), transparent 34%),
    linear-gradient(180deg, #02060d 0%, #04101f 100%);
}

.v3-grid-bg {
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.v3-orb {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .14;
  pointer-events: none;
}

.v3-orb-one {
  top: -150px;
  right: 12%;
  background: #008cff;
}

.v3-orb-two {
  bottom: -230px;
  left: -100px;
  background: #0057ff;
}

.v3-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  gap: 70px;
  align-items: center;
}

.v3-hero-copy h1 {
  max-width: 820px;
  margin: 18px 0 24px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.v3-hero-copy h1 > span {
  display: block;
}

.v3-hero-lead {
  max-width: 720px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.75;
}

.v3-service-pills,
.v3-mini-trust,
.v3-trust-track,
.v3-tech-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.v3-service-pills {
  gap: 9px;
  margin: 0 0 28px;
}

.v3-service-pills span {
  padding: 8px 12px;
  border: 1px solid rgba(91,180,255,.22);
  border-radius: 999px;
  color: #c8e7ff;
  background: rgba(0,140,255,.06);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .035em;
}

.v3-mini-trust {
  gap: 20px;
  margin-top: 28px;
}

.v3-mini-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c1cbd8;
  font-size: .83rem;
}

.v3-mini-trust i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19d981;
  box-shadow: 0 0 18px rgba(25,217,129,.8);
}

.v3-infrastructure {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.v3-server-frame {
  position: relative;
  z-index: 3;
  width: min(100%, 430px);
  padding: 13px;
  border: 1px solid rgba(117,194,255,.2);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(12,25,43,.94), rgba(2,8,16,.97));
  box-shadow:
    0 50px 100px rgba(0,0,0,.48),
    0 0 0 8px rgba(255,255,255,.015),
    inset 0 1px rgba(255,255,255,.06);
  transform: rotateY(-7deg) rotateX(3deg);
}

.v3-server-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,140,255,.45), transparent 35%, rgba(78,194,255,.12));
  filter: blur(15px);
  opacity: .6;
}

.v3-server-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px 17px;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  letter-spacing: .08em;
}

.v3-server-top small {
  color: #718197;
  font-size: .58rem;
}

.v3-server-unit {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  margin: 8px 0;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    #07111f;
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.v3-server-unit strong,
.v3-server-unit small {
  display: block;
}

.v3-server-unit strong {
  color: #f4f8ff;
  font-family: "Orbitron", sans-serif;
  font-size: .77rem;
  letter-spacing: .07em;
}

.v3-server-unit small {
  margin-top: 5px;
  color: #697b90;
  font-size: .62rem;
  letter-spacing: .08em;
}

.v3-server-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0,140,255,.25);
  border-radius: 12px;
  color: #58b7ff;
  background: rgba(0,140,255,.075);
  font-size: .59rem;
  font-weight: 900;
}

.v3-leds {
  display: flex;
  gap: 6px;
}

.v3-leds i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #19d981;
  box-shadow: 0 0 10px rgba(25,217,129,.75);
  animation: v3Pulse 2.4s infinite ease-in-out;
}

.v3-leds i:nth-child(2) { animation-delay: .5s; }
.v3-leds i:nth-child(3) { background: #008cff; animation-delay: 1s; }

.v3-float-card {
  position: absolute;
  z-index: 5;
  min-width: 130px;
  padding: 14px 16px;
  border: 1px solid rgba(111,191,255,.18);
  border-radius: 15px;
  background: rgba(3,10,20,.82);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  backdrop-filter: blur(15px);
  animation: v3Float 5s ease-in-out infinite;
}

.v3-float-card small,
.v3-float-card strong {
  display: block;
}

.v3-float-card small {
  margin-bottom: 4px;
  color: #77879a;
  font-size: .66rem;
  font-weight: 700;
}

.v3-float-card strong {
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
}

.v3-card-uptime { top: 42px; right: 2px; }
.v3-card-ssl { bottom: 88px; left: -10px; animation-delay: -1.5s; }
.v3-card-speed { bottom: 10px; right: 35px; animation-delay: -3s; }

.v3-network-ring {
  position: absolute;
  border: 1px solid rgba(0,140,255,.12);
  border-radius: 50%;
}

.ring-a { width: 500px; height: 500px; }
.ring-b { width: 390px; height: 390px; }

.v3-network-line {
  position: absolute;
  width: 480px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,140,255,.35), transparent);
}

.line-a { transform: rotate(21deg); }
.line-b { transform: rotate(-28deg); }

.v3-trust-strip {
  border-top: 1px solid rgba(255,255,255,.045);
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: #040b15;
}

.v3-trust-track {
  justify-content: center;
  gap: 20px;
  min-height: 72px;
  color: #9caabd;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.v3-trust-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #008cff;
  box-shadow: 0 0 12px rgba(0,140,255,.9);
}

.v3-section-head {
  max-width: 850px;
  margin-inline: auto;
}

.v3-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.v3-service-card {
  position: relative;
  min-height: 265px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 55%),
    rgba(5,13,24,.78);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.v3-service-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #008cff;
  filter: blur(75px);
  opacity: .08;
  transition: opacity .25s ease;
}

.v3-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,140,255,.3);
  box-shadow: 0 22px 60px rgba(0,0,0,.26);
}

.v3-service-card:hover::after { opacity: .2; }

.v3-service-card h3 {
  margin: 22px 0 10px;
  color: #fff;
}

.v3-service-card p {
  min-height: 54px;
  color: var(--muted);
}

.v3-svg-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(0,140,255,.22);
  border-radius: 16px;
  color: #43acff;
  background: rgba(0,140,255,.07);
}

.v3-svg-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v3-why {
  background:
    radial-gradient(circle at 10% 50%, rgba(0,140,255,.09), transparent 33%),
    #020710;
}

.v3-why-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: center;
}

.v3-why-grid h2 {
  margin: 16px 0 20px;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.05;
}

.v3-why-grid h2 span { display: block; }

.v3-why-grid > div > p {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.75;
}

.v3-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.v3-benefits article {
  position: relative;
  min-height: 150px;
  padding: 23px 22px 22px 47px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 17px;
  background: rgba(255,255,255,.025);
}

.v3-benefits article::before {
  content: "✓";
  position: absolute;
  top: 23px;
  left: 20px;
  color: #31b3ff;
  font-weight: 900;
}

.v3-benefits strong,
.v3-benefits span {
  display: block;
}

.v3-benefits strong {
  margin-bottom: 8px;
  color: #fff;
}

.v3-benefits span {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}

.v3-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  align-items: stretch;
}

.v3-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 23px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 60%),
    #07111f;
  box-shadow: 0 22px 70px rgba(0,0,0,.18);
}

.v3-price-card.featured {
  transform: translateY(-14px);
  border-color: rgba(0,140,255,.55);
  box-shadow:
    0 28px 80px rgba(0,70,160,.22),
    0 0 0 1px rgba(0,140,255,.1);
}

.v3-popular {
  position: absolute;
  top: 0;
  right: 25px;
  padding: 8px 12px;
  border-radius: 0 0 10px 10px;
  color: #fff;
  background: #008cff;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.v3-plan-name {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 75px;
  margin-bottom: 22px;
}

.v3-plan-name h3,
.v3-plan-name p {
  margin: 0;
}

.v3-plan-name p {
  margin-top: 5px;
  color: var(--muted);
  font-size: .82rem;
}

.v3-plan-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0,140,255,.25);
  border-radius: 13px;
  color: #57b7ff;
  background: rgba(0,140,255,.08);
  font-size: .72rem;
  font-weight: 900;
}

.v3-price {
  display: flex;
  align-items: end;
  gap: 8px;
}

.v3-price strong {
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  letter-spacing: -.05em;
}

.v3-price span {
  padding-bottom: 7px;
  color: var(--muted);
  font-size: .82rem;
}

.v3-annual {
  margin: 8px 0 22px;
  color: #5fb8ff;
  font-size: .79rem;
  font-weight: 700;
}

.v3-feature-list {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.v3-feature-list li {
  position: relative;
  padding-left: 24px;
  color: #c4cfdd;
  font-size: .88rem;
}

.v3-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #31b3ff;
  font-weight: 900;
}

.v3-order-btn {
  width: 100%;
  margin-top: auto;
}

.v3-price-note {
  max-width: 880px;
  margin: 25px auto 0;
  color: #718096;
  font-size: .76rem;
  text-align: center;
}

.v3-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 20px;
  background: #06101d;
}

.v3-compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.v3-compare-table th,
.v3-compare-table td {
  padding: 17px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: center;
}

.v3-compare-table th:first-child,
.v3-compare-table td:first-child {
  text-align: left;
}

.v3-compare-table th {
  color: #fff;
  background: rgba(255,255,255,.025);
  font-size: .82rem;
}

.v3-compare-table td {
  color: #b9c5d4;
  font-size: .86rem;
}

.v3-compare-table tr:last-child td { border-bottom: 0; }
.v3-compare-table th:nth-child(3),
.v3-compare-table td:nth-child(3) {
  background: rgba(0,140,255,.045);
}

.v3-tech-row {
  justify-content: center;
  gap: 12px;
}

.v3-tech-row span {
  min-width: 135px;
  padding: 18px 21px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 13px;
  color: #b8c7d8;
  background: rgba(255,255,255,.025);
  font-family: "Orbitron", sans-serif;
  font-size: .71rem;
  text-align: center;
  letter-spacing: .04em;
}

.v3-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(0,140,255,.25);
  border-radius: 25px;
  background:
    radial-gradient(circle at 85% 20%, rgba(0,140,255,.18), transparent 28%),
    linear-gradient(135deg, #08182b, #040a13);
}

.v3-cta::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(0,140,255,.15);
  border-radius: 50%;
}

.v3-cta h2 {
  max-width: 780px;
  margin: 12px 0 10px;
}

.v3-cta p {
  margin: 0;
  color: var(--muted);
}

@keyframes v3Pulse {
  0%, 100% { opacity: .4; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes v3Float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .v3-leds i,
  .v3-float-card {
    animation: none;
  }
}

@media (max-width: 1050px) {
  .v3-hero {
    padding-top: 80px;
  }

  .v3-hero-grid,
  .v3-why-grid {
    grid-template-columns: 1fr;
  }

  .v3-hero-copy {
    text-align: center;
  }

  .v3-hero-lead {
    margin-inline: auto;
  }

  .v3-service-pills,
  .v3-mini-trust,
  .v3-hero-copy .hero-actions {
    justify-content: center;
  }

  .v3-infrastructure {
    min-height: 540px;
  }

  .v3-service-grid,
  .v3-pricing-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .v3-price-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .v3-hero {
    min-height: auto;
    padding: 62px 0 58px;
  }

  .v3-hero-grid {
    gap: 40px;
  }

  .v3-hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4.3rem);
  }

  .v3-service-pills {
    gap: 7px;
  }

  .v3-mini-trust {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
    max-width: 230px;
    margin-inline: auto;
  }

  .v3-infrastructure {
    min-height: 430px;
  }

  .v3-server-frame {
    width: calc(100% - 20px);
    transform: none;
  }

  .v3-server-unit {
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    padding: 10px;
  }

  .v3-server-icon {
    width: 42px;
    height: 42px;
  }

  .v3-float-card {
    min-width: 104px;
    padding: 10px 12px;
  }

  .v3-card-uptime { top: 0; right: 0; }
  .v3-card-ssl { bottom: 30px; left: 0; }
  .v3-card-speed { display: none; }

  .v3-trust-track {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 20px;
    scrollbar-width: none;
  }

  .v3-trust-track::-webkit-scrollbar { display: none; }

  .v3-service-grid,
  .v3-pricing-grid,
  .v3-benefits {
    grid-template-columns: 1fr;
  }

  .v3-service-card {
    min-height: 235px;
  }

  .v3-price-card {
    padding: 25px 22px;
  }

  .v3-cta {
    grid-template-columns: 1fr;
  }

  .v3-cta .hero-actions {
    align-items: stretch;
  }

  .v3-cta .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .v3-server-unit strong { font-size: .65rem; }
  .v3-server-unit small { font-size: .52rem; }
  .v3-leds { display: none; }
}
