/* ==========================================================================
   CloudPocket — Global stylesheet
   ========================================================================== */

:root {
  --bg: #05070e;
  --bg-2: #0a0f1c;
  --bg-3: #0e1424;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #e8ecf5;
  --text-2: #a3adc2;
  --muted: #6d778c;
  --brand: #3d7dff;
  --brand-2: #22d3ee;
  --accent: #7c5cff;
  --ok: #23c58e;
  --warn: #f5b544;
  --danger: #f25c5c;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --container: 1240px;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(61, 125, 255, 0.18), transparent 60%),
    radial-gradient(800px 500px at 90% 0%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(124, 92, 255, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: var(--brand-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: #7fe6f7; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: #fff;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--text-2); }
.lead { font-size: 1.1rem; color: var(--text-2); max-width: 62ch; }

.muted { color: var(--muted); }
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.w-100 { width: 100%; }

/* ---------- Container / sections ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 860px; }

.section { padding: 90px 0; }
.section-tight { padding: 50px 0; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02) 30%, transparent); }

.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 780px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 12px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent));
  z-index: 1000;
  transition: width .08s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 7, 14, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 7, 14, 0.9);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.brand:hover { color: #fff; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center;
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(61, 125, 255, 0.45);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { color: #fff; background: var(--panel-2); }
.nav-links a.active { color: #fff; background: var(--panel-2); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 10px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(61, 125, 255, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 40px rgba(61, 125, 255, 0.5); }

.btn-outline {
  background: transparent;
  border-color: var(--border-2);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--brand); color: #fff; background: rgba(61, 125, 255, 0.08); }

.btn-ghost {
  background: var(--panel-2);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.09); }

/* ---------- Glass / cards ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-sm); }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Pill / pulse ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(61, 125, 255, 0.10);
  border: 1px solid rgba(61, 125, 255, 0.28);
  color: #cddaff;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(35, 197, 142, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(35, 197, 142, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(35, 197, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 197, 142, 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.chip-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 80%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: #3d7dff; top: -120px; left: -100px; }
.orb-2 { width: 340px; height: 340px; background: #22d3ee; top: 20%; right: -120px; animation-delay: -4s; }
.orb-3 { width: 300px; height: 300px; background: #7c5cff; bottom: -100px; left: 35%; animation-delay: -8s; }

@keyframes float {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-24px,0) scale(1.05); }
}

.hero-copy, .hero-visual { position: relative; z-index: 2; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 28px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 0.88rem;
}
.trust-item i { color: var(--brand-2); }

/* ---------- Dashboard mockup ---------- */
.hero-visual { position: relative; }
.mock {
  padding: 14px;
  box-shadow: var(--shadow);
  transform: perspective(1600px) rotateY(-8deg) rotateX(2deg);
  transition: transform .6s ease;
  animation: mockIn 1.2s ease both;
}
.mock:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
@keyframes mockIn {
  from { opacity: 0; transform: perspective(1600px) translateY(30px) rotateY(-12deg); }
  to { opacity: 1; transform: perspective(1600px) rotateY(-8deg) rotateX(2deg); }
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 14px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f56; }
.dot.amber { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.mock-title {
  margin-left: 10px;
  color: var(--text-2);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mock-live {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--ok);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mock-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 0;
  padding-top: 12px;
  min-height: 340px;
}
.mock-side {
  border-right: 1px solid var(--border);
  padding: 6px 12px 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-side-item {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.83rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-side-item.active { background: rgba(61, 125, 255, 0.14); color: #fff; }
.mock-quota { margin-top: auto; padding: 10px; border-top: 1px solid var(--border); }
.mock-quota-label { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-2); margin-bottom: 6px; }
.mock-quota small { font-size: 0.72rem; color: var(--muted); }

.progress {
  display: inline-block;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  animation: grow 1.6s ease forwards;
  animation-delay: var(--d, 0s);
}
.progress.sm { width: 90px; height: 5px; }
@keyframes grow { to { width: var(--w); } }

.mock-main { padding: 6px 6px 6px 14px; }
.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
  font-size: 0.8rem;
  color: var(--text-2);
}
.mock-crumb b { color: #fff; }
.mock-chip {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(35, 197, 142, 0.14);
  color: var(--ok);
  border: 1px solid rgba(35, 197, 142, 0.3);
}
.file-list { list-style: none; margin: 0; padding: 10px 0 0; }
.file-list li {
  display: grid;
  grid-template-columns: 26px 1fr 100px 78px;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 0.85rem;
  animation: rowIn .7s ease both;
  animation-delay: var(--d);
}
.file-list li:hover { background: var(--panel-2); }
@keyframes rowIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.file-list li > i { color: var(--brand-2); }
.file-list .fmeta b { display: block; color: #fff; font-weight: 500; font-size: 0.86rem; }
.file-list .fmeta small { color: var(--muted); font-size: 0.74rem; }
.state { font-size: 0.72rem; padding: 4px 8px; border-radius: 999px; text-align: center; font-weight: 500; }
.state.ok { background: rgba(35,197,142,0.14); color: var(--ok); }
.state.run { background: rgba(61,125,255,0.16); color: #7ea9ff; }
.state.warn { background: rgba(245,181,68,0.16); color: var(--warn); }

.float-badge {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.85);
  border: 1px solid var(--border-2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  animation: bfloat 6s ease-in-out infinite;
}
.float-badge i { color: var(--brand-2); }
.fb-1 { top: 8%; left: -26px; animation-delay: 0s; }
.fb-2 { bottom: 22%; right: -22px; animation-delay: -2s; }
.fb-3 { bottom: -12px; left: 12%; animation-delay: -4s; }
@keyframes bfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Marquee ---------- */
.marquee-section { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.01); }
.marquee-label { text-align: center; color: var(--muted); font-size: 0.85rem; margin: 0 0 22px; }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scrollx 40s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.05rem;
  opacity: 0.7;
  transition: opacity .3s ease;
}
.marquee-track span:hover { opacity: 1; }
.marquee-track span i { color: var(--brand-2); font-size: 1.1rem; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 40px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: var(--border);
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.1;
}
.stat-label { color: var(--text-2); font-size: 0.88rem; margin-top: 6px; }

/* ---------- Feature cards ---------- */
.feature .icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(61, 125, 255, 0.12);
  border: 1px solid rgba(61, 125, 255, 0.24);
  color: var(--brand-2);
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin-bottom: 16px; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding: 6px 0 6px 28px;
  color: var(--text-2);
  font-size: 0.92rem;
}
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0; top: 6px;
  color: var(--ok);
  font-size: 0.8rem;
}

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse > .split-copy { order: 2; }
.split.reverse > .split-visual { order: 1; }

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0 26px;
}
.mini {
  padding: 16px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini i { color: var(--brand-2); font-size: 1.05rem; margin-bottom: 4px; }
.mini b { color: #fff; font-size: 0.92rem; font-weight: 600; }
.mini span { color: var(--text-2); font-size: 0.8rem; }

.panel { padding: 22px; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px;
  font-size: 0.9rem; color: var(--text-2);
}
.panel-head b { color: #fff; }
.panel-head i { color: var(--brand-2); margin-right: 8px; }

.timeline-mini { display: flex; flex-direction: column; gap: 4px; }
.tl-item {
  display: flex; gap: 14px; padding: 12px; border-radius: 10px;
  transition: background .2s ease;
}
.tl-item:hover { background: var(--panel-2); }
.tl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #4a566e; margin-top: 6px; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(74,86,110,0.2);
}
.tl-dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(35,197,142,0.2); }
.tl-dot.warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(245,181,68,0.2); }
.tl-item b { color: #fff; font-family: var(--font-mono); font-size: 0.86rem; }
.tl-item small { display: block; color: var(--muted); font-size: 0.75rem; margin-top: 2px; }
.tl-item > div { color: var(--text-2); font-size: 0.88rem; }

.bar-list { display: flex; flex-direction: column; gap: 14px; margin: 22px 0 26px; }
.bar-row { display: grid; grid-template-columns: 170px 1fr 44px; gap: 14px; align-items: center; font-size: 0.88rem; color: var(--text-2); }
.bar-row .progress { height: 8px; }
.bar-row b { color: #fff; font-family: var(--font-mono); font-size: 0.85rem; text-align: right; }

.spark-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.spark {
  padding: 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.spark small { color: var(--muted); font-size: 0.75rem; }
.spark b { color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }

/* ---------- Integrations ---------- */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.integration {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 10px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  cursor: pointer;
}
.integration:hover { transform: translateY(-3px); border-color: var(--border-2); background: var(--panel-2); }
.integration i { font-size: 1.7rem; color: var(--brand-2); }
.integration span { font-size: 0.82rem; color: var(--text-2); font-weight: 500; }

/* ---------- Mini cards ---------- */
.mini-card { padding: 24px; }
.mini-card i { font-size: 1.5rem; color: var(--brand-2); margin-bottom: 14px; display: block; }
.mini-card h4 { margin-bottom: 8px; }
.mini-card p { font-size: 0.9rem; margin: 0; }

/* ---------- Pricing ---------- */
.pricing-grid { align-items: stretch; }
.pricing-card { padding: 32px; display: flex; flex-direction: column; position: relative; }
.pricing-card.featured {
  border-color: rgba(61, 125, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(61, 125, 255, 0.2), 0 30px 80px rgba(61, 125, 255, 0.15);
  transform: translateY(-8px);
}
.pricing-card .ribbon {
  position: absolute; top: -12px; right: 24px;
  padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.pricing-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px;
  font-family: var(--font-head);
}
.price .cur { color: var(--text-2); font-size: 1.3rem; }
.price .amt {
  font-size: 3rem; font-weight: 700;
  background: linear-gradient(180deg, #fff, #9fb4dd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price .per { color: var(--muted); font-size: 0.85rem; margin-left: 4px; }
.pricing-card .btn { margin-top: auto; }

/* ---------- Testimonials ---------- */
.testimonial-swiper { padding: 20px 4px 60px; }
.quote { padding: 32px; height: 100%; }
.quote > i { color: var(--brand-2); font-size: 1.4rem; margin-bottom: 16px; display: block; }
.quote p { color: #dfe6f3; font-size: 1.02rem; line-height: 1.7; }
.quote footer { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.quote footer b { color: #fff; font-size: 0.94rem; }
.quote footer span { color: var(--muted); font-size: 0.82rem; }
.swiper-pagination-bullet { background: var(--border-2); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--brand); }

/* ---------- News ---------- */
.news-card { display: flex; flex-direction: column; gap: 12px; }
.news-tag {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(124, 92, 255, 0.14); color: #b6a5ff;
  border: 1px solid rgba(124, 92, 255, 0.3);
}
.news-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.4; }
.news-card h3 a { color: #fff; }
.news-card h3 a:hover { color: var(--brand-2); }
.news-meta { color: var(--muted); font-size: 0.8rem; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }

/* ---------- Accordion ---------- */
.acc { display: flex; flex-direction: column; gap: 10px; }
.acc-item { border: 1px solid var(--border); border-radius: 12px; background: var(--panel); overflow: hidden; }
.acc-head {
  width: 100%; text-align: left; padding: 18px 22px;
  background: transparent; border: none; color: #fff;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background .2s ease;
}
.acc-head:hover { background: var(--panel-2); }
.acc-head i { transition: transform .3s ease; color: var(--brand-2); }
.acc-item.open .acc-head i { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body p { padding: 0 22px 18px; margin: 0; color: var(--text-2); font-size: 0.94rem; }
.acc-item.open .acc-body { max-height: 400px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 60px 50px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute; inset: -40% -10%;
  background: radial-gradient(circle at 50% 50%, rgba(61,125,255,0.28), transparent 60%);
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}
.cta-band h2 { position: relative; }
.cta-band p { position: relative; margin-left: auto; margin-right: auto; max-width: 60ch; }
.cta-actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 12px 0 22px; }
.cta-note { position: relative; color: var(--muted); font-size: 0.85rem; display: inline-flex; align-items: center; gap: 8px; }
.cta-note i { color: var(--ok); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.35));
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p { color: var(--text-2); font-size: 0.9rem; max-width: 34ch; }
.footer-col h5 {
  font-family: var(--font-head); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #fff; margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-2);
  transition: all .2s ease;
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.83rem;
}
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(61,125,255,0.06), transparent);
}
.page-hero h1 { margin-bottom: 16px; }
.breadcrumbs { color: var(--muted); font-size: 0.85rem; margin-bottom: 14px; }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { margin: 0 8px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.85rem; color: var(--text-2); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.94rem;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  background: rgba(61, 125, 255, 0.06);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-2); }
.field.checkbox input { width: auto; margin-top: 4px; }
.form-note { color: var(--muted); font-size: 0.82rem; }

/* ---------- Utility ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 6px 12px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--border);
  color: var(--text-2); font-size: 0.8rem;
}

.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric {
  padding: 22px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--border);
}
.metric b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem; font-weight: 700;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span { color: var(--text-2); font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > .split-copy, .split.reverse > .split-visual { order: initial; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .mock { transform: none; }
  .mock:hover { transform: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(5,7,14,0.98); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 14px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-actions .btn-ghost { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 24px; }
  .stat + .stat::before { display: none; }
  .metric-row { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head.row-head { align-items: flex-start; }
  .cta-band { padding: 42px 26px; }
  .hero { padding: 60px 0 40px; }
  .float-badge { font-size: 0.72rem; padding: 8px 12px; }
  .fb-1 { left: 0; }
  .fb-2 { right: 0; }
}
@media (max-width: 520px) {
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mini-grid { grid-template-columns: 1fr; }
  .file-list li { grid-template-columns: 26px 1fr 70px; }
  .file-list li .progress { display: none; }
}