@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* "Midnight Finance Automation" Recommended Theme Palette */
  --bg-dark: #050B16;
  --bg-dark-alt: #081426;
  --bg-card: #0D1C30;
  --bg-card-hover: #112943;
  --border-subtle: #193A59;
  --border-glow: rgba(34, 199, 242, 0.4);
  
  --blue-primary: #168DF2;   /* Primary Blue CTA & Highlights */
  --cyan-bright: #22C7F2;    /* Automation Cyan & MCP Gateway */
  --emerald-safe: #22C55E;   /* Finance & Success Green: Approved, Connected */
  --amber-review: #F59E0B;   /* Human Review Orange: Checkpoints & Review Guards */
  --violet-neon: #168DF2;    /* Secondary Blue */
  --purple-glow: rgba(22, 141, 242, 0.08);
  
  --text-main: #F8FAFC;     /* Main Headings */
  --text-muted: #B8C4D4;    /* High-legibility Body Text */
  --text-dim: #8493A7;      /* Secondary Metadata */
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Glassmorphism & Shadow */
  --glass-bg: #0D1C30;
  --glass-border: 1px solid #193A59;
  --glass-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  --glow-cyan: 0 0 25px rgba(34, 199, 242, 0.18);
  --glow-blue: 0 0 25px rgba(22, 141, 242, 0.2);
  --glow-green: 0 0 20px rgba(34, 197, 94, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  word-break: keep-all;
  overflow-wrap: break-word;    /* long URLs won't overflow */
  max-width: 100%;              /* nothing ever wider than its container */
}

/* img & media never overflow */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;           /* no horizontal scroll on html */
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;           /* no horizontal scroll on body */
  -webkit-font-smoothing: antialiased;
  position: relative;
  background-image: 
    radial-gradient(rgba(34, 199, 242, 0.05) 1.5px, transparent 1.5px),
    radial-gradient(rgba(22, 141, 242, 0.04) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
}


/* Ambient Glow Background Spotlights */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 15%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(34, 199, 242, 0.1) 0%, rgba(5, 11, 22, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: 5%;
  right: 10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(22, 141, 242, 0.06) 0%, rgba(5, 11, 22, 0) 70%);
  z-index: -2;
  pointer-events: none;
}

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

/* Grid & Layout Utilities */
.grid {
  display: grid;
  gap: 24px;
}

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

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  background: rgba(34, 199, 242, 0.08);
  border: 1px solid rgba(34, 199, 242, 0.25);
  box-shadow: 0 0 15px rgba(34, 199, 242, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  white-space: nowrap;
}

.gradient-text {
  background: linear-gradient(135deg, #F8FAFC 30%, var(--cyan-bright) 70%, var(--blue-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #F8FAFC 20%, #B8C4D4 60%, var(--blue-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 860px;
  margin-bottom: 40px;
}

/* Standardized Section Header Block */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header .eyebrow {
  display: table;
  margin: 0 auto 16px;
}

.section-header .section-title {
  margin-bottom: 12px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}


/* Section Spacing & Distinct Alternating Backgrounds */
.section {
  padding: 60px 0;
  position: relative;
  background-color: var(--bg-dark);
}


.section-alt {
  background-color: var(--bg-dark-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.35);
}

/* Visually Distinct Cards with Stronger Borders */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 199, 242, 0.35), transparent);
  opacity: 0.5;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(34, 199, 242, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow), 0 0 30px rgba(34, 199, 242, 0.18);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-primary);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(22, 141, 242, 0.4);
  padding: 14px 30px;
}

.btn-primary:hover {
  background: var(--blue-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(22, 141, 242, 0.6);
  filter: brightness(1.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(34, 199, 242, 0.4);
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-glow:hover::before {
  left: 100%;
}

/* Header / Navbar Improvement & Top Contact Bar */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5, 11, 22, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 0 12px 0;
  transition: all 0.3s ease;
}

.header-topbar {
  background: rgba(3, 8, 18, 0.7);
  border-bottom: 1px solid rgba(25, 58, 89, 0.5);
  padding: 7px 0;
  margin-bottom: 10px;
}

.topbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.topbar-item svg {
  color: var(--cyan-bright);
  flex-shrink: 0;
}

.topbar-item:hover {
  color: var(--cyan-bright);
}

.topbar-divider {
  color: rgba(184, 196, 212, 0.3);
  font-size: 0.75rem;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 36px;
  max-height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

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

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem; /* 15px */
  transition: all 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan-bright));
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  line-height: 1;
  transition: all 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(34, 199, 242, 0.15);
  border-color: var(--cyan-bright);
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 18px;
    margin-right: auto; /* Positions hamburger right next to logo on iPad/tablets */
  }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #081426;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px; gap: 16px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    opacity: 0; pointer-events: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1; pointer-events: auto;
  }
  .topbar-wrapper {
    justify-content: center;
  }
  .topbar-info {
    gap: 12px;
  }
  .topbar-item {
    font-size: 0.78rem;
  }
}

