/*
Theme Name: KSK Hosting — Midnight Fire
Theme URI: https://kskhosting.com
Author: KSK Hosting
Author URI: https://kskhosting.com
Description: Midnight Fire — a bold, dark WordPress theme for KSK Hosting built around a deep midnight navy background with a fiery orange-red accent palette matching the KSK brand logo.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kskhosting
Tags: hosting, dark, fire, modern, responsive, business
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:        #0b0e1f;
  --bg2:       #0e1228;
  --bg3:       #12162e;
  --card:      #111526;
  --card2:     #151930;

  /* Borders */
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.12);

  /* Fire accent — pulled from KSK logo */
  --fire:      linear-gradient(135deg, #f4861a, #e83d1a);
  --fire-h:    linear-gradient(135deg, #f49a2a, #f04020);
  --orange:    #f46a1a;
  --red:       #e83d1a;
  --fire-glow: rgba(244,106,26,0.2);
  --fire-pale: rgba(244,106,26,0.08);
  --fire-border: rgba(244,106,26,0.2);

  /* Secondary accent */
  --sky:       #4a90d9;

  /* Text */
  --white:     #eef0f8;
  --muted:     rgba(238,240,248,0.45);
  --muted2:    rgba(238,240,248,0.22);

  /* Typography */
  --display:   'Cabinet Grotesk', sans-serif;
  --serif:     'Fraunces', serif;
  --mono:      'IBM Plex Mono', monospace;

  /* Radii */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;

  /* Shadows */
  --shadow-card: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-fire: 0 8px 32px rgba(244,106,26,0.35);

  --max-w: 1200px;
  --section: 100px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--display);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--display); color: var(--white); line-height: 1.1; letter-spacing: -0.03em; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.section    { padding: var(--section) 0; }
.section--alt { background: var(--bg2); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700;
  border-radius: var(--r-md); padding: 14px 28px;
  font-size: 15px; border: none; cursor: pointer;
  transition: all .25s; white-space: nowrap;
}
.btn-fire {
  background: var(--fire); color: #fff;
  box-shadow: var(--shadow-fire);
}
.btn-fire:hover { box-shadow: 0 14px 44px rgba(244,106,26,0.5); transform: translateY(-2px); color: #fff; opacity: 1; }

.btn-outline {
  background: none; color: var(--white);
  border: 1px solid var(--border2);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.04); color: var(--white); opacity: 1; }

.btn-ghost { background: none; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--white); border-color: var(--border2); opacity: 1; }

.btn-sm { padding: 8px 18px; font-size: 13.5px; border-radius: var(--r-sm); }
.btn-lg { padding: 16px 34px; font-size: 16px; border-radius: var(--r-lg); }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.eyebrow-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); background: var(--fire-pale);
  border: 1px solid var(--fire-border);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 20px;
}
.section-heading {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.05; color: var(--white); margin-bottom: 16px;
}
.section-heading em {
  font-family: var(--serif); font-style: italic;
  font-weight: 300;
  background: var(--fire);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 17px; color: var(--muted);
  max-width: 520px; line-height: 1.75; margin-bottom: 56px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 48px;
  transition: background .3s, box-shadow .3s;
}
#site-header.scrolled {
  background: rgba(11,14,31,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px;
  background: var(--fire); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900;
  font-size: 13px; color: #fff; letter-spacing: -0.04em;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--display); font-weight: 800;
  font-size: 17px; letter-spacing: -0.03em;
}
.logo-text span {
  background: var(--fire);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.primary-nav ul { display: flex; gap: 2px; }
.primary-nav a {
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  padding: 7px 13px; border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--white); background: rgba(255,255,255,0.05); opacity: 1;
}

/* Dropdown */
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 200px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .2s;
  box-shadow: var(--shadow-card);
}
.primary-nav .menu-item-has-children:hover .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.primary-nav .sub-menu a {
  display: block; padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--muted);
}
.primary-nav .sub-menu a:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* Mobile toggle */
.nav-toggle {
  display: none; background: none;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 7px; cursor: pointer; color: var(--muted);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 110px 48px 80px; position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; right: -100px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(244,106,26,0.06), transparent 70%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(244,106,26,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,106,26,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 72px; align-items: center; position: relative; z-index: 1;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,106,26,0.07);
  border: 1px solid rgba(244,106,26,0.2);
  border-radius: 999px; padding: 6px 16px 6px 10px; margin-bottom: 36px;
  animation: fadeDown .5s ease both;
}
.pulse-dot {
  width: 7px; height: 7px; background: var(--orange);
  border-radius: 50%;
  animation: fireGlow 2.5s ease-in-out infinite;
}
@keyframes fireGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(244,106,26,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(244,106,26,0); }
}
.eyebrow-text {
  font-family: var(--mono); font-size: 11.5px;
  color: rgba(244,134,26,0.85); letter-spacing: .05em;
}

