/* ==========================================================================
   Orvixa Design System — Premium Franchise SaaS
   Colors extracted from logo_new.png
   ========================================================================== */
:root {
  /* Brand */
  --navy: #001A3D;
  --navy-deep: #000F24;
  --navy-mid: #0A2744;
  --blue: #0066FF;
  --blue-bright: #1A7AFF;
  --blue-soft: #E8F1FF;
  --cyan: #00D1FF;
  --amber: #FFB800;
  --amber-hover: #E5A600;
  --amber-soft: #FFF8E6;

  /* Neutrals */
  --white: #FFFFFF;
  --bg: #F7F9FC;
  --bg-elevated: #FFFFFF;
  --surface: #F1F5F9;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #F8FAFC;

  /* Semantic */
  --success: #10B981;
  --success-soft: #ECFDF5;
  --danger: #EF4444;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 64px rgba(0, 26, 61, 0.14), 0 8px 20px rgba(0, 26, 61, 0.08);
  --shadow-blue: 0 8px 28px rgba(0, 102, 255, 0.28);
  --shadow-amber: 0 8px 28px rgba(255, 184, 0, 0.35);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Typography */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container: 1180px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container-narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.container-wide { width: min(100% - 2.5rem, 1280px); margin-inline: auto; }

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section-sm { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section-dark {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(248, 250, 252, 0.78);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-surface { background: var(--white); }
.section-soft { background: var(--bg); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  margin-bottom: 0.75rem;
}
.section-head p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.section-dark .eyebrow { color: var(--cyan); }

.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.875rem; border-radius: 10px; }
.btn-lg { padding: 1.05rem 1.85rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

.btn:disabled,
.btn.btn-loading {
  cursor: not-allowed;
  transform: none !important;
}
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0.85;
  animation: btn-spin 0.65s linear infinite;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0052cc 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--amber) 0%, #FFC933 100%);
  color: var(--navy);
  box-shadow: var(--shadow-amber);
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--amber-hover) 0%, var(--amber) 100%);
  color: var(--navy);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--navy);
}
.section-dark .btn-ghost,
.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}
.section-dark .btn-ghost:hover,
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(247, 249, 252, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 48px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}
.brand-sm img { height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links > a,
.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text-secondary);
  border-radius: 10px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-links > a:hover,
.nav-dropdown > button:hover,
.nav-links > a.active {
  color: var(--navy);
  background: var(--surface);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--white);
  padding: 1.25rem 1.25rem 2rem;
  overflow-y: auto;
  z-index: 999;
}
.mobile-nav.open { display: block; }
.mobile-nav a,
.mobile-nav button {
  display: flex;
  width: 100%;
  padding: 0.9rem 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  border: none;
  background: none;
  border-bottom: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
}
.mobile-nav .btn { margin-top: 1rem; border-bottom: none; justify-content: center; }
.mobile-sub {
  padding: 0.5rem 0 0.75rem 1rem;
  display: none;
}
.mobile-sub.open { display: block; }
.mobile-sub a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.55rem 0.5rem;
  border: none;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.2);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-soft), #F0F7FF);
  color: var(--blue);
  margin-bottom: 1.15rem;
}
.card h3, .card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
}
.form-control,
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1rem; }
.invalid-feedback {
  display: none;
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: var(--danger);
}
.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback {
  display: block;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.form-success .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 650;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-amber { background: var(--amber-soft); color: #B47A00; }
.badge-green { background: var(--success-soft); color: #059669; }
.badge-navy { background: rgba(0, 26, 61, 0.08); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(0, 102, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 5% 80%, rgba(255, 184, 0, 0.06), transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.15rem;
  color: var(--navy);
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.75rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-top: 0.5rem;
}
.trust-row span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}
.trust-pill svg { color: var(--success); flex-shrink: 0; }

.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.hero-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  animation: floatY 5s ease-in-out infinite;
}
.hero-float strong {
  display: block;
  font-size: 1.1rem;
  color: var(--navy);
}
.hero-float span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-float.a { top: 8%; left: -4%; animation-delay: 0s; }
.hero-float.b { bottom: 12%; right: -2%; animation-delay: 1.2s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 960px) {
  .hero-float { display: none; }
}

.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(0, 102, 255, 0.07), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---------- Logo cloud ---------- */
.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  opacity: 0.55;
}
.logo-cloud .logo-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  white-space: nowrap;
}

