/* =========================================================
   MCREVNEX  –  Premium FinTech Design System v2
   ========================================================= */

/* ── Google Fonts ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  /* Core palette */
  --bg-primary: #080c18;
  --bg-secondary: #0c1024;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.065);

  /* Accent – electric blue */
  --accent: #1a8fff;
  --accent-bright: #5ab4ff;
  --accent-dim: rgba(26, 143, 255, 0.12);
  --accent-glow: rgba(26, 143, 255, 0.3);

  /* Secondary accent – subtle teal for variety */
  --teal: #00c4a0;
  --teal-dim: rgba(0, 196, 160, 0.1);

  /* Steel tones */
  --steel: #8ca4c0;
  --steel-light: #b4ccec;

  /* Text */
  --text-primary: #edf2fc;
  --text-secondary: #8ca4c0;
  --text-muted: #455672;

  /* Borders */
  --border: rgba(26, 143, 255, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 6rem 0;
  --container: 1200px;

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-med: 0.3s ease;
  --t-slow: 0.55s ease;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(26, 143, 255, 0.22);
  --shadow-glow2: 0 8px 48px rgba(26, 143, 255, 0.1);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* ── Utilities ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding: var(--section-pad);
}

.highlight {
  color: var(--accent-bright);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--accent-dim);
  color: var(--accent-bright);
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--t-med);
}

.navbar.scrolled {
  background: rgba(8, 12, 24, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 30px rgba(0, 0, 0, 0.4);
  padding: 0.9rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-logo img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(26, 143, 255, 0.5));
}

.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #edf2fc 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--t-fast);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--t-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  transition: box-shadow var(--t-fast), transform var(--t-fast) !important;
  letter-spacing: 0.02em !important;
}

.nav-cta:hover {
  box-shadow: 0 0 20px rgba(26, 143, 255, 0.45) !important;
  transform: translateY(-1px) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(8, 12, 24, 0.99);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1.1rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.mobile-nav a:hover {
  color: var(--accent-bright);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  transition: all var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 143, 255, 0.35);
}

.btn-primary:hover {
  background: #2899ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 143, 255, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-card);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: var(--accent-dim);
}

.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
}

/* ── Glass Cards ─────────────────────────────────────────── */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--t-med);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  box-shadow: var(--shadow-glow2);
  transform: translateY(-3px);
}

/* ── Orb Decorations ─────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.orb-blue {
  width: 500px;
  height: 500px;
  background: rgba(26, 143, 255, 0.15);
}

.orb-steel {
  width: 350px;
  height: 350px;
  background: rgba(0, 196, 160, 0.08);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

/* Fallback if no video */
.hero-video:not([src]),
.hero-video[src="assets/hero_bg.mp4"]:not([autoplay]) {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(26, 143, 255, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8, 12, 24, 0.85) 0%, rgba(8, 12, 24, 0.6) 50%, rgba(8, 12, 24, 0.95) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-eyebrow-line {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-eyebrow span {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-bright) 0%, #a8d8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.85;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Platform badges in hero */
.platform-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.platform-badge-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-badge {
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--steel-light);
  letter-spacing: 0.03em;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero-scroll svg {
  opacity: 0.4;
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

/* ── Section Headings ────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: 2px;
  margin: 1.1rem auto 0;
}

/* ── Stats Strip ─────────────────────────────────────────── */
.stats-strip {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(26, 143, 255, 0.03) 0%, transparent 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

/* ── Division Cards ──────────────────────────────────────── */
.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.division-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  border: 1px solid var(--border-card);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  cursor: pointer;
}

.division-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(26, 143, 255, 0.18);
  border-color: var(--border);
}

.division-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--t-slow);
  z-index: 0;
}

.division-card:hover .division-card-bg {
  transform: scale(1.04);
}

.division-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(8, 12, 24, 0.97) 0%,
      rgba(8, 12, 24, 0.7) 45%,
      rgba(8, 12, 24, 0.25) 100%);
  z-index: 1;
}

.division-card-content {
  position: relative;
  z-index: 2;
}

.division-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(26, 143, 255, 0.15);
  border: 1px solid rgba(26, 143, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.division-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.division-card-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.3rem;
  line-height: 1.7;
}

.division-tag-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}

