/* VeloxaHost marketing site — standalone stylesheet (no Tailwind dependency) */
:root {
  --brand-400: #2dd4bf;
  --brand-500: #14b8a6;
  --brand-600: #0d9488;
  --brand-700: #0f766e;
  --ink-900: #18181b;
  --ink-800: #1e1e22;
  --ink-850: #1a1a1e;
  --ink-700: #3f3f46;
  --ink-border: #2b2b31;
  --text-hi: #f4f4f5;
  --text-mid: #c9c9cf;
  --text-low: #a6a6ae;
  --danger: #ef4444;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--ink-900);
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: inline-block; vertical-align: middle; }
a { color: var(--brand-400); text-decoration: none; }
a:hover { color: var(--brand-300); }
h1, h2, h3, h4 { color: var(--text-hi); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
code, pre { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
pre {
  background: #0e0e11; border: 1px solid var(--ink-border); border-radius: 10px;
  padding: 1rem 1.2rem; overflow-x: auto; font-size: 0.85rem; line-height: 1.6;
  margin: 1rem 0; color: #d4d4d8;
}
code { background: #0e0e11; border-radius: 6px; padding: 0.15em 0.45em; font-size: 0.85em; color: #5eead4; }
pre code { background: none; padding: 0; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(24, 24, 27, 0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-border);
}
.nav-inner { display: flex; align-items: center; height: 66px; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; color: var(--text-hi); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.logo-badge {
  width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; font-weight: 800;
}
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-mid); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--text-hi); }
.nav-cta { display: flex; gap: 0.75rem; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text-hi); cursor: pointer; padding: 0.4rem; }
@media (max-width: 880px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column;
    background: var(--ink-850); border-bottom: 1px solid var(--ink-border); padding: 1.2rem 1.5rem; gap: 1rem;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  padding: 0.7rem 1.4rem; border-radius: 11px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text-hi); border-color: var(--ink-700); }
.btn-ghost:hover { color: var(--text-hi); border-color: var(--text-low); }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.02rem; border-radius: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(20,184,166,0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 75% 30%, rgba(6,182,212,0.10), transparent 60%);
}
.hero > .container { position: relative; }
.hero h1 { max-width: 820px; margin: 0 auto 1.2rem; }
.hero h1 .accent { background: linear-gradient(90deg, var(--brand-400), #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: 1.2rem; color: var(--text-low); max-width: 640px; margin: 0 auto 2.2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 1.1rem; font-size: 0.85rem; color: var(--text-low); }

/* ---------- Sections ---------- */
section.pad { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.pad.alt { background: var(--ink-850); border-block: 1px solid var(--ink-border); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.sec-head p { color: var(--text-low); margin-top: 0.8rem; font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-400); margin-bottom: 0.8rem;
}

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 980px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }

.card {
  background: var(--ink-850); border: 1px solid var(--ink-border); border-radius: var(--radius);
  padding: 1.7rem; transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--brand-700); transform: translateY(-2px); }
.card h3 { margin: 0.9rem 0 0.5rem; }
.card p { font-size: 0.95rem; color: var(--text-low); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20, 184, 166, 0.12); color: var(--brand-400); font-size: 1.2rem;
}

/* ---------- Feature split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split.rev .split-media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 2rem; } .split.rev .split-media { order: 0; } }
.split h2 { margin-bottom: 0.9rem; }
.split ul.checklist { list-style: none; margin-top: 1.2rem; }
.split ul.checklist li { padding: 0.45rem 0 0.45rem 1.9rem; position: relative; color: var(--text-mid); }
.split ul.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 0.45rem; color: var(--brand-400); font-weight: 700;
}
.split-media {
  background: linear-gradient(160deg, var(--ink-800), #101013); border: 1px solid var(--ink-border);
  border-radius: 16px; padding: 1.6rem; box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.mock {
  background: #0c0c0f; border: 1px solid var(--ink-border); border-radius: 10px; padding: 0.9rem 1.1rem;
  font-family: ui-monospace, Menlo, monospace; font-size: 0.8rem; color: #a1a1aa; display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.7rem;
}
.mock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 8px var(--brand-500); }
.mock b { color: var(--text-hi); font-weight: 600; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; align-items: stretch; }
.price-card {
  background: var(--ink-850); border: 1px solid var(--ink-border); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500), 0 20px 50px rgba(20,184,166,0.12); }
.price-card .flag {
  position: absolute; top: -0.7rem; left: 50%; transform: translateX(-50%);
  background: var(--brand-500); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.2rem 0.8rem; border-radius: 999px; text-transform: uppercase;
}
.price-card h3 { font-size: 1.05rem; }
.price-line { margin: 0.9rem 0 1.1rem; }
.price-line .amount { font-size: 2.2rem; font-weight: 800; color: var(--text-hi); letter-spacing: -0.03em; }
.price-line .per { color: var(--text-low); font-size: 0.85rem; }
.price-line .cap { color: var(--text-low); font-size: 0.8rem; }
.price-card ul { list-style: none; margin: 0 0 1.4rem; flex: 1; }
.price-card ul li { padding: 0.3rem 0 0.3rem 1.6rem; position: relative; font-size: 0.92rem; color: var(--text-mid); }
.price-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-400); }
.price-card .btn { justify-content: center; }
.pricing-note { text-align: center; color: var(--text-low); font-size: 0.9rem; margin-top: 2rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.post-card { display: block; color: inherit; }
.post-card:hover h3 { color: var(--brand-300); }
.post-meta { font-size: 0.8rem; color: var(--text-low); margin-bottom: 0.6rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.tag { background: rgba(20,184,166,0.1); color: var(--brand-400); font-size: 0.72rem; font-weight: 600; padding: 0.14rem 0.6rem; border-radius: 999px; }
.article { max-width: 760px; margin: 0 auto; }
.article .post-meta { margin-bottom: 1.6rem; }
.article h2 { font-size: 1.4rem; margin: 2.2rem 0 0.8rem; }
.article p { margin-bottom: 1.1rem; color: var(--text-mid); }
.article ul { margin: 0 0 1.1rem 1.3rem; color: var(--text-mid); }
.hero-img {
  height: 240px; border-radius: 14px; margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(20,184,166,0.25), rgba(6,182,212,0.08)), var(--ink-800);
  border: 1px solid var(--ink-border);
}

/* ---------- Docs ---------- */
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2.5rem; }
@media (max-width: 880px) { .docs-layout { grid-template-columns: 1fr; } }
.docs-nav {
  background: var(--ink-850); border: 1px solid var(--ink-border); border-radius: var(--radius);
  padding: 1.2rem; position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 110px); overflow-y: auto;
}
.docs-nav .label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-low); margin-bottom: 0.6rem; }
.docs-nav a { display: block; padding: 0.42rem 0.7rem; border-radius: 8px; color: var(--text-mid); font-size: 0.92rem; }
.docs-nav a:hover { background: var(--ink-800); color: var(--text-hi); }
.docs-nav a.active { background: rgba(20,184,166,0.12); color: var(--brand-300); font-weight: 600; }
.docs-body { max-width: 760px; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; }
.pager a {
  border: 1px solid var(--ink-border); border-radius: 10px; padding: 0.8rem 1.1rem; color: var(--text-mid); font-size: 0.9rem;
}
.pager a:hover { border-color: var(--brand-600); color: var(--text-hi); }
.pager .dir { display: block; font-size: 0.75rem; color: var(--text-low); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; border-radius: 18px; padding: clamp(2.5rem, 6vw, 4rem) 2rem;
  background: linear-gradient(135deg, rgba(13,148,136,0.18), rgba(6,182,212,0.07)), var(--ink-850);
  border: 1px solid var(--brand-700);
}
.cta-band h2 { margin-bottom: 0.7rem; }
.cta-band p { color: var(--text-low); margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--ink-border); background: #131316; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.2rem 0 2.4rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-low); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: var(--text-mid); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--text-hi); }
.footer-brand p { color: var(--text-low); font-size: 0.9rem; margin-top: 0.8rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid var(--ink-border); padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-low); }

