/* ================================================
   PIO SERV - Premium Cloud VPS Landing Page CSS
   ================================================ */

/* ── DESIGN TOKENS ─────────────────────────── */
:root {
  --bg-base:       #070b14;
  --bg-card:       #0d1423;
  --bg-card2:      #111827;
  --bg-input:      #0a1120;
  --border:        rgba(99,102,241,.18);
  --border-hover:  rgba(99,102,241,.5);

  --primary:       #6366f1;
  --primary-glow:  rgba(99,102,241,.35);
  --primary-dark:  #4f46e5;
  --accent:        #06b6d4;
  --accent2:       #8b5cf6;
  --success:       #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;

  --text-1: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-card: 0 4px 32px rgba(0,0,0,.45);
  --shadow-glow: 0 0 40px rgba(99,102,241,.25);

  --transition: .25s cubic-bezier(.4,0,.2,1);
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Outfit', sans-serif;

  /* Theme Switcher Defaults */
  --bg-action-btn: rgba(255,255,255,.06);
  --bg-section-alt: rgba(13,20,35,.5);
  --bg-footer: rgba(7,11,20,.95);
  --bg-mobile-nav: rgba(7,11,20,.97);
  --bg-cody-input-wrap: rgba(0,0,0,.15);
}

/* ── LIGHT THEME OVERRIDES ─────────────────── */
[data-theme="light"] {
  --bg-base:       #f8fafc;
  --bg-card:       #ffffff;
  --bg-card2:      #f1f5f9;
  --bg-input:      #ffffff;
  --border:        rgba(99,102,241,.12);
  --border-hover:  rgba(99,102,241,.4);

  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;

  --shadow-card: 0 10px 30px rgba(99,102,241,.06);
  --shadow-glow: 0 0 30px rgba(99,102,241,.08);

  --primary-glow:  rgba(99,102,241,.12);

  --bg-action-btn: rgba(0,0,0,.04);
  --bg-section-alt: #f1f5f9;
  --bg-footer: #ffffff;
  --bg-mobile-nav: #ffffff;
  --bg-cody-input-wrap: #f1f5f9;
}

/* ── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ar);
  background: var(--bg-base);
  color: var(--text-1);
  overflow-x: hidden;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILITY ─────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.75rem,3.5vw,2.5rem); font-weight: 800; margin-bottom: 12px; }
.section-header p  { color: var(--text-2); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700; font-size: .95rem;
  transition: var(--transition);
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--primary-glow); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border-hover);
  color: var(--text-1);
}
.btn-ghost:hover { background: rgba(99,102,241,.08); border-color: var(--primary); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-2);
}
.btn-outline:hover { border-color: var(--primary); color: var(--text-1); }
.btn-sm  { padding: 8px 18px; font-size: .85rem; }
.btn-lg  { padding: 15px 36px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }

/* ── NAVBAR ──────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(7,11,20,.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 0;
  height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-weight: 800; font-size: 1.35rem;
  margin-left: auto; /* RTL: push logo to right */
  flex-shrink: 0;
}
.logo-icon-wrap { width: 36px; height: 36px; background: var(--primary); border-radius: 9px; display:flex; align-items:center; justify-content:center; }
.logo-bolt { font-size: 1.1rem; }
.logo-text { font-family: var(--font-en); font-size: 1.3rem; font-weight: 800; }
.logo-accent { color: var(--accent); }
.live-pill {
  display: flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
  color: var(--success); font-size: .7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--success); border-radius: 50%;
  animation: pulse-green 1.8s infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50%     { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin: 0 auto;
}
.nl {
  padding: 7px 13px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600; color: var(--text-2);
  transition: var(--transition);
}
.nl:hover, .nl.active { color: var(--text-1); background: var(--bg-action-btn); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-right: auto; flex-shrink: 0; }
.btn-lang {
  background: var(--bg-action-btn); border: 1px solid var(--border);
  color: var(--text-2); padding: 6px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-en); font-size: .82rem; font-weight: 600;
  transition: var(--transition);
}
.btn-lang:hover { opacity: 0.85; color: var(--text-1); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: var(--transition); }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.particles { position: absolute; inset: 0; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.hero-badge-wrap {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.25);
  padding: 7px 18px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; color: var(--primary);
  margin-bottom: 20px; letter-spacing: .05em;
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: pulse-green 1.8s infinite; }
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900; line-height: 1.2;
  margin-bottom: 20px; letter-spacing: -.02em;
}
.hero-desc { font-size: 1.1rem; color: var(--text-2); margin-bottom: 32px; max-width: 520px; line-height: 1.8; }
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 36px;
}
.hstat { display: flex; flex-direction: column; align-items: flex-start; }
.hstat-val-wrap { display: flex; align-items: baseline; gap: 2px; }
.hstat-num { font-family: var(--font-en); font-size: 2.2rem; font-weight: 800; color: var(--text-1); line-height: 1.1; }
.hstat-suf { font-family: var(--font-en); font-size: 1.2rem; font-weight: 700; color: var(--primary); display: inline; }
.hstat-lbl { font-size: .85rem; color: var(--text-2); margin-top: 4px; font-weight: 600; }
.hstat-divider { width: 1px; height: 50px; background: var(--border); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; }
.hero-img-wrap { position: relative; max-width: 520px; width: 100%; }
.hero-img { width: 100%; border-radius: var(--radius-lg); }
.hero-glow {
  position: absolute; inset: -20px;
  background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
}
.floating { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
/* Metric Floating Cards */
.metric-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}
.metric-card .mc-icon { font-size: 1.3rem; }
.metric-card .mc-val { display: block; font-family: var(--font-en); font-weight: 800; font-size: 1rem; color: var(--text-1); }
.metric-card .mc-lbl { display: block; font-size: .72rem; color: var(--text-3); }
.mc-1 { top: 12%; left: -30px; animation-delay: 0s; }
.mc-2 { bottom: 22%; left: -40px; animation-delay: -2s; }
.mc-3 { top: 8%; right: -20px; animation-delay: -4s; }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--border-hover);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--primary); border-radius: 2px;
  animation: scroll-w 1.8s infinite;
}
@keyframes scroll-w {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ── TRUST BAR ───────────────────────────────── */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-grid {
  display: flex; align-items: center; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; align-items: center; padding: 8px 32px; }
.ti-num { font-family: var(--font-en); font-size: 1.25rem; font-weight: 800; color: var(--text-1); }
.ti-lbl { font-size: .75rem; color: var(--text-3); margin-top: 2px; }
.trust-sep { width: 1px; height: 40px; background: var(--border); }

/* ── TICKER ──────────────────────────────────── */
.ticker-wrap {
  background: rgba(99,102,241,.06);
  border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 10px 0;
}
.ticker-track {
  display: flex; gap: 60px; width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-track span {
  font-size: .82rem; font-weight: 700; color: var(--text-3);
  letter-spacing: .08em; white-space: nowrap;
}
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── HOW IT WORKS ────────────────────────────── */
.how-section { padding: 100px 0; }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; align-items: start; margin-bottom: 48px;
  position: relative;
}
/* Override: use flex for alignment with connectors */
.steps-grid {
  display: flex; align-items: flex-start;
}
.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.step-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.step-num {
  font-family: var(--font-en); font-size: 2.5rem; font-weight: 900;
  color: rgba(99,102,241,.15); line-height: 1;
  position: absolute; top: 16px; right: 20px;
}
.step-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(99,102,241,.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-icon { font-size: 1.6rem; }
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: .85rem; color: var(--text-2); line-height: 1.7; }
.step-connector {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 12px; padding-top: 64px;
  flex-shrink: 0;
}
.connector-line { width: 40px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.connector-arrow { color: var(--primary); font-size: 1.2rem; margin-top: -4px; }
.how-cta { text-align: center; }

/* ── CALCULATOR ──────────────────────────────── */
.calculator-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(99,102,241,.04), transparent);
}
.calc-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}
.calc-controls {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex; flex-direction: column; gap: 28px;
}
.calc-row { display: flex; flex-direction: column; gap: 10px; }
.calc-label { font-size: .85rem; font-weight: 700; color: var(--text-2); }
.calc-label-row { display: flex; justify-content: space-between; align-items: center; }
.calc-val-badge {
  background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.25);
  color: var(--primary); font-size: .8rem; font-weight: 700;
  padding: 3px 12px; border-radius: 999px;
  font-family: var(--font-en);
}
.calc-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 5px;
  background: rgba(255,255,255,.1);
  border-radius: 3px; outline: none; cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  cursor: pointer;
}
.calc-ticks {
  display: flex; justify-content: space-between;
  font-size: .72rem; color: var(--text-3);
  font-family: var(--font-en);
}
.calc-loc-toggle { display: flex; gap: 8px; }
.clt-btn {
  flex: 1; padding: 10px 14px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border); color: var(--text-2);
  font-size: .88rem; font-weight: 600;
  transition: var(--transition); background: transparent;
}
.clt-btn.active { border-color: var(--primary); background: rgba(99,102,241,.1); color: var(--text-1); }
.calc-addons-check { display: flex; flex-direction: column; gap: 10px; }
.check-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: var(--text-2); cursor: pointer;
}
.check-item input { accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }

/* Calculator Result Card */
.calc-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: sticky; top: 90px;
}
.cr-plan-name {
  font-family: var(--font-en); font-size: 1.5rem; font-weight: 900;
  color: var(--primary); margin-bottom: 20px;
  text-align: center;
}
.cr-specs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.cr-spec {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--text-2);
  padding: 10px 14px;
  background: var(--bg-action-btn);
  border-radius: var(--radius-sm);
}
.cr-price-area { text-align: center; margin-bottom: 20px; padding: 20px; background: rgba(99,102,241,.06); border-radius: var(--radius-md); }
.cr-price-label { font-size: .82rem; color: var(--text-3); margin-bottom: 8px; }
.cr-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.cr-currency { font-size: 1.5rem; font-weight: 700; color: var(--text-2); }
.cr-amount { font-family: var(--font-en); font-size: 3rem; font-weight: 900; color: var(--text-1); }
.cr-period { font-size: .9rem; color: var(--text-3); }
.cr-yearly { font-size: .8rem; color: var(--success); margin-top: 6px; }
.cr-note { text-align: center; font-size: .78rem; color: var(--text-3); margin-top: 12px; }

/* ── PLANS ───────────────────────────────────── */
.plans-section { padding: 100px 0; }
.loc-switcher {
  display: flex; gap: 16px; justify-content: center;
  margin-bottom: 48px;
}
.ls-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 28px; min-width: 240px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: right; cursor: pointer;
  transition: var(--transition);
}
.ls-btn.active { border-color: var(--primary); background: rgba(99,102,241,.08); box-shadow: var(--shadow-glow); }
.ls-flag { font-size: 2rem; }
.ls-title { display: block; font-weight: 700; font-size: .95rem; color: var(--text-1); }
.ls-sub   { display: block; font-size: .78rem; color: var(--text-3); margin-top: 2px; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  display: flex; flex-direction: column;
  gap: 18px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.plan-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.plan-featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(99,102,241,.12), var(--bg-card));
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-glow);
}
.popular-ribbon {
  position: absolute; top: 18px; left: -28px;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  color: #fff; font-size: .72rem; font-weight: 800;
  padding: 5px 36px; transform: rotate(40deg);
  letter-spacing: .05em;
}
.plan-header { display: flex; justify-content: space-between; align-items: center; }
.plan-name { font-family: var(--font-en); font-size: 1.2rem; font-weight: 900; color: var(--text-1); }
.plan-loc-badge {
  font-size: .7rem; font-weight: 700; padding: 3px 10px;
  border-radius: 999px;
}
.eu-badge { background: rgba(99,102,241,.15); color: var(--primary); border: 1px solid rgba(99,102,241,.25); }
.eg-badge { background: rgba(16,185,129,.15); color: var(--success); border: 1px solid rgba(16,185,129,.25); }
.plan-price-wrap {
  display: flex; align-items: baseline; gap: 4px;
}
.plan-price-currency { font-size: 1.2rem; font-weight: 700; color: var(--text-2); }
.plan-price-val { font-family: var(--font-en); font-size: 2.4rem; font-weight: 900; color: var(--text-1); }
.plan-price-period { font-size: .85rem; color: var(--text-3); }
.plan-cpu-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-action-btn); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 5px 12px;
  font-size: .8rem; font-weight: 600;
}
.plan-feats { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-feats li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-2); }
.pf-icon.check { color: var(--success); font-style: normal; flex-shrink: 0; font-weight: 700; }

