/* ==========================================================================
   MazERP v2 — Complete Design System
   Aesthetic: Professional Zoho-style SaaS, deep navy palette
   Fonts: Outfit (headings), DM Sans (body)
   Icons: Font Awesome 6
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  /* --- Brand Colors --- */
  --blue:          #2563eb;
  --blue-dark:     #1d4ed8;
  --blue-light:    #3b82f6;
  --blue-50:       #eff6ff;
  --blue-100:      #dbeafe;
  --emerald:       #10b981;
  --emerald-dark:  #059669;
  --emerald-light: #d1fae5;
  --amber:         #f59e0b;
  --amber-dark:    #d97706;
  --amber-light:   #fef3c7;
  --rose:          #f43f5e;
  --sky:           #0ea5e9;
  --purple:        #7c3aed;

  /* --- Navy / Dark --- */
  --navy-hero:    #020617;
  --navy-mid:     #0a0f2e;
  --navy-light:   #0f1a4e;
  --navy-card:    #0d1535;
  --navy-border:  rgba(255,255,255,0.09);

  /* --- Light Surface --- */
  --dark:         #0c1122;
  --text:         #1e293b;
  --text-muted:   #475569;
  --text-light:   #94a3b8;
  --bg:           #ffffff;
  --bg-subtle:    #f8fafc;
  --bg-warm:      #f1f5f9;
  --border:       #e2e8f0;
  --border-light: #f1f5f9;

  /* --- Gradients --- */
  --grad-hero:   linear-gradient(160deg, #020617 0%, #0a0f2e 55%, #0f1a4e 100%);
  --grad-blue:   linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  --grad-dark:   linear-gradient(160deg, #020617 0%, #0a0f2e 100%);
  --grad-card:   linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --grad-navy-card: linear-gradient(145deg, #0d1535 0%, #0a0f2e 100%);
  --grad-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-cta:    linear-gradient(135deg, #020617 0%, #0f1a4e 60%, #1d4ed8 100%);

  /* --- Typography --- */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* --- Border Radii --- */
  --r-xs:   6px;
  --r-sm:   10px;
  --r:      16px;
  --r-lg:   20px;
  --r-xl:   24px;
  --r-2xl:  28px;
  --r-full: 999px;

  /* --- Shadows --- */
  --shadow-xs:   0 1px 3px rgba(2,6,23,0.05);
  --shadow-sm:   0 2px 8px rgba(2,6,23,0.07);
  --shadow:      0 8px 32px rgba(2,6,23,0.10);
  --shadow-lg:   0 20px 60px rgba(2,6,23,0.14);
  --shadow-xl:   0 32px 80px rgba(2,6,23,0.20);
  --shadow-blue: 0 8px 32px rgba(37,99,235,0.35);
  --shadow-card: 0 4px 24px rgba(2,6,23,0.07), 0 1px 3px rgba(2,6,23,0.04);

  /* --- Spacing --- */
  --sp:        96px;
  --sp-sm:     72px;
  --sp-xs:     48px;

  /* --- Container --- */
  --container: 1240px;
  --pad:       36px;

  /* --- Transitions --- */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:    0.15s;
  --t:         0.25s;
  --t-slow:    0.4s;
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--blue-dark);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  line-height: 1.75;
}

/* ==========================================================================
   3. Utility Classes
   ========================================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

/* Default vertical breathing room for every <section> on the site.
   Explicit modifier classes (.page-hero, .product-hero, .hero, .alt-section,
   .section-sm, .section-xs) override this via CSS specificity. */
section {
  padding: var(--sp) 0;
}

.section {
  padding: var(--sp) 0;
}

.section-sm {
  padding: var(--sp-sm) 0;
}

.section-xs {
  padding: var(--sp-xs) 0;
}

.bg-subtle {
  background: var(--bg-subtle);
}

.bg-warm {
  background: var(--bg-warm);
}

.bg-dark {
  background: var(--navy-hero);
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.text-light {
  color: var(--text-light);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--r-full);
  padding: 5px 14px;
}

.label-green {
  color: #065f46;
  background: var(--emerald-light);
  border-color: #a7f3d0;
}

.label-amber {
  color: #92400e;
  background: var(--amber-light);
  border-color: #fcd34d;
}

.label-purple {
  color: #6d28d9;
  background: #f3f0ff;
  border-color: #ddd6fe;
}

.label-dark {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.section-head .label {
  margin-bottom: 16px;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.075rem;
  line-height: 1.75;
}

.section-head.light h2,
.section-head.light p,
.section-head.light .label {
  color: #ffffff;
}

.section-head.light .label {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}

.section-head.light p {
  color: rgba(255,255,255,0.65);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-blue   { background: var(--blue-50);       color: var(--blue);         border: 1px solid var(--blue-100); }
.tag-green  { background: var(--emerald-light);  color: var(--emerald-dark); border: 1px solid #a7f3d0; }
.tag-amber  { background: var(--amber-light);    color: var(--amber-dark);   border: 1px solid #fcd34d; }

.divider {
  width: 48px;
  height: 4px;
  background: var(--grad-blue);
  border-radius: var(--r-full);
  margin: 16px auto 0;
}

.divider.left { margin-left: 0; }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn i { font-size: 0.875em; }

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-xl {
  padding: 17px 40px;
  font-size: 1.0625rem;
}

/* Primary — blue gradient */
.btn-primary {
  background: var(--grad-blue);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.45);
  color: #ffffff;
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-blue);
}

/* White */
.btn-white {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--text);
  border-color: #cbd5e1;
}

/* Outline White — for dark backgrounds */
.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.35);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.55);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue-100);
}