/* ---------- Misc ---------- */
.muted { color: var(--text-low); }
.lead { font-size: 1.08rem; color: var(--text-mid); }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th { text-align: left; color: var(--text-low); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--ink-border); }
.table td { padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--ink-border); color: var(--text-mid); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   VISUAL ENHANCEMENT PASS
   ============================================================ */

/* Subtle grid texture on page background */
body {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(20,184,166,0.08), transparent 60%);
}

/* Hero upgrades */
.hero {
  padding-top: clamp(5rem, 11vw, 8.5rem);
  border-bottom: 1px solid var(--ink-border);
}
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  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 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero > .container { z-index: 1; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--brand-700); background: rgba(20,184,166,0.08);
  color: var(--brand-300); font-size: 0.8rem; font-weight: 600;
  padding: 0.35rem 1rem; border-radius: 999px; margin-bottom: 1.6rem;
}
.hero-pill .dotpulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-400);
  box-shadow: 0 0 0 0 rgba(45,212,191,0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45,212,191,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(45,212,191,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); }
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }

/* Stats band */
.stats-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--ink-border); border: 1px solid var(--ink-border);
  border-radius: 16px; overflow: hidden; margin-top: 3.2rem;
}
.stats-band .stat {
  background: var(--ink-850); padding: 1.5rem 1rem; text-align: center;
}
.stats-band .stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--text-hi); letter-spacing: -0.02em; }
.stats-band .stat b em { font-style: normal; color: var(--brand-400); }
.stats-band .stat span { font-size: 0.82rem; color: var(--text-low); }
@media (max-width: 640px) { .stats-band { grid-template-columns: 1fr; } }

/* Feature cards: gradient top accent + glow hover */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-500), transparent);
  opacity: 0; transition: opacity 0.25s ease;
}
.card:hover { border-color: var(--brand-600); box-shadow: 0 12px 40px rgba(20,184,166,0.08); }
.card:hover::before { opacity: 1; }
.card .icon {
  font-size: 1.15rem;
  background: linear-gradient(135deg, rgba(20,184,166,0.16), rgba(6,182,212,0.07));
  border: 1px solid rgba(20,184,166,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Section eyebrows with rules */
.sec-head .eyebrow::before, .sec-head .eyebrow::after {
  content: ''; display: inline-block; width: 26px; height: 1px;
  background: var(--brand-700); vertical-align: middle; margin: 0 0.6rem;
}
.split .eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; }
.split .eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--brand-600); }

/* Buttons: subtle top shine */
.btn-primary {
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 20px rgba(13,148,136,0.35);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 8px 26px rgba(13,148,136,0.45); }

/* Blog cards */
.post-card .post-meta { min-height: 1.4rem; }
.post-card::before { opacity: 0.5; }

/* CTA band glow */
.cta-band {
  position: relative; overflow: hidden;
  box-shadow: 0 30px 80px rgba(13,148,136,0.12);
}
.cta-band::before {
  content: ''; position: absolute; inset: -40%;
  background: radial-gradient(ellipse at 30% 40%, rgba(20,184,166,0.16), transparent 55%);
  pointer-events: none;
}
.cta-band > * { position: relative; }

/* Page head sections get slight gradient */
.hero .container { position: relative; z-index: 1; }

/* Step numbers */
.steps .step { text-align: left; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 0.9rem;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  color: #fff; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(13,148,136,0.35);
}