/* ── ADD-ONS ─────────────────────────────────── */
.addons-section { padding: 100px 0; background: var(--bg-section-alt); }
.addons-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.addon-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: var(--transition);
}
.addon-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.addon-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--addon-color) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--addon-color) 30%, transparent);
  display: flex; align-items: center; justify-content: center;
}
.addon-icon { font-size: 1.4rem; }
.addon-card h3 { font-size: 1rem; font-weight: 700; }
.addon-card p  { font-size: .87rem; color: var(--text-2); line-height: 1.7; flex: 1; }
.addon-price-badge {
  display: inline-block;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  color: var(--primary); font-weight: 700; font-size: .8rem;
  padding: 4px 14px; border-radius: 999px; align-self: flex-start;
  font-family: var(--font-en);
}

/* ── COMPARE TABLE ───────────────────────────── */
.compare-section { padding: 100px 0; }
.comp-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.comp-table {
  width: 100%; border-collapse: collapse;
  font-size: .9rem;
}
.comp-table th {
  background: rgba(99,102,241,.08);
  padding: 16px 20px; text-align: center;
  font-weight: 700; color: var(--text-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.comp-table td {
  padding: 14px 20px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--text-2);
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:hover td { background: var(--bg-action-btn); }
.comp-table td:first-child { text-align: right; font-weight: 600; color: var(--text-1); }
.ct-us { background: rgba(99,102,241,.05); }
.ct-us th { color: var(--primary); }
.ct-us .ct-badge {
  display: block; margin: 4px auto 0;
  font-size: .68rem; font-weight: 800;
  background: var(--primary); color: #fff;
  padding: 2px 10px; border-radius: 999px;
  width: fit-content;
}
.ct-green { color: var(--success) !important; font-weight: 700; }
.specs-table { margin-top: 0; }
.cpu-spec { font-family: var(--font-en); font-size: .85rem; }

/* ── LATENCY ─────────────────────────────────── */
.latency-section { padding: 100px 0; }
.latency-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: start;
}
.ping-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.ping-locations { display: flex; flex-direction: column; gap: 12px; }
.ping-item {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: var(--transition);
}
.ping-item.measuring { border-color: var(--primary); }
.pi-left { display: flex; align-items: center; gap: 12px; }
.pi-flag { font-size: 1.4rem; }
.pi-name { display: block; font-weight: 600; font-size: .9rem; }
.pi-sub  { display: block; font-size: .72rem; color: var(--text-3); }
.pi-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pi-ms {
  font-family: var(--font-en); font-size: 1.1rem; font-weight: 800;
  color: var(--text-1);
}
.pi-bar-wrap { width: 80px; height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.pi-bar { height: 100%; border-radius: 3px; background: var(--primary); width: 0; transition: width .6s ease; }
.ping-btn-icon { font-size: .9rem; }
.ping-note { font-size: .78rem; color: var(--text-3); text-align: center; }

/* Map Panel */
.map-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.world-map {
  position: relative;
  aspect-ratio: 2/1;
  background:
    radial-gradient(ellipse at center, rgba(99,102,241,.05) 0%, transparent 70%),
    var(--bg-card);
}
.wm-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(99,102,241,.2) 1px, transparent 1px);
  background-size: 24px 24px;
}
.wm-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
}
.wm-dot {
  width: 10px; height: 10px;
  background: var(--primary); border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  position: relative; z-index: 2;
}
.wm-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  border: 2px solid var(--primary);
  border-radius: 50%; opacity: .4;
  animation: ring-pulse 2s infinite;
}
@keyframes ring-pulse {
  0%  { transform: translate(-50%,-50%) scale(.5); opacity: .7; }
  100%{ transform: translate(-50%,-50%) scale(2);  opacity: 0; }
}
.wm-label {
  font-size: .65rem; font-weight: 700; color: var(--text-2);
  margin-top: 6px; white-space: nowrap;
}
/* Marker positions (% relative to map) */
.wm-eg { top: 55%; left: 57%; }
.wm-de { top: 36%; left: 47%; }
.wm-us { top: 43%; left: 22%; }
.wm-sg { top: 57%; left: 79%; }

.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ml {
  stroke: rgba(99,102,241,.3); stroke-width: 1.5;
  stroke-dasharray: 6 4;
  animation: dash-anim 3s linear infinite;
}
@keyframes dash-anim { to { stroke-dashoffset: -20; } }