/* ---------- Challenge / Why ---------- */
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) { .challenge-grid { grid-template-columns: 1fr; } }
.challenge-col {
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.challenge-col.problem {
  background: #FFF5F5;
  border: 1px solid #FECACA;
}
.challenge-col.solution {
  background: linear-gradient(160deg, #F0F7FF 0%, #ECFDF5 100%);
  border: 1px solid #BFDBFE;
}
.challenge-col h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.challenge-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.challenge-list li:last-child { border-bottom: none; }
.challenge-list li svg { flex-shrink: 0; margin-top: 2px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 750;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-card .stat-num .accent { color: var(--blue); }
.stat-card p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Modules ---------- */
.module-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  height: 100%;
}
.module-card:hover {
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.module-card .card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  border-radius: 12px;
}
.module-card h4 { font-size: 1.05rem; margin: 0; }
.module-card p { font-size: 0.88rem; margin: 0; }


/* ---------- Workflow timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--amber));
  opacity: 0.35;
}
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
}
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.timeline-step {
  text-align: center;
  position: relative;
}
.timeline-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1.15rem;
  box-shadow: var(--shadow-blue);
  position: relative;
  z-index: 1;
}
.timeline-step h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.timeline-step p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.stars {
  display: flex;
  gap: 0.2rem;
  color: var(--amber);
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open], .faq-item:hover {
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.faq-item[open] .plus {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff;
}
.faq-item p {
  padding: 0 1.35rem 1.25rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.section-dark .faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.section-dark .faq-item summary { color: #fff; }
.section-dark .faq-item p { color: rgba(248, 250, 252, 0.7); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(0, 102, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 30%, rgba(255, 184, 0, 0.2), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  box-shadow: var(--shadow-xl);
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
}
.cta-banner p {
  color: rgba(248, 250, 252, 0.75);
  max-width: 480px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}
.cta-banner .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--navy-deep);
  color: rgba(248, 250, 252, 0.7);
  padding: 5rem 0 0;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 12% 0%, rgba(0, 102, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 40% 35% at 92% 15%, rgba(255, 184, 0, 0.08), transparent 55%);
}
.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) 2.6fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 1.5rem;
}
@media (max-width: 960px) {
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.25rem; }
}
.footer-brand img {
  height: 52px;
  width: auto;
  max-width: 180px;
  margin-bottom: 1.1rem;
  object-fit: contain;
  filter: none;
  background: transparent;
}
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 1.35rem;
}
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 300px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.55);
  margin-bottom: 1.35rem;
}
.footer-address svg { flex-shrink: 0; margin-top: 2px; color: var(--cyan); }
.footer-address a { color: inherit; transition: color 0.2s; }
.footer-address a:hover { color: var(--cyan); }
.footer-col h5 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col h5::before {
  content: "";
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  flex-shrink: 0;
}
.footer-col a {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.32rem 0;
  color: rgba(248, 250, 252, 0.62);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.footer-newsletter-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 0.6rem;
}
.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  max-width: 340px;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.newsletter input:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.1);
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.4); }
.newsletter .btn { flex-shrink: 0; padding: 0.7rem 1rem; }

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.45);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: #fff; }

/* ---------- Pricing ---------- */
.pricing-hero { text-align: center; }
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin: 2rem auto 0;
}
.billing-toggle span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.35rem 0.5rem;
  transition: color 0.2s;
}
.billing-toggle span.active { color: var(--navy); }
.billing-switch {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background 0.25s;
  padding: 0;
}
.billing-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease);
}
.billing-switch.on {
  background: var(--blue);
  border-color: var(--blue);
}
.billing-switch.on::after { transform: translateX(20px); }
.save-badge {
  background: var(--amber-soft);
  color: #B47A00;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-right: 0.35rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 2.5rem;
}
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--blue);
  background: linear-gradient(180deg, #F8FBFF 0%, #fff 40%);
  z-index: 1;
}
.pricing-card.featured:hover { transform: translateY(-6px); }
@media (min-width: 1101px) {
  .pricing-grid .pricing-card.featured {
    transform: scale(1.03);
  }
  .pricing-grid .pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
  }
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.pricing-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}
.price-row .amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 750;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-row .period {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.plan-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.plan-features li svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.enterprise-band {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: rgba(248, 250, 252, 0.8);
  box-shadow: var(--shadow-xl);
}
@media (max-width: 768px) {
  .enterprise-band { grid-template-columns: 1fr; }
}
.enterprise-band h3 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}
.enterprise-band p { margin: 0 0 1.25rem; }
.enterprise-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.enterprise-perks span {
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 550;
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.compare-table th,
.compare-table td {
  padding: 0.9rem 1.15rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.compare-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 2;
}
.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: var(--white);
  z-index: 1;
  font-weight: 550;
  color: var(--text);
  min-width: 180px;
}
.compare-table th:first-child {
  background: var(--bg);
  z-index: 3;
}
.compare-table th.highlight,
.compare-table td.highlight {
  background: #F8FBFF;
}
.compare-table th.highlight { background: var(--blue-soft); color: var(--blue); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-check { color: var(--success); }
.compare-cross { color: var(--border-strong); }

/* Cost comparison */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) { .cost-grid { grid-template-columns: 1fr; } }
.cost-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  text-align: center;
}
.cost-card.winner {
  border-color: var(--blue);
  background: linear-gradient(180deg, #F8FBFF, #fff);
  box-shadow: var(--shadow-md);
}
.cost-card h4 { margin-bottom: 0.75rem; }
.cost-card .cost {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 750;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.cost-card.winner .cost { color: var(--blue); }

/* Security badges */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 800px) { .security-grid { grid-template-columns: 1fr 1fr; } }
.security-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.security-card .card-icon { margin: 0 auto 1rem; }
.security-card h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.security-card p { font-size: 0.85rem; margin: 0; }

/* Sticky pricing bar */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
}
.sticky-cta p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--navy);
}
.sticky-cta span {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text-muted);
}
@media (max-width: 560px) {
  .sticky-cta p span { display: none; }
}