/* Hero Section & Page Banners (Header offset ~100px + 40px visual padding = 140px top, 60px bottom) */
.hero-section,
.page-banner-section {
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dark);
}


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

@media (max-width: 992px) {
  /* ── 100% CONSISTENT CENTER TYPOGRAPHY & INTRO PARAGRAPHS (IPAD & MOBILE) ── */
  .section-header,
  .section-header .eyebrow,
  .section-header .section-title,
  .section-header .section-subtitle,
  .section-title,
  .section-subtitle,
  .hero-headline,
  .hero-subheadline,
  .hero-left,
  .hero-left p,
  .eyebrow,
  .gap-left,
  .gap-left h2,
  .gap-left p,
  .gap-body,
  .gap-subline,
  .page-banner-section .section-subtitle,
  .page-banner-section h1,
  .grid-2 > div:first-child > .eyebrow,
  .grid-2 > div:first-child > h2,
  .grid-2 > div:first-child > p {
    text-align: center !important;
  }

  .eyebrow {
    display: table !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 16px !important;
  }

  .section-subtitle,
  .hero-subheadline,
  .gap-body,
  .gap-subline {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center !important; }
  .gap-grid { grid-template-columns: 1fr; text-align: center; }

  /* Keep inside card content readable */
  .glass-card,
  .glass-card p,
  .glass-card div,
  .glass-card ol,
  .glass-card ul,
  .accordion-body,
  .contact-info-card {
    text-align: left;
  }
}

/* Hero Overlay Image Badge with Equal Side Padding & Mobile Scaling */
.hero-image-overlay-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(5, 11, 22, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(34, 199, 242, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
}

.hero-image-overlay-badge .badge-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #F8FAFC;
  white-space: nowrap;
}

.hero-image-overlay-badge .status-badge-orange {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media screen and (max-width: 576px) {
  .hero-image-overlay-badge {
    bottom: 10px;
    left: 8px;
    right: 8px;
    padding: 6px 10px;
    gap: 6px;
    border-radius: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-image-overlay-badge .badge-text {
    font-size: 0.72rem !important;
    gap: 6px !important;
  }

  .hero-image-overlay-badge .status-badge-orange {
    font-size: 0.68rem !important;
    padding: 2px 8px !important;
  }
}

@media screen and (max-width: 380px) {
  .hero-image-overlay-badge {
    flex-direction: column;
    padding: 6px 8px;
    gap: 4px;
    text-align: center;
  }
}

.hero-headline {

  font-size: clamp(2.5rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
}

.hero-subheadline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Image Outer Glow Reduced (~30% subtle glow) */
.hero-right .glass-card {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(34, 199, 242, 0.12);
  border-color: var(--border-subtle);
  background: var(--bg-card);
}

/* Stat Bar */
.stat-bar {
  background: var(--bg-dark-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
}

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

@media (max-width: 992px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .stat-grid { grid-template-columns: 1fr; } }

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stat-icon-wrapper {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(34, 199, 242, 0.1);
  border: 1px solid rgba(34, 199, 242, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-bright);
  font-size: 1.25rem; flex-shrink: 0;
  box-shadow: 0 0 15px rgba(34, 199, 242, 0.12);
}

.stat-title {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-main); margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.875rem; color: var(--text-muted);
}

/* Problem / Gap Grid */
.gap-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 992px) { .gap-grid { grid-template-columns: 1fr; } }

.gap-subline {
  font-size: 1.05rem; font-weight: 600; color: var(--cyan-bright);
  margin-top: 24px; line-height: 1.6;
}

.gap-subline span {
  display: inline-block; margin-right: 8px;
}

h1, h2, h3, .hero-headline, .section-title {
  text-wrap: balance;
}


/* Service Overview Cards */
.service-card {
  display: flex; flex-direction: column; justify-content: space-between; height: 100%;
}

.service-card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(34, 199, 242, 0.1);
  border: 1px solid rgba(34, 199, 242, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--cyan-bright); margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(34, 199, 242, 0.12);
}

.service-card-title { font-size: 1.35rem; margin-bottom: 12px; color: var(--text-main); }
.service-card-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; flex-grow: 1; line-height: 1.65; }