.btn-ghost:hover {
  background: var(--blue-50);
  border-color: var(--blue);
  color: var(--blue-dark);
}

/* Green */
.btn-green {
  background: var(--grad-emerald);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(16,185,129,0.30);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(16,185,129,0.40);
  color: #ffffff;
  filter: brightness(1.05);
}

/* CTA — for hero dark section */
.btn-cta {
  background: var(--grad-blue);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(37,99,235,0.50);
  padding: 15px 36px;
  font-size: 1rem;
  border-radius: var(--r-full);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 56px rgba(37,99,235,0.60);
  color: #ffffff;
  filter: brightness(1.08);
}

.btn-cta-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.90);
  border: 1.5px solid rgba(255,255,255,0.20);
  padding: 15px 36px;
  font-size: 1rem;
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
}

.btn-cta-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   5. Top Strip
   ========================================================================== */
.top-strip {
  background: var(--grad-blue);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  padding: 9px 16px;
  line-height: 1.4;
  position: relative;
  z-index: 200;
}

.top-strip a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.9;
}

.top-strip a:hover {
  opacity: 1;
}

.top-strip strong {
  font-weight: 700;
}

/* ==========================================================================
   6. Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 950;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--border);
  transition: box-shadow var(--t) var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(2,6,23,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 34px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.logo-text span {
  color: var(--blue);
}

.main-nav {
  flex: 1;
}

/* Mobile-only elements hidden on desktop */
.nav-backdrop,
.nav-mobile-head {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a,
.nav-menu > li > button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: all var(--t-fast) var(--ease);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-body);
}

.nav-menu > li > a:hover,
.nav-menu > li > button:hover {
  color: var(--blue);
  background: var(--blue-50);
}

.nav-menu > li > a.active,
.nav-menu > li > button.active {
  color: var(--blue);
  font-weight: 600;
}

/* Dropdown chevron */
.nav-menu .has-dropdown > button i.fa-chevron-down {
  font-size: 0.65em;
  transition: transform var(--t-fast) var(--ease);
}

.nav-menu .has-dropdown:hover > button i.fa-chevron-down,
.nav-menu .has-dropdown.open > button i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 10px;
  min-width: 260px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  transform: translateX(-50%) translateY(-6px);
  z-index: 500;
}

/* Invisible bridge between trigger and menu — keeps hover state when cursor crosses the gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu.wide {
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--t-fast) var(--ease), color var(--t-fast);
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: var(--bg-subtle);
  color: var(--blue);
}

.dropdown-menu .dm-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  font-size: 0.875rem;
}

.dm-icon.blue   { background: var(--blue-50);      color: var(--blue); }
.dm-icon.green  { background: var(--emerald-light); color: var(--emerald-dark); }
.dm-icon.amber  { background: var(--amber-light);   color: var(--amber-dark); }
.dm-icon.purple { background: #f3f0ff;              color: var(--purple); }
.dm-icon.sky    { background: #e0f7ff;              color: var(--sky); }
.dm-icon.rose   { background: #fff1f3;              color: var(--rose); }

.dropdown-menu .dm-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-menu .dm-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1;
}

.dropdown-menu .dm-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.3;
}

.dropdown-menu a:hover .dm-label { color: var(--blue); }

/* Header Actions */
/* Hide mobile-only nav CTA on desktop */
.nav-cta-wrap { display: none !important; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-actions .btn {
  font-size: 0.875rem;
  padding: 8px 18px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  transition: background var(--t-fast);
}

.hamburger:hover {
  background: var(--bg-subtle);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t) var(--ease);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   7. Hero — Dark Full-Width Section
   ========================================================================== */
.hero {
  background: var(--grad-hero);
  padding: 110px 0 100px;
  overflow: hidden;
  position: relative;
}

/* Subtle star / grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16,185,129,0.12) 0%, transparent 50%),
    radial-gradient(circle at 55% 15%, rgba(124,58,237,0.10) 0%, transparent 40%);
  pointer-events: none;
}

/* Grid dots overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 560px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: var(--r-full);
  padding: 6px 16px 6px 8px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-pill .pill-badge {
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-pill span {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero h1 .grad-text {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.075rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-proof-avatars {
  display: flex;
  align-items: center;
}

.hero-proof-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.20);
  object-fit: cover;
  margin-left: -10px;
}

.hero-proof-avatars img:first-child {
  margin-left: 0;
}

.hero-proof-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.hero-proof-text strong {
  display: block;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.875rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   8. Device Mockup Styles
   ========================================================================== */

/* --- Laptop --- */
.devices-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.laptop-device {
  position: relative;
  width: 100%;
}

.laptop-lid {
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  border-radius: 14px 14px 4px 4px;
  padding: 10px 10px 4px;
  box-shadow: 0 -2px 0 rgba(255,255,255,0.08) inset, 0 4px 0 rgba(0,0,0,0.4);
  position: relative;
}

.laptop-cam {
  width: 8px;
  height: 8px;
  background: #334155;
  border-radius: 50%;
  margin: 0 auto 6px;
  position: relative;
}

.laptop-cam::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: #1e293b;
  border-radius: 50%;
}