.division-tag {
  padding: 0.2rem 0.8rem;
  background: rgba(26, 143, 255, 0.1);
  border: 1px solid rgba(26, 143, 255, 0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.04em;
}

/* ── Feature Grid ────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  padding: 1.75rem;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(26, 143, 255, 0.1);
  border: 1px solid rgba(26, 143, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ── Service List ────────────────────────────────────────── */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.service-item:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.service-item-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--accent-dim);
  border: 1px solid rgba(26, 143, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.service-item-text h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.2rem;
  font-size: 0.97rem;
  color: var(--text-primary);
}

.service-item-text p {
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.65;
}

/* ── Split Layout ────────────────────────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-strong);
}

.split-image img {
  width: 100%;
  display: block;
}

.split-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.split-content p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ── Check List ──────────────────────────────────────────── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.check-list li::before {
  content: '✓';
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  background: var(--accent-dim);
  border: 1px solid rgba(26, 143, 255, 0.25);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  position: relative;
  padding: 9.5rem 0 5.5rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(26, 143, 255, 0.07) 0%, transparent 60%),
    linear-gradient(135deg, rgba(8, 12, 24, 0.97) 0%, rgba(8, 12, 24, 0.82) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── Portal CTA Banner ───────────────────────────────────── */
.portal-cta {
  background: linear-gradient(135deg, rgba(26, 143, 255, 0.1) 0%, rgba(26, 143, 255, 0.03) 100%);
  border: 1px solid rgba(26, 143, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
}

.portal-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.portal-cta p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2.2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ── Problems / Solutions Grid ────────────────────────────── */
.problems-solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.problems-col {
  background: rgba(224, 85, 85, 0.04);
  border: 1px solid rgba(224, 85, 85, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}

.solutions-col {
  background: rgba(26, 143, 255, 0.05);
  border: 1px solid rgba(26, 143, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}

.problems-header,
.solutions-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.problems-icon,
.solutions-icon {
  font-size: 1.4rem;
}

.problems-header h3,
.solutions-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.problems-list,
.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problems-list li,
.solutions-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.problem-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e05555;
  flex-shrink: 0;
  margin-top: 7px;
  box-shadow: 0 0 10px rgba(224, 85, 85, 0.6);
}

.solution-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(26, 143, 255, 0.15);
  border: 1px solid rgba(26, 143, 255, 0.3);
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--accent-bright);
  font-weight: 800;
}

.problems-list li strong,
.solutions-list li strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.problems-list li p,
.solutions-list li p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* ── How It Works ─────────────────────────────────────────── */
.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: 0;
  align-items: center;
}

.hiw-step {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  text-align: center;
  transition: all var(--t-med);
}

.hiw-step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  box-shadow: var(--shadow-glow2);
  transform: translateY(-4px);
}

.hiw-number {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  opacity: 0.8;
}

.hiw-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.hiw-step h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.hiw-step p {
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.7;
}

.hiw-arrow {
  font-size: 1.4rem;
  color: var(--border);
  text-align: center;
}

/* ── About / Values ──────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.value-card {
  padding: 2rem 1.75rem;
  text-align: center;
}

.value-emoji {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ── Team ────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.team-card {
  padding: 2rem;
  text-align: center;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0058cc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: 0 0 20px rgba(26, 143, 255, 0.3);
}

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-card span {
  font-size: 0.82rem;
  color: var(--accent-bright);
  font-weight: 500;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3.5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}

.form-group input:focus,
.form-group select,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 143, 255, 0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-info-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--accent-dim);
  border: 1px solid rgba(26, 143, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-text h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.contact-info-text p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* ── Map embed ───────────────────────────────────────────── */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  margin-top: 1.5rem;
  height: 220px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px rgba(26, 143, 255, 0.3));
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-company-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

.footer-company-details a {
  color: var(--accent-bright);
  transition: color var(--t-fast);
}

.footer-company-details a:hover {
  color: var(--accent);
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--t-fast);
}