/* ---------- Solutions / Features ---------- */
.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 1.75rem;
  transition: all 0.3s var(--ease);
  height: 100%;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 102, 255, 0.3);
}
.industry-card .card-icon { margin-bottom: 1rem; }
.industry-card h3 { font-size: 1.2rem; }
.industry-card ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.industry-card li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.industry-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.feature-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.feature-tab {
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.feature-tab:hover { border-color: var(--blue); color: var(--blue); }
.feature-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.feature-panel { display: none; }
.feature-panel.active { display: block; }

/* ---------- About ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 800px) { .about-story { grid-template-columns: 1fr; } }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 640px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
}
.mv-card.vision {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border: none;
  color: rgba(248, 250, 252, 0.8);
}
.mv-card.vision h3 { color: #fff; }

.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) { .leader-grid { grid-template-columns: 1fr; } }
.leader-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.leader-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.leader-card h4 { margin-bottom: 0.25rem; }
.leader-card .role {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.leader-card p { font-size: 0.9rem; margin: 0; }

.history-timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding-left: 2rem;
}
.history-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--amber));
}
.history-item {
  position: relative;
  padding-bottom: 2rem;
}
.history-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}
.history-item .year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.history-item h4 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.history-item p { font-size: 0.92rem; margin: 0; color: var(--text-muted); }

/* ---------- Blog ---------- */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) { .blog-featured { grid-template-columns: 1fr; } }
.blog-featured-img {
  min-height: 280px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.3);
}
.blog-featured-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: 1.65rem; margin: 0.75rem 0; }
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.blog-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  flex: 1;
  max-width: 360px;
}
.blog-search input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
}
.blog-cats { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--blue-soft), #E0F2FE);
  display: grid;
  place-items: center;
  color: var(--blue);
}
.blog-card-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  flex: 1;
}
.blog-card p {
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-info-item p, .contact-info-item a {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.contact-info-item a:hover { color: var(--blue); }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 220px;
  background: var(--surface);
  margin-top: 1.5rem;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger .reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger .reveal:nth-child(8) { transition-delay: 0.56s; }

/* Demo modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 36, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-backdrop.open { display: flex; }
.demo-popup {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  color: rgba(248, 250, 252, 0.8);
  box-shadow: var(--shadow-xl);
}
.demo-popup h3 { color: #fff; }
.demo-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.demo-popup .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Page layouts */
.demo-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}
.sales-cta-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .demo-layout,
  .sales-cta-row { grid-template-columns: 1fr; }
}
body.has-sticky-cta { padding-bottom: 88px; }

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 3000;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.9rem;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* Side panel for demo page */
.side-panel {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: rgba(248, 250, 252, 0.8);
  height: 100%;
}
.side-panel h3 { color: #fff; }
.side-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.side-list li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.side-list .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
}

/* Interactive why cards */
.why-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: default;
  transition: all 0.3s var(--ease);
  height: 100%;
}
.why-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.12);
  transform: translateY(-4px);
}
.why-card .card-icon { transition: transform 0.3s var(--ease); }
.why-card:hover .card-icon { transform: scale(1.08); }

