/* ==========================================================================
   VoraCRM — Design System
   "Dispatch Console" visual language: deep navy control-room base,
   amber renewal/urgency accent, mint completion accent, monospace
   ticket/data type for operational authenticity.
   ========================================================================== */

:root {
  /* Color tokens - Light Mode defaults */
  --ink: #0F172A;
  /* slate-900 */
  --navy: #1E293B;
  /* slate-800 */
  --navy-soft: #334155;
  /* slate-700 */
  --indigo: #4F46E5;
  /* indigo-600 */
  --indigo-2: #6366F1;
  /* indigo-500 */

  /* Brand primary color overrides */
  --amber: #4F46E5;
  --amber-2: #6366F1;

  --mint: #059669;
  /* emerald-600 */
  --mint-2: #10B981;
  /* emerald-500 */
  --paper: #F8FAFC;
  /* slate-50 (perfect off-white) */
  --paper-dim: #F1F5F9;
  /* slate-100 */
  --white: #FFFFFF;
  --ink-soft: #475569;
  /* slate-600 */
  --line: #E2E8F0;
  /* slate-200 */
  --line-dark: rgba(15, 23, 42, 0.08);
  --header-bg: rgba(255, 255, 255, 0.82);

  /* Typography */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Shape & motion */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-bento: 16px;
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.03), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
  --shadow-pop: 0 1px 3px rgba(15, 23, 42, 0.04), 0 16px 36px -12px rgba(15, 23, 42, 0.2);
  --shadow-bento: 0 1px 3px rgba(15, 23, 42, 0.02), 0 12px 24px -10px rgba(15, 23, 42, 0.08);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Dark Mode Theme overrides */
[data-theme="dark"] {
  --ink: #F8FAFC;
  /* slate-50 */
  --navy: #0F172A;
  /* slate-900 */
  --navy-soft: #1E293B;
  /* slate-800 */
  --paper: #0F172A;
  /* slate-900 */
  --paper-dim: #1E293B;
  /* slate-800 */
  --white: #1E293B;
  /* slate-800 */
  --ink-soft: #94A3B8;
  /* slate-400 */
  --line: #334155;
  /* slate-700 */
  --line-dark: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(15, 23, 42, 0.82);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  --shadow-pop: 0 1px 3px rgba(0, 0, 0, 0.4), 0 16px 36px -12px rgba(0, 0, 0, 0.6);
  --shadow-bento: 0 1px 3px rgba(0, 0, 0, 0.3), 0 12px 24px -10px rgba(0, 0, 0, 0.5);
}

/* Theme change transitions */
body,
.site-header,
.site-footer,
.card-tile,
.bento-card,
.industry-card,
.price-card,
.testi-card,
.form-control,
.form-select,
.accordion-item,
.accordion-button {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.25s var(--ease);
}

/* ---------- Bento Grid UI Layout ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-bento);
  padding: 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-bento);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  border-color: rgba(79, 70, 229, 0.3);
}

[data-theme="dark"] .bento-card:hover {
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
  border-color: rgba(99, 102, 241, 0.4);
}

.bento-span-12 {
  grid-column: span 12;
}

.bento-span-8 {
  grid-column: span 8;
}

.bento-span-7 {
  grid-column: span 7;
}

.bento-span-6 {
  grid-column: span 6;
}

.bento-span-5 {
  grid-column: span 5;
}

.bento-span-4 {
  grid-column: span 4;
}

.bento-span-3 {
  grid-column: span 3;
}

@media (max-width: 991.98px) {

  .bento-span-8,
  .bento-span-7,
  .bento-span-6,
  .bento-span-5,
  .bento-span-4,
  .bento-span-3 {
    grid-column: span 12;
  }
}

@media (max-width: 767.98px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-span-12,
  .bento-span-8,
  .bento-span-7,
  .bento-span-6,
  .bento-span-5,
  .bento-span-4,
  .bento-span-3 {
    grid-column: span 1;
  }
}

/* ---------- Skeleton Loader Effect ---------- */
.skeleton-loader {
  display: inline-block;
  height: 1em;
  position: relative;
  overflow: hidden;
  background-color: var(--line);
  border-radius: 4px;
  width: 100%;
}