.laptop-screen-area {
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 2px solid #334155;
}

.laptop-screen-area img,
.laptop-screen-area video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Browser chrome inside screen */
.screen-chrome {
  background: #1e293b;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.screen-chrome .sc-dots {
  display: flex;
  gap: 5px;
}

.screen-chrome .sc-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.screen-chrome .sc-dots span:nth-child(1) { background: #ef4444; }
.screen-chrome .sc-dots span:nth-child(2) { background: #f59e0b; }
.screen-chrome .sc-dots span:nth-child(3) { background: #10b981; }

.screen-chrome .sc-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  height: 18px;
}

.laptop-hinge {
  height: 6px;
  background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.laptop-base {
  background: linear-gradient(180deg, #293548 0%, #1e293b 30%, #0f172a 100%);
  border-radius: 2px 2px 14px 14px;
  height: 22px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5), 0 2px 0 rgba(255,255,255,0.04) inset;
}

.laptop-base::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
}

/* --- Phone --- */
.phone-device {
  position: absolute;
  bottom: -20px;
  right: -24px;
  width: 130px;
  z-index: 5;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.phone-body {
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
  border-radius: 28px;
  padding: 8px;
  border: 2px solid #334155;
  position: relative;
  box-shadow: 0 4px 0 rgba(255,255,255,0.04) inset, -2px 0 0 rgba(255,255,255,0.02) inset;
}

/* Dynamic Island */
.phone-island {
  width: 46px;
  height: 10px;
  background: #000000;
  border-radius: var(--r-full);
  margin: 0 auto 6px;
}

.phone-screen-area {
  background: var(--navy-mid);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
}

.phone-screen-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-home-bar {
  width: 40px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-full);
  margin: 8px auto 2px;
}

/* Side buttons */
.phone-body::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 40px;
  width: 3px;
  height: 22px;
  background: #334155;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 28px 0 #334155;
}

.phone-body::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50px;
  width: 3px;
  height: 32px;
  background: #334155;
  border-radius: 0 2px 2px 0;
}

/* --- Floating Badge Cards --- */
@keyframes float-up-down {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

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

.device-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: var(--r-lg);
  padding: 10px 16px;
  z-index: 10;
  animation: float-up-down 4s ease-in-out infinite;
}

.device-badge:nth-child(even) {
  animation: float-reverse 4.5s ease-in-out infinite;
}