/* Background shapes */
.bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-shapes .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: blobDrift 18s ease-in-out infinite;
}
.bg-shapes .blob-1 {
  width: 400px;
  height: 400px;
  background: var(--blue);
  top: -100px;
  right: -80px;
  opacity: 0.08;
  animation-delay: 0s;
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-24px, 18px) scale(1.06); }
  66% { transform: translate(16px, -14px) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-shapes .blob { animation: none; }
}
.bg-shapes .blob-2 {
  width: 300px;
  height: 300px;
  background: var(--amber);
  bottom: -60px;
  left: -60px;
  opacity: 0.07;
  animation-delay: 4s;
}

/* ---------- Trust & conversion additions ---------- */
.trial-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(90deg, #001A3D, #0A2744 40%, #0066FF);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.trial-banner a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.trial-banner strong { color: var(--amber); }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}
.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}
.trust-badge-item svg { color: var(--success); flex-shrink: 0; }

.integration-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
}
.integration-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 48px;
  padding: 0 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #64748B;
  filter: grayscale(1);
  opacity: 0.75;
  transition: opacity 0.25s, filter 0.25s, transform 0.25s;
}
.integration-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
  color: var(--navy);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
@media (max-width: 1024px) { .trust-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
.trust-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.15rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust-strip-item svg { color: var(--blue); }
.trust-strip-item span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--text);
  line-height: 1.3;
}

.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 2.5rem;
}
@media (max-width: 1100px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pricing-grid-4 { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}
.pricing-card .trial-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.currency-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
}
.currency-bar select {
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.currency-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.free-trial-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--amber-soft);
  border: 1px solid #F5D78A;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #8A5A00;
  margin-bottom: 1rem;
}
.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.testimonial-meta span {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  background: var(--surface);
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 550;
}
.sample-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}
.billing-toggle .save-badge {
  animation: pulseSoft 2.5s ease-in-out infinite;
}
@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ---------- Footer logo (transparent light) ---------- */
.footer-brand img {
  height: 52px;
  width: auto;
  max-width: 180px;
  margin-bottom: 1rem;
  object-fit: contain;
  filter: none;
  background: transparent;
}

/* ---------- HTML/CSS Hero Dashboard ---------- */
.hero-visual { position: relative; min-height: 420px; }
.hero-dash {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.85rem;
  padding: 0.5rem;
  will-change: transform;
  transition: transform 0.4s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .hero-dash { transition: none; }
}
.hd-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  padding: 1rem 1.1rem 1.15rem;
  overflow: hidden;
}
.hd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.hd-top h3 {
  font-size: 0.92rem;
  margin: 0;
  color: var(--navy);
}
.hd-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--success-soft);
  color: #059669;
}
.hd-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}
.hd-kpi {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
}
.hd-kpi span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.hd-kpi strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.hd-kpi em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: #059669;
}
.hd-chart {
  height: 110px;
  border-radius: 12px;
  background: linear-gradient(180deg, #F0F7FF, #fff);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  margin-bottom: 0.85rem;
}
.hd-chart svg { width: 100%; height: 100%; display: block; }
.hd-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.hd-mini {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem;
  background: #fff;
}
.hd-mini h4 {
  font-size: 0.72rem;
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-weight: 650;
}
.hd-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.hd-bar > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.hd-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hd-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  box-shadow: var(--shadow-md);
}
.hd-card h4 {
  font-size: 0.78rem;
  margin: 0 0 0.55rem;
  color: var(--navy);
}
.hd-pipeline { display: flex; gap: 0.35rem; }
.hd-stage {
  flex: 1;
  text-align: center;
  padding: 0.45rem 0.2rem;
  border-radius: 8px;
  background: var(--blue-soft);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--blue);
}
.hd-stage:nth-child(2) { background: #E0F2FE; }
.hd-stage:nth-child(3) { background: var(--amber-soft); color: #B47A00; }
.hd-stage:nth-child(4) { background: var(--success-soft); color: #059669; }
.hd-list { display: flex; flex-direction: column; gap: 0.4rem; }
.hd-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
}
.hd-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}
.hd-float {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  animation: floatY 5s ease-in-out infinite;
}
.hd-float strong { display: block; font-size: 0.95rem; color: var(--navy); }
.hd-float span { font-size: 0.68rem; color: var(--text-muted); font-weight: 550; }
.hd-float.f1 { top: -8px; right: 8%; animation-delay: 0s; }
.hd-float.f2 { bottom: 12%; left: -6%; animation-delay: 1s; }
.hd-float.f3 { bottom: -4%; right: -2%; animation-delay: 0.5s; }
@media (max-width: 960px) {
  .hero-visual { min-height: 0; }
  .hero-dash { grid-template-columns: 1fr; }
  .hd-float { display: none; }
}
@media (max-width: 560px) {
  .hd-kpis { grid-template-columns: 1fr 1fr; }
  .hd-kpis .hd-kpi:last-child { grid-column: span 2; }
}

/* ---------- App Shell Dashboard Mockup (product preview) ---------- */
.app-shell-wrap {
  position: relative;
}
.app-shell {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  background: var(--white);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.4s var(--ease);
}
.app-titlebar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.app-dots { display: flex; gap: 0.35rem; }
.app-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}
.app-url {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 auto;
  padding: 0.3rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--text-muted);
}
.app-url svg { color: var(--success); flex-shrink: 0; }
.app-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 560px;
}
.app-sidebar {
  background: var(--navy-deep);
  padding: 1.25rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.app-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.app-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  flex-shrink: 0;
}
.app-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.app-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.6rem;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 550;
  color: rgba(248, 250, 252, 0.55);
}
.app-nav a svg { flex-shrink: 0; }
.app-nav a.active {
  background: rgba(0, 102, 255, 0.16);
  color: #fff;
}
.app-nav a .app-nav-badge {
  margin-left: auto;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 750;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
}
.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.app-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  max-width: 280px;
  padding: 0.5rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.app-search svg { flex-shrink: 0; }