.skeleton-loader::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0.2) 20%,
      rgba(255, 255, 255, 0.5) 60%,
      rgba(255, 255, 255, 0));
  animation: shimmer 1.6s infinite;
}

[data-theme="dark"] .skeleton-loader::after {
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0.05) 20%,
      rgba(255, 255, 255, 0.15) 60%,
      rgba(255, 255, 255, 0));
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  max-width: 1280px;
}

:focus-visible {
  outline: 2.5px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utility: eyebrow / mono labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.18);
}

.eyebrow.on-dark {
  color: var(--indigo-2);
}

.section-pad {
  padding: 96px 0;
}

@media (max-width:767.98px) {
  .section-pad {
    padding: 64px 0;
  }
}

.text-balance {
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-amber,
.btn-primary {
  background: linear-gradient(135deg, var(--indigo-2), var(--indigo));
  color: var(--white) !important;
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, 0.4);
}

.btn-amber:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -8px rgba(79, 70, 229, 0.5);
  color: var(--white) !important;
}

.btn-outline-light {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--paper-dim);
  color: var(--indigo);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn-indigo {
  background: var(--indigo);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(37, 65, 178, 0.55);
}

.btn-indigo:hover {
  background: var(--indigo-2);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}

.site-header .navbar {
  padding: 0.65rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--ink);
  margin-left: 10px;
}

.brand-logo .logo-img {
  height: 38px;
  width: auto;
  max-width: 100%;
  display: block;
}

.brand-logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--amber), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  box-shadow: 0 6px 14px -6px rgba(79, 70, 229, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--indigo);
  background: rgba(79, 70, 229, 0.06);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

/* Logo dark mode visibility adjustment */
[data-theme="dark"] .brand-logo .logo-img {
  filter: brightness(0) invert(1);
}