/* Hero heading */
.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.0; color: var(--white); margin-bottom: 10px;
  animation: fadeDown .5s .08s ease both;
}
.hero-title-fire {
  font-family: var(--serif); font-style: italic;
  font-weight: 300; font-size: clamp(3rem, 6.5vw, 4.8rem);
  display: block; letter-spacing: -0.03em; margin-top: 6px;
  background: var(--fire);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeDown .5s .12s ease both;
}
.hero-desc {
  font-size: 17px; color: var(--muted); line-height: 1.75;
  max-width: 460px; margin: 20px 0 44px;
  animation: fadeDown .5s .18s ease both;
}
.hero-actions {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 52px;
  animation: fadeDown .5s .24s ease both;
}
.hero-trust {
  display: flex; align-items: center; gap: 28px;
  animation: fadeDown .5s .3s ease both;
}
.trust-sep { width: 1px; height: 32px; background: var(--border); }
.trust-stars { color: var(--orange); font-size: 15px; letter-spacing: 2px; margin-bottom: 3px; }
.trust-text { font-size: 13px; color: var(--muted); }
.trust-text strong { color: var(--white); font-weight: 600; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero server card */
.hero-visual { animation: fadeUp .7s .2s ease both; }

.server-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px;
  box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
.server-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--fire);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.card-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted2); }
.live-pill {
  display: flex; align-items: center; gap: 5px;
  background: var(--fire-pale); border: 1px solid var(--fire-border);
  border-radius: 999px; padding: 4px 10px;
  font-family: var(--mono); font-size: 11px; color: var(--orange);
}
.live-dot { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; animation: fireGlow 2s infinite; }

.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.metric-tile { background: var(--bg3); border-radius: var(--r-md); padding: 16px; }
.metric-label { font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted2); margin-bottom: 6px; }
.metric-value { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--white); }
.metric-value.fire {
  background: var(--fire);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-value.sky { color: var(--sky); }
.bar-track { height: 3px; background: rgba(255,255,255,0.07); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.bar-fill {
  height: 100%; width: 99.9%; background: var(--fire);
  border-radius: 2px; transform-origin: left;
  animation: barIn 1.4s .6s ease both;
}
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.server-list { display: flex; flex-direction: column; gap: 8px; }
.server-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg3); border-radius: 9px; padding: 10px 14px;
}
.server-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; flex-shrink: 0; animation: fireGlow 2.5s infinite; }
.server-name { font-size: 13px; font-weight: 500; flex: 1; color: var(--white); }
.server-ping { font-family: var(--mono); font-size: 12px; color: var(--orange); }

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted2);
  animation: bounce 2.5s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
#stats-bar { background: var(--fire); padding: 44px 48px; }
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-item { text-align: center; padding: 8px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--display); font-size: 44px; font-weight: 900; letter-spacing: -0.04em; color: #fff; line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); }

/* ============================================================
   FEATURES
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color .25s, transform .2s, box-shadow .2s;
}
.feature-card:hover { border-color: var(--fire-border); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.feature-icon {
  width: 44px; height: 44px; background: var(--fire-pale);
  border: 1px solid var(--fire-border); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 16px;
}
.feature-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.feature-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   PRICING
   ============================================================ */
#pricing { background: var(--bg2); }
.plan-toggle {
  display: inline-flex; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 4px; gap: 3px; margin-bottom: 48px;
}
.toggle-btn {
  font-family: var(--display); font-size: 13.5px; font-weight: 600;
  padding: 8px 20px; border-radius: 9px; border: none;
  cursor: pointer; background: none; color: var(--muted); transition: all .2s;
}
.toggle-btn.active { background: var(--fire); color: #fff; box-shadow: 0 4px 16px rgba(244,106,26,0.3); }
.save-chip {
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; background: var(--fire-pale);
  color: var(--orange); border-radius: 999px; padding: 2px 8px; margin-left: 5px;
}

.plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; align-items: start; }
.plan-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow .2s;
}
.plan-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.plan-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px rgba(244,106,26,0.12), 0 8px 40px rgba(244,106,26,0.1);
}
.plan-card.featured::before {
  content: 'Most Popular'; position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--fire); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 16px; border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted2); margin-bottom: 10px; }
.plan-price-row { display: flex; align-items: baseline; gap: 3px; margin-bottom: 4px; }
.plan-currency { font-size: 18px; font-weight: 700; color: var(--white); }
.plan-amount { font-family: var(--display); font-size: 52px; font-weight: 900; letter-spacing: -0.05em; color: var(--white); line-height: 1; }
.plan-period { font-size: 13px; color: var(--muted); align-self: flex-end; margin-bottom: 5px; }
.plan-was { font-size: 12px; color: var(--muted2); text-decoration: line-through; margin-bottom: 6px; }
.plan-desc { font-size: 13px; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.plan-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 28px; }
.plan-feature { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.feat-yes { color: var(--orange); font-size: 14px; flex-shrink: 0; }
.feat-no  { color: var(--muted2); font-size: 14px; flex-shrink: 0; }
.plan-cta {
  width: 100%; font-family: var(--display); font-size: 14px; font-weight: 700;
  border-radius: 11px; padding: 13px; cursor: pointer; border: none;
  transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.plan-cta.fire { background: var(--fire); color: #fff; box-shadow: 0 6px 24px rgba(244,106,26,0.3); }
.plan-cta.fire:hover { box-shadow: 0 10px 32px rgba(244,106,26,0.45); transform: translateY(-1px); }
.plan-cta.ghost { background: none; color: var(--white); border: 1px solid var(--border); }
.plan-cta.ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }
.plan-note { text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted2); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 52px; }
.testi-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .2s, border-color .2s;
}
.testi-card:hover { transform: translateY(-3px); border-color: rgba(244,106,26,0.15); }
.testi-stars { font-size: 14px; color: var(--orange); letter-spacing: 1.5px; margin-bottom: 14px; }
.testi-quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 16px; color: rgba(238,240,248,0.85);
  line-height: 1.72; margin-bottom: 20px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--fire); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 12px; color: #fff; flex-shrink: 0;
}
.testi-name { font-size: 13.5px; font-weight: 700; color: var(--white); }
.testi-role { font-size: 12px; color: var(--muted2); margin-top: 1px; }