/* ── OS SECTION ──────────────────────────────── */
.os-section { padding: 80px 0; background: var(--bg-section-alt); }
.os-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.os-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: .88rem; font-weight: 600; color: var(--text-2);
  text-align: center; cursor: default;
  transition: var(--transition);
}
.os-card:hover { border-color: var(--border-hover); color: var(--text-1); transform: translateY(-2px); }
.os-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(99,102,241,.08);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.os-icon { font-size: 1.6rem; }

/* ── FEATURES ────────────────────────────────── */
.features-section { padding: 100px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  transition: var(--transition);
}
.feat-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feat-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--fc) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--fc) 25%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-icon { font-size: 1.5rem; }
.feat-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feat-card p  { font-size: .88rem; color: var(--text-2); line-height: 1.75; }

/* ── PAYMENT ─────────────────────────────────── */
.payment-section { padding: 80px 0; background: var(--bg-section-alt); }
.payment-grid {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  margin-bottom: 24px;
}
.pay-method {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-width: 120px;
}
.pay-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  transition: var(--transition);
}
.pay-method:hover .pay-icon { transform: scale(1.1); }
.pay-method span { font-size: .85rem; font-weight: 600; color: var(--text-2); }
.pay-note { text-align: center; font-size: .82rem; color: var(--text-3); }

/* ── TESTIMONIALS ────────────────────────────── */
.testimonials-section { padding: 100px 0; overflow: hidden; }
.testimonials-track {
  display: flex; gap: 24px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  overflow-x: hidden;
}
.tcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  min-width: 320px; max-width: 340px;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 16px;
}
.tcard:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.tcard-stars { color: var(--warning); font-size: 1rem; letter-spacing: 2px; }
.tcard p { font-size: .9rem; color: var(--text-2); line-height: 1.8; flex: 1; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
  flex-shrink: 0;
}
.tcard-author strong { display: block; font-size: .9rem; }
.tcard-author span   { display: block; font-size: .75rem; color: var(--text-3); margin-top: 2px; }
.test-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.tdot {
  width: 8px; height: 8px; border-radius: 4px;
  background: var(--border-hover);
  cursor: pointer; transition: var(--transition);
}
.tdot.active { width: 24px; background: var(--primary); }