/* Custom CSS-only morphing hamburger toggler */
.navbar-toggler {
  border: none !important;
  padding: 8px;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-toggler-icon {
  background-image: none !important;
  /* Remove the default SVG */
  width: 22px;
  height: 2px;
  background-color: var(--ink) !important;
  position: relative;
  display: inline-block;
  transition: background-color 0.22s var(--ease);
}

[data-theme="dark"] .navbar-toggler-icon {
  background-color: var(--white) !important;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  width: 22px;
  height: 2px;
  background-color: var(--ink) !important;
  position: absolute;
  left: 0;
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}

[data-theme="dark"] .navbar-toggler-icon::before,
[data-theme="dark"] .navbar-toggler-icon::after {
  background-color: var(--white) !important;
}

/* Position lines in closed state */
.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

/* Morph to 'X' when expanded (using aria-expanded="true" to avoid incorrect state on load) */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent !important;
  /* Hide middle line */
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header .btn-outline-light {
  border-color: var(--line) !important;
  color: var(--ink-soft) !important;
  background: transparent !important;
}

.site-header .btn-outline-light:hover {
  background: var(--paper-dim) !important;
  color: var(--ink) !important;
}

@media (max-width: 991.98px) {

  /* Position the collapse menu absolutely to overlay content instead of pushing it down */
  .site-header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1.5px solid var(--line);
    padding: 24px;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.12);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 999;
  }

  [data-theme="dark"] .site-header .navbar-collapse {
    background: rgba(15, 23, 42, 0.96);
    border-bottom-color: var(--line-dark);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
  }

  /* Make nav-links full-width and well-spaced */
  .site-header .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 10px 0;
    gap: 8px;
  }

  .site-header .nav-links a {
    width: 100%;
    padding: 10px 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink) !important;
    border-radius: var(--radius-sm);
    transition: background 0.22s var(--ease), color 0.22s var(--ease);
  }

  [data-theme="dark"] .site-header .nav-links a {
    color: var(--white) !important;
  }

  .site-header .nav-links a:hover,
  .site-header .nav-links a:focus {
    background: rgba(79, 70, 229, 0.06);
    color: var(--indigo) !important;
  }

  /* Solutions Dropdown mobile adjustment */
  .site-header .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: rgba(79, 70, 229, 0.03) !important;
    margin-top: 8px !important;
    padding-left: 12px !important;
    width: 100%;
    display: none;
    /* Managed by Bootstrap toggle class .show */
  }

  .site-header .dropdown-menu.show {
    display: block !important;
  }

  .site-header .dropdown-item {
    font-size: 0.95rem;
    padding: 8px 16px;
    color: var(--ink-soft) !important;
  }

  [data-theme="dark"] .site-header .dropdown-item {
    color: rgba(248, 250, 252, 0.7) !important;
  }

  /* Mobile CTA section spacing and layout using Grid */
  .site-header .header-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    margin-top: 14px;
    width: 100%;
  }

  [data-theme="dark"] .site-header .header-cta {
    border-top-color: var(--line-dark);
  }

  .site-header .header-cta .lang-pill {
    grid-column: 1 / 2;
    text-align: center;
    justify-content: center;
    padding: 10px 14px;
  }

  .site-header .header-cta #theme-toggle {
    grid-column: 2 / 3;
    width: 100%;
    padding: 10px;
  }

  .site-header .header-cta a[href*="login"] {
    grid-column: 1 / 3;
    width: 100%;
    padding: 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
  }

  .site-header .header-cta a[href*="register"] {
    grid-column: 1 / 3;
    width: 100%;
    padding: 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 580px at 80% 0%, rgba(79, 70, 229, 0.09), transparent 60%),
    radial-gradient(800px 480px at -10% 100%, rgba(16, 185, 129, 0.05), transparent 60%),
    linear-gradient(180deg, #FFFFFF, var(--paper) 100%);
  color: var(--ink);
  padding: 120px 0 140px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

[data-theme="dark"] .hero {
  background:
    radial-gradient(1100px 580px at 80% 0%, rgba(99, 102, 241, 0.12), transparent 60%),
    radial-gradient(800px 480px at -10% 100%, rgba(16, 185, 129, 0.03), transparent 60%),
    linear-gradient(180deg, var(--navy), var(--paper) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(900px 600px at 40% 30%, black, transparent 75%);
  pointer-events: none;
}

[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(rgba(248, 250, 252, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, 0.015) 1px, transparent 1px);
}

.hero-text-col {
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--indigo);
  background: rgba(79, 70, 229, 0.07);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.06);
}

[data-theme="dark"] .hero-badge {
  color: var(--indigo-2);
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
}

h1.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta-wrapper {
  margin-bottom: 40px;
}

.hero-cta-wrapper .btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.hero-trust {
  gap: 16px;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-trust i {
  font-size: 0.95rem;
}

.text-mint {
  color: var(--mint-2) !important;
}

/* Image Scene & Floating Cards */
.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-scene-wrapper {
  position: relative;
  width: 100%;
  max-width: 660px;
  padding: 20px;
  z-index: 5;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.16);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

[data-theme="dark"] .hero-image-wrapper {
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.7);
}

.hero-image-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 65px -20px rgba(15, 23, 42, 0.22);
}

[data-theme="dark"] .hero-image-wrapper:hover {
  box-shadow: 0 35px 75px -20px rgba(0, 0, 0, 0.85);
}

/* Custom Mockup Browser Header */
.mockup-header {
  background: var(--paper-dim);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.mockup-header .dots {
  display: flex;
  gap: 6px;
}

.mockup-header .dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.18);
}

[data-theme="dark"] .mockup-header .dots span {
  background: rgba(248, 250, 252, 0.18);
}

.mockup-header .url-bar {
  flex-grow: 1;
  background: var(--white);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
  padding: 3px 12px;
  text-align: center;
  max-width: 240px;
  margin: 0 auto;
  border: 1px solid var(--line);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom-left-radius: calc(var(--radius-lg) - 1px);
  border-bottom-right-radius: calc(var(--radius-lg) - 1px);
}

