/* ==========================================================
   Leadquora — Global Styles
   Brand: E-commerce CRM & Payment Processing Platform
   ========================================================== */

:root {
  /* Brand palette */
  --brand-ink: #0b0f1c;
  --brand-ink-2: #111733;
  --brand-primary: #4f46e5;
  --brand-primary-2: #7c3aed;
  --brand-accent: #10f5a0;
  --brand-accent-2: #00d1b2;
  --brand-amber: #f59e0b;
  --brand-rose: #f43f5e;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f7f8fc;
  --cloud: #eef1f8;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md:
    0 10px 25px -5px rgba(15, 23, 42, 0.08),
    0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 20px 60px -18px rgba(79, 70, 229, 0.55);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Type */
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;

  /* Container */
  --container: 1360px;
  --container-wide: 1320px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}
h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
}
h4 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: var(--container-wide);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
  position: relative;
  isolation: isolate;
}
.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-primary-2) 100%
  );
  color: #fff;
  box-shadow: 0 10px 25px -10px rgba(79, 70, 229, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(79, 70, 229, 0.65);
}

.btn-dark {
  background: var(--brand-ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--brand-ink-2);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--brand-accent);
  color: var(--brand-ink);
  box-shadow: 0 10px 25px -10px rgba(16, 245, 160, 0.55);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(16, 245, 160, 0.65);
}

.btn-outline {
  background: transparent;
  color: var(--slate-900);
  border: 1.5px solid var(--slate-300);
}
.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-lg {
  padding: 13px 32px;
  font-size: 1rem;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ==========================================================
   Top Announcement bar
   ========================================================== */
.announce {
  background: linear-gradient(90deg, #0b0f1c 0%, #1a1f3f 50%, #0b0f1c 100%);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 20px;
  font-weight: 500;
  position: relative;
}
.announce strong {
  color: var(--brand-accent);
  font-weight: 600;
}
.announce a {
  margin-left: 8px;
  text-decoration: underline;
  opacity: 0.85;
}

/* ==========================================================
   Navbar
   ========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 40px;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo-img {
  display: block;
  height: 38px;
  width: auto;
}
/* The CSS-drawn mark is no longer used (replaced by <img>), but keep the class
   defined as a no-op so any inline references don't break layout. */
.logo-mark { display: none; }
/* Footer logo renders on a dark background — invert to render white. */
.footer .logo-img { filter: brightness(0) invert(1); opacity: .95; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.nav-menu li {
  position: relative;
}
.nav-menu a {
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 8px 0;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-menu a:hover {
  color: var(--brand-primary);
}
.nav-menu a.active {
  color: var(--brand-primary);
}
.nav-menu a svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  padding: 20px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  min-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 100;
}
/* Invisible hover bridge so the cursor can travel from the nav link to the dropdown
   without losing :hover on the parent <li>. */
.nav-menu li:has(.nav-dropdown)::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
  pointer-events: none;
}
.nav-menu li:hover:has(.nav-dropdown)::after,
.nav-menu li:focus-within:has(.nav-dropdown)::after {
  pointer-events: auto;
}
.nav-menu li:hover .nav-dropdown,
.nav-menu li:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 10px;
  transition: background 0.2s;
}
.nav-dropdown-item:hover {
  background: var(--slate-50);
}
.nav-dropdown-item .ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.12),
    rgba(124, 58, 237, 0.12)
  );
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 9px;
}
.nav-dropdown-item .ico svg {
  width: 100%;
  height: 100%;
  opacity: 1;
  display: block;
}
.nav-dropdown-item .txt {
  display: block;
}
.nav-dropdown-item .txt strong {
  display: block;
  color: var(--slate-900);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.nav-dropdown-item .txt span {
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.4;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--slate-100);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--slate-900);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--slate-900);
  left: 0;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

