/*
Theme Name: HB Web Hosting
Theme URI: https://hb-webhosting.com
Author: HB Web Hosting
Author URI: https://hb-webhosting.com
Description: Modern dark VPS hosting landing theme for HB Web Hosting. SSD-based plans, crypto payments, domain search, testimonials and FAQ — fully responsive, built for startups.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hb-webhosting
Tags: dark, one-column, custom-menu, translation-ready, featured-images
*/

/* ============================================================
   HB Web Hosting — Redesign
   Dark, modern VPS hosting landing page
   ============================================================ */

:root {
  --bg: #05060f;
  --bg-soft: #0a0c1c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e7e9f4;
  --text-dim: #9aa1bd;
  --text-faint: #6b7190;
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --grad: linear-gradient(120deg, #818cf8, #22d3ee);
  --grad-soft: linear-gradient(120deg, rgba(99, 102, 241, 0.18), rgba(34, 211, 238, 0.12));
  --green: #34d399;
  --radius: 16px;
  --radius-lg: 24px;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(99, 102, 241, 0.4); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, ol { padding: 0; }

/* ---------- Background decoration ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
}
.orb-1 {
  width: 620px; height: 620px;
  top: -220px; left: -140px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 65%);
  animation: drift 16s ease-in-out infinite alternate;
}
.orb-2 {
  width: 520px; height: 520px;
  top: 220px; right: -180px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 65%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 50px) scale(1.12); }
}

/* ---------- Typography helpers ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--grad-soft);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--border-strong); }

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: #fff; box-shadow: 0 0 24px rgba(99, 102, 241, 0.2); }

.btn-light {
  background: #fff;
  color: #0a0c1c;
}
.btn-light:hover { box-shadow: 0 12px 40px rgba(255, 255, 255, 0.25); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45);
}
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }

.nav-menu { display: flex; }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links li { list-style: none; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  transition: color 0.18s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.22s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  min-height: 92vh;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.6rem;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.05); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-sub strong { color: var(--text); }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.6rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.hero-meta li { display: flex; align-items: center; gap: 0.45rem; }

.check {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual { position: relative; }

.console {
  background: linear-gradient(180deg, rgba(20, 23, 43, 0.95), rgba(10, 12, 28, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 0 80px rgba(99, 102, 241, 0.12);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.hero-visual:hover .console { transform: perspective(1200px) rotateY(-1deg) rotateX(1deg); }

.console-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }
.console-title {
  margin-left: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-faint);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

.console-body {
  padding: 1.5rem 1.4rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.88rem;
  line-height: 2.1;
  color: var(--text-dim);
}
.console-body .prompt { color: var(--accent-2); font-weight: 700; }
.console-body .dim { color: var(--text-faint); }
.console-body .ok { color: var(--green); }
.cursor { animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(14, 16, 33, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 0.8rem 1.1rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite;
}
.float-card strong { font-family: var(--font-head); font-size: 0.95rem; display: block; line-height: 1.2; }
.float-card small { color: var(--text-faint); font-size: 0.75rem; }

.card-uptime { bottom: -24px; left: -20px; animation-delay: 0.5s; }
.ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) 360deg, rgba(255,255,255,0.08) 0deg);
}
.ring span {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #0e1021;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
}
.card-ssl { top: -22px; right: -12px; animation-delay: 2s; }
.ssl-icon { font-size: 1.4rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---------- Stats ---------- */
.stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.stat:hover { border-color: rgba(99, 102, 241, 0.5); transform: translateY(-3px); }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-suffix { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--accent-2); }
.stat-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- Sections ---------- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3.5rem;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1rem; }
.section-head p { color: var(--text-dim); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.plan.popular {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(10, 12, 28, 0.4));
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.18);
}
.plan-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}
.plan-head h3 { font-size: 1.25rem; }
.plan-head p { font-size: 0.85rem; color: var(--text-faint); margin-top: 0.15rem; }
.plan-price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  margin: 1.2rem 0 1.4rem;
  letter-spacing: -0.03em;
}
.plan-price .currency { font-size: 1.4rem; vertical-align: 0.6em; color: var(--text-dim); }
.plan-price .period { font-size: 0.95rem; font-weight: 500; color: var(--text-faint); font-family: var(--font-body); }
.plan-feats {
  list-style: none;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.plan-feats li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.plan-feats .check { width: 20px; height: 20px; }

.pricing-note { text-align: center; margin-top: 2.2rem; color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.45);
  background: var(--surface-hover);
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(99, 102, 241, 0.35);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  color: var(--accent-2);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.92rem; color: var(--text-dim); }