/* Floating UI Cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  z-index: 20;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

[data-theme="dark"] .floating-card {
  background: rgba(30, 41, 59, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px -12px rgba(0, 0, 0, 0.5);
}

.floating-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px -8px rgba(15, 23, 42, 0.18);
}

[data-theme="dark"] .floating-card:hover {
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.7);
}

.floating-card .card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.floating-card .card-details {
  display: flex;
  flex-direction: column;
}

.floating-card .card-lbl {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.floating-card .card-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

/* Title highlighted words override */
.hero-title .highlight-word {
  color: var(--indigo) !important;
  -webkit-text-fill-color: var(--indigo) !important;
}

[data-theme="dark"] .hero-title .highlight-word {
  color: var(--indigo-2) !important;
  -webkit-text-fill-color: var(--indigo-2) !important;
}

/* 3x2 Feature Grid on Hero */
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  width: 100%;
}

.hero-feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

[data-theme="dark"] .hero-feature-card {
  background: rgba(30, 41, 59, 0.4);
  border-color: var(--line-dark);
}

.hero-feature-card:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-color: rgba(79, 70, 229, 0.2);
}

[data-theme="dark"] .hero-feature-card:hover {
  background: var(--navy-soft);
  border-color: rgba(99, 102, 241, 0.3);
}

.feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.icon-blue { background: rgba(79, 70, 229, 0.1); color: var(--indigo); }
.icon-green { background: rgba(5, 150, 105, 0.1); color: var(--mint); }
.icon-yellow { background: rgba(245, 158, 11, 0.1); color: #D97706; }
.icon-red { background: rgba(239, 68, 68, 0.1); color: #DC2626; }
.icon-lightblue { background: rgba(14, 165, 233, 0.1); color: #0284C7; }
.icon-purple { background: rgba(139, 92, 246, 0.1); color: #7C3AED; }

.feat-info {
  display: flex;
  flex-direction: column;
}

.feat-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

/* Background decorations */
.dashed-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  border: 1.5px dashed rgba(79, 70, 229, 0.12);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

[data-theme="dark"] .dashed-circle {
  border-color: rgba(99, 102, 241, 0.12);
}

/* 3D Box Mockup Wrapper */
.hero-box-wrapper {
  position: absolute;
  bottom: -35px;
  left: -20px;
  width: 210px;
  z-index: 20;
  filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.25));
  animation: float-slow 6s ease-in-out infinite alternate;
}

.hero-box-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  z-index: 25;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
  animation: float-slow 5s ease-in-out infinite alternate;
}

/* Users badge (top left) */
.badge-users {
  top: -20px;
  left: 10px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--indigo-2), var(--indigo));
  font-size: 1.15rem;
}

/* Check badge (bottom center/left) */
.badge-check {
  bottom: -45px;
  left: 160px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #10B981, #059669);
  font-size: 1.15rem;
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
  animation-delay: 1.5s;
}

@keyframes float-slow {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-12px);
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding: 80px 0 100px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-wrapper,
  .hero-trust {
    justify-content: center;
  }

  .hero-scene-wrapper {
    margin: 0 auto;
    max-width: 460px;
  }

  .hero-box-wrapper {
    width: 150px;
    bottom: -20px;
    left: 0;
  }

  .badge-users {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    top: -10px;
  }

  .badge-check {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
    bottom: -25px;
    left: 120px;
  }

  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

  .hero-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-box-wrapper,
  .floating-badge,
  .dashed-circle,
  .floating-card {
    display: none !important;
    /* Hide floating graphical mockups on tiny screens to avoid layout overlap */
  }
}

/* Signature element: live ticket / renewal feed console */
.feed-console {
  background: linear-gradient(180deg, rgba(26, 39, 64, 0.9), rgba(18, 27, 46, 0.9));
  border: 1px solid rgba(244, 246, 250, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.feed-console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-dark);
}

.feed-console__bar .dots {
  display: flex;
  gap: 6px;
}

.feed-console__bar .dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(244, 246, 250, 0.18);
}

.feed-console__title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(244, 246, 250, 0.6);
  letter-spacing: 0.06em;
}

.feed-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--mint-2);
}

.feed-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-2);
  animation: pulse-dot 1.6s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

.feed-list {
  padding: 10px;
  max-height: 330px;
  overflow: hidden;
}