/* ── FAQ ─────────────────────────────────────── */
.faq-section { padding: 100px 0; }
.faq-layout { max-width: 800px; }
.faq-header { text-align: right; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; text-align: right;
  font-size: .95rem; font-weight: 700; color: var(--text-1);
  cursor: pointer; background: none; border: none;
  font-family: inherit;
}
.faq-chevron {
  font-size: 1.4rem; color: var(--text-3);
  transition: transform var(--transition);
  flex-shrink: 0; margin-right: 12px;
}
.faq-item.open .faq-chevron { transform: rotate(90deg); color: var(--primary); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-a p { font-size: .9rem; color: var(--text-2); line-height: 1.8; }

/* ── CTA BANNER ──────────────────────────────── */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(6,182,212,.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.cta-text p  { color: var(--text-2); font-size: .95rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────── */
.footer { padding: 80px 0 30px; background: var(--bg-footer); border-top: 1px solid var(--border); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px; margin-bottom: 60px;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 1.25rem; font-weight: 800;
  margin-bottom: 14px;
}
.footer-tagline { font-size: .88rem; color: var(--text-2); margin-bottom: 16px; line-height: 1.7; }
.footer-status-wrap { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--success); margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 38px; height: 38px;
  background: var(--bg-action-btn); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.social-btn:hover { background: rgba(99,102,241,.15); border-color: var(--primary); }
.footer-col h4 { font-size: .85rem; font-weight: 800; color: var(--text-1); margin-bottom: 18px; letter-spacing: .05em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: var(--text-3); transition: var(--transition); }
.footer-links a:hover { color: var(--text-1); transform: translateX(-4px); }
.footer-contact-items { display: flex; flex-direction: column; gap: 12px; }
.fci { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--text-2); }
.fci a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.footer-copy { font-size: .78rem; color: var(--text-3); }
.footer-bottom-links { display: flex; gap: 16px; align-items: center; font-size: .78rem; color: var(--text-3); }
.footer-bottom-links a:hover { color: var(--text-1); }

/* ── SUPPORT HUB ─────────────────────────────── */
.support-hub { position: fixed; bottom: 28px; left: 28px; z-index: 900; }
.support-fab {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  box-shadow: 0 6px 30px rgba(99,102,241,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition); position: relative;
}
.support-fab:hover { transform: scale(1.08); }
.fab-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--danger); color: #fff;
  font-size: .65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.cody-card {
  position: absolute; bottom: 72px; left: 0;
  width: 360px; height: 500px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.96);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  display: flex; flex-direction: column;
  backdrop-filter: blur(20px);
}
.cody-card.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.cody-avatar {
  position: relative; width: 36px; height: 36px;
  background: rgba(99,102,241,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.cody-avatar .sc-dot {
  position: absolute; bottom: -2px; right: -2px;
  width: 10px; height: 10px; border: 2px solid var(--bg-card);
}
.cody-chat-area {
  flex: 1; overflow: hidden; display: flex; flex-direction: column; padding: 12px; gap: 12px;
}
.cody-msgs {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
  padding-right: 4px;
}
/* Scrollbar in chat */
.cody-msgs::-webkit-scrollbar { width: 4px; }
.cody-msgs::-webkit-scrollbar-thumb { background: var(--bg-action-btn); border-radius: 2px; }
.cody-msg {
  max-width: 80%; padding: 10px 14px; border-radius: var(--radius-lg);
  font-size: .85rem; line-height: 1.6; word-wrap: break-word;
}
.cody-msg.bot {
  align-self: flex-start; background: var(--bg-action-btn);
  border: 1px solid var(--border); color: var(--text-2);
  border-top-right-radius: 2px;
}
.cody-msg.user {
  align-self: flex-end; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-top-left-radius: 2px;
  box-shadow: 0 3px 10px var(--primary-glow);
}
.cody-options-grid {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 180px; overflow-y: auto; padding-top: 6px;
  border-top: 1px dashed var(--border);
}
.cody-options-grid::-webkit-scrollbar { width: 3px; }
.cody-opt-btn {
  width: 100%; text-align: right; padding: 10px 14px;
  background: var(--bg-action-btn); border: 1px solid var(--border);
  border-radius: var(--radius-md); font-family: inherit; font-size: .8rem;
  color: var(--text-2); cursor: pointer; transition: var(--transition);
  font-weight: 600;
}
.cody-opt-btn:hover {
  background: rgba(99,102,241,.1); border-color: var(--primary);
  color: var(--text-1); transform: translateY(-1px);
}
.cody-opt-support {
  border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.02);
}
.cody-opt-support:hover {
  border-color: var(--success); background: rgba(16,185,129,.1);
}
.cody-input-wrap {
  display: flex; align-items: center; border-top: 1px solid var(--border);
  padding: 10px; background: var(--bg-cody-input-wrap);
}
#codyInput {
  flex: 1; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 8px 12px; font-family: inherit;
  font-size: .82rem; color: var(--text-1); outline: none; transition: var(--transition);
}
#codyInput:focus { border-color: var(--primary); background: var(--bg-input); }
#codySendBtn {
  width: 34px; height: 34px; border-radius: var(--radius-md);
  background: var(--primary); color: #fff; border: none; margin-right: 8px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: var(--transition);
}
#codySendBtn:hover { background: var(--primary-dark); transform: scale(1.04); }