.service-card-link {
  color: var(--blue-primary); text-decoration: none; font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease;
}
.service-card:hover .service-card-link { gap: 12px; color: var(--cyan-bright); }

/* How It Works Steps */
.step-card { position: relative; }
.step-number {
  font-family: var(--font-mono); font-size: 2.5rem; font-weight: 800;
  color: rgba(34, 199, 242, 0.25); margin-bottom: 12px;
}
.step-title { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-main); }
.step-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* Interactive Tabs for BUILT FOR REAL WORKFLOWS */
.tab-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(34, 199, 242, 0.1);
  border-color: rgba(34, 199, 242, 0.3);
}

.tab-btn.active {
  color: var(--text-main);
  background: linear-gradient(135deg, rgba(22, 141, 242, 0.25), rgba(34, 199, 242, 0.25));
  border-color: var(--cyan-bright);
  box-shadow: 0 0 20px rgba(34, 199, 242, 0.2);
}

.tab-content-panel {
  display: none;
}

.tab-content-panel.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

.workflow-detail-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

@media (max-width: 992px) {
  .workflow-detail-box {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
}

.workflow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(34, 199, 242, 0.1);
  border: 1px solid rgba(34, 199, 242, 0.25);
  color: var(--cyan-bright);
  margin-bottom: 16px;
}

/* Status Badges: Functional Green vs Orange Scoping */
.status-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald-safe);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 12px;
  border-radius: 100px;
}

.status-badge-orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-review);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 12px;
  border-radius: 100px;
}

/* Proof Section */
.proof-toggle-bar {
  display: flex; justify-content: center; gap: 16px; margin-bottom: 36px;
}
.proof-toggle-btn {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-subtle);
  color: var(--text-muted); font-family: var(--font-heading); font-weight: 600;
  font-size: 0.95rem; padding: 10px 24px; border-radius: 100px; cursor: pointer; transition: all 0.2s ease;
}
.proof-toggle-btn.active {
  background: linear-gradient(135deg, rgba(22, 141, 242, 0.2), rgba(34, 199, 242, 0.2));
  border-color: var(--cyan-bright); color: var(--text-main); box-shadow: 0 0 20px rgba(34, 199, 242, 0.2);
}

.testimonial-card {
  max-width: 800px; margin: 0 auto; text-align: center; padding: 48px; position: relative;
}
.testimonial-quote {
  font-size: 1.3rem; line-height: 1.7; color: var(--text-main); font-style: italic; margin-bottom: 24px;
}
.testimonial-author { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.testimonial-role { color: var(--cyan-bright); font-size: 0.9rem; margin-top: 2px; }

.testimonial-stack-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-bright);
  background: rgba(34, 199, 242, 0.08);
  border: 1px solid rgba(34, 199, 242, 0.3);
  padding: 8px 18px;
  border-radius: 100px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.4;
  margin-top: 12px;
}

/* Contact Page — Form Card & Balanced Top/Bottom Padding */
.contact-form-card {
  padding: 32px !important;
  display: flex;
  flex-direction: column;
}

.contact-form-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  color: var(--text-main);
  line-height: 1.3;
}

@media (max-width: 992px) {
  .contact-form-card {
    padding: 24px !important;
  }
  .contact-form-title {
    font-size: 1.3rem;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 20px !important;
  }
  .contact-form-title {
    font-size: 1.25rem;
    margin-bottom: 16px !important;
  }
}

/* Integration Strip Improvements & Logo Marquee */
.integrations-wrapper, .logo-marquee-wrapper {
  overflow: hidden;
  position: relative;
  margin-top: 24px;
  padding: 10px 0;
  width: 100%;
  max-width: 100%;
}

.integrations-wrapper::before, .integrations-wrapper::after,
.logo-marquee-wrapper::before, .logo-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.integrations-wrapper::before, .logo-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark-alt), transparent);
}