.feed-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 10px;
  animation: feed-in .6s var(--ease) backwards;
}

.feed-row+.feed-row {
  margin-top: 2px;
}

.feed-row:hover {
  background: rgba(244, 246, 250, 0.04);
}

@keyframes feed-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feed-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(244, 246, 250, 0.4);
  width: 78px;
  flex-shrink: 0;
}

.feed-body {
  flex: 1;
  min-width: 0;
}

.feed-body strong {
  display: block;
  font-size: 0.87rem;
  color: var(--paper);
  font-weight: 600;
}

.feed-body small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(244, 246, 250, 0.45);
}

.feed-pill {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.feed-pill.due {
  background: rgba(244, 166, 35, 0.16);
  color: var(--amber-2);
}

.feed-pill.done {
  background: rgba(31, 174, 142, 0.16);
  color: var(--mint-2);
}

.feed-pill.new {
  background: rgba(58, 91, 224, 0.2);
  color: #9DB2FF;
}

.feed-console__foot {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(244, 246, 250, 0.45);
}

/* Mini feed reused elsewhere (light bg) */
.feed-console.on-light {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}

.feed-console.on-light .feed-console__bar {
  border-color: var(--line);
}

.feed-console.on-light .feed-console__title {
  color: var(--ink-soft);
}

.feed-console.on-light .feed-id {
  color: #9AA5B8;
}

.feed-console.on-light .feed-body strong {
  color: var(--ink);
}

.feed-console.on-light .feed-body small {
  color: #8A93A6;
}

.feed-console.on-light .feed-row:hover {
  background: var(--paper);
}

.feed-console.on-light .feed-console__foot {
  border-color: var(--line);
  color: #8A93A6;
}

/* ---------- Section headers ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Cards: features / industries ---------- */
.card-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-bento);
  padding: 28px 26px;
  height: 100%;
  box-shadow: var(--shadow-bento);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.card-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.12);
  border-color: rgba(79, 70, 229, 0.25);
}

.card-tile .icon-box {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 65, 178, 0.1), rgba(31, 174, 142, 0.12));
  color: var(--indigo);
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.card-tile h3 {
  font-size: 1.08rem;
  margin-bottom: 9px;
}

.card-tile p {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.card-tile .tile-id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #A7AFC0;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}

/* Industry cards */
.industry-card {
  position: relative;
  border-radius: var(--radius-bento);
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  padding: 26px 24px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-bento);
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.12);
  border-color: rgba(79, 70, 229, 0.25);
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(79, 70, 229, 0.02), rgba(248, 249, 252, 0.04));
  opacity: 1;
}

.industry-card .icon-box {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 70, 229, 0.06);
  color: var(--indigo);
  margin-bottom: 14px;
  font-size: 1.15rem;
  border: 1px solid rgba(79, 70, 229, 0.1);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.industry-card:hover .icon-box {
  background: var(--indigo);
  color: var(--white);
}

.industry-card span.tag {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--indigo);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.industry-card h3 {
  position: relative;
  font-size: 1.06rem;
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Why choose / stats ---------- */
.stat-box {
  text-align: center;
  padding: 18px;
}

.stat-box .num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1;
}

.stat-box .lbl {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin-top: 8px;
}

.why-row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.why-row:last-child {
  border-bottom: none;
}

.why-row .num {
  font-family: var(--font-mono);
  color: var(--amber);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  width: 34px;
  padding-top: 3px;
}

.why-row h4 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.why-row p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Screenshot showcase ---------- */
.screen-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  position: relative;
}

.screen-frame__bar {
  background: var(--navy);
  padding: 11px 16px;
  display: flex;
  gap: 6px;
}

.screen-frame__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(244, 246, 250, 0.18);
}

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-bento);
  padding: 28px;
  height: 100%;
  box-shadow: var(--shadow-bento);
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.12);
  border-color: rgba(79, 70, 229, 0.25);
}

