/* =========================================================
   FlameNetworks — Design System
   Dark navy + orange flame aesthetic
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* --- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0d1117;
  color: #f1f5f9;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* --- CSS Variables --------------------------------------- */
:root {
  --flame:        #0085ca;
  --flame-light:  #1a9de0;
  --flame-dark:   #006ba3;
  --flame-glow:   rgba(0,133,202,0.25);

  --header-h:     72px;

  --bg-900:  #0d1117;
  --bg-800:  #0f1623;
  --bg-700:  #161b27;
  --bg-600:  #1e2738;
  --bg-500:  #253147;

  --border:       rgba(255,255,255,0.07);
  --border-flame: rgba(0,133,202,0.3);

  --text-primary: #f1f5f9;
  --text-muted:   #94a3b8;
  --text-dim:     #64748b;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-flame: 0 8px 30px rgba(0,133,202,0.2);

  --transition: 0.2s ease;
}

/* --- Light theme overrides (pages with data-theme="light") --- */
[data-theme="light"] {
  --border:       #e2e8f0;
  --border-flame: rgba(0,133,202,0.3);
  --text-primary: #0f172a;
  --text-muted:   #64748b;
  --text-dim:     #94a3b8;
  --shadow-card:  0 2px 12px rgba(0,0,0,0.06);
  --bg-900:  #fff;
  --bg-800:  #f8fafc;
  --bg-700:  #f1f5f9;
}

/* --- Gradients & Backgrounds ----------------------------- */
.flame-gradient        { background: linear-gradient(135deg, var(--flame) 0%, var(--flame-dark) 100%); }
.flame-gradient-subtle { background: linear-gradient(135deg, rgba(0,133,202,0.08) 0%, rgba(0,107,163,0.03) 100%); }

.text-gradient {
  background: linear-gradient(135deg, #0085ca 0%, #1a9de0 60%, #00b4e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0,133,202,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.grid-bg {
  background-image:
    linear-gradient(rgba(0,133,202,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,133,202,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 100%);
}

/* --- Typography ------------------------------------------ */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.22);
  color: var(--flame);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-dark) 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,133,202,0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--flame-light) 0%, var(--flame) 100%);
  box-shadow: var(--shadow-flame);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--border-flame);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text-muted);
  padding: 0.7rem 1rem;
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-lg  { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm  { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-md); }