.footer-col ul a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--accent-bright);
  transition: color var(--t-fast);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ── Animations ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: 4.5rem 0;
  }

  .problems-solutions-grid {
    grid-template-columns: 1fr;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hiw-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 3.5rem 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .division-grid {
    grid-template-columns: 1fr;
  }

  .division-card {
    min-height: 360px;
  }

  .portal-cta {
    padding: 2.5rem 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item+.stat-item::before {
    display: none;
  }

  .container {
    padding: 0 1.25rem;
  }
}

/* ── Hero product line ───────────────────────────────────── */
.hero-product-line {
  font-size: 0.97rem !important;
  color: var(--steel-light) !important;
  margin-bottom: 2rem !important;
  margin-top: -0.8rem;
  font-style: italic;
}

.hero-product-line strong {
  color: var(--accent-bright);
  font-style: normal;
  font-weight: 700;
}

/* ── Dashboard Preview ───────────────────────────────────── */
.dashboard-preview {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 60px rgba(26, 143, 255, 0.18), 0 20px 80px rgba(0, 0, 0, 0.6);
}

.dashboard-preview img {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
}

.dashboard-preview-label {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 12, 24, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.3rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ── Demo Meta badges ────────────────────────────────────── */
.demo-meta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Group pills (subtle footer section) ─────────────────── */
.group-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.group-pill:hover {
  border-color: var(--border);
  color: var(--accent-bright);
  background: var(--bg-card-hover);
}

/* ── Screenshot Tab Carousel ─────────────────────────────── */
.screenshot-tabs {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 60px rgba(26, 143, 255, 0.15), 0 20px 80px rgba(0, 0, 0, 0.5);
}

.screenshot-tab-buttons {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.stab {
  flex: 1;
  padding: 0.9rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.stab:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}

.stab.active {
  color: var(--accent-bright);
  border-bottom-color: var(--accent);
  background: rgba(26, 143, 255, 0.06);
}

.screenshot-frames {
  position: relative;
}

.screenshot-frame {
  display: none;
  position: relative;
}

.screenshot-frame.active {
  display: block;
}

.screenshot-frame img {
  width: 100%;
  display: block;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  max-height: 540px;
  object-fit: cover;
  object-position: top;
}

.screenshot-frame .dashboard-preview-label {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 12, 24, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.3rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.06em;
  white-space: nowrap;
  z-index: 2;
}

@media (max-width: 640px) {
  .stab {
    font-size: 0.72rem;
    padding: 0.75rem 0.5rem;
  }

  .screenshot-frame img {
    max-height: 280px;
  }
}

/* ── Page hero subtitle ──────────────────────────────────── */
.page-hero-sub {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
  margin-top: 1rem;
}

/* ── Feature Detail Grid ─────────────────────────────────── */
.feature-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .feature-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.feature-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
}

.feature-detail-list li {
  font-size: 0.97rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

/* ── Feature Example Cards ───────────────────────────────── */
.feature-example-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-heading);
}

.fex-label {
  background: rgba(26, 143, 255, 0.08);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fex-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fex-footer {
  padding: 0.7rem 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.15);
}

.fex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  gap: 0.5rem;
}

.fex-account {
  font-weight: 700;
  color: var(--accent-bright);
  font-size: 0.85rem;
}

.fex-detail {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.fex-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26, 143, 255, 0.06);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.fex-score {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ff6b35;
}

.fex-score-yellow {
  color: #f5a623;
}

.fex-separator {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.25rem 0;
}

/* Exposure card */
.fex-exposure-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
}

.fex-exposure-row:last-child {
  border-bottom: none;
}

.fex-symbol {
  font-weight: 700;
  color: var(--accent-bright);
  font-size: 0.9rem;
  min-width: 70px;
}

.fex-expose-detail {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.fex-buy {
  color: #4caf80;
}

.fex-sell {
  color: #ff5c5c;
}

.fex-net {
  font-weight: 700;
}

.fex-net-pos {
  color: #4caf80;
}

.fex-net-neg {
  color: #ff5c5c;
}

/* Alert card */
.fex-alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.fex-badge-red {
  background: rgba(255, 60, 60, 0.15);
  border: 1px solid rgba(255, 60, 60, 0.3);
  color: #ff5c5c;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}

.fex-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.fex-alert-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fex-alert-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.fex-alert-row strong {
  color: var(--text-primary);
}

.fex-breach {
  color: #f5a623 !important;
}

.fex-breach strong {
  color: #f5a623;
}

/* IP card */
.fex-ip-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fex-ip-accounts {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fex-ip-detail {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}