/* =========================================================
   Hexly — design system
   ========================================================= */

:root{
  /* Surfaces */
  --bg: #0A0C10;
  --bg-raised: #10131A;
  --bg-card: #141821;
  --bg-card-hover: #171C26;
  --border: #232936;
  --border-soft: #1A1F29;

  /* Text */
  --text: #E7E9EE;
  --text-dim: #9AA3B2;
  --text-faint: #5C6473;

  /* Brand gradient */
  --violet: #8B5CF6;
  --violet-soft: #A78BFA;
  --cyan: #22D3EE;
  --cyan-soft: #67E8F9;
  --grad: linear-gradient(120deg, var(--violet) 0%, #6366F1 45%, var(--cyan) 100%);
  --grad-text: linear-gradient(120deg, #C4B5FD 0%, #93C5FD 55%, #67E8F9 100%);

  /* Status */
  --amber: #F5A623;
  --green: #34D399;
  --red: #F87171;

  /* Type */
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  /* Layout */
  --wide: 1180px;
  --content: 760px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Shadow / glow */
  --shadow-sm: 0 4px 16px -8px rgba(0,0,0,0.5);
  --shadow-md: 0 24px 48px -20px rgba(0,0,0,0.6);
  --shadow-lg: 0 40px 80px -30px rgba(0,0,0,0.7);
  --glow-violet: 0 0 0 1px rgba(139,92,246,0.3), 0 12px 32px -12px rgba(139,92,246,0.35);
  --glow-cyan: 0 0 0 1px rgba(34,211,238,0.3), 0 12px 32px -12px rgba(34,211,238,0.3);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Ambient hex-mesh backdrop -------------------------------------------- */
.mesh-backdrop{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(139,92,246,0.14), transparent 60%),
    radial-gradient(900px 560px at 8% 12%, rgba(34,211,238,0.10), transparent 55%),
    var(--bg);
}
.mesh-backdrop::before{
  content:"";
  position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cpath d='M42 0 L84 24 L84 72 L42 96 L0 72 L0 24 Z' fill='none' stroke='%23FFFFFF' stroke-opacity='0.035' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 84px 96px;
  mask-image: radial-gradient(1100px 700px at 60% 0%, black, transparent 75%);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #F5F6F8;
}
h1{ font-size: clamp(34px, 5vw, 56px); }
h2{ font-size: clamp(26px, 3.4vw, 38px); }
h3{ font-size: 20px; }
h4{ font-size: 16px; }

p{ margin: 0 0 16px; color: var(--text-dim); }
p.lead{ font-size: 18px; color: var(--text); line-height: 1.6; }

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

.mono{ font-family: var(--font-mono); }

.wrap{ max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.wrap-narrow{ max-width: var(--content); margin: 0 auto; padding: 0 24px; }

/* ------------------------------ Header --------------------------------- */
.site-header{
  position: sticky; top:0; z-index: 60;
  background: rgba(10,12,16,0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border-soft);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled{ background: rgba(10,12,16,0.92); box-shadow: var(--shadow-sm); border-color: var(--border); }

.header-inner{
  max-width: var(--wide); margin:0 auto; padding: 15px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}

.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; font-size:19px; color:#fff; flex-shrink:0; }
.brand .hexmark{ width:26px; height:26px; }
.brand .hexmark path{ fill: url(#hx-grad); }

.main-nav{ display:flex; align-items:center; gap:26px; }
.main-nav a{
  font-size: 14px; font-weight:500; color: var(--text-dim); position:relative; padding:4px 0;
  transition: color .18s;
}
.main-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-3px; height:2px;
  background: var(--grad); transition: right .2s ease; border-radius:2px;
}
.main-nav a:hover, .main-nav a.active{ color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after{ right:0; }

.header-actions{ display:flex; align-items:center; gap:12px; flex-shrink:0; }

.nav-toggle{
  display:none; background:none; border:1px solid var(--border); color:var(--text);
  padding:8px 12px; border-radius: var(--radius-sm); font-size:13px; cursor:pointer;
}

/* ------------------------------ Buttons -------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family: var(--font-body); font-weight:600; font-size:14px;
  padding: 12px 22px; border-radius: 999px; border:1px solid transparent;
  cursor:pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn-grad{
  background: var(--grad); color:#0A0C10; font-weight:700;
  box-shadow: 0 14px 30px -14px rgba(139,92,246,0.55);
}
.btn-grad:hover{ transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(139,92,246,0.7); }
.btn-outline{ border-color: var(--border); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-outline:hover{ border-color: var(--violet-soft); color:#fff; background: rgba(139,92,246,0.08); }
.btn-ghost{ color: var(--text-dim); padding: 12px 14px; }
.btn-ghost:hover{ color: #fff; }
.btn-sm{ padding: 9px 16px; font-size:13px; }
.btn-block{ width:100%; }

/* ------------------------------- Hero ----------------------------------- */
.hero{ padding: 108px 0 88px; position:relative; overflow:hidden; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size:12.5px;
  color: var(--cyan-soft); background: rgba(34,211,238,0.08); border:1px solid rgba(34,211,238,0.25);
  padding:6px 14px; border-radius:999px; margin-bottom:22px; letter-spacing:0.02em;
}
.eyebrow::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--cyan); box-shadow:0 0 8px var(--cyan); }
.hero h1{ max-width: 820px; margin-bottom:22px; }
.hero p.lead{ max-width: 620px; margin-bottom:34px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }
.hero-note{ font-size:13px; color: var(--text-faint); display:flex; align-items:center; gap:10px; }

.hero-visual{
  margin-top: 56px; border-radius: var(--radius-lg); border:1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-raised), var(--bg-card));
  box-shadow: var(--shadow-lg); overflow:hidden;
}
.hero-visual .win-bar{
  display:flex; align-items:center; gap:8px; padding:14px 18px; border-bottom:1px solid var(--border-soft);
}
.win-bar .dot{ width:10px; height:10px; border-radius:50%; background: var(--border); }
.win-bar .path{ margin-left:10px; font-family: var(--font-mono); font-size:12px; color: var(--text-faint); }

/* ---------------------------- Stat strip -------------------------------- */
.stat-strip{ border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft); padding: 34px 0; }
.stat-strip .wrap{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; }
.stat{ text-align:left; }
.stat .num{ font-family: var(--font-display); font-size:30px; font-weight:700; }
.stat .label{ font-size:13px; color: var(--text-faint); margin-top:4px; }

/* ------------------------------ Sections --------------------------------*/
.section{ padding: 88px 0; }
.section-tight{ padding: 56px 0; }
.section-bordered{ border-top:1px solid var(--border-soft); }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ------------------------------ Feature grid ------------------------------ */
.feature-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.feature-card{
  background: var(--bg-card); border:1px solid var(--border-soft); border-radius: var(--radius);
  padding: 28px; transition: transform .22s, border-color .22s, box-shadow .22s;
  position:relative; overflow:hidden;
}
.feature-card::before{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background: var(--grad); opacity:0; transition: opacity .25s;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
.feature-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card:hover::before{ opacity:1; }
.feature-icon{
  width:44px; height:44px; border-radius:12px; margin-bottom:18px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(34,211,238,0.14));
  border:1px solid rgba(139,92,246,0.25); color: var(--cyan-soft);
}
.feature-card h3{ margin-bottom:8px; }
.feature-card p{ font-size:14.5px; margin:0; }
.feature-card a.more{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-size:13.5px; font-weight:600; color: var(--cyan-soft); }
.feature-card a.more svg{ width:13px; height:13px; transition: transform .2s; }
.feature-card:hover a.more svg{ transform: translateX(3px); }

/* ------------------------------ Code block ------------------------------- */
.code-window{
  background: #0B0D12; border:1px solid var(--border); border-radius: var(--radius);
  overflow:hidden; box-shadow: var(--shadow-md);
}
.code-window .win-bar{ display:flex; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid var(--border-soft); background: rgba(255,255,255,0.015); }
.code-window .dot{ width:9px; height:9px; border-radius:50%; }
.dot-red{ background:#F87171; } .dot-amber{ background:#FBBF24; } .dot-green{ background:#34D399; }
.code-window pre{ margin:0; padding:20px 22px; overflow-x:auto; font-size:13.5px; line-height:1.7; }
.code-window code{ font-family: var(--font-mono); }
.tok-k{ color:#C4B5FD; } .tok-s{ color:#86EFAC; } .tok-c{ color:#5C6473; font-style:italic; }
.tok-f{ color:#67E8F9; } .tok-n{ color:#FBBF24; } .tok-v{ color:#E7E9EE; }

.copy-btn{
  position:absolute; top:10px; right:12px; font-family: var(--font-mono); font-size:11px;
  background: var(--bg-card); border:1px solid var(--border); color: var(--text-dim);
  padding:5px 10px; border-radius:6px; cursor:pointer; transition: color .15s, border-color .15s;
}
.copy-btn:hover{ color:#fff; border-color: var(--violet-soft); }
.code-window{ position:relative; }

/* ------------------------------ Pricing --------------------------------- */
.pricing-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; align-items:stretch; }
.price-card{
  background: var(--bg-card); border:1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 34px 28px; display:flex; flex-direction:column;
  transition: transform .22s, border-color .22s;
}
.price-card:hover{ transform: translateY(-4px); }
.price-card.featured{
  border-color: rgba(139,92,246,0.5); background: linear-gradient(180deg, rgba(139,92,246,0.08), var(--bg-card) 40%);
  box-shadow: var(--glow-violet);
}
.price-card .plan-name{ font-family: var(--font-mono); font-size:13px; color: var(--cyan-soft); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:10px; }
.price-card .plan-price{ font-family: var(--font-display); font-size:40px; font-weight:700; color:#fff; margin-bottom:4px; }
.price-card .plan-price span{ font-size:15px; color: var(--text-faint); font-weight:500; }
.price-card .plan-desc{ font-size:14px; color: var(--text-dim); margin-bottom:24px; min-height:40px; }
.price-card ul{ margin: 24px 0; display:flex; flex-direction:column; gap:12px; flex:1; }
.price-card li{ display:flex; align-items:flex-start; gap:10px; font-size:14px; color: var(--text-dim); }
.price-card li svg{ flex-shrink:0; margin-top:3px; color: var(--green); width:15px; height:15px; }
.popular-badge{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background: var(--grad); color:#0A0C10; font-size:11px; font-weight:700; padding:5px 14px; border-radius:999px;
  font-family: var(--font-mono); letter-spacing:0.03em;
}
.price-card{ position:relative; }

/* ------------------------------ Testimonial ------------------------------ */
.testimonial-card{
  background: var(--bg-card); border:1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 40px; position:relative;
}
.testimonial-card .quote-mark{ font-family: var(--font-display); font-size:64px; line-height:1; color: rgba(139,92,246,0.35); margin-bottom:6px; }
.testimonial-card blockquote{ margin:0 0 22px; font-size:18px; color:#F1F2F5; line-height:1.6; font-weight:500; }
.testimonial-author{ display:flex; align-items:center; gap:12px; }
.t-avatar{ width:40px; height:40px; border-radius:50%; background: var(--grad); display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:700; color:#0A0C10; font-size:14px; }
.t-name{ font-weight:600; font-size:14px; color:#fff; }
.t-role{ font-size:12.5px; color: var(--text-faint); }

/* ------------------------------ CTA band --------------------------------- */
.cta-band{
  border-radius: var(--radius-lg); margin: 0 24px;
  background: linear-gradient(135deg, rgba(139,92,246,0.14), rgba(34,211,238,0.08));
  border:1px solid rgba(139,92,246,0.25); padding: 64px 40px; text-align:center;
  max-width: calc(var(--wide) - 48px); margin-left:auto; margin-right:auto;
}
.cta-band h2{ margin-bottom:14px; }
.cta-band p{ max-width:520px; margin:0 auto 30px; }
.cta-band .hero-actions{ justify-content:center; margin-bottom:0; }

/* ------------------------------ Footer ------------------------------------*/
.site-footer{ border-top:1px solid var(--border-soft); padding: 64px 0 28px; margin-top:60px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap:32px; margin-bottom:48px; }
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand p{ font-size:13.5px; max-width:260px; }
.footer-col h4{ font-size:12.5px; text-transform:uppercase; letter-spacing:0.06em; color: var(--text-faint); margin-bottom:16px; font-family: var(--font-mono); font-weight:600; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:14px; color: var(--text-dim); transition:color .15s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  border-top:1px solid var(--border-soft); padding-top:26px; display:flex; justify-content:space-between;
  align-items:center; flex-wrap:wrap; gap:12px; font-size:13px; color: var(--text-faint);
}
.footer-bottom .legal-links{ display:flex; gap:20px; }
.status-pill{ display:inline-flex; align-items:center; gap:7px; font-family: var(--font-mono); font-size:12px; }
.status-dot{ width:7px; height:7px; border-radius:50%; background: var(--green); box-shadow:0 0 6px var(--green); }

/* ------------------------------ Breadcrumb -------------------------------- */
.breadcrumb{ font-size:13px; color: var(--text-faint); margin-bottom:18px; }
.breadcrumb a{ color: var(--text-dim); }
.breadcrumb a:hover{ color:#fff; }

/* ------------------------------ Page header (inner pages) ----------------- */
.page-head{ padding: 64px 0 48px; border-bottom:1px solid var(--border-soft); }
.page-head h1{ max-width: 760px; }
.page-head p.lead{ max-width: 620px; }
.tag-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.tag-pill{
  font-family: var(--font-mono); font-size:12px; padding:5px 12px; border-radius:999px;
  border:1px solid var(--border); color: var(--text-dim); background: var(--bg-card);
}

/* ------------------------------ Docs layout -------------------------------- */
.docs-layout{ display:grid; grid-template-columns: 240px 1fr; gap:48px; max-width: var(--wide); margin:0 auto; padding: 48px 24px 100px; align-items:start; }
.docs-side{ position:sticky; top:90px; }
.docs-side h4{ font-family: var(--font-mono); font-size:11.5px; text-transform:uppercase; color: var(--text-faint); letter-spacing:0.06em; margin: 22px 0 10px; }
.docs-side h4:first-child{ margin-top:0; }
.docs-side ul{ display:flex; flex-direction:column; gap:2px; }
.docs-side a{ display:block; font-size:13.5px; color: var(--text-dim); padding:7px 10px; border-radius:7px; transition: background .15s, color .15s; }
.docs-side a:hover{ background: var(--bg-card); color:#fff; }
.docs-side a.active{ background: rgba(139,92,246,0.12); color: var(--cyan-soft); font-weight:600; }
.docs-content .prose{ max-width: 720px; }

.prose h2{ margin-top:44px; margin-bottom:16px; font-size:24px; }
.prose h3{ margin-top:32px; margin-bottom:12px; }
.prose p{ font-size:15.5px; }
.prose ul, .prose ol{ margin:0 0 20px; padding-left:22px; }
.prose li{ color: var(--text-dim); margin-bottom:8px; font-size:15.5px; }
.prose li::marker{ color: var(--violet-soft); }
.prose code:not(pre code){
  font-family: var(--font-mono); background: var(--bg-card); border:1px solid var(--border-soft);
  padding: 2px 7px; border-radius:5px; font-size:13.5px; color: var(--cyan-soft);
}
.prose table{ width:100%; border-collapse:collapse; margin: 20px 0 28px; font-size:14px; }
.prose th{ text-align:left; font-family: var(--font-mono); font-size:12px; text-transform:uppercase; color: var(--text-faint); padding:10px 14px; border-bottom:2px solid var(--border); }
.prose td{ padding:12px 14px; border-bottom:1px solid var(--border-soft); color: var(--text-dim); }
.prose td code{ font-size:12.5px; }

.callout{ display:flex; gap:14px; padding:18px 20px; border-radius: var(--radius-sm); margin: 24px 0; border:1px solid; }
.callout.info{ background: rgba(34,211,238,0.06); border-color: rgba(34,211,238,0.25); }
.callout.warn{ background: rgba(245,166,35,0.07); border-color: rgba(245,166,35,0.28); }
.callout .icon{ flex-shrink:0; width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family: var(--font-mono); font-size:12px; font-weight:700; }
.callout.info .icon{ background: rgba(34,211,238,0.18); color: var(--cyan-soft); }
.callout.warn .icon{ background: rgba(245,166,35,0.2); color: var(--amber); }
.callout p{ margin:0; font-size:14.5px; color: var(--text); }

.method-badge{ font-family: var(--font-mono); font-size:11.5px; font-weight:700; padding:3px 9px; border-radius:5px; }
.method-get{ background: rgba(34,211,238,0.15); color: var(--cyan-soft); }
.method-post{ background: rgba(139,92,246,0.18); color: var(--violet-soft); }
.method-delete{ background: rgba(248,113,113,0.15); color: var(--red); }
.method-put{ background: rgba(245,166,35,0.15); color: var(--amber); }

.endpoint-row{ display:flex; align-items:center; gap:12px; padding:14px 16px; border:1px solid var(--border-soft); border-radius:8px; margin-bottom:10px; background: var(--bg-card); }
.endpoint-row .path{ font-family: var(--font-mono); font-size:13.5px; }
.endpoint-row .desc{ margin-left:auto; font-size:13px; color: var(--text-faint); }

/* ------------------------------ Blog -------------------------------------- */
.blog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.blog-card{ background: var(--bg-card); border:1px solid var(--border-soft); border-radius: var(--radius); overflow:hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.blog-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(139,92,246,0.3); }
.blog-cover{ height:150px; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, rgba(139,92,246,0.16), rgba(34,211,238,0.10)); }
.blog-cover svg{ width:34px; height:34px; color: var(--cyan-soft); }
.blog-body{ padding: 22px; }
.blog-meta{ display:flex; gap:10px; align-items:center; font-size:12px; color: var(--text-faint); margin-bottom:12px; }
.blog-body h3{ font-size:17px; margin-bottom:10px; }
.blog-body p{ font-size:14px; }
.blog-more{ font-size:13px; font-weight:600; color: var(--cyan-soft); display:inline-flex; align-items:center; gap:6px; margin-top:6px; }

.article-hero{ padding: 60px 0 40px; border-bottom:1px solid var(--border-soft); }
.article-meta{ display:flex; gap:16px; align-items:center; font-size:13px; color: var(--text-faint); margin-top:20px; flex-wrap:wrap; }
.article-avatar{ width:34px; height:34px; border-radius:50%; background: var(--grad); display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:700; color:#0A0C10; font-size:12.5px; }

/* ------------------------------ FAQ ---------------------------------------- */
.faq-list{ max-width: 760px; }
.faq-item{ border-bottom:1px solid var(--border-soft); }
.faq-q{ display:flex; justify-content:space-between; align-items:center; padding:20px 4px; cursor:pointer; font-weight:600; font-size:15.5px; color:#fff; }
.faq-q .plus{ font-family: var(--font-mono); color: var(--violet-soft); font-size:18px; transition: transform .2s; flex-shrink:0; margin-left:16px; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a{ max-height: 400px; }
.faq-a p{ padding: 0 4px 20px; font-size:14.5px; }

/* ------------------------------ Table (compare) ---------------------------- */
.compare-table-wrap{ overflow-x:auto; border:1px solid var(--border-soft); border-radius: var(--radius); }
.compare-table{ width:100%; border-collapse:collapse; min-width:640px; }
.compare-table th, .compare-table td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--border-soft); font-size:14px; }
.compare-table th{ font-family: var(--font-mono); font-size:12px; text-transform:uppercase; color: var(--text-faint); background: var(--bg-raised); }
.compare-table td{ color: var(--text-dim); }
.compare-table td.yes{ color: var(--green); }
.compare-table td.no{ color: var(--text-faint); }
.compare-table tr:last-child td{ border-bottom:none; }
.compare-table td.hexly-col, .compare-table th.hexly-col{ background: rgba(139,92,246,0.06); }

/* ------------------------------ Case studies -------------------------------- */
.case-card{ background: var(--bg-card); border:1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 32px; transition: transform .2s, box-shadow .2s; }
.case-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-stats{ display:flex; gap:28px; margin: 20px 0; flex-wrap:wrap; }
.case-stats .num{ font-family: var(--font-display); font-size:24px; font-weight:700; color: var(--cyan-soft); display:block; }
.case-stats .label{ font-size:12.5px; color: var(--text-faint); }

/* ------------------------------ Team / values ------------------------------- */
.team-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.team-card{ text-align:center; }
.team-avatar{ width:80px; height:80px; border-radius:50%; margin:0 auto 14px; background: var(--grad); display:flex; align-items:center; justify-content:center; font-family: var(--font-mono); font-weight:700; font-size:20px; color:#0A0C10; }
.team-name{ font-weight:600; color:#fff; font-size:15px; }
.team-role{ font-size:13px; color: var(--text-faint); }

.value-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:20px; }
.value-item{ display:flex; gap:16px; }
.value-num{ font-family: var(--font-mono); font-size:13px; color: var(--violet-soft); flex-shrink:0; padding-top:4px; }

/* ------------------------------ Job listing --------------------------------- */
.job-row{ display:flex; justify-content:space-between; align-items:center; padding:20px; border:1px solid var(--border-soft); border-radius: var(--radius-sm); margin-bottom:12px; background: var(--bg-card); transition: border-color .2s; }
.job-row:hover{ border-color: rgba(139,92,246,0.35); }
.job-title{ font-weight:600; color:#fff; font-size:15px; margin-bottom:4px; }
.job-meta{ font-size:12.5px; color: var(--text-faint); display:flex; gap:14px; }

/* ------------------------------ Status page ---------------------------------- */
.status-row{ display:flex; justify-content:space-between; align-items:center; padding:16px 20px; border-bottom:1px solid var(--border-soft); }
.status-row:last-child{ border-bottom:none; }
.status-ok{ color: var(--green); display:flex; align-items:center; gap:8px; font-size:13px; font-family: var(--font-mono); }
.uptime-bars{ display:flex; gap:2px; margin-top:8px; }
.uptime-bars .bar{ width:5px; height:22px; border-radius:2px; background: var(--green); opacity:0.85; }
.uptime-bars .bar.warn{ background: var(--amber); }
.uptime-bars .bar.down{ background: var(--red); }

/* ------------------------------ Contact form --------------------------------- */
.form-panel{ background: var(--bg-card); border:1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-size:13px; font-weight:600; color: var(--text-dim); margin-bottom:7px; }
.form-row input, .form-row textarea, .form-row select{
  width:100%; background: var(--bg-raised); border:1px solid var(--border); border-radius: var(--radius-sm);
  padding:12px 14px; font-family:inherit; font-size:14.5px; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus{
  outline:none; border-color: var(--violet-soft); box-shadow: 0 0 0 3px rgba(139,92,246,0.18);
}

/* ------------------------------ Integrations --------------------------------- */
.integration-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.integration-card{ background: var(--bg-card); border:1px solid var(--border-soft); border-radius: var(--radius); padding:22px; text-align:center; transition: transform .2s, border-color .2s; }
.integration-card:hover{ transform: translateY(-4px); border-color: rgba(139,92,246,0.3); }
.integration-logo{ width:44px; height:44px; border-radius:11px; margin:0 auto 14px; background: var(--bg-raised); display:flex; align-items:center; justify-content:center; font-family: var(--font-mono); font-weight:700; color: var(--cyan-soft); border:1px solid var(--border); }
.integration-card h4{ font-size:14.5px; margin-bottom:6px; }
.integration-card p{ font-size:12.5px; margin:0; }

/* ------------------------------ Reveal / utility ------------------------------ */
.reveal{ opacity:0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible{ opacity:1; transform: translateY(0); }
.center{ text-align:center; }
.progress-bar{ position:fixed; top:0; left:0; height:2px; width:0%; background: var(--grad); z-index:100; transition: width .1s linear; box-shadow: 0 0 10px rgba(139,92,246,0.6); }

/* ------------------------------ 404 ---------------------------------------- */
.error-page{ padding: 130px 0; text-align:center; }
.error-code{ font-family: var(--font-display); font-size: clamp(90px,15vw,160px); font-weight:800; background: var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; line-height:1; }

/* ------------------------------ Responsive ----------------------------------- */
@media (max-width: 1040px){
  .feature-grid{ grid-template-columns: 1fr 1fr; }
  .pricing-grid{ grid-template-columns: 1fr 1fr 1fr; }
  .team-grid{ grid-template-columns: repeat(2,1fr); }
  .integration-grid{ grid-template-columns: repeat(3,1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr 1fr; }
  .stat-strip .wrap{ grid-template-columns: 1fr 1fr; gap:28px; }
  .docs-layout{ grid-template-columns: 1fr; }
  .docs-side{ position:static; display:flex; flex-wrap:wrap; gap:8px; }
  .docs-side h4{ width:100%; }
}
@media (max-width: 860px){
  .main-nav{ display:none; }
  .nav-toggle{ display:block; }
  .blog-grid{ grid-template-columns: 1fr 1fr; }
  .value-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 680px){
  .feature-grid, .pricing-grid, .team-grid, .integration-grid, .blog-grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; gap:28px; }
  .case-stats{ gap:18px; }
  h1{ font-size:32px; }
  .cta-band{ margin:0 16px; padding: 44px 24px; }
}