.integrations-wrapper::after, .logo-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-dark-alt), transparent);
}

.integrations-track, .logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.integrations-track:hover, .logo-marquee-track:hover {
  animation-play-state: paused;
}

.integration-badge, .logo-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

/* Stop global img max-width breaking marquee SVGs */
.logo-marquee-item img,
.integration-badge img {
  width: auto !important;
  height: 32px !important;
  max-width: none !important;
  max-height: 32px !important;
  flex-shrink: 0;
  display: block;
}

.integration-badge:hover, .logo-marquee-item:hover {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 20px rgba(34, 199, 242, 0.25);
  transform: translateY(-2px);
}



/* Services Comparison Strip Matrix */
.comparison-matrix-wrapper {
  overflow-x: auto; border-radius: 16px; border: 1px solid var(--border-subtle);
  background: var(--bg-card); margin-top: 32px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.comparison-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 800px; }
.comparison-table th, .comparison-table td { padding: 20px 24px; border-bottom: 1px solid var(--border-subtle); }
.comparison-table th { background: var(--bg-dark-alt); font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--cyan-bright); }
.comparison-table td:first-child { font-weight: 600; color: var(--text-main); background: rgba(5, 11, 22, 0.5); width: 180px; }
.comparison-table td { font-size: 0.9rem; color: var(--text-muted); }

/* Accordion FAQs (Visually High Contrast Accordion Borders & Items) */
.accordion-container { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.accordion-item {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 14px; overflow: hidden; transition: all 0.3s ease;
}
.accordion-header {
  width: 100%; background: none; border: none; padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600;
  color: var(--text-main); text-align: left; cursor: pointer;
}
.accordion-title {
  flex: 1;
  text-align: left;
  line-height: 1.4;
}
.accordion-header > *:not(.accordion-icon) {
  text-align: left;
}
.accordion-icon {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.05);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  color: var(--cyan-bright); transition: transform 0.3s ease; flex-shrink: 0;
  margin-left: auto;
}
.accordion-item.active { border-color: rgba(34, 199, 242, 0.45); background: var(--bg-card-hover); }
.accordion-item.active .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  padding: 0 28px 24px; color: var(--text-muted); font-size: 0.98rem;
  line-height: 1.65; display: none;
}
.accordion-item.active .accordion-body { display: block; animation: fadeIn 0.3s ease forwards; }

/* CEO Leadership Message */
.ceo-message-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 20px; padding: 40px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
@media (max-width: 768px) {
  .ceo-message-card { grid-template-columns: 1fr; text-align: center; }
  .ceo-photo-container { margin: 0 auto; }
}

.ceo-photo-container {
  width: 180px; height: 180px; border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(34, 199, 242, 0.4); box-shadow: 0 0 25px rgba(34, 199, 242, 0.18);
}
.ceo-photo-container img { width: 100%; height: 100%; object-fit: cover; }
.ceo-quote-text {
  font-size: 1.15rem; line-height: 1.7; color: var(--text-main); font-style: italic; margin-bottom: 20px;
}

/* Team Member Cards */
.team-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 18px; padding: 32px; display: grid; grid-template-columns: 180px 1fr;
  gap: 28px; align-items: flex-start; transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .team-card { grid-template-columns: 1fr; text-align: center; }
  .team-photo-wrapper { margin: 0 auto; }
}

.team-card:hover {
  border-color: rgba(34, 199, 242, 0.4); transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(34, 199, 242, 0.15);
}

.team-photo-wrapper {
  width: 160px; height: 160px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15); flex-shrink: 0;
}
.team-photo-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.team-role {
  color: var(--cyan-bright); font-family: var(--font-mono); font-size: 0.875rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}
.team-bio { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-top: 12px; }
.team-bio p { margin-bottom: 10px; }

.team-linkedin {
  display: inline-flex; align-items: center; gap: 6px; color: var(--blue-primary);
  text-decoration: none; font-size: 0.85rem; font-weight: 600; margin-top: 12px;
}
.team-linkedin:hover { text-decoration: underline; color: var(--cyan-bright); }