/* --- Header & Navigation --------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: #0b1220;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#header.scrolled {
  background: rgba(11,18,32,0.98);
  border-bottom-color: rgba(0,133,202,0.22);
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 2.5vw, 2.5rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  height: var(--header-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  min-width: 0;
}

.nav-logo img {
  height: clamp(34px, 2.4vw, 40px);
  width: auto;
  display: block;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(249,115,22,0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  height: var(--header-h);
  padding: 0 clamp(0.65rem, 0.9vw, 0.95rem);
  border-radius: 0;
  font-size: clamp(0.8125rem, 0.35vw + 0.72rem, 0.9375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: clamp(0.65rem, 0.9vw, 0.95rem);
  right: clamp(0.65rem, 0.9vw, 0.95rem);
  bottom: 0;
  height: 2px;
  background: var(--flame);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-item:hover > .nav-link {
  color: #fff;
  background: transparent;
}

.nav-item:hover > .nav-link::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-link svg {
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-item:hover > .nav-link svg {
  transform: rotate(180deg);
  opacity: 0.85;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 0 0 12px 12px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 12px 32px rgba(15,23,42,0.12);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s;
}
.nav-dropdown a:hover {
  background: rgba(0,133,202,0.08);
  color: var(--flame);
}
.nav-dropdown a svg { opacity: 0.6; }
.nav-dropdown a:hover svg { opacity: 1; }

.nav-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 4px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 10px);
  flex-shrink: 0;
}

.nav-cta::before {
  content: '';
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,0.1);
  margin-right: 2px;
  flex-shrink: 0;
}

.nav-cta .btn-ghost.btn-sm {
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 600;
  font-size: clamp(0.75rem, 0.3vw + 0.68rem, 0.875rem);
  color: rgba(255,255,255,0.82);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-cta .btn-ghost.btn-sm:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}

.nav-cta .btn-primary.btn-sm {
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: clamp(0.75rem, 0.3vw + 0.68rem, 0.875rem);
  box-shadow: none;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-700);
  border: 1px solid var(--border);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  background: #fff;
  border: none;
  border-top: 1px solid rgba(15,23,42,0.08);
  overflow-y: auto;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.25rem 1.5rem 2rem;
}
#mobile-menu.open { transform: translateX(0); }

.mobile-nav-group {
  margin-bottom: 0.25rem;
}
.mobile-nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-nav-title:hover { background: var(--bg-700); }
.mobile-nav-title svg { transition: transform var(--transition); color: var(--text-muted); }
.mobile-nav-group.open .mobile-nav-title svg { transform: rotate(180deg); }

.mobile-nav-children {
  display: none;
  padding: 4px 0 4px 1rem;
}
.mobile-nav-group.open .mobile-nav-children { display: block; }
.mobile-nav-children a {
  display: block;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav-children a:hover { color: var(--flame); background: rgba(249,115,22,0.06); }

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.mobile-nav-link:hover { background: var(--bg-700); }

.mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* --- Hero Section ---------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -5%, rgba(0,133,202,0.12) 0%, transparent 55%),
              radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0,180,224,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.2);
  color: var(--flame);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--flame);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
@keyframes mheroTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes mheroPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,133,202,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(0,133,202,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,133,202,0); }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 700px;
  margin: 0 auto;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-item {
  background: rgba(22,27,39,0.8);
  padding: 1.5rem 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.stat-num {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* --- Section Layout -------------------------------------- */
.section {
  padding: 6rem 0;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.service-card {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--flame), var(--flame-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--border-flame);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(249,115,22,0.1);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--flame);
  flex-shrink: 0;
}

.service-name {
  font-size: 1.0625rem;
  font-weight: 700;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.service-price {
  font-size: 0.8125rem;
  color: var(--flame);
  font-weight: 600;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}
.service-link:hover { color: var(--flame); }
.service-link svg { transition: transform var(--transition); }
.service-link:hover svg { transform: translateX(3px); }

/* --- Features Grid --------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.feature-item {
  background: var(--bg-800);
  padding: 2.25rem;
  transition: background var(--transition);
}
.feature-item:hover { background: var(--bg-700); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Pricing -------------------------------------------- */
.pricing-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 2.5rem;
  display: inline-flex;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--flame), var(--flame-dark));
  color: white;
  box-shadow: 0 2px 10px rgba(249,115,22,0.3);
}
.tab-btn:hover:not(.active) { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.tab-pane.hidden { display: none; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.plan-card {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.25s ease;
  position: relative;
}

.plan-card:hover {
  border-color: var(--border-flame);
  box-shadow: 0 0 0 1px rgba(249,115,22,0.08), 0 16px 50px rgba(249,115,22,0.08);
}

.plan-card.featured {
  border-color: var(--border-flame);
  background: linear-gradient(135deg, rgba(249,115,22,0.07) 0%, var(--bg-700) 60%);
  box-shadow: 0 0 0 1px rgba(249,115,22,0.15), 0 20px 60px rgba(249,115,22,0.12);
}

.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--flame), var(--flame-dark));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 0 0 8px 8px;
}