.device-badge .db-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.db-icon.blue   { background: rgba(37,99,235,0.25);  color: #60a5fa; }
.db-icon.green  { background: rgba(16,185,129,0.25); color: #34d399; }
.db-icon.amber  { background: rgba(245,158,11,0.25); color: #fbbf24; }
.db-icon.purple { background: rgba(124,58,237,0.25); color: #a78bfa; }

.device-badge .db-info .db-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  line-height: 1;
  margin-bottom: 3px;
}

.device-badge .db-info .db-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  font-family: var(--font-heading);
}

.device-badge.top-left     { top: 10%; left: -10%; }
.device-badge.top-right    { top: 8%;  right: -8%; }
.device-badge.bottom-left  { bottom: 15%; left: -12%; }
.device-badge.bottom-right { bottom: 10%; right: -10%; }

/* ==========================================================================
   9. Brands Strip
   ========================================================================== */
.brands-strip {
  padding: 40px 0;
  background: var(--bg);
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
}

.brands-strip .section-head {
  margin-bottom: 32px;
}

.brands-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.brands-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.brands-logos img {
  height: 28px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity var(--t), filter var(--t);
}

.brands-logos img:hover {
  opacity: 0.75;
  filter: grayscale(0%);
}

/* ==========================================================================
   10. Products Grid
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  border-radius: inherit;
  pointer-events: none;
}

.product-card.blue-card::before   { background: radial-gradient(ellipse at top left, rgba(37,99,235,0.07), transparent 60%); }
.product-card.green-card::before  { background: radial-gradient(ellipse at top left, rgba(16,185,129,0.07), transparent 60%); }
.product-card.amber-card::before  { background: radial-gradient(ellipse at top left, rgba(245,158,11,0.07), transparent 60%); }
.product-card.purple-card::before { background: radial-gradient(ellipse at top left, rgba(124,58,237,0.07), transparent 60%); }

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover.blue-card   { border-color: rgba(37,99,235,0.18); }
.product-card:hover.green-card  { border-color: rgba(16,185,129,0.18); }
.product-card:hover.amber-card  { border-color: rgba(245,158,11,0.18); }
.product-card:hover.purple-card { border-color: rgba(124,58,237,0.18); }

.pc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pc-icon.blue   { background: var(--blue-50);       color: var(--blue); }
.pc-icon.green  { background: var(--emerald-light);  color: var(--emerald-dark); }
.pc-icon.amber  { background: var(--amber-light);    color: var(--amber-dark); }
.pc-icon.purple { background: #f3f0ff;               color: var(--purple); }
.pc-icon.sky    { background: #e0f7ff;               color: var(--sky); }
.pc-icon.rose   { background: #fff1f3;               color: var(--rose); }

.pc-title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.pc-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.pc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}

.pc-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pc-features li i {
  color: var(--emerald);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--t-fast);
}

.pc-link:hover {
  gap: 10px;
  color: var(--blue-dark);
}

/* ==========================================================================
   11. How It Works — Steps
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(to right, var(--blue-100), var(--blue), var(--blue-100));
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-blue);
  position: relative;
  z-index: 2;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}

.step-card:hover .step-num {
  transform: scale(1.12);
  box-shadow: 0 12px 36px rgba(37,99,235,0.40);
}

.step-card h3,
.step-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   12. Alternating Feature Sections
   ========================================================================== */
.alt-section {
  padding: var(--sp) 0;
}

.alt-section + .alt-section {
  padding-top: 0;
}

.alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.alt-grid.reverse {
  direction: rtl;
}

.alt-grid.reverse > * {
  direction: ltr;
}

.alt-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.alt-content .label {
  align-self: flex-start;
}

.alt-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
}

.alt-content p {
  font-size: 1.0125rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.alt-feats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.alt-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.alt-feat .af-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.alt-feat.green .af-icon  { background: var(--emerald-light); color: var(--emerald-dark); }
.alt-feat.amber .af-icon  { background: var(--amber-light);   color: var(--amber-dark); }
.alt-feat.purple .af-icon { background: #f3f0ff;              color: var(--purple); }

.alt-feat .af-text h5 {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 3px;
}

.alt-feat .af-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Visual side */
.alt-visual {
  position: relative;
}

/* Browser chrome mockup */
.alt-screen {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.alt-screen .browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-warm);
  border-bottom: 1.5px solid var(--border);
}

.alt-screen .browser-dots {
  display: flex;
  gap: 5px;
}

.alt-screen .browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.alt-screen .browser-dots span:nth-child(1) { background: #ef4444; }
.alt-screen .browser-dots span:nth-child(2) { background: #f59e0b; }
.alt-screen .browser-dots span:nth-child(3) { background: #10b981; }

.alt-screen .browser-url {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 5px;
  height: 20px;
  max-width: 240px;
  margin-left: 8px;
}

.alt-screen .screen-body {
  background: var(--bg-subtle);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.alt-screen img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 700 / 440;
  object-fit: cover;
  background: var(--bg-subtle);
}

/* Floating cards on the alt-visual */
.alt-float {
  position: absolute;
  z-index: 10;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  animation: float-up-down 5s ease-in-out infinite;
}

.alt-float i {
  font-size: 1rem;
}

.alt-float.top-right   { top: -18px;  right: -18px; }
.alt-float.bot-left    { bottom: -16px; left: -18px; }
.alt-float.top-left    { top: -18px;  left: -18px; }
.alt-float.bot-right   { bottom: -16px; right: -18px; }

/* ==========================================================================
   13. Features Grid
   ========================================================================== */
.feats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}

.feat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.feat-icon.blue   { background: var(--blue-50);       color: var(--blue); }
.feat-icon.green  { background: var(--emerald-light);  color: var(--emerald-dark); }
.feat-icon.amber  { background: var(--amber-light);    color: var(--amber-dark); }
.feat-icon.purple { background: #f3f0ff;               color: var(--purple); }
.feat-icon.sky    { background: #e0f7ff;               color: var(--sky); }
.feat-icon.rose   { background: #fff1f3;               color: var(--rose); }

.feat-card h3,
.feat-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.feat-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feat-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}

.feat-bullets li {
  font-size: 0.8375rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-bullets li i {
  color: var(--emerald);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ==========================================================================
   14. Dark Showcase Section
   ========================================================================== */
.dark-showcase {
  background: var(--grad-dark);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}

.dark-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.dark-showcase::after {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%);
  pointer-events: none;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.sc-card {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--t), border-color var(--t), transform var(--t);
  backdrop-filter: blur(8px);
}

.sc-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-6px);
}

.sc-card .sc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.sc-card .sc-icon.blue   { background: rgba(37,99,235,0.20);  color: #60a5fa; }
.sc-card .sc-icon.green  { background: rgba(16,185,129,0.20); color: #34d399; }
.sc-card .sc-icon.amber  { background: rgba(245,158,11,0.20); color: #fbbf24; }
.sc-card .sc-icon.purple { background: rgba(124,58,237,0.20); color: #a78bfa; }

.sc-card h3,
.sc-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

.sc-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
}

.sc-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-sm);
  margin-top: 4px;
  aspect-ratio: 600 / 376;
  object-fit: cover;
  background: var(--navy-mid);
}

/* ==========================================================================
   15. Stats Section
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  opacity: 0;
  transition: opacity var(--t);
}

.stat-card.blue::after   { background: var(--grad-blue); }
.stat-card.green::after  { background: var(--grad-emerald); }
.stat-card.amber::after  { background: linear-gradient(135deg, #d97706, #f59e0b); }
.stat-card.purple::after { background: linear-gradient(135deg, #6d28d9, #7c3aed); }

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-card.blue:hover   { border-color: rgba(37,99,235,0.20); }
.stat-card.green:hover  { border-color: rgba(16,185,129,0.20); }
.stat-card.amber:hover  { border-color: rgba(245,158,11,0.20); }
.stat-card.purple:hover { border-color: rgba(124,58,237,0.20); }

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-card.blue   .stat-num { color: var(--blue); }
.stat-card.green  .stat-num { color: var(--emerald-dark); }
.stat-card.amber  .stat-num { color: var(--amber-dark); }
.stat-card.purple .stat-num { color: var(--purple); }

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-desc {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ==========================================================================
   16. Benefits Row
   ========================================================================== */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 20px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.b-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
}

.b-icon.blue   { background: var(--blue-50);       color: var(--blue); }
.b-icon.green  { background: var(--emerald-light);  color: var(--emerald-dark); }
.b-icon.amber  { background: var(--amber-light);    color: var(--amber-dark); }
.b-icon.purple { background: #f3f0ff;               color: var(--purple); }

.benefit-card h3,
.benefit-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.60;
}

/* ==========================================================================
   17. Industries Tiles
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-tile {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.industry-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
  display: block;
}

.industry-tile:hover img {
  transform: scale(1.08);
}

.ind-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.85) 0%, rgba(2,6,23,0.25) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: background var(--t);
}

.industry-tile:hover .ind-overlay {
  background: linear-gradient(to top, rgba(37,99,235,0.85) 0%, rgba(37,99,235,0.30) 50%, rgba(2,6,23,0.10) 100%);
}

.ind-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.ind-overlay p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.4;
}

.ind-overlay i {
  color: rgba(255,255,255,0.80);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* ==========================================================================
   18. Testimonials
   ========================================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}

.testi-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

/* Decorative quote */
.testi-quote {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--blue-100);
  font-weight: 900;
  user-select: none;
  pointer-events: none;
}

.testi-stars {
  display: flex;
  gap: 3px;
  color: var(--amber);
  font-size: 0.875rem;
}

.testi-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  position: relative;
  z-index: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1.5px solid var(--border-light);
}

.testi-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.testi-author .ta-name {
  font-weight: 700;
  font-size: 0.9125rem;
  color: var(--text);
}

.testi-author .ta-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   19. Comparison Table
   ========================================================================== */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}

.compare-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg);
}