.testi-card .stars {
  color: var(--amber);
  font-size: 0.85rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-card p.quote {
  font-size: 0.97rem;
  color: var(--ink);
  margin-bottom: 22px;
  flex: 1;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
}

.testi-person strong {
  display: block;
  font-size: 0.9rem;
}

.testi-person small {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

/* ---------- Pricing ---------- */
.price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 46px;
}

.price-toggle button {
  border: none;
  background: none;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: .2s;
  font-family: var(--font-body);
}

.price-toggle button.active {
  background: var(--ink);
  color: var(--white);
}

.price-toggle .save-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--mint);
  margin-left: 4px;
}

.price-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  height: 100%;
  position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.price-card:hover {
  transform: translateY(-6px);
}

.price-card.featured {
  border-color: var(--indigo);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 38px -10px rgba(79, 70, 229, 0.18);
}

.price-card.featured::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--indigo);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.price-card .badge-pop {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  z-index: 1;
}

.price-card .plan-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 8px;
}

.price-card.featured .plan-name {
  color: var(--indigo);
}

.price-card .plan-desc {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.price-card.featured .plan-desc {
  color: var(--ink-soft);
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.price-card .price span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.price-card.featured .price span {
  color: var(--ink-soft);
}

.price-card .plan-feats {
  margin: 26px 0;
}

.price-card .plan-feats li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.9rem;
}

.price-card .plan-feats li i {
  color: var(--mint);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-card.featured .plan-feats li i {
  color: var(--mint);
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  text-align: center;
}

.compare-table th {
  font-family: var(--font-display);
  background: var(--paper-dim);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
}

.compare-table td:first-child,
.compare-table th:first-child {
  text-align: left;
  font-weight: 600;
}

.compare-table tbody tr:hover {
  background: var(--paper);
}

.compare-table .fa-check {
  color: var(--mint);
}

.compare-table .fa-times {
  color: #CBD2DF;
}

/* ---------- FAQ ---------- */
.accordion-item {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--white);
}

.accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 1.15rem 1.4rem;
  color: var(--ink);
}

.accordion-button:not(.collapsed) {
  background: var(--paper);
  color: var(--indigo);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--line);
}

.accordion-button::after {
  filter: none;
}

.accordion-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Forms ---------- */
.form-control,
.form-select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.78rem 1rem;
  font-size: 0.93rem;
  background: var(--white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(37, 65, 178, 0.13);
}

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-panel {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.contact-panel .item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-panel .item:last-child {
  border-bottom: none;
}

.contact-panel .item .ic {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-panel .item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
}

.contact-panel .item span,
.contact-panel .item a {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--white), var(--paper) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 54px 48px;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08), transparent 70%);
}