/* ---------- Domains ---------- */
.domain-box {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  display: flex;
  align-items: center;
  box-shadow: 0 0 60px rgba(99, 102, 241, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.domain-box:focus-within {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.domain-search { display: flex; align-items: center; gap: 0.6rem; width: 100%; }
.search-icon { color: var(--text-faint); display: grid; place-items: center; padding-left: 0.7rem; }
.search-icon svg { width: 20px; height: 20px; }
#domainInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.4rem;
}
#domainInput::placeholder { color: var(--text-faint); }

.domain-result {
  text-align: center;
  padding: 0.8rem 1rem 0.4rem;
  font-size: 0.95rem;
}
.domain-result.ok { color: var(--green); }
.domain-result.err { color: #f87171; }

.tlds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 760px;
  margin: 0 auto;
}
.tld {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tld:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.45); }
.tld-name { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.tld-price { color: var(--accent-2); font-weight: 600; font-size: 1.05rem; }
.tld-price span { color: var(--text-faint); font-size: 0.78rem; font-weight: 500; }

/* ---------- Banner ---------- */
.banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-lg);
  padding: 4.5rem 2rem;
}
.banner-glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.25), transparent 60%);
  pointer-events: none;
}
.banner-content { position: relative; }
.banner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.9rem; }
.banner p {
  color: var(--text-dim);
  max-width: 34rem;
  margin: 0 auto 2rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.testimonial:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.stars { color: #fbbf24; letter-spacing: 0.15em; margin-bottom: 1rem; font-size: 0.95rem; }
.testimonial blockquote { font-size: 0.95rem; color: var(--text-dim); margin-bottom: 1.4rem; }
.testimonial figcaption { display: flex; align-items: center; gap: 0.8rem; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial figcaption strong { display: block; font-size: 0.92rem; }
.testimonial figcaption small { color: var(--text-faint); font-size: 0.8rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: rgba(99, 102, 241, 0.5); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  position: relative;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.faq-plus::before, .faq-plus::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-2);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.faq-plus::before { width: 14px; height: 2px; }
.faq-plus::after { width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item p { padding: 0 1.4rem 1.3rem; color: var(--text-dim); font-size: 0.94rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(8, 9, 20, 0.6);
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin: 1.1rem 0 1.3rem; max-width: 22rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { border-color: var(--accent); background: rgba(99, 102, 241, 0.15); color: #fff; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-menu { list-style: none; }
.footer-menu li { list-style: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.82rem;
}
.footer-bottom { max-width: 1200px; margin: 0 auto; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Blog / Pages ---------- */
.blog-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 10rem 2rem 5rem;
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.4rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.post-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.post-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.post-card h2 a:hover { color: var(--accent-2); }
.post-card .post-meta { color: var(--text-faint); font-size: 0.82rem; margin-bottom: 0.9rem; }
.post-card p { color: var(--text-dim); font-size: 0.95rem; }

.entry {
  max-width: 860px;
  margin: 0 auto;
  padding: 10rem 2rem 5rem;
}
.entry h1 { font-size: 2.4rem; margin-bottom: 1rem; }
.entry h2 { font-size: 1.6rem; margin: 2rem 0 0.8rem; }
.entry p { color: var(--text-dim); margin-bottom: 1rem; }
.entry ul, .entry ol { margin: 0 0 1rem 1.4rem; color: var(--text-dim); }
.entry a { color: var(--accent-2); }
.entry a:hover { text-decoration: underline; }
.entry img { border-radius: var(--radius); margin: 1rem 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 5rem; padding-top: 8rem; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .pricing-grid, .features-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 80vw);
    background: rgba(8, 9, 20, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    padding: 5.5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu .nav-links { flex-direction: column; gap: 0; width: 100%; }
  .nav-menu a { padding: 0.9rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav-menu a::after { display: none; }
  .nav-toggle { display: flex; z-index: 100; }
  .nav-actions .btn-ghost { display: none; }

  .hero { padding-top: 7rem; }
  .hero-cta .btn { width: 100%; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .features-grid, .testimonials { grid-template-columns: 1fr; }
  .tlds { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 1.25rem; }
  .stats { padding: 2rem 1.25rem; }
  .nav-inner { padding: 0.8rem 1.25rem; }
  .hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  .footer-bottom { padding: 1.25rem; }
  .float-card.card-uptime { left: 0; }
  .float-card.card-ssl { right: 0; }
}

@media (max-width: 480px) {
  .tlds { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