.compare-tbl th,
.compare-tbl td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.compare-tbl th {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--bg-warm);
  color: var(--text);
}

.compare-tbl thead th:first-child {
  text-align: left;
}

.compare-tbl tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.compare-tbl tbody tr:last-child td {
  border-bottom: none;
}

.compare-tbl tbody tr:hover {
  background: var(--bg-subtle);
}

.compare-tbl th.featured-col,
.compare-tbl td.featured-col {
  background: var(--blue-50);
  color: var(--blue-dark);
}

.compare-tbl th.featured-col {
  background: var(--blue);
  color: #ffffff;
  border-radius: 0;
}

.compare-tbl .yes {
  color: var(--emerald-dark);
  font-weight: 600;
}

.compare-tbl .yes::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 4px;
}

.compare-tbl .no {
  color: var(--text-light);
}

.compare-tbl .no::before {
  content: '\f00d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 4px;
}

/* ==========================================================================
   20. FAQ
   ========================================================================== */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.faq-item.open {
  border-color: var(--blue-100);
  box-shadow: var(--shadow);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t-fast);
}

.faq-btn:hover {
  color: var(--blue);
}

.faq-btn i {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--t) var(--ease), color var(--t-fast);
}

.faq-item.open .faq-btn {
  color: var(--blue);
}

.faq-item.open .faq-btn i {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

/* ==========================================================================
   21. CTA Banner
   ========================================================================== */
.cta-banner {
  background: var(--grad-cta);
  padding: var(--sp) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.25), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-inner p {
  font-size: 1.075rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 36px;
  line-height: 1.70;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   22. Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-hero);
  color: rgba(255,255,255,0.60);
  font-size: 0.9rem;
}