.plan-name {
  font-size: 1rem;
  font-weight: 700;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.plan-price .amount {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.plan-price .currency { font-size: 1.25rem; font-weight: 700; color: var(--flame); }
.plan-price .period { font-size: 0.875rem; color: var(--text-muted); }

.plan-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.plan-spec {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.plan-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8625rem;
  color: var(--text-muted);
}
.plan-feature svg { color: var(--flame); flex-shrink: 0; }
.plan-feature.dim { color: var(--text-dim); }
.plan-feature.dim svg { color: var(--text-dim); }

.plan-divider {
  height: 1px;
  background: var(--border);
}

/* --- Pricing Table (VPS page) --------------------------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.price-table thead th {
  background: var(--bg-600);
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table tbody td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  vertical-align: middle;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover td { background: rgba(249,115,22,0.035); }
.price-table .col-name { font-weight: 600; color: var(--text-primary); }
.price-table .col-price { color: var(--flame); font-weight: 700; font-size: 1rem; }
.price-table .col-cta { text-align: right; }
.price-table .col-cta a { white-space: nowrap; }

/* --- Partners ------------------------------------------- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.partner-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.partner-chip:hover {
  border-color: var(--border-flame);
  color: var(--text-primary);
}

/* --- CMS Grid ------------------------------------------- */
.cms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 2rem;
}

.cms-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.cms-chip:hover {
  border-color: var(--border-flame);
  color: var(--flame);
  transform: translateY(-2px);
}

/* --- CTA Section ---------------------------------------- */
.cta-block {
  background: linear-gradient(135deg, rgba(249,115,22,0.09) 0%, rgba(234,88,12,0.04) 100%);
  border: 1px solid rgba(249,115,22,0.18);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(0,133,202,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; margin-bottom: 1rem; }
.cta-subtitle { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.0625rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* --- Testimonials --------------------------------------- */
.testimonial-card {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame), var(--flame-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: white;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* --- Green Badge ---------------------------------------- */
.green-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
}

/* --- Alert / Notice ------------------------------------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}
.notice-info {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  color: #93c5fd;
}
.notice-info svg { color: #60a5fa; margin-top: 1px; flex-shrink: 0; }

/* --- Contact Form --------------------------------------- */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--bg-700); }

/* --- About page ---------------------------------------- */
.value-card {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.25s;
}
.value-card:hover {
  border-color: var(--border-flame);
  transform: translateY(-2px);
}
.value-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--flame), var(--flame-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.quote-block {
  background: linear-gradient(135deg, rgba(249,115,22,0.07) 0%, rgba(234,88,12,0.03) 100%);
  border-left: 3px solid var(--flame);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 2rem 2rem 2rem 2.25rem;
}
.quote-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1rem;
}
.quote-author { font-weight: 700; color: var(--flame); font-size: 0.9rem; }

/* --- Footer --------------------------------------------- */
footer {
  background: var(--bg-800);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px repeat(4, 1fr);
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 1rem 0;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-700);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social:hover { border-color: var(--border-flame); color: var(--flame); }

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--flame); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-certs {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- Utility -------------------------------------------- */
.text-flame     { color: var(--flame); }
.text-muted     { color: var(--text-muted); }
.text-center    { text-align: center; }
.text-left      { text-align: left; }
.mt-1           { margin-top: 0.25rem; }
.mt-2           { margin-top: 0.5rem; }
.mt-4           { margin-top: 1rem; }
.mt-8           { margin-top: 2rem; }
.mt-16          { margin-top: 4rem; }
.mb-4           { margin-bottom: 1rem; }
.mb-8           { margin-bottom: 2rem; }
.d-flex         { display: flex; }
.align-center   { align-items: center; }
.gap-2          { gap: 0.5rem; }
.gap-3          { gap: 0.75rem; }
.flex-wrap      { flex-wrap: wrap; }
.w-full         { width: 100%; }
.hidden         { display: none !important; }

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Scrollbar */
::-webkit-scrollbar        { width: 5px; height: 5px; }
::-webkit-scrollbar-track  { background: var(--bg-900); }
::-webkit-scrollbar-thumb  { background: var(--bg-500); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--flame); }