/* Footer */
.site-footer {
  background: #030710; border-top: 1px solid var(--border-subtle); padding: 80px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 60px; }
@media (max-width: 992px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-tagline { color: var(--text-muted); font-size: 0.95rem; margin-top: 16px; max-width: 320px; }
.footer-column-title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--text-main); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-link { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-link:hover { color: var(--cyan-bright); }

/* Modals */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(3, 7, 18, 0.88); backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  padding: 20px 16px;
  overflow-y: auto;   /* Only overlay scrolls — ONE scrollbar */
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-content {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 20px; max-width: 640px; width: 100%; padding: 28px 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  position: relative; transform: scale(0.95); transition: transform 0.3s ease;
  /* NO overflow-y here — prevents double scrollbar */
  overflow: visible;
  margin: auto;
}
.modal-overlay.open .modal-content { transform: scale(1); }
.modal-close-btn {
  position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-main);
  width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 10;
}
.modal-close-btn:hover { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

/* Zoho Form Iframe Container — responsive for all screens */
.zoho-form-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  /* No overflow:hidden — let iframe render at full height */
}
.zoho-form-container iframe {
  display: block;
  width: 100% !important;
  border: none !important;
  border-radius: 12px;
  height: 750px;        /* Height set to 750px */
  min-height: 750px;
}

/* Contact Page Form Card Title with Balanced Top/Bottom Spacing */
.contact-form-title {
  text-align: center !important;
  font-size: 1.4rem;
  margin-top: 4px;
  margin-bottom: 24px;
  color: var(--text-main);
  font-weight: 700;
}



.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--bg-dark-alt); border: 1px solid var(--border-subtle);
  border-radius: 10px; padding: 14px 18px; color: var(--text-main);
  font-family: var(--font-body); font-size: 0.95rem; outline: none; transition: border-color 0.2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--cyan-bright); box-shadow: 0 0 20px rgba(0, 182, 251, 0.25);
}

