
/* ============================================================
   StreamingVPS — Shared Stylesheet
   Edit CSS variables below to update brand colours globally
   ============================================================ */

/* ---------- Brand tokens ---------- */
:root {
  --accent:      #7c3aed;   /* violet — primary brand */
  --accent2:     #06b6d4;   /* cyan   — secondary brand */
  --ink:         #0b1020;   /* dark background (stats, footer) */
  --text:        #0f172a;   /* main body text */
  --text-mid:    #475569;
  --text-soft:   #64748b;
  --text-muted:  #94a3b8;
  --border:      #eaedf2;
  --bg-light:    #fbfcfe;
  --bg-white:    #ffffff;
  --grad:        linear-gradient(135deg, var(--accent), var(--accent2));
  --header-h:    68px;
  --radius-card: 18px;
  --radius-btn:  11px;
  --shadow-card: 0 1px 2px rgba(15,23,42,.04);
  --shadow-pop:  0 24px 50px rgba(15,23,42,.14);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text);
        background: var(--bg-white); -webkit-font-smoothing: antialiased; }
a     { color: inherit; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img, svg { display: block; }
::selection { background: color-mix(in srgb, var(--accent) 22%, #fff); }

/* ---------- Typography scale ---------- */
.t-display  { font-family: 'Space Grotesk', sans-serif; font-weight: 700;
              font-size: clamp(38px,8.5vw,60px); line-height: 1.04; letter-spacing: -.03em; }
.t-h1       { font-family: 'Space Grotesk', sans-serif; font-weight: 700;
              font-size: clamp(33px,7vw,52px); line-height: 1.05; letter-spacing: -.03em; }
.t-h2       { font-family: 'Space Grotesk', sans-serif; font-weight: 700;
              font-size: clamp(27px,5vw,40px); line-height: 1.1; letter-spacing: -.025em; }
.t-h3       { font-family: 'Space Grotesk', sans-serif; font-weight: 600;
              font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.t-mono     { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px;
              font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.t-body-lg  { font-size: 19px; line-height: 1.6; }
.t-body     { font-size: 16px; line-height: 1.65; }
.t-small    { font-size: 14px; line-height: 1.55; }

/* ---------- Layout ---------- */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.grid-2     { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 40px; }
.grid-3     { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }
.grid-4     { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; }

/* ---------- Buttons ---------- */
.btn        { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
              font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: var(--radius-btn);
              text-decoration: none; transition: filter .15s, transform .15s; white-space: nowrap; }
.btn-primary  { color: #fff; background: var(--grad);
                box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 32%, transparent); }
.btn-primary:hover  { filter: brightness(1.06); }
.btn-secondary{ color: var(--text); background: var(--bg-white); border: 1px solid var(--border); }
.btn-secondary:hover{ border-color: #94a3b8; }
.btn-sm     { font-size: 13.5px; padding: 9px 18px; }
.btn-full   { width: 100%; }

/* ---------- Cards ---------- */
.card       { background: var(--bg-white); border: 1px solid var(--border);
              border-radius: var(--radius-card); padding: 28px;
              box-shadow: var(--shadow-card); }
.card:hover { border-color: color-mix(in srgb, var(--accent) 35%, #fff);
              transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,23,42,.07);
              transition: all .18s; }
.card-kicker{ display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.card-kicker-dot { width: 11px; height: 11px; border-radius: 4px; background: var(--grad); flex-shrink: 0; }

/* ---------- Badge / chip ---------- */
.badge      { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px;
              border-radius: 999px; font-size: 12.5px; font-weight: 600;
              background: color-mix(in srgb, var(--accent) 8%, #fff);
              border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff);
              color: var(--accent); }
.badge-dot  { width: 7px; height: 7px; border-radius: 50%; background: var(--accent2); }

/* ---------- Divider strip ---------- */
.strip      { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
              background: var(--bg-light); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink); position: relative; overflow: hidden; }
.stats-band::before { content:''; position:absolute; inset:0;
  background: radial-gradient(700px 280px at 80% -10%,
    color-mix(in srgb,var(--accent) 45%,transparent), transparent),
    radial-gradient(600px 280px at 0% 120%,
    color-mix(in srgb,var(--accent2) 35%,transparent), transparent); }
.stat-big   { font-family: 'Space Grotesk', sans-serif; font-weight: 700;
              font-size: clamp(32px,5vw,46px); color: #fff; letter-spacing: -.03em; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: #9aa6c4; }

/* ---------- CTA band ---------- */
.cta-band   { border-radius: 28px; padding: clamp(40px,7vw,64px) clamp(24px,5vw,48px);
              text-align: center; background: var(--grad); position: relative; overflow: hidden; }
.cta-band::before { content:''; position:absolute; inset:0;
  background: radial-gradient(500px 180px at 50% 0%, rgba(255,255,255,.18), transparent); }

/* ---------- Plan cards ---------- */
.plan-card  { border: 1px solid var(--border); border-radius: 22px; padding: 34px;
              background: #fff; position: relative; }
.plan-card.popular { border-color: transparent;
  box-shadow: 0 0 0 2px color-mix(in srgb,var(--accent) 55%,#fff), 0 24px 48px rgba(124,58,237,.16); }
.plan-tag   { position: absolute; top: -12px; left: 34px; font-family: 'IBM Plex Mono', monospace;
              font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #fff;
              padding: 5px 12px; border-radius: 999px; background: var(--grad); }
.plan-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700;
              font-size: 42px; letter-spacing: -.03em; }
.plan-note  { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--text-muted); }
.plan-list  { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.plan-list li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }

/* ---------- Comparison table ---------- */
.compare-table { border: 1px solid var(--border); border-radius: 20px; overflow-x: auto; }
.compare-row   { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; min-width: 560px; }
.compare-row.head { background: var(--bg-light); border-bottom: 1px solid var(--border); }
.compare-row:not(.head) { border-bottom: 1px solid #f1f3f8; }
.compare-row:last-child { border-bottom: 0; }
.compare-cell  { padding: 15px 20px; font-size: 14px; }
.compare-cell.highlight { background: color-mix(in srgb,var(--accent) 4%,#fff);
                          font-weight: 600; color: var(--accent); }

/* ---------- Spec sheet ---------- */
.spec-sheet  { background: var(--ink); border-radius: 18px; padding: 28px; }
.spec-row    { display: flex; justify-content: space-between; gap: 16px;
               padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.spec-row:last-child { border-bottom: 0; }
.spec-key    { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #9aa6c4; }
.spec-val    { font-size: 13.5px; font-weight: 600; color: #fff; text-align: right; }

/* ---------- Header ---------- */
.header     { position: sticky; top: 0; z-index: 50; height: var(--header-h);
              backdrop-filter: saturate(180%) blur(12px);
              background: rgba(255,255,255,.82); border-bottom: 1px solid #eef1f6; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo       { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-word  { font-family: 'Space Grotesk', sans-serif; font-weight: 700;
              font-size: 18px; letter-spacing: -.02em; color: var(--text); }
.logo-vps   { color: var(--accent); }
.nav        { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link   { font-size: 14.5px; font-weight: 600; padding: 8px 12px; border-radius: 8px;
              color: var(--text-mid); text-decoration: none; transition: background .12s, color .12s; }
.nav-link:hover       { background: #f4f5f8; }
.nav-link.active      { color: var(--accent); }
.nav-right  { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-soft-wrap { position: relative; display: inline-flex; }
.nav-soft-btn  { display: inline-flex; align-items: center; gap: 5px; }
.nav-soft-btn .caret { font-size: 10px; opacity: .7; }
.dropdown   { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
              width: 560px; max-width: 88vw; background: #fff; border: 1px solid var(--border);
              border-radius: 18px; box-shadow: var(--shadow-pop); padding: 18px; z-index: 80;
              display: none; }
.dropdown.open { display: block; }
.dropdown-head { display: flex; align-items: center; justify-content: space-between;
                 margin-bottom: 12px; padding: 0 4px; }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dropdown-item { display: flex; gap: 13px; align-items: flex-start; padding: 13px;
                 border-radius: 13px; text-decoration: none; border: 1px solid transparent;
                 transition: background .12s, border-color .12s; cursor: pointer; }
.dropdown-item:hover { background: #f7f8fb; border-color: #eef1f6; }
.dropdown-tile { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
                 display: flex; align-items: center; justify-content: center;
                 font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 15px; }
.dropdown-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600;
                 font-size: 14.5px; color: var(--text); margin-bottom: 3px; }
.dropdown-desc { font-size: 12px; color: var(--text-soft); line-height: 1.45; }
.dropdown-compare { display: flex; flex-direction: column; justify-content: center; gap: 4px;
                    padding: 13px 15px; border-radius: 13px; border: 1px dashed #d8dde7; cursor: pointer;
                    background: color-mix(in srgb,var(--accent) 5%,#fff); text-decoration: none;
                    transition: border-color .12s; }
.dropdown-compare:hover { border-color: color-mix(in srgb,var(--accent) 40%,#fff); }
.dropdown-compare .cmp-title { font-family: 'Space Grotesk',sans-serif; font-weight: 600;
                                font-size: 14.5px; color: var(--accent); }
.dropdown-compare .cmp-sub   { font-size: 12px; color: var(--text-soft); }

/* ---------- Hamburger / mobile nav ---------- */
.hamburger  { display: none; flex-direction: column; gap: 5px; width: 42px; align-items: center;
              justify-content: center; padding: 9px; border-radius: 10px;
              margin-left: auto; transition: background .12s; }
.hamburger:hover { background: #f4f5f8; }
.hamburger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--text); }
.mobile-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
              z-index: 55; background: #fff; overflow-y: auto; padding: 14px 20px 48px;
              flex-direction: column; }
.mobile-nav.open { display: flex; }
.mobile-nav-link { font-family: 'Space Grotesk',sans-serif; font-weight: 600; font-size: 19px;
                   color: var(--text); text-decoration: none; padding: 16px 4px;
                   border-bottom: 1px solid #f1f3f8; }
.mobile-soft-label { font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.12em;
                     color: var(--text-muted); padding: 18px 4px 8px; }
.mobile-soft-item { display: flex; gap: 14px; align-items: center; padding: 12px 4px; text-decoration: none; }
.mobile-soft-tile { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
                    display: flex; align-items: center; justify-content: center;
                    font-family: 'IBM Plex Mono',monospace; font-weight: 600; font-size: 15px; }
.mobile-soft-name { font-family:'Space Grotesk',sans-serif; font-weight: 600; font-size: 16px; color: var(--text); }
.mobile-soft-desc { font-size: 12.5px; color: var(--text-soft); line-height: 1.4; }
.mobile-nav-sep  { height: 1px; background: #f1f3f8; margin: 8px 0; }

/* ---------- Footer ---------- */
.footer      { background: var(--ink); color: #9aa6c4; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
               gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col-title { font-family:'Space Grotesk',sans-serif; font-weight: 600;
                    color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; text-decoration: none; transition: color .12s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center;
                 padding-top: 24px; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #64748b; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav, .nav-right { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .dropdown { left: -100px; }
}

/* ---------- Animations ---------- */
@keyframes svpsPulse { 0%,100%{opacity:1} 50%{opacity:.35} }
@keyframes svpsFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.anim-float { animation: svpsFloat 7s ease-in-out infinite; }