/* Left aligned support menu for english */
html[dir="ltr"] .cody-opt-btn { text-align: left; }
html[dir="ltr"] #codySendBtn { margin-right: 0; margin-left: 8px; transform: scaleX(-1); }
html[dir="ltr"] #codySendBtn:hover { transform: scaleX(-1) scale(1.04); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .calc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hstat { align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-desc { margin: 0 auto 32px; }
  .latency-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .os-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { flex-wrap: wrap; }
  .step-connector { display: none; }
  .step-card { min-width: 200px; flex: 1 1 45%; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--bg-mobile-nav); padding: 20px; border-bottom: 1px solid var(--border); gap: 6px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-actions .btn-ghost, .nav-actions .btn-sm { display: none; }
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .loc-switcher { flex-direction: column; align-items: center; }
  .ls-btn { min-width: 280px; }
  .addons-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .os-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .comp-table { font-size: .8rem; }
  .comp-table th, .comp-table td { padding: 10px 12px; }
  .hero-title { font-size: 1.9rem; }
  .testimonials-track { overflow-x: auto; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .trust-grid { gap: 0; }
  .trust-item { padding: 8px 16px; }
  .trust-sep { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hstat { align-items: center; }
  .hstat-divider { display: none; }
  .payment-grid { gap: 12px; }
  .pay-method { min-width: 90px; }
}

/* ── ANIMATIONS ──────────────────────────────── */
.fade-in-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ── SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ================================================
   SERVICES SECTION - 5 Categories
   ================================================ */

/* ── SERVICES SECTION WRAPPER ────────────────── */
.services-section { padding: 100px 0; }

/* ── SERVICES TABS NAV ───────────────────────── */
.services-nav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px;
  margin-bottom: 56px;
  padding: 6px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: fit-content;
  margin-left: auto; margin-right: auto;
}
.svc-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-lg);
  font-size: .88rem; font-weight: 700; color: var(--text-3);
  cursor: pointer; background: transparent; border: none;
  font-family: inherit; transition: var(--transition);
  white-space: nowrap;
}
.svc-tab:hover { color: var(--text-2); background: rgba(255,255,255,.05); }
.svc-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}
.svc-tab-icon { font-size: 1.05rem; }

/* ── SERVICE PANELS ──────────────────────────── */
.svc-panel { display: none; animation: svc-fade .4s ease; }
.svc-panel.active { display: block; }
@keyframes svc-fade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SERVICE CARDS GRID ──────────────────────── */
.svc-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.svc-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.svc-card.svc-featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, rgba(99,102,241,.1), var(--bg-card));
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-glow);
}
.svc-ribbon {
  position: absolute; top: 18px; left: -32px;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  color: #fff; font-size: .68rem; font-weight: 800;
  padding: 5px 42px; transform: rotate(40deg);
  letter-spacing: .05em; pointer-events: none;
}
.svc-card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.svc-card-name { font-size: 1.1rem; font-weight: 800; font-family: var(--font-en); color: var(--text-1); }
.svc-card-tagline { font-size: .8rem; color: var(--text-3); margin-top: -10px; }

.svc-price-wrap {
  display: flex; align-items: baseline; gap: 4px;
  background: rgba(255,255,255,.03); border-radius: var(--radius-md); padding: 14px;
}
.scp-cur  { font-size: 1.1rem; font-weight: 700; color: var(--text-2); }
.scp-amt  { font-family: var(--font-en); font-size: 2.2rem; font-weight: 900; color: var(--text-1); }
.scp-per  { font-size: .85rem; color: var(--text-3); }
.scp-free { font-size: 1.4rem; font-weight: 900; color: var(--success); }
.scp-quote{ font-size: 1rem; font-weight: 700; color: var(--warning); }

.svc-feats { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.svc-feats li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .86rem; color: var(--text-2); line-height: 1.55;
}
.sf-chk { color: var(--success); flex-shrink: 0; font-weight: 700; margin-top: 1px; }
.sf-x   { color: var(--danger);  flex-shrink: 0; font-weight: 700; }

/* ── SERVICE INFO STRIP ──────────────────────── */
.svc-info-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sis-item {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.sis-icon { font-size: 1.4rem; }
.sis-val  { font-family: var(--font-en); font-size: 1.05rem; font-weight: 800; color: var(--text-1); }
.sis-lbl  { font-size: .73rem; color: var(--text-3); }

/* ── TRADING SPECIAL ─────────────────────────── */
.trading-alert {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, rgba(16,185,129,.07), rgba(245,158,11,.05));
  border: 1px solid rgba(16,185,129,.25);
  border-radius: var(--radius-xl);
  padding: 24px 30px; margin-bottom: 36px; flex-wrap: wrap;
}
.ta-icon { font-size: 2.5rem; flex-shrink: 0; }
.ta-text h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.ta-text p  { font-size: .88rem; color: var(--text-2); }
.ta-metrics { display: flex; gap: 28px; margin-right: auto; flex-wrap: wrap; }
.tam { text-align: center; }
.tam-val { display: block; font-family: var(--font-en); font-size: 1.4rem; font-weight: 900; color: var(--success); }
.tam-lbl { font-size: .72rem; color: var(--text-3); }