/* Animations Keyframes & Utilities */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px var(--cyan-bright), 0 0 20px var(--cyan-bright); transform: scale(1); }
  50% { box-shadow: 0 0 20px var(--cyan-bright), 0 0 35px var(--cyan-bright); transform: scale(1.15); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.float-anim { animation: floatLight 6s ease-in-out infinite; }
.fade-in { animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.toast-notification {
  position: fixed; bottom: 30px; right: 30px;
  background: var(--emerald-safe); color: #04140d; font-weight: 700;
  font-family: var(--font-heading); padding: 16px 24px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(34, 197, 94, 0.4);
  z-index: 3000; display: flex; align-items: center; gap: 12px;
  transform: translateY(100px); opacity: 0; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-notification.show { transform: translateY(0); opacity: 1; }

/* Footer Social Icons */
.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--cyan-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-icon:hover {
  background: rgba(34, 199, 242, 0.15);
  border-color: var(--cyan-bright);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 242, 0.3);
}

/* Mobile Top CTA Banner (Below Header, Above Hero Section) */
.mobile-top-cta-banner {
  display: none;
}

/* Contact Info Cards — flex layout with proper mobile wrapping */
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

/* Footer Bottom — wraps cleanly on mobile */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  color: #A7B5C8;
  width: 100%;
}


@media screen and (max-width: 767px) {

  /* ── GLOBAL OVERFLOW SAFETY ── */
  .container {
    padding: 0 16px !important;
    overflow-x: hidden !important;
  }

  .section {
    padding: 44px 0 !important;
    overflow-x: hidden !important;
  }

  /* Hero & Internal page banners: balanced padding on mobile (60px header + 44px visual padding = 104px top, 44px bottom) */
  .hero-section,
  .page-banner-section {
    padding-top: 104px !important;
    padding-bottom: 44px !important;
  }

  /* ── TYPOGRAPHY ALIGNMENT ── */
  .section-header,
  .section-header .eyebrow,
  .section-header .section-title,
  .section-header .section-subtitle,
  .section-title,
  .section-subtitle,
  .hero-headline,
  .hero-subheadline,
  .hero-left,
  .hero-left p,
  .eyebrow,
  .gap-left,
  .gap-left h2,
  .gap-left p,
  .gap-body,
  .gap-subline,
  .page-banner-section .section-subtitle,
  .page-banner-section h1,
  .grid-2 > div:first-child > .eyebrow,
  .grid-2 > div:first-child > h2,
  .grid-2 > div:first-child > p {
    text-align: center !important;
  }

  .eyebrow {
    display: inline-flex !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.05em !important;
    line-height: 1.35 !important;
    padding: 6px 14px !important;
    border-radius: 100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 16px !important;
  }

  .section-subtitle,
  .hero-subheadline,
  .gap-body,
  .gap-subline {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ── FONT SIZES ── */
  .hero-headline { font-size: 2rem !important; line-height: 1.15 !important; }
  .hero-subheadline { font-size: 1rem !important; }
  .section-title { font-size: 1.75rem !important; }

  /* ── HEADER ── */
  .site-header { padding: 12px 0 !important; }
  .brand-logo img { height: 42px !important; max-height: 42px !important; }
  .site-header .open-audit-modal,
  .site-header .header-audit-btn { display: none !important; }
  .mobile-toggle {
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  /* ── GRID → SINGLE COLUMN ── */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* ── GLASS CARDS ── */
  .glass-card {
    padding: 20px !important;
    overflow-x: hidden !important;
  }

  /* ── BUTTONS ── */
  .btn {
    white-space: normal !important;
    text-align: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
    width: 100% !important;
  }

  /* ── MOBILE TOP CTA BANNER (HOME ONLY) ── */
  .mobile-top-cta-banner {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 32px !important;
    padding: 16px !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  }

  .mobile-top-cta-banner .btn {
    justify-content: center !important;
  }

  /* ── WORKFLOW TAB SWITCHER ── */
  .tab-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .tab-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 12px 10px !important;
    font-size: 0.85rem !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    min-height: 44px !important;
    border-radius: 12px !important;
  }

  .workflow-detail-box {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ── COMPARISON MATRIX (SERVICES) ── */
  .comparison-matrix-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* ── TEAM CARDS (ABOUT) ── */
  .team-card {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding: 24px !important;
  }

  .team-photo-wrapper {
    margin: 0 auto !important;
    width: 130px !important;
    height: 130px !important;
  }

  .team-linkedin {
    justify-content: center !important;
  }

  /* ── CEO MESSAGE ── */
  .ceo-message-card {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding: 24px !important;
  }

  .ceo-photo-container {
    margin: 0 auto !important;
  }

  /* ── FOOTER ── */
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-tagline {
    max-width: 100% !important;
  }

  /* ── MODAL (Zoho Form inside modal on mobile) ── */
  .modal-overlay {
    align-items: flex-start !important;
    padding: 10px !important;
    overflow-y: auto !important;
  }
  .modal-content {
    padding: 20px 16px !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    overflow: visible !important;    /* NO modal-content scroll on mobile either */
    border-radius: 16px !important;
  }

  /* ── ZOHO FORM IFRAME (mobile) ── */
  .zoho-form-container iframe {
    min-height: 750px !important;
    height: 750px !important;
    width: 100% !important;
  }

  /* Generic iframe safety */
  iframe {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* ── ACCORDION ── */
  .accordion-header {
    font-size: 1rem !important;
    padding: 18px 20px !important;
  }

  .accordion-body {
    padding: 0 20px 20px !important;
    font-size: 0.92rem !important;
  }

  /* ── IFRAME (ZOHO FORM) ── */
  iframe {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* ── LOGO MARQUEE ── */
  .logo-marquee-wrapper,
  .integrations-wrapper {
    overflow: hidden !important;
  }

  /* ── CONTACT INFO CARDS (Contact Page) ── */
  .contact-info-card {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  /* ── FOOTER BOTTOM ── */
  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 0.8rem !important;
  }

  /* ── HERO RIGHT CARD ── */
  .hero-right .glass-card > div { height: 260px !important; }

  /* ── CONTACT FORM (Zoho Iframe height on mobile) ── */
  .contact-form-wrapper iframe {
    height: 700px !important;
  }
}

/* ─── SMALL PHONE (< 480px) extra safety ─── */
@media screen and (max-width: 480px) {
  .hero-headline { font-size: 1.75rem !important; }
  .section-title { font-size: 1.5rem !important; }

  .contact-info-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Marquee logos scale down a bit */
  .logo-marquee-item img,
  .integration-badge img {
    height: 26px !important;
  }

  .logo-marquee-item,
  .integration-badge {
    padding: 6px 14px !important;
    height: 44px !important;
  }

  .accordion-header {
    font-size: 0.92rem !important;
    padding: 16px !important;
  }

  .glass-card {
    padding: 16px !important;
  }
}