@media (max-width:767.98px) {
  .cta-band {
    padding: 40px 26px;
    text-align: center;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  color: var(--ink-soft);
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.site-footer h5 {
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul li a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: color .2s;
}

.site-footer ul li a:hover {
  color: var(--indigo);
}

.site-footer .foot-bottom {
  border-top: 1px solid var(--line);
  margin-top: 46px;
  padding: 22px 0;
  font-size: 0.8rem;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: .2s;
}

.social-row a:hover {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.foot-brand p {
  font-size: 0.88rem;
  max-width: 340px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

/* ---------- Breadcrumb / page header (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--white), var(--paper) 85%);
  color: var(--ink);
  padding: 66px 0 56px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(700px 400px at 20% 0%, black, transparent 75%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  color: var(--ink);
  position: relative;
}

.page-hero p.lead {
  color: var(--ink-soft);
  max-width: 600px;
  position: relative;
  margin-top: 14px;
}

.breadcrumb-row {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  position: relative;
  margin-bottom: 18px;
}

.breadcrumb-row a {
  color: var(--indigo);
}

.breadcrumb-row a:hover {
  color: var(--indigo-2);
}

/* ---------- Legal pages ---------- */
.legal-body h2 {
  font-size: 1.3rem;
  margin: 38px 0 14px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 12px;
}

.legal-body ul {
  list-style: disc;
  padding-left: 22px;
}

.legal-body .updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 34px;
}

.toc-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 96px;
}

.toc-box a {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

.toc-box a:hover {
  color: var(--indigo);
}

.toc-box a:last-child {
  border-bottom: none;
}

/* ---------- Blog ---------- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.blog-card__img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), var(--indigo));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.blog-card__img span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--amber-2);
  background: rgba(11, 18, 32, 0.55);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.blog-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__body .meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #9AA5B8;
  margin-bottom: 10px;
}

.blog-card__body h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.blog-card__body p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  flex: 1;
}

.blog-card__body .read-more {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--indigo);
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-body h2 {
  font-size: 1.4rem;
  margin: 38px 0 14px;
}

.article-body h3 {
  font-size: 1.12rem;
  margin: 26px 0 10px;
}

.article-body p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 1rem;
}

.article-body ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

.article-body li {
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 3px solid var(--amber);
  background: var(--white);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  font-style: normal;
  color: var(--ink);
  margin: 24px 0;
  font-size: 0.98rem;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1FAE8E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(31, 174, 142, 0.6);
  font-size: 1.5rem;
  transition: transform .2s;
}

.wa-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* ---------- Misc ---------- */
.divider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  display: inline-block;
  margin: 0 10px;
  vertical-align: middle;
}

.section-alt {
  background: var(--white);
}

.badge-soft {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(37, 65, 178, 0.08);
  color: var(--indigo);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.keyword-chip {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(244, 246, 250, 0.55);
  border: 1px solid var(--line-dark);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
}

hr.soft {
  border-color: var(--line);
  opacity: 1;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Dropdown menu customization ---------- */
.site-header .dropdown-menu {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: 10px;
  min-width: 245px;
}

.site-header .dropdown-item {
  color: var(--ink-soft) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
  background: rgba(79, 70, 229, 0.06) !important;
  color: var(--indigo) !important;
}

/* Open dropdown on hover for desktop viewports */
@media (min-width: 992px) {
  .site-header .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header .nav-item.dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease);
  }

  /* Dropdown caret animation on hover */
  .site-header .nav-links a.dropdown-toggle::after {
    transition: transform 0.22s var(--ease);
  }

  .site-header .nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/* Hero light outline button contrast overrides */
.hero .btn-outline-light {
  border-color: var(--line) !important;
  color: var(--ink-soft) !important;
  background: var(--white) !important;
}

.hero .btn-outline-light:hover {
  border-color: var(--navy-soft) !important;
  color: var(--ink) !important;
  background: var(--paper-dim) !important;
}

/* Solutions Page Feature Cards */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(79, 70, 229, 0.15);
}

.feature-card .fc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.06);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.22rem;
  margin-bottom: 18px;
  border: 1px solid rgba(79, 70, 229, 0.1);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.feature-card:hover .fc-icon {
  background: var(--indigo);
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.5;
}

.feature-card .fc-link {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--indigo);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: color 0.2s var(--ease);
}

.feature-card .fc-link:hover {
  color: var(--indigo-2);
}

.feature-card .fc-link i {
  transition: transform 0.2s var(--ease);
}

.feature-card .fc-link:hover i {
  transform: translateX(3px);
}

/* ---------- Features Page Design Enhancements ---------- */
.module-nav-chip {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.22s var(--ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.module-nav-chip:hover {
  background: var(--indigo);
  color: var(--white) !important;
  border-color: var(--indigo);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.module-nav-chip:hover i {
  color: var(--white) !important;
}

.benefit-card-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.benefit-card-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
  border-color: var(--indigo-subtle);
}

.module-example-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.screen-frame__body {
  background: var(--white);
  color: var(--ink);
}

.faq-card-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.faq-card-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

/* Dark mode compatibility for features components */
[data-theme="dark"] .module-nav-chip {
  background: var(--navy-light);
  color: var(--ink);
  border-color: var(--line);
}

[data-theme="dark"] .benefit-card-box {
  background: var(--navy-card);
  border-color: var(--line);
}

[data-theme="dark"] .module-example-box {
  background: var(--navy-light);
  border-color: var(--line);
}

[data-theme="dark"] .screen-frame__body {
  background: var(--navy-card);
  color: var(--ink);
}

[data-theme="dark"] .screen-frame__body .bg-light {
  background: var(--navy-light) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

[data-theme="dark"] .faq-card-box {
  background: var(--navy-card);
  border-color: var(--line);
}