.trading-feats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 36px;
}
.tfc {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: var(--transition);
}
.tfc:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.tfc-icon { font-size: 1.7rem; }
.tfc h4 { font-size: .93rem; font-weight: 700; }
.tfc p  { font-size: .82rem; color: var(--text-2); line-height: 1.7; flex: 1; }
.tfc-badge {
  display: inline-block;
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
  color: var(--success); font-size: .7rem; font-weight: 700;
  padding: 2px 10px; border-radius: 999px;
  font-family: var(--font-en); align-self: flex-start;
}

/* ── AI GPU CARD EXTRA ───────────────────────── */
.gpu-row {
  display: flex; align-items: center; gap: 8px;
  background: rgba(139,92,246,.07);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: var(--radius-md);
  padding: 8px 14px; margin-top: -6px;
}
.gpu-lbl { font-size: .75rem; font-weight: 700; color: var(--accent2); font-family: var(--font-en); }

/* ── DEV SERVICES ────────────────────────────── */
.dev-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.dev-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: var(--transition);
}
.dev-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.dev-icon { font-size: 2rem; }
.dev-card h3 { font-size: 1rem; font-weight: 800; }
.dev-card p  { font-size: .86rem; color: var(--text-2); line-height: 1.75; flex: 1; }
.dev-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dev-tag {
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  color: var(--primary); font-size: .7rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; font-family: var(--font-en);
}
.dev-price {
  font-size: .88rem; font-weight: 700; color: var(--warning);
  border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto;
}

/* ── WEB HOSTING EXTRAS ──────────────────────── */
.web-extras {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-top: 30px;
}
.we-item {
  background: var(--bg-action-btn);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 12px; text-align: center;
}
.we-icon { font-size: 1.3rem; display: block; margin-bottom: 8px; }
.we-item span:last-child { font-size: .82rem; color: var(--text-2); }

/* ── NAV DROPDOWN ────────────────────────────── */
.nl-dropdown { position: relative; }
.nl-dropdown .nl { display: flex; align-items: center; gap: 4px; }
.dropdown-arrow { font-size: .65rem; transition: transform var(--transition); }
.nl-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 220px; padding: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
  backdrop-filter: blur(20px);
}
.nl-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.dm-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .875rem; color: var(--text-2); font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.dm-item:hover { background: rgba(99,102,241,.1); color: var(--text-1); }
.dm-icon { font-size: 1.05rem; width: 24px; text-align: center; }
.dm-sep { height: 1px; background: var(--border); margin: 4px 0; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1000px) {
  .svc-plans-grid { grid-template-columns: repeat(2, 1fr); }
  .trading-feats-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-info-strip { grid-template-columns: repeat(2, 1fr); }
  .web-extras { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .svc-plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .trading-feats-grid { grid-template-columns: 1fr; }
  .dev-grid { grid-template-columns: 1fr; }
  .services-nav { width: calc(100% - 48px); }
  .svc-tab { justify-content: center; }
  .trading-alert { flex-direction: column; text-align: center; }
  .ta-metrics { justify-content: center; margin-right: 0; }
}

/* Theme Switcher Button Styling */
.btn-theme {
  background: var(--bg-action-btn); border: 1px solid var(--border);
  color: var(--text-2); padding: 6px 10px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-theme:hover { opacity: 0.85; color: var(--text-1); }

/* Ensure custom services dropdown-menu border and hover state are responsive in light mode */
.dropdown-menu {
  border: 1px solid var(--border) !important;
}

/* Light mode specific fine-tuning */
[data-theme="light"] .hero-bg {
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(99,102,241,0.06) 0%, transparent 65%),
    radial-gradient(circle at 100% 100%, rgba(6,182,212,0.03) 0%, transparent 40%) !important;
}
[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #4f46e5, #0891b2) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
[data-theme="light"] .comp-table th {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
[data-theme="light"] .comp-table td {
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .comp-table .ct-us {
  background: rgba(99,102,241,0.03) !important;
}
[data-theme="light"] .ticker-wrap {
  background: rgba(99,102,241,0.03) !important;
}
[data-theme="light"] .footer {
  background: #f8fafc !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .cody-input-wrap {
  background: #f1f5f9 !important;
}
[data-theme="light"] #codySendBtn {
  background: #4f46e5 !important;
}
[data-theme="light"] .cody-msg.user {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
}