@media (max-width: 980px) {
  .nav-menu,
  .nav-cta .btn:not(.btn-primary) {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  z-index: 200;
  padding: 28px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-drawer.open {
  right: 0;
}
.mobile-drawer .close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 60px 0 30px;
}
.mobile-drawer ul a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  color: var(--slate-800);
  font-weight: 500;
  border-bottom: 1px solid var(--slate-100);
}
.mobile-drawer .btn {
  width: 100%;
  margin-bottom: 10px;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 28, 0.5);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  background: var(--off-white);
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(79, 70, 229, 0.18) 0%,
    transparent 70%
  );
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  top: 100px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(16, 245, 160, 0.16) 0%,
    transparent 70%
  );
  z-index: 0;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse at top,
    rgba(0, 0, 0, 1) 0%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at top,
    rgba(0, 0, 0, 1) 0%,
    transparent 70%
  );
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-inner.single-col {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--slate-200);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--brand-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-accent);
}

.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}
.hero h1 .accent {
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-primary-2) 50%,
    var(--brand-accent-2)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--slate-600);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta .item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--slate-900);
  font-weight: 700;
}
.hero-meta .item span {
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Hero mockup */
.hero-visual {
  position: relative;
  perspective: 1500px;
}
.mockup {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(4deg);
  transform-style: preserve-3d;
  position: relative;
}
.mockup-bar {
  background: #f1f5f9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--slate-200);
}
.mockup-bar .dots {
  display: flex;
  gap: 6px;
}
.mockup-bar .dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fbd5b2;
}
.mockup-bar .dots span:nth-child(1) {
  background: #f87171;
}
.mockup-bar .dots span:nth-child(2) {
  background: #fbbf24;
}
.mockup-bar .dots span:nth-child(3) {
  background: #34d399;
}
.mockup-bar .url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-left: 12px;
}
.mockup-body {
  padding: 24px;
}

.dashboard-mini {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.stat-card {
  background: linear-gradient(135deg, #f8fafc, #fff);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
}
.stat-card .label {
  font-size: 0.72rem;
  color: var(--slate-500);
  font-weight: 500;
  margin-bottom: 4px;
}
.stat-card .value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-900);
}
.stat-card .delta {
  font-size: 0.7rem;
  color: #10b981;
  font-weight: 600;
}
.stat-card .delta.neg {
  color: #ef4444;
}

.chart-area {
  grid-column: 1/-1;
  background: linear-gradient(
    180deg,
    rgba(79, 70, 229, 0.08),
    rgba(79, 70, 229, 0)
  );
  height: 140px;
  border-radius: 12px;
  position: relative;
  padding: 14px;
  overflow: hidden;
}
.chart-area svg {
  width: 100%;
  height: 100%;
}

.tx-list {
  grid-column: 1/-1;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  overflow: hidden;
}
.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.82rem;
}
.tx-row:last-child {
  border-bottom: none;
}
.tx-row .label {
  font-weight: 500;
  color: var(--slate-800);
  min-width: 200px;
}
.tx-row .amt {
  color: var(--brand-primary);
  font-weight: 600;
  font-family: var(--font-display);
}
.tx-row .status {
  font-size: 0.66rem;
  padding: 3px 9px;
  border-radius: 99px;
  background: #d1fae5;
  color: #065f46;
  font-weight: 600;
}

/* Floating accents on hero */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.float-card .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-primary-2)
  );
  color: #fff;
  padding: 9px;
  flex-shrink: 0;
}
.float-card .ico svg {
  width: 100%;
  height: 100%;
  display: block;
}
.float-card.one {
  top: -24px;
  left: -30px;
}
.float-card.two {
  bottom: 40px;
  left: -40px;
  animation-delay: -2s;
}
.float-card.three {
  top: 40%;
  right: -30px;
  animation-delay: -4s;
}
.float-card .ico.green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.float-card .ico.amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.float-card strong {
  display: block;
  color: var(--slate-900);
  font-weight: 700;
  font-size: 0.95rem;
}
.float-card span {
  color: var(--slate-500);
  font-size: 0.75rem;
}

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

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
}

/* ==========================================================
   Logo bar
   ========================================================== */