/* =========================================================
   Accordion
   ========================================================= */
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  gap: 1rem;
  line-height: 1.4;
}
.accordion-trigger svg { flex-shrink: 0; transition: transform var(--transition); color: var(--text-muted); }
.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-trigger:hover { color: var(--flame); }
.accordion-content { display: none; padding: 0 0 1.25rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.accordion-item.open .accordion-content { display: block; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at -5% 50%, rgba(249,115,22,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { max-width: 680px; }
.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  line-height: 1.05;
}
.page-hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 560px;
}

/* =========================================================
   Spec bar (VPS page factual strip)
   ========================================================= */
.spec-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.spec-bar-item { font-size: 0.8125rem; font-weight: 500; color: var(--text-muted); }
.spec-bar-item strong { color: var(--text-primary); font-weight: 700; }

/* =========================================================
   Form row
   ========================================================= */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* =========================================================
   Comparison table
   ========================================================= */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table th {
  background: var(--bg-600);
  padding: 1rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.compare-table th:first-child { color: var(--text-dim); font-weight: 500; }
.compare-table th.hl { color: var(--flame); }
.compare-table td {
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
  vertical-align: middle;
  background: var(--bg-700);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { font-weight: 600; color: var(--text-primary); }
.compare-table .yes { color: #4ade80; font-weight: 700; }
.compare-table .opt { color: var(--text-dim); font-style: italic; font-size: 0.8125rem; }
.compare-table .no  { color: var(--text-dim); }

/* =========================================================
   Contact layout
   ========================================================= */
.contact-split { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.18);
  color: var(--flame); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 3px; }
.contact-info-value { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; line-height: 1.55; }
.contact-info-divider { height: 1px; background: var(--border); }

/* =========================================================
   Chi siamo specifics
   ========================================================= */
.mission-lede {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-style: italic;
  max-width: 820px;
}

.timeline { display: flex; flex-direction: column; }
.timeline-item { display: grid; grid-template-columns: 64px 1px 1fr; gap: 0 1.25rem; }
.timeline-year { font-size: 0.75rem; font-weight: 700; color: var(--flame); padding-top: 3px; text-align: right; white-space: nowrap; }
.timeline-line { background: var(--border); position: relative; }
.timeline-line::before {
  content: '';
  position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; background: var(--flame); border-radius: 50%;
}
.timeline-content { padding-bottom: 1.75rem; }
.timeline-content h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.timeline-content p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.65; }

.kpi-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden;
}
.kpi-item { background: var(--bg-700); padding: 1.75rem; text-align: center; }
.kpi-number {
  font-size: 2.25rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(135deg, var(--flame), var(--flame-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 6px;
}
.kpi-label { font-size: 0.775rem; color: var(--text-muted); font-weight: 500; line-height: 1.4; }

/* =========================================================
   Light Mode — [data-theme="light"]
   ========================================================= */
[data-theme="light"] {
  --bg-900: #f5f7fa;
  --bg-800: #edf0f5;
  --bg-700: #ffffff;
  --bg-600: #e2e8f0;
  --bg-500: #cbd5e1;
  --border:       rgba(15,23,42,0.08);
  --border-flame: rgba(0,133,202,0.3);
  --text-primary: #0f172a;
  --text-muted:   #475569;
  --text-dim:     #94a3b8;
  --shadow-card:  0 1px 6px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
}
[data-theme="light"] body { background-color: var(--bg-900); color: var(--text-primary); }

[data-theme="light"] #header {
  background: #fff;
  border-bottom-color: rgba(15,23,42,0.1);
  box-shadow: none;
}
[data-theme="light"] #header.scrolled {
  background: #fff;
  border-bottom-color: rgba(0,133,202,0.25);
  box-shadow: 0 4px 16px rgba(15,23,42,0.06);
}
[data-theme="light"] .nav-link { color: #475569; }
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-item:hover > .nav-link { color: #0f172a; }
[data-theme="light"] .nav-cta::before { background: rgba(15,23,42,0.1); }
[data-theme="light"] .nav-cta .btn-ghost.btn-sm {
  border-color: rgba(15,23,42,0.14);
  color: #475569;
  background: transparent;
}
[data-theme="light"] .nav-cta .btn-ghost.btn-sm:hover {
  color: #0f172a;
  background: rgba(15,23,42,0.04);
  border-color: rgba(15,23,42,0.2);
}
[data-theme="light"] .nav-dropdown { background: #fff; box-shadow: 0 12px 32px rgba(15,23,42,0.12); border-color: rgba(15,23,42,0.08); }
[data-theme="light"] .nav-dropdown a { color: #475569; }
[data-theme="light"] .nav-dropdown a:hover { background: rgba(0,133,202,0.06); color: var(--flame); }
[data-theme="light"] #mobile-menu { background: #fff; border-top-color: rgba(15,23,42,0.1); }
[data-theme="light"] .nav-divider { background: var(--border); }

[data-theme="light"] .hamburger { background: rgba(255,255,255,0.85); border-color: rgba(0,133,202,0.18); }
[data-theme="light"] .hamburger span { background: var(--text-primary); }
[data-theme="light"] #mobile-menu { background: rgba(255,255,255,0.95); border-color: rgba(0,133,202,0.15); }
[data-theme="light"] .mobile-nav-title { color: var(--text-primary); }
[data-theme="light"] .mobile-nav-title:hover { background: var(--bg-800); }
[data-theme="light"] .mobile-nav-children a { color: var(--text-muted); }
[data-theme="light"] .mobile-nav-link { color: var(--text-primary); }
[data-theme="light"] .mobile-nav-link:hover { background: var(--bg-800); }
[data-theme="light"] .mobile-cta { border-top-color: var(--border); }

[data-theme="light"] .btn-secondary { background: rgba(15,23,42,0.05); border-color: rgba(15,23,42,0.12); color: var(--text-primary); }
[data-theme="light"] .btn-secondary:hover { background: rgba(15,23,42,0.08); border-color: rgba(15,23,42,0.18); }
[data-theme="light"] .btn-ghost { color: var(--text-muted); }
[data-theme="light"] .btn-ghost:hover { color: var(--text-primary); }

[data-theme="light"] .hero-section::before {
  background: radial-gradient(ellipse 80% 60% at 50% -5%, rgba(0,133,202,0.08) 0%, transparent 55%),
              radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0,180,224,0.03) 0%, transparent 50%);
}
[data-theme="light"] .grid-bg {
  background-image:
    linear-gradient(rgba(0,133,202,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,133,202,0.06) 1px, transparent 1px);
}
[data-theme="light"] .hero-glow { background: radial-gradient(ellipse at center, rgba(0,133,202,0.07) 0%, transparent 65%); }
[data-theme="light"] .hero-stats { background: var(--border); border-color: var(--border); }
[data-theme="light"] .stat-item { background: rgba(255,255,255,0.95); }
[data-theme="light"] .stat-num { color: var(--text-primary); }

[data-theme="light"] .page-hero::before {
  background: radial-gradient(ellipse 60% 80% at -5% 50%, rgba(0,133,202,0.06) 0%, transparent 65%);
}

[data-theme="light"] .service-card { background: #fff; border-color: var(--border); box-shadow: var(--shadow-card); }
[data-theme="light"] .service-card:hover { box-shadow: 0 4px 24px rgba(249,115,22,0.08); }
[data-theme="light"] .plan-card { background: #fff; border-color: var(--border); box-shadow: var(--shadow-card); }
[data-theme="light"] .plan-card:hover { border-color: var(--border-flame); box-shadow: 0 0 0 1px rgba(249,115,22,0.1), 0 8px 32px rgba(249,115,22,0.06); }
[data-theme="light"] .plan-card.featured { background: linear-gradient(135deg, rgba(249,115,22,0.05) 0%, #fff 60%); box-shadow: 0 0 0 1px rgba(249,115,22,0.2), 0 4px 24px rgba(249,115,22,0.08); }
[data-theme="light"] .plan-spec { background: var(--bg-800); border-color: var(--border); color: var(--text-muted); }
[data-theme="light"] .testimonial-card { background: #fff; border-color: var(--border); }
[data-theme="light"] .value-card { background: #fff; border-color: var(--border); box-shadow: var(--shadow-card); }
[data-theme="light"] .glassy-card { background: rgba(255,255,255,0.9); border-color: var(--border); }

[data-theme="light"] .features-grid { background: var(--border); }
[data-theme="light"] .feature-item { background: #fff; }
[data-theme="light"] .feature-item:hover { background: var(--bg-800); }

[data-theme="light"] .pricing-tabs { background: #fff; border-color: var(--border); }
[data-theme="light"] .tab-btn { color: var(--text-muted); }
[data-theme="light"] .tab-btn:hover:not(.active) { background: rgba(15,23,42,0.05); color: var(--text-primary); }

[data-theme="light"] .price-table { background: #fff; border-color: var(--border); }
[data-theme="light"] .price-table thead th { background: var(--bg-800); border-bottom-color: var(--border); color: var(--text-muted); }
[data-theme="light"] .price-table tbody td { border-bottom-color: var(--border); color: var(--text-muted); }
[data-theme="light"] .price-table tbody tr:hover td { background: rgba(249,115,22,0.02); }
[data-theme="light"] .price-table .col-name { color: var(--text-primary); }

[data-theme="light"] .compare-table th { background: var(--bg-800); border-bottom-color: var(--border); }
[data-theme="light"] .compare-table td { background: #fff; border-bottom-color: var(--border); }
[data-theme="light"] .compare-table tr:hover td { background: var(--bg-900); }

[data-theme="light"] .partner-chip,
[data-theme="light"] .cms-chip { background: #fff; border-color: var(--border); color: var(--text-muted); }

[data-theme="light"] .cta-block { background: linear-gradient(135deg, #0085ca 0%, #005a8f 100%); border-color: transparent; }

[data-theme="light"] .notice-info { background: rgba(59,130,246,0.06); border-color: rgba(59,130,246,0.18); color: #1d4ed8; }
[data-theme="light"] .notice-info svg { color: #3b82f6; }

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea { background: #fff; border-color: rgba(15,23,42,0.12); color: var(--text-primary); }
[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder { color: var(--text-dim); }
[data-theme="light"] .form-select option { background: #fff; }
[data-theme="light"] .form-label { color: var(--text-muted); }

[data-theme="light"] .quote-block { background: linear-gradient(135deg, rgba(0,133,202,0.05) 0%, rgba(0,133,202,0.01) 100%); }
[data-theme="light"] .quote-text { color: var(--text-primary); }

[data-theme="light"] .kpi-item { background: #fff; }
[data-theme="light"] .contact-info-card { background: #fff; border-color: var(--border); }

[data-theme="light"] footer { background: var(--bg-800); border-top-color: var(--border); }
[data-theme="light"] .footer-brand-desc { color: var(--text-muted); }
[data-theme="light"] .footer-col-title { color: var(--text-dim); }
[data-theme="light"] .footer-links a { color: var(--text-muted); }
[data-theme="light"] .footer-social { background: #fff; border-color: var(--border); color: var(--text-muted); }
[data-theme="light"] .footer-social:hover { color: var(--flame); border-color: var(--border-flame); }
[data-theme="light"] .cert-badge { background: #fff; border-color: var(--border); color: var(--text-muted); }
[data-theme="light"] .footer-bottom { border-top-color: var(--border); color: var(--text-dim); }

[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg-800); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: var(--bg-500); }

/* --- Responsive ----------------------------------------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .nav-inner { gap: 0.75rem; }
  .nav-link {
    padding: 0.45rem 0.55rem;
    font-size: 0.8125rem;
  }
  .nav-cta .btn-ghost.btn-sm,
  .nav-cta .btn-primary.btn-sm {
    padding: 0.45rem 0.75rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-inner { display: flex; justify-content: space-between; }
  .nav-links, .nav-cta { display: none; }
  .nav-cta::before { display: none; }
  .hamburger { display: flex; }
}

@media (min-width: 1600px) {
  :root { --header-h: 76px; }
  .nav-link { padding: 0 1rem; }
}

@media (min-width: 2200px) {
  .nav-inner { max-width: 1680px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .cta-block { padding: 2.5rem 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-table { font-size: 0.8rem; }
  .price-table thead th,
  .price-table tbody td { padding: 0.75rem 0.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  #mobile-menu { transition: none; }
}