.footer-top {
  padding: 80px 0 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo-text {
  color: #ffffff;
  font-size: 1.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.70;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.footer-socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.footer-col h3,
.footer-col h4,
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-legal a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   23. Page Hero
   ========================================================================== */
.page-hero {
  background: var(--grad-hero);
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 60%, rgba(37,99,235,0.14) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(16,185,129,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero .label {
  margin-bottom: 18px;
  color: rgba(255,255,255,0.80);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.58);
  font-size: 1.075rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.page-hero .legal-last-updated {
  font-size: 0.875rem;
  margin-top: 12px;
  color: rgba(255,255,255,0.45);
}

/* ==========================================================================
   23b. Legal Pages
   ========================================================================== */
.legal-page {
  padding: var(--sp) 0 calc(var(--sp) * 1.5);
  background: #ffffff;
}

.legal-page-inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-page-inner p,
.legal-page-inner li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-page-inner h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
}

.legal-page-inner h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-page-inner h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}

.legal-page-inner ul {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.35rem;
}

.legal-page-inner li {
  margin-bottom: 0.5rem;
}

.legal-page-inner a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page-inner a:hover {
  color: var(--blue-dark, #1d4ed8);
}

.legal-intro {
  font-size: 1.05rem;
  color: var(--text) !important;
}

.legal-disclaimer {
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg-subtle, #f8fafc);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem !important;
}

.legal-contact {
  list-style: none;
  padding-left: 0 !important;
}

.legal-contact li {
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   24. Product Page Styles
   ========================================================================== */
.product-hero {
  background: var(--grad-hero);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(37,99,235,0.16), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(16,185,129,0.10), transparent 50%);
  pointer-events: none;
}

.ph-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ph-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ph-content .label {
  align-self: flex-start;
  color: rgba(255,255,255,0.80);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.ph-content h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.ph-content p {
  color: rgba(255,255,255,0.60);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.ph-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Browser chrome screen inside product hero */
.ph-screen {
  background: #ffffff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
  border: 1.5px solid rgba(255,255,255,0.10);
}

.ph-screen .browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ph-screen .browser-dots {
  display: flex;
  gap: 5px;
}

.ph-screen .browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.ph-screen .browser-dots span:nth-child(1) { background: #ef4444; }
.ph-screen .browser-dots span:nth-child(2) { background: #f59e0b; }
.ph-screen .browser-dots span:nth-child(3) { background: #10b981; }

.ph-screen .browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  height: 18px;
  max-width: 220px;
  margin-left: 8px;
}

.ph-screen .screen-content {
  background: var(--bg-subtle);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-screen img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 700 / 440;
  object-fit: cover;
  background: var(--bg-subtle);
}

/* ==========================================================================
   25. Solution Detail Blocks
   ========================================================================== */
.sol-block {
  padding: var(--sp) 0;
}

.sol-block + .sol-block {
  padding-top: 0;
}

.sol-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sol-layout.reverse {
  direction: rtl;
}

.sol-layout.reverse > * {
  direction: ltr;
}

.sol-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sol-info .label {
  align-self: flex-start;
}

.sol-info h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
}

.sol-info p {
  font-size: 1.0125rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.sol-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.sol-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: background var(--t-fast), border-color var(--t-fast);
}

.sol-feat-item:hover {
  background: var(--blue-50);
  border-color: var(--blue-100);
}

.sol-feat-item i {
  color: var(--blue);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.sol-feat-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.sol-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--border);
}

.sol-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--t-slow) var(--ease);
}

.sol-img:hover img {
  transform: scale(1.03);
}

/* Polished browser-mockup variant for sub-pages */
.sol-visual {
  position: relative;
}

.sol-screen {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.sol-screen .browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-warm);
  border-bottom: 1.5px solid var(--border);
}

.sol-screen .browser-dots {
  display: flex;
  gap: 5px;
}

.sol-screen .browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.sol-screen .browser-dots span:nth-child(1) { background: #ef4444; }
.sol-screen .browser-dots span:nth-child(2) { background: #f59e0b; }
.sol-screen .browser-dots span:nth-child(3) { background: #10b981; }

.sol-screen .browser-url {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 5px;
  height: 20px;
  max-width: 240px;
  margin-left: 8px;
}

.sol-screen img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 700 / 440;
  object-fit: cover;
  background: var(--bg-subtle);
}

/* Floating badge over sol-visual */
.sol-float {
  position: absolute;
  z-index: 10;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  animation: float-up-down 5s ease-in-out infinite;
}

.sol-float i {
  font-size: 1rem;
}

.sol-float.top-right   { top: -18px;  right: -18px; }
.sol-float.bot-left    { bottom: -16px; left: -18px; }
.sol-float.top-left    { top: -18px;  left: -18px; }
.sol-float.bot-right   { bottom: -16px; right: -18px; }

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

.price-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Featured card */
.price-card.featured {
  background: var(--grad-blue);
  border-color: transparent;
  box-shadow: var(--shadow-blue), var(--shadow-xl);
  transform: scale(1.03);
}

.price-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.price-card.featured h3,
.price-card.featured .price-amount,
.price-card.featured .price-per,
.price-card.featured .price-desc,
.price-card.featured .price-feats li {
  color: rgba(255,255,255,0.92) !important;
}

.price-card.featured .price-feats li i {
  color: rgba(255,255,255,0.75) !important;
}

.price-card.featured .btn-white:hover {
  background: var(--blue-50);
}

.price-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--r-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-card .pc-name,
.price-card h2,
.price-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.price-amount sup {
  font-size: 1.4rem;
  vertical-align: super;
  font-weight: 600;
}

.price-per {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.60;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 16px;
}

.price-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price-feats li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
}

.price-feats li i {
  color: var(--emerald);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   27. Contact Form
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: flex-start;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
}

.contact-detail p {
  font-size: 1.0125rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-item .ci-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-form-wrap {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
}

/* ==========================================================================
   28. About Page
   ========================================================================== */
.about-hero-img {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--border);
  margin-top: 56px;
}

.about-hero-img img {
  width: 100%;
  display: block;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-align: center;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}

.team-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-subtle);
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.team-card:hover .team-card-img img {
  transform: scale(1.06);
}

.team-card-body {
  padding: 18px 16px 20px;
}

.team-card-body h3,
.team-card-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card-body .tc-role {
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.team-card-socials a {
  width: 30px;
  height: 30px;
  border-radius: var(--r-xs);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  transition: background var(--t-fast), color var(--t-fast);
}

.team-card-socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

/* ==========================================================================
   29. Floating Buttons
   ========================================================================== */
.fab {
  position: fixed;
  z-index: 900;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.fab a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--r-full);
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
  white-space: nowrap;
}

.fab a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: #ffffff;
}

.fab a i {
  font-size: 1rem;
}

.fab-demo {
  background: var(--grad-blue);
  box-shadow: var(--shadow-blue) !important;
}

.fab-demo:hover {
  box-shadow: 0 16px 48px rgba(37,99,235,0.55) !important;
}

.fab-wa {
  background: linear-gradient(135deg, #075e54, #25d366);
  box-shadow: 0 8px 32px rgba(37,211,102,0.35) !important;
}

.fab-wa:hover {
  box-shadow: 0 16px 48px rgba(37,211,102,0.50) !important;
}

/* ==========================================================================
   30. Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility var(--t);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-back {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-box {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 560px;
  padding: 40px;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--t) var(--ease);
  overflow-y: auto;
  max-height: 90vh;
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}

.modal-close:hover {
  background: var(--bg-warm);
  color: var(--text);
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  background: var(--blue-50);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 20px;
}

.modal-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-box p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ==========================================================================
   31. Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

.stagger.visible > * {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   32. Responsive — Breakpoints
   ========================================================================== */

/* --- 1100px --- */
@media (max-width: 1100px) {
  :root {
    --sp:    96px;
    --sp-sm: 64px;
    --pad:   28px;
  }

  .hero-content-wrap {
    gap: 48px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .footer-top .footer-brand {
    grid-column: span 2;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }
}

/* --- 900px --- */
@media (max-width: 900px) {
  :root {
    --sp:    72px;
    --sp-sm: 52px;
    --pad:   24px;
  }

  h1 { font-size: clamp(2rem, 5.5vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }

  /* Header */
  .hamburger {
    display: flex;
  }

  /* Hide desktop inline-nav state; the mobile slide-in panel is shown via @media (max-width:700px) */
  .main-nav {
    display: none;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  /* On small screens: drop backdrop-filter, z-index, and sticky positioning so the
     site-header doesn't create a containing/stacking context that traps the fixed
     mobile nav panel inside. Sticky behavior is less important on mobile anyway. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
    z-index: auto;
    position: relative;
  }

  /* Hero */
  .hero {
    padding: 72px 0 60px;
  }

  .hero-content-wrap {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .device-badge.top-left    { left: -4%; }
  .device-badge.top-right   { right: -4%; }
  .device-badge.bottom-left { left: -4%; }
  .device-badge.bottom-right{ right: -4%; }

  /* Grids → 2-col */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .price-card.featured {
    transform: none;
  }

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

  /* Alt grids */
  .alt-grid,
  .alt-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 48px;
  }

  .sol-layout,
  .sol-layout.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 48px;
  }

  .ph-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* Benefits */
  .benefits-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Industries */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testi-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Sol feats */
  .sol-feats {
    grid-template-columns: 1fr;
  }

  /* Section head */
  .section-head {
    margin-bottom: 48px;
  }
}

/* --- 700px (Mobile Nav Overlay + final adjustments) --- */
@media (max-width: 700px) {
  :root {
    /* Compact mobile spacing — pages feel more adaptable and scannable */
    --sp:    52px;
    --sp-sm: 36px;
    --sp-xs: 32px;
    --pad:   16px;
  }

  /* Mobile typography — tighter for smaller screens */
  h1 { font-size: clamp(1.65rem, 7.5vw, 2.1rem); line-height: 1.15; }
  h2 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); line-height: 1.2; }
  h3 { font-size: 1.05rem; line-height: 1.3; }

  p { font-size: 0.95rem; line-height: 1.6; }

  /* Tighter padding on cards/forms for narrow viewports */
  .contact-form-wrap {
    padding: 24px 18px;
  }

  .price-card {
    padding: 28px 22px;
  }

  .feat-card {
    padding: 22px 20px;
  }

  .sc-card {
    padding: 22px 20px;
  }

  /* More vertical breathing room between stacked column items */
  .alt-grid,
  .sol-layout,
  .ph-layout {
    gap: 32px !important;
  }

  .alt-content,
  .sol-info,
  .ph-content {
    text-align: left;
    gap: 16px !important;
  }

  /* Tight hero — pages no longer feel huge */
  .hero,
  .page-hero,
  .product-hero {
    padding-top: 44px;
    padding-bottom: 36px;
  }

  .page-hero p,
  .product-hero p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Hero CTAs full-width-stacked */
  .hero-ctas,
  .ph-ctas {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .hero-ctas .btn,
  .ph-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* CTA section paddings on mobile */
  .container[style*="padding:60px"] {
    padding: 28px 12px !important;
  }

  /* Section-head tighter on mobile */
  .section-head {
    margin-bottom: 32px !important;
  }

  .section-head p {
    font-size: 0.92rem;
  }

  /* Footer tighter */
  .footer-top {
    padding: 48px 0 32px !important;
  }

  .footer-brand p {
    max-width: 100%;
  }

  /* Top strip - simpler text on mobile */
  .strip-right {
    display: none;
  }

  .top-strip {
    font-size: 0.7rem;
    padding: 6px 0;
  }

  /* Browser bar smaller for mobile screen mockups */
  .alt-screen .browser-bar,
  .sol-screen .browser-bar,
  .ph-screen .browser-bar {
    padding: 8px 10px;
  }

  /* Compact alt-feats / sol-feats on mobile */
  .alt-feats {
    gap: 10px !important;
  }

  .alt-feat {
    padding: 12px !important;
    gap: 10px !important;
  }

  .alt-feat .af-icon {
    width: 32px;
    height: 32px;
  }

  /* Stats grid 2×2 closer-spaced */
  .stats-grid {
    gap: 12px;
  }

  .stat-card {
    padding: 22px 14px !important;
  }

  .stat-num {
    font-size: 1.75rem !important;
  }

  /* Testimonials more compact */
  .testi-card {
    padding: 22px !important;
  }

  /* Brand strip - hide on very small screens */
  .brands-strip {
    padding: 28px 0 !important;
  }

  .brands-logos {
    gap: 16px !important;
    justify-content: space-around;
  }

  /* Page hero on subpages should be slim */
  .page-hero h1 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  /* Solutions/features pages — sol-feats stacks tighter */
  .sol-feats {
    gap: 10px !important;
  }

  .sol-feat-item {
    padding: 12px !important;
  }

  /* Compare table: make scrollable hint visible */
  .compare-wrap {
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r-lg);
  }

  .compare-tbl {
    min-width: 560px;
  }

  .compare-tbl th,
  .compare-tbl td {
    padding: 10px 14px;
    font-size: 0.825rem;
  }

  /* Reveal animations: reduce horizontal travel on mobile to avoid layout jank */
  .reveal-left  { transform: translateY(20px); }
  .reveal-right { transform: translateY(20px); }

  /* Touch targets: enforce WCAG 2.5.5 minimum on small screens */
  .btn {
    min-height: 44px;
    padding: 12px 22px;
  }

  .btn-sm {
    min-height: 40px;
    padding: 10px 18px;
  }

  .btn-lg {
    min-height: 48px;
    padding: 14px 28px;
  }

  .btn-xl {
    min-height: 54px;
    padding: 16px 32px;
  }

  .pc-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
  }

  /* Logo touch target */
  .logo {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .header-inner {
    height: 60px;
  }

  /* Show mobile-only elements at this breakpoint */
  .nav-backdrop,
  .nav-mobile-head {
    display: flex;
  }

  /* Mobile nav: slide-in side panel from the right */
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    background: linear-gradient(180deg, #0a0f2e 0%, #020617 100%);
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    z-index: 1100;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), visibility var(--t);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Mobile overlay backdrop (real DOM element so it can be clicked to close) */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2,6,23,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t) var(--ease), visibility var(--t);
  }

  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Header inside the mobile nav */
  .nav-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
  }

  .nav-mobile-head .logo {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-mobile-head .logo img {
    height: 38px;
    width: auto;
    filter: brightness(1.1);
  }

  .nav-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
  }

  .nav-close:hover {
    background: rgba(255,255,255,0.16);
    transform: rotate(90deg);
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    text-align: left;
    width: 100%;
    padding: 12px 22px 24px;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-menu > li:last-child {
    border-bottom: none;
  }

  .nav-menu > li > a,
  .nav-menu > li > button {
    color: rgba(255,255,255,0.92);
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 6px;
    justify-content: space-between;
    width: 100%;
    background: transparent !important;
    border-radius: 0;
  }

  .nav-menu > li > a:hover,
  .nav-menu > li > button:hover {
    color: var(--blue-light);
    background: transparent;
  }

  .nav-menu > li > a.active,
  .nav-menu > li > button.active {
    color: var(--blue-light);
  }

  /* Mobile dropdown: collapsible, accordion-style */
  .nav-menu .has-dropdown > a i.fa-chevron-down,
  .nav-menu .has-dropdown > button i.fa-chevron-down {
    transition: transform var(--t-fast);
  }

  .nav-menu .has-dropdown.open > a i.fa-chevron-down,
  .nav-menu .has-dropdown.open > button i.fa-chevron-down {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-sm);
    margin: 0 0 14px;
    padding: 6px;
    display: none;
    grid-template-columns: 1fr;
    width: 100%;
    box-shadow: none;
  }

  .dropdown-menu::before { display: none; }

  .has-dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .dropdown-menu a {
    color: rgba(255,255,255,0.85);
    padding: 12px 14px;
    border-radius: var(--r-sm);
  }

  .dropdown-menu a:hover,
  .dropdown-menu a.active {
    background: rgba(37,99,235,0.18);
    color: #ffffff;
  }

  .dropdown-menu .dm-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .dropdown-menu .dm-label { color: rgba(255,255,255,0.95); font-size: 0.95rem; }
  .dropdown-menu .dm-desc  { color: rgba(255,255,255,0.55); font-size: 0.75rem; }

  /* CTA stack at bottom of mobile menu */
  .nav-cta-wrap {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    border-bottom: none !important;
    padding: 18px 0 0;
  }

  .nav-cta-wrap .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-cta-wrap .nav-cta-signin {
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.2);
    background: transparent;
  }

  .nav-cta-wrap .nav-cta-signin:hover {
    background: rgba(255,255,255,0.06);
    color: #ffffff;
  }

  /* Grids → single column */
  .products-grid,
  .feats-grid,
  .showcase-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .benefits-row {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .industries-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .sol-feats {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px 22px;
  }

  .fab {
    bottom: 18px;
    right: 18px;
  }

  .fab a {
    padding: 11px 16px;
    font-size: 0.8125rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .brands-logos {
    gap: 28px;
  }

  .brands-logos img {
    height: 22px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head p {
    font-size: 1rem;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .cta-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .modal-box {
    padding: 28px 22px;
    border-radius: var(--r-xl);
  }

  .price-card {
    padding: 28px 24px;
  }

  .testi-grid {
    max-width: 100%;
  }

  .pricing-grid {
    max-width: 100%;
  }

  /* Devices — hide phone on mobile */
  .phone-device {
    display: none;
  }

  .device-badge {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .device-badge .db-info .db-value {
    font-size: 0.82rem;
  }
}

/* --- Very small screens --- */
@media (max-width: 440px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* ==========================================================================
   End of MazERP v2 Design System
   ========================================================================== */