.logo-bar {
  padding: 50px 0 40px;
  background: var(--white);
  border-top: 1px solid var(--slate-100);
}
.logo-bar p {
  text-align: center;
  color: var(--slate-500);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 30px;
  font-weight: 600;
}
.logo-marquee {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  opacity: 0.65;
}
.logo-marquee .brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--slate-600);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-marquee .brand .m {
  width: 22px;
  height: 22px;
  background: var(--slate-700);
  border-radius: 6px;
  display: inline-block;
}
.logo-marquee .brand.r1 .m {
  background: var(--brand-rose);
  border-radius: 50%;
}
.logo-marquee .brand.r2 .m {
  background: var(--brand-amber);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.logo-marquee .brand.r3 .m {
  background: var(--brand-primary);
  border-radius: 3px;
  transform: rotate(45deg);
}
.logo-marquee .brand.r4 .m {
  background: var(--slate-900);
  border-radius: 50% 0 50% 0;
}
.logo-marquee .brand.r5 .m {
  background: var(--brand-accent-2);
  border-radius: 6px 6px 0 6px;
}
.logo-marquee .brand.r6 .m {
  background: var(--brand-primary-2);
}

/* ==========================================================
   Sections & Utility
   ========================================================== */
section {
  position: relative;
}
.section {
  padding: 100px 0;
}
.section-sm {
  padding: 70px 0;
}
.section-dark {
  background: var(--brand-ink);
  color: #cbd5e1;
}
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 910px;
  margin: 0 auto 64px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(79, 70, 229, 0.08);
  padding: 7px 14px;
  border-radius: 99px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin-bottom: 14px;
}
.section-head p {
  color: var(--slate-600);
  font-size: 1.08rem;
}
.section-dark .section-head p {
  color: #94a3b8;
}
.section-dark .eyebrow {
  background: rgba(16, 245, 160, 0.1);
  color: var(--brand-accent);
}

/* ==========================================================
   Feature grid
   ========================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: #fff;
  padding: 34px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 20px 40px -20px rgba(79, 70, 229, 0.25);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-primary-2)
  );
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 8px 16px -6px rgba(79, 70, 229, 0.4);
}
.feature-icon {
  padding: 14px;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.feature-icon.green {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 16px -6px rgba(16, 185, 129, 0.4);
}
.feature-icon.amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 16px -6px rgba(245, 158, 11, 0.4);
}
.feature-icon.rose {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 8px 16px -6px rgba(244, 63, 94, 0.4);
}
.feature-icon.teal {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 8px 16px -6px rgba(6, 182, 212, 0.4);
}
.feature-icon.violet {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 8px 16px -6px rgba(139, 92, 246, 0.4);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}
.feature-link {
  margin-top: 18px;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.feature-link:hover {
  gap: 10px;
  transition: gap 0.2s;
}

/* ==========================================================
   Stats band
   ========================================================== */
.stats-band {
  background: linear-gradient(
    135deg,
    var(--brand-ink) 0%,
    var(--brand-ink-2) 100%
  );
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.25), transparent 60%);
  transform: translateX(-50%);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
@media (max-width: 800px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
.stat-big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 30%, var(--brand-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  color: #cbd5e1;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

/* ==========================================================
   Alternating feature rows
   ========================================================== */
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.feat-row:last-child {
  margin-bottom: 0;
}
.feat-row.reverse .feat-content {
  order: 2;
}
.feat-row.reverse .feat-visual {
  order: 1;
}
@media (max-width: 900px) {
  .feat-row,
  .feat-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  .feat-row.reverse .feat-content {
    order: 1;
  }
  .feat-row.reverse .feat-visual {
    order: 2;
  }
}
.feat-content h2 {
  margin-bottom: 18px;
}
.feat-content p.lead {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.feat-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.feat-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.98rem;
}
.feat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-primary-2)
  );
  border-radius: 6px;
}
.feat-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.feat-visual {
  position: relative;
}
.feat-mockup {
  background: linear-gradient(135deg, #f8fafc, #fff);
  border-radius: var(--r-lg);
  padding: 30px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.feat-mockup::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12), transparent 70%);
}