.app-top-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.app-bell {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
}
.app-bell::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  border: 1.5px solid var(--white);
}
.app-avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.app-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
  background: var(--bg);
}
.app-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.app-page-head h3 {
  font-size: 1.2rem;
  margin: 0 0 0.2rem;
}
.app-page-head p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.app-range {
  padding: 0.5rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.app-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.app-kpi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-sm);
}
.app-kpi-card span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.app-kpi-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.app-kpi-card em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
}
.app-kpi-card em.down { color: var(--danger); }
.app-chart-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0.85rem;
}
.app-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.app-card h4 {
  font-size: 0.88rem;
  margin: 0 0 0.15rem;
  color: var(--navy);
}
.app-card .app-card-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.app-chart-svg { width: 100%; height: 140px; display: block; }
.app-donut-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.app-donut {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(
    var(--blue) 0deg 245deg,
    var(--amber) 245deg 305deg,
    var(--success) 305deg 360deg
  );
  display: grid;
  place-items: center;
}
.app-donut::after {
  content: "";
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: var(--white);
}
.app-donut-legend { display: flex; flex-direction: column; gap: 0.5rem; }
.app-donut-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  list-style: none;
}
.app-donut-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.app-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.app-list { display: flex; flex-direction: column; gap: 0.65rem; }
.app-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  list-style: none;
}
.app-list li strong { color: var(--text); font-weight: 600; }
.app-rank {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 750;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.app-activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.app-progress-row { margin-bottom: 0.75rem; }
.app-progress-row:last-child { margin-bottom: 0; }
.app-progress-row .label {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}
.app-progress-row .track {
  height: 6px;
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}
.app-progress-row .track > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.app-float-toast {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--glass);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  animation: floatY 6s ease-in-out infinite;
}
.app-float-toast .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); flex-shrink: 0;
}
.app-float-toast.t1 { top: -18px; right: 6%; animation-delay: 0s; }
.app-float-toast.t2 { bottom: -16px; left: 4%; animation-delay: 1.4s; }
.app-shell-glow {
  position: absolute;
  inset: auto -8% -18% -8%;
  height: 45%;
  background: radial-gradient(ellipse, rgba(0, 102, 255, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 900px) {
  .app-sidebar { display: none; }
  .app-body { grid-template-columns: 1fr; }
  .app-kpi-row { grid-template-columns: 1fr 1fr; }
  .app-chart-row { grid-template-columns: 1fr; }
  .app-bottom-row { grid-template-columns: 1fr; }
  .app-float-toast { display: none; }
}
@media (max-width: 560px) {
  .app-kpi-row { grid-template-columns: 1fr 1fr; }
  .app-content { padding: 1.1rem; }
  .app-search { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .app-shell { transition: none; }
}

/* Legal pages */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}
.legal-content p, .legal-content li {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}
.legal-content ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  justify-content: center;
}
.breadcrumb a { color: var(--blue); font-weight: 550; }
.breadcrumb a:hover { text-decoration: underline; }

/* ==========================================================================
   PRE-LAUNCH MODE
   Hides sections that show fake/placeholder content (testimonials, customer
   logos, usage stats, pricing) until Orvixa has real customers and data.
   Full list + restore instructions: docs/pre_launch_hidden_sections.md
   Quick restore-everything: delete/comment out this rule.
   ========================================================================== */
.pre-launch-hidden { display: none !important; }