/* ============================================================
   TECH STACK
   ============================================================ */
.tech-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin-top: 48px; }
.tech-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 12px; text-align: center;
  transition: border-color .2s, transform .2s;
}
.tech-item:hover { border-color: var(--fire-border); transform: translateY(-2px); }
.tech-icon { font-size: 1.6rem; margin-bottom: 8px; }
.tech-name { font-size: 11px; font-weight: 600; color: var(--muted); font-family: var(--mono); letter-spacing: .04em; }

/* ============================================================
   CTA BAND
   ============================================================ */
#cta-band {
  position: relative; overflow: hidden;
  padding: var(--section) 48px; text-align: center;
  background: var(--bg3); border-top: 1px solid var(--border);
}
#cta-band::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(244,106,26,0.1), transparent 70%);
  pointer-events: none;
}
.cta-inner { max-width: 640px; margin: 0 auto; position: relative; }
.cta-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1.05; color: var(--white); margin-bottom: 16px;
}
.cta-title em {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  background: var(--fire);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-desc { font-size: 17px; color: var(--muted); margin-bottom: 40px; line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: #060810; padding: 56px 48px 28px; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.04); margin-bottom: 24px;
}
.footer-desc { font-size: 13px; color: var(--muted2); line-height: 1.75; margin-top: 14px; max-width: 250px; }
.footer-col-title {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: var(--muted2); transition: color .15s; }
.footer-links a:hover { color: var(--white); opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.15); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.15); }
.footer-legal a:hover { color: rgba(255,255,255,0.4); opacity: 1; }

/* ============================================================
   REVEAL ANIMATIONS (added by JS)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container, #hero, #stats-bar, #cta-band, #site-footer, #site-header { padding-left: 32px; padding-right: 32px; }
  .hero-inner { grid-template-columns: 1fr; max-width: 600px; }
  .hero-visual { display: none; }
  .tech-grid { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section: 64px; }
  .container, #hero, #stats-bar, #cta-band, #site-footer, #site-header { padding-left: 20px; padding-right: 20px; }
  .primary-nav { display: none; }
  .primary-nav.open {
    display: block; position: fixed; inset: 68px 0 0 0;
    background: var(--bg); padding: 24px 20px; overflow-y: auto; z-index: 99;
  }
  .primary-nav.open ul { flex-direction: column; gap: 4px; }
  .primary-nav.open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: none; box-shadow: none; padding-left: 16px; margin-top: 4px; }
  .nav-toggle { display: flex; }
  .header-cta .btn-ghost { display: none; }
  .feature-grid, .testi-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2,1fr); }
  .plans-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WORDPRESS CORE
   ============================================================ */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin: 0 auto 16px; display: block; }
.wp-block-image figcaption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 8px; }

.page-content, .entry-content {
  max-width: 720px; margin: 0 auto;
  font-size: 1rem; line-height: 1.85; color: var(--white);
}
.page-content h2, .entry-content h2 { font-size: 1.8rem; margin: 40px 0 16px; }
.page-content h3, .entry-content h3 { font-size: 1.4rem; margin: 32px 0 12px; }
.page-content p,  .entry-content p  { margin-bottom: 20px; color: var(--muted); }
.page-content ul, .entry-content ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.page-content ol, .entry-content ol { list-style: decimal; padding-left: 24px; margin-bottom: 20px; }
.page-content a,  .entry-content a  { color: var(--orange); }

.comments-area { max-width: 720px; margin: 48px auto 0; padding-top: 48px; border-top: 1px solid var(--border); }
.comment-body { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; margin-bottom: 20px; }
.comment-form input, .comment-form textarea {
  width: 100%; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 10px 14px; color: var(--white);
  font-family: var(--display); margin-bottom: 12px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--orange); }

.pagination { display: flex; gap: 8px; justify-content: center; margin: 48px 0; }
.pagination a, .pagination span {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); font-weight: 600; font-size: .875rem;
  background: var(--card); border: 1px solid var(--border); color: var(--muted);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--orange); color: var(--orange); opacity: 1; }
.pagination .current { background: var(--fire); color: #fff; border-color: transparent; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal;
}