/* visual blocks */
.mock-tile {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.mock-tile .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-primary-2)
  );
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
}
.mock-tile .icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mock-tile .txt {
  flex: 1;
  min-width: 0;
}
.mock-tile .txt strong {
  display: block;
  font-size: 0.92rem;
  color: var(--slate-900);
}
.mock-tile .txt span {
  font-size: 0.78rem;
  color: var(--slate-500);
}
.mock-tile .bar {
  width: 80px;
  height: 6px;
  background: var(--slate-100);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.mock-tile .bar::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 80%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: 99px;
}
.mock-tile.g2 .icon {
  background: linear-gradient(135deg, #10b981, #059669);
}
.mock-tile.g3 .icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.mock-tile.g4 .icon {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
}
.mock-tile.g5 .icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* ==========================================================
   Integrations / Logos
   ========================================================== */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .integration-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 500px) {
  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.int-tile {
  background: #fff;
  border: 1px solid var(--slate-200);
  padding: 22px 16px;
  border-radius: var(--r-md);
  text-align: center;
  transition: all 0.3s;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.int-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}
.int-tile .logo-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
}
.int-tile .name {
  font-size: 0.82rem;
  color: var(--slate-700);
  font-weight: 500;
}

/* ==========================================================
   Testimonials
   ========================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
.testimonial {
  background: #fff;
  padding: 32px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial .stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.testimonial blockquote {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin: 0 0 24px;
  font-style: normal;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-primary-2)
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-user strong {
  display: block;
  color: var(--slate-900);
  font-size: 0.95rem;
}
.testimonial-user span {
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* ==========================================================
   Pricing
   ========================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  background: #fff;
  padding: 40px 34px;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}
.price-card.popular {
  background: linear-gradient(180deg, #111733 0%, #0b0f1c 100%);
  color: #cbd5e1;
  border-color: var(--brand-primary);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -20px rgba(79, 70, 229, 0.4);
}
.price-card.popular h3 {
  color: #fff;
}
.price-card.popular .price .n {
  color: #fff;
}
.price-card.popular .price .m {
  color: #94a3b8;
}
.price-card.popular .features li {
  color: #cbd5e1;
}
.price-card.popular .features li::before {
  background: var(--brand-accent);
}
.price-card.popular .features li::after {
  border-color: var(--brand-ink);
}

.price-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    var(--brand-accent),
    var(--brand-accent-2)
  );
  color: var(--brand-ink);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.price-card .tagline {
  color: var(--slate-500);
  font-size: 0.88rem;
  margin-bottom: 28px;
}
.price-card.popular .tagline {
  color: #94a3b8;
}

.price {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price .c {
  font-size: 1.3rem;
  color: var(--slate-500);
  font-weight: 500;
}
.price .n {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1;
}
.price .m {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex-grow: 1;
}
.features li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--slate-700);
  font-size: 0.92rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--brand-primary);
  border-radius: 50%;
}
.features li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.price-card .btn {
  width: 100%;
}

/* ==========================================================
   CTA Section
   ========================================================== */
.cta-wrap {
  background: linear-gradient(
    135deg,
    var(--brand-primary) 0%,
    var(--brand-primary-2) 100%
  );
  border-radius: var(--r-xl);
  padding: 80px 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-wrap::before,
.cta-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.cta-wrap::before {
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(16, 245, 160, 0.25),
    transparent 70%
  );
}
.cta-wrap::after {
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12),
    transparent 70%
  );
}
.cta-wrap > * {
  position: relative;
  z-index: 2;
}
.cta-wrap h2 {
  color: #fff;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.cta-wrap p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-wrap .btn-accent {
  font-size: 1.05rem;
  padding: 13px 36px;
}

