/* =========================================================
   STARWEB PROHOST — PACKAGES PAGE
   Identical Structure to SERVICES PAGE
   Base-Lite Tokens • Local Reset • Unified Buttons
========================================================= */

/* ---------------------------
   TOKENS — Base-Lite
--------------------------- */
:root {
  --white-soft:#f9fafb;
  --blue:#0a1a33;
  --blue-600:#071327;
  --ink:#0a1a33;
  --ink-2:#12243b;
  --muted:#c5cbd3;

  --brand-gold:#FFD166;

  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:20px;

  --shadow-soft:0 8px 24px rgba(10,26,51,.08);
  --shadow-elev:0 10px 30px rgba(10,26,51,.16);

  --content-max:1280px;
  --section-max:1400px;
}

/* ---------------------------
   RESET — Local Only
--------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------------------------
   BASE TYPE (Page Only)
--------------------------- */
html {
  font-family: 'Poppins', sans-serif;
  color: #111;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body {
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

/* =========================================================
   PRICING SECTION
========================================================= */
.pricing-section {
  background:#fff;
  padding:90px 20px;
  text-align:center;
}

.pricing-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
  gap:48px;
  max-width:var(--content-max);
  margin:0 auto;
}

.package {
  background:var(--white-soft);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  padding:40px 32px;
  border:1px solid rgba(0,0,0,.05);
  transition:transform .3s ease, box-shadow .3s ease;
  text-align:left;
}

.package:hover {
  transform:translateY(-6px);
  box-shadow:0 14px 40px rgba(0,0,0,.12);
}

.package h3 {
  font-size:1.45rem;
  font-weight:800;
  color:var(--blue);
  margin-bottom:12px;
}

.package .price {
  font-size:1.85rem;
  font-weight:800;
  color:var(--blue);
  margin-bottom:16px;
}

.package p {
  color:#444;
  font-size:1.05rem;
  line-height:1.6;
  margin-bottom:16px;
}

.package ul {
  margin:18px 0 26px;
  padding-left:20px;
}

.package ul li {
  margin-bottom:8px;
  color:#333;
}

/* Local button tweak to match Services layout */
.package .btn-primary {
  padding:12px 24px;
  border-radius:28px;
  font-weight:700;
}

/* =========================================================
   COMPARISON SECTION
========================================================= */
.comparison {
  background: var(--blue);
  text-align: center;
  padding: 100px 20px;
}

.comparison h2 {
  color: #fff;
  font-weight: 800;
}

.comparison table {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

.comparison th,
.comparison td {
  padding: 18px 24px;
  border-bottom: 1px solid #eef1f5;
  color: var(--blue);
}

.comparison tbody tr:nth-child(even) td {
  background: #f7f9fc;
}

.comparison tbody tr:last-child td {
  border-bottom: 0;
}

/* =========================================================
   MOBILE — TRUE CENTERING + SHRINK PROTECTION
========================================================= */
@media (max-width: 768px) {

  .comparison {
    padding: 70px 16px;
  }

  .comparison table {
    max-width: 340px;          /* PULLS IT IN MORE */
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,.22);
    font-size: 0.9rem;
    table-layout: fixed;       /* STOPS COLUMN STRETCH */
  }

  .comparison th,
  .comparison td {
    padding: 14px 10px;        /* tighter spacing */

    /* allow phrases to wrap, but don't split single words */
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    overflow: visible;
    text-overflow: unset;
  }

  /* tighten header spacing */
  .comparison h2 {
    font-size: 1.55rem;
    margin-bottom: 1.3rem;
  }
}


/* =========================================================
   STATS SECTION
========================================================= */
.packages-stats {
  background:#fff;
  text-align:center;
  padding:100px 20px;
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.packages-stats .inner {
  max-width:var(--content-max);
  margin:0 auto;
}

.stat-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:24px;
  margin-top:30px;
}

.stat {
  background:linear-gradient(180deg,#fff,#f8fafc);
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:22px;
  box-shadow:0 6px 16px rgba(0,0,0,.05);
}

.stat .num {
  font-size:clamp(24px,4.5vw,36px);
  font-weight:800;
  color:var(--blue);
  margin-bottom:6px;
}

.stat .label {
  font-size:.98rem;
  color:#566;
}

/* =========================================================
   CTA — Clean, Unified, Matches Homepage Style (Global-ish)
========================================================= */
.page-cta {
  position: relative;
  text-align: center;
  padding: 100px 20px;
  color: #fff;
  background: url('/images/cta-01.jpg') center/cover no-repeat;
  overflow: hidden;
}

/* Unified hero overlay (matches hero.css) */
.page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(10,26,51,0.25) 0%,
      rgba(10,26,51,0.55) 40%,
      rgba(10,26,51,0.88) 100%
  );
  z-index: 0;
}

/* Inner wrapper for consistent width */
.page-cta .cta-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Typography cleanup */
.page-cta h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--white-soft);
  margin-bottom: 18px;
}

.page-cta p {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--white-soft);
  opacity: 0.92;
  font-size: 1.1rem;
  line-height: 1.65;
}

/* Scoped CTA button tweak */
.page-cta .btn-primary {
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--blue);
  color: #fff;
  border-radius: 40px;
  padding: 14px 32px;
  box-shadow: 0 10px 24px rgba(10,26,51,.30);
  transition: background .18s ease, transform .18s ease;
}

.page-cta .btn-primary:hover {
  background: #0c1e3a;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .page-cta {
    padding: 72px 16px;              /* less vertical padding, tighter sides */
    background-position: center top; /* pulls the room up a bit */
  }

  .page-cta .cta-inner {
    max-width: 440px;                /* keeps text column nice and narrow */
  }

  .page-cta h2 {
    font-size: clamp(1.9rem, 6vw, 2.3rem);
    margin-bottom: 12px;             /* slightly tighter */
  }

  .page-cta p {
    max-width: 360px;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 auto 22px;             /* less gap under paragraph */
  }

  .page-cta .btn-primary {
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: 999px;
  }
}

/* =========================================================
   BUTTON — Global Unified (Matches Services)
========================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 24px rgba(10,26,51,.30);
  transition: background .18s ease, transform .18s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #0c1e3a;
  transform: translateY(-2px);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