@media (max-width: 700px) {
  .cta-wrap {
    padding: 60px 28px;
  }
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--brand-ink);
  color: #94a3b8;
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li {
  margin-bottom: 10px;
}
.footer ul a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer ul a:hover {
  color: #fff;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin-bottom: 20px;
  max-width: 280px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all 0.2s;
}
.socials a:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}
.socials svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
}
.footer-bottom .policies a {
  margin-left: 20px;
  color: #94a3b8;
}
.footer-bottom .policies a:hover {
  color: #fff;
}

/* ==========================================================
   Page Header
   ========================================================== */
.page-header {
  background: linear-gradient(180deg, var(--off-white) 0%, #fff 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 0%,
    transparent 70%
  );
}
.page-header .inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 14px;
}
.page-header p {
  font-size: 1.1rem;
  color: var(--slate-600);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-500);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.breadcrumb a:hover {
  color: var(--brand-primary);
}
.breadcrumb .sep {
  opacity: 0.5;
}

/* ==========================================================
   Contact form
   ========================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--slate-900);
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.form-field textarea {
  min-height: 140px;
  resize: vertical;
}
.form-field {
  margin-bottom: 16px;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}
.faq-q {
  padding: 22px 24px;
  font-weight: 600;
  color: var(--slate-900);
  font-size: 1rem;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}
.faq-q .chev {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--slate-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--slate-700);
}
.faq-item.open .faq-q .chev {
  transform: rotate(45deg);
  background: var(--brand-primary);
  color: #fff;
}
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}
.faq-item.open .faq-a {
  padding: 0 24px 24px;
  max-height: 500px;
}

/* ==========================================================
   Misc / animations
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding: 30px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--brand-primary),
    var(--brand-primary-2)
  );
}
.tl-item {
  padding-left: 60px;
  position: relative;
  margin-bottom: 32px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 3px solid var(--brand-primary);
  border-radius: 50%;
}
.tl-item h4 {
  font-family: var(--font-display);
  color: var(--slate-900);
  margin-bottom: 4px;
  font-size: 1.1rem;
}
.tl-item .year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.tl-item p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin: 0;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
.team-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  text-align: center;
  transition: all 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-primary-2)
  );
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.8rem;
}
.team-card h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
  color: var(--slate-900);
}
.team-card .role {
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-card .bio {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Value cards (About) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 800px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}
.value-card {
  background: linear-gradient(135deg, #f8fafc, #fff);
  padding: 30px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
}
.value-card .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
  opacity: 0.3;
}
.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.value-card p {
  color: var(--slate-600);
  margin: 0;
  font-size: 0.94rem;
}

/* Contact card */
.contact-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card .icn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-primary-2)
  );
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px;
}
.contact-card .icn svg {
  width: 100%;
  height: 100%;
  display: block;
}
.contact-card h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.contact-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.92rem;
}
.contact-card strong {
  color: var(--slate-900);
  font-size: 1rem;
  display: block;
  margin-top: 4px;
}

/* Tab nav (features) */
.tabs {
  display: flex;
  gap: 8px;
  border-radius: 12px;
  background: var(--slate-100);
  padding: 6px;
  margin: 0 auto 50px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.tab {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--slate-600);
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}
.tab.active {
  background: #fff;
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.tab:hover:not(.active) {
  color: var(--slate-900);
}

/* Comparison */
.compare-wrap {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.compare-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.compare-wrap th,
.compare-wrap td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.92rem;
}
.compare-wrap th {
  background: var(--slate-50);
  font-weight: 600;
  color: var(--slate-900);
  font-size: 0.9rem;
}
.compare-wrap td.check {
  color: #10b981;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  width: 100px;
}
.compare-wrap td.cross {
  color: #cbd5e1;
  font-size: 1.15rem;
  text-align: center;
  width: 100px;
}
.compare-wrap td.feat {
  font-weight: 500;
  color: var(--slate-800);
}
.compare-wrap tr:last-child td {
  border-bottom: none;
}
.compare-wrap th.us {
  color: var(--brand-primary);
  text-align: center;
}

/* Utilities */
.text-center {
  text-align: center;
}
.mt-40 {
  margin-top: 40px;
}
.mt-60 {
  margin-top: 60px;
}
.mb-40 {
  margin-bottom: 40px;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================
   Legal / Prose pages
   ========================================================== */
.prose {
  max-width: 820px;
  margin: 0 auto;
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.75;
}
.prose h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  color: var(--slate-900);
}
.prose h3 {
  font-size: 1.2rem;
  margin: 30px 0 10px;
  color: var(--slate-900);
}
.prose p {
  margin-bottom: 16px;
}
.prose ul,
.prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.prose li {
  margin-bottom: 6px;
}
.prose a {
  color: var(--brand-primary);
  text-decoration: underline;
}
.prose .updated {
  display: inline-block;
  background: var(--slate-100);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  color: var(--slate-600);
  margin-bottom: 24px;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
.blog-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card .thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(
    135deg,
    var(--brand-primary),
    var(--brand-primary-2)
  );
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  padding: 24px;
  text-align: center;
}
.blog-card .thumb.g2 {
  background: linear-gradient(135deg, #10b981, #059669);
}
.blog-card .thumb.g3 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.blog-card .thumb.g4 {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
}
.blog-card .thumb.g5 {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}
.blog-card .thumb.g6 {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}
.blog-card .body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card .meta {
  font-size: 0.78rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-weight: 600;
}
.blog-card .meta .cat {
  color: var(--brand-primary);
}
.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card p {
  color: var(--slate-600);
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.blog-card .read {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: auto;
}

/* Job cards */
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  transition: all 0.2s;
  gap: 20px;
}
.job-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}
.job-card .info {
  flex: 1;
}
.job-card h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  color: var(--slate-900);
  font-size: 1.05rem;
}
.job-card .job-meta {
  font-size: 0.86rem;
  color: var(--slate-500);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.job-card .job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.job-card .dept {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--brand-primary);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* Status indicators */
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  margin-bottom: 10px;
}
.status-row .dot-s {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
.status-row .dot-s.ok {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}
.status-row .dot-s.warn {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}
.status-row .dot-s.err {
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}
.status-row .name {
  font-weight: 500;
  color: var(--slate-900);
}
.status-row .result {
  font-size: 0.88rem;
  color: var(--slate-500);
}

/* Auth form */
.auth-wrap {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}
.auth-wrap h2 {
  text-align: center;
  margin-bottom: 8px;
}
.auth-wrap > p {
  text-align: center;
  color: var(--slate-500);
  margin-bottom: 28px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-400);
  font-size: 0.85rem;
  margin: 20px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}
.btn-social {
  width: 100%;
  background: #fff;
  color: var(--slate-900);
  border: 1.5px solid var(--slate-200);
  padding: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  margin-bottom: 10px;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.btn-social:hover {
  border-color: var(--brand-primary);
}

/* Changelog items */
.change-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--slate-200);
}
@media (max-width: 700px) {
  .change-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.change-item:last-child {
  border-bottom: none;
}
.change-item .version {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 1.1rem;
}
.change-item .date {
  color: var(--slate-500);
  font-size: 0.85rem;
  display: block;
  margin-top: 4px;
}
.change-item h4 {
  color: var(--slate-900);
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.change-item ul {
  padding-left: 22px;
  color: var(--slate-700);
}
.change-item li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.change-item .tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 8px;
  margin-bottom: 10px;
}
.change-item .tag.new {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}
.change-item .tag.imp {
  background: rgba(79, 70, 229, 0.14);
  color: var(--brand-primary);
}
.change-item .tag.fix {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}

/* API docs snippets */
.code-block {
  background: #0b0f1c;
  color: #e2e8f0;
  padding: 22px 26px;
  border-radius: 12px;
  font-family: "Menlo", "Monaco", monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-x: auto;
  margin-bottom: 20px;
  border: 1px solid #1e293b;
}
.code-block .comment {
  color: #64748b;
}
.code-block .key {
  color: #7dd3fc;
}
.code-block .str {
  color: #86efac;
}
.code-block .num {
  color: #fcd34d;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s;
}
