/* ==========================================================================
   AccuCloud Hosting - QuickBooks & Xero Cloud Hosting Landing Page Stylesheet
   Dual Brand Palette: Intuit QuickBooks Green (#2CA01C) + Xero Cyan (#00B5E2)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Tokens */
  --qb-green: #2CA01C;
  --qb-green-dark: #207A14;
  --qb-green-light: #EBF7E9;
  --qb-green-glow: rgba(44, 160, 28, 0.25);

  --xero-cyan: #00B5E2;
  --xero-cyan-dark: #0088AA;
  --xero-cyan-light: #E5F7FC;
  --xero-cyan-glow: rgba(0, 181, 226, 0.25);

  /* Dual Gradient Highlights */
  --brand-gradient: linear-gradient(135deg, var(--xero-cyan) 0%, var(--qb-green) 100%);
  --brand-gradient-hover: linear-gradient(135deg, #009EC5 0%, #238517 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(0, 181, 226, 0.08) 0%, rgba(44, 160, 28, 0.08) 100%);

  /* Base & Neutral Palette */
  --navy-dark: #092843;
  --navy-deeper: #051A2E;
  --navy-surface: #0E3557;
  --slate-dark: #1E293B;
  --slate-muted: #475569;
  --slate-light: #94A3B8;
  --bg-light: #FAFCFE;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-focus: #00B5E2;

  /* Status Colors */
  --success-green: #10B981;
  --warning-amber: #F59E0B;

  /* Shadows & Elevation */
  --shadow-sm: 0 2px 4px rgba(9, 40, 67, 0.04);
  --shadow-md: 0 8px 16px -2px rgba(9, 40, 67, 0.08), 0 4px 6px -2px rgba(9, 40, 67, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(9, 40, 67, 0.12), 0 10px 10px -5px rgba(9, 40, 67, 0.04);
  --shadow-glow: 0 0 25px rgba(0, 181, 226, 0.2);

  /* Fonts & Transitions */
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--slate-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
  color: var(--navy-dark);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--brand-gradient-subtle);
  border: 1px solid rgba(0, 181, 226, 0.2);
  border-radius: var(--radius-pill);
  color: var(--navy-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--slate-muted);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.975rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 181, 226, 0.3);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 160, 28, 0.35);
}

.btn-secondary {
  background: var(--navy-dark);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: var(--navy-surface);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--xero-cyan);
  background: var(--xero-cyan-light);
  color: var(--xero-cyan-dark);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   3. Top Compliance Bar & Header Navigation
   -------------------------------------------------------------------------- */
.compliance-bar {
  background: var(--navy-deeper);
  color: #CBD5E1;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compliance-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compliance-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.compliance-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.compliance-contact a {
  color: #F1F5F9;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.compliance-contact a:hover {
  color: var(--xero-cyan);
}

/* Main Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  transition: var(--transition-fast);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 181, 226, 0.3);
  flex-shrink: 0 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.nav-links li {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex;
}

.nav-link {
  font-weight: 600;
  color: var(--slate-dark);
  font-size: 0.875rem;
  white-space: nowrap !important;
  display: inline-block;
  line-height: 1;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--xero-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.825rem;
  color: var(--navy-dark);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  white-space: nowrap !important;
  transition: var(--transition-fast);
}

.nav-phone-btn:hover {
  border-color: var(--xero-cyan);
  color: var(--xero-cyan-dark);
  background: var(--xero-cyan-light);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-dark);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(0, 181, 226, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(44, 160, 28, 0.06) 0%, transparent 40%),
    var(--bg-light);
  overflow: hidden;
}

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

.hero-headline {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-subheadline {
  font-size: 1.15rem;
  color: var(--slate-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
}

.brand-pill-qb {
  background-color: var(--qb-green-light);
  color: var(--qb-green-dark);
  border: 1px solid rgba(44, 160, 28, 0.3);
}

.brand-pill-xero {
  background-color: var(--xero-cyan-light);
  color: var(--xero-cyan-dark);
  border: 1px solid rgba(0, 181, 226, 0.3);
}

.brand-pill-supported {
  background-color: rgba(9, 40, 67, 0.05);
  color: var(--navy-dark);
  border: 1px solid var(--border-light);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.trust-item svg {
  color: var(--qb-green);
  flex-shrink: 0;
}

/* Hero Visual & Simulated Live Widget */
.hero-visual-container {
  position: relative;
}

.hero-card-preview {
  background: var(--navy-dark);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 181, 226, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.dashboard-img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
}

/* Live Floating Server Status Card */
.live-status-floating {
  position: absolute;
  bottom: -25px;
  left: -20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 181, 226, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 320px;
}

.live-indicator-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--qb-green-light);
  color: var(--qb-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.live-status-title {
  font-size: 0.85rem;
  color: var(--slate-muted);
  font-weight: 600;
}

.live-status-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   5. Software Solution Dedicated Tabs
   -------------------------------------------------------------------------- */
.solutions-section {
  padding: 5rem 0;
  background: #FFFFFF;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--slate-dark);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tab-btn:hover {
  border-color: var(--xero-cyan);
}

.tab-btn.active[data-tab="quickbooks"] {
  background: var(--qb-green);
  color: #FFFFFF;
  border-color: var(--qb-green);
  box-shadow: 0 4px 14px var(--qb-green-glow);
}

.tab-btn.active[data-tab="xero"] {
  background: var(--xero-cyan);
  color: #FFFFFF;
  border-color: var(--xero-cyan);
  box-shadow: 0 4px 14px var(--xero-cyan-glow);
}

.tab-btn.active[data-tab="hybrid"] {
  background: var(--navy-dark);
  color: #FFFFFF;
  border-color: var(--navy-dark);
  box-shadow: 0 4px 14px rgba(9, 40, 67, 0.3);
}

.tab-content-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.tab-content-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.solution-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.solution-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 181, 226, 0.4);
}

.card-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card-icon-qb {
  background: var(--qb-green-light);
  color: var(--qb-green);
}

.card-icon-xero {
  background: var(--xero-cyan-light);
  color: var(--xero-cyan-dark);
}

.solution-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.solution-card p {
  color: var(--slate-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-list-check {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-list-check li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--navy-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-list-check li svg {
  color: var(--qb-green);
}

/* Tab Visual Showcase Banners */
.tab-feature-visual-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.visual-img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(9, 40, 67, 0.1);
  background: var(--navy-dark);
}

.visual-img-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.visual-text-card h3 {
  font-size: 1.5rem;
  margin: 0.75rem 0;
}

.visual-text-card p {
  color: var(--slate-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* Security Split Layout */
.security-split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.security-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: var(--navy-dark);
}

.security-img-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.security-badge-floating {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(9, 40, 67, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 181, 226, 0.3);
  color: #FFFFFF;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}

.security-badge-floating svg {
  color: var(--qb-green);
}

/* --------------------------------------------------------------------------
   6. Features & Compliance Infrastructure Grid
   -------------------------------------------------------------------------- */
.features-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition-fast);
}

.feature-box:hover {
  border-color: var(--xero-cyan);
  box-shadow: var(--shadow-md);
}

.feature-box-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient-subtle);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--slate-muted);
}

/* --------------------------------------------------------------------------
   7. Interactive Price & Plan Estimator
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: 5.5rem 0;
  background: var(--navy-dark);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.pricing-section h2,
.pricing-section p.section-subtitle {
  color: #FFFFFF;
}

.pricing-section .section-subtitle {
  color: #94A3B8;
}

.estimator-card {
  background: var(--navy-deeper);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  gap: 0.5rem;
}

.val-badge {
  background: rgba(0, 181, 226, 0.15);
  color: var(--xero-cyan);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1E293B;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--qb-green);
  cursor: pointer;
  box-shadow: 0 0 10px var(--qb-green-glow);
  transition: var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.software-select-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.soft-btn {
  padding: 0.75rem;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.soft-btn.active {
  background: var(--brand-gradient);
  color: #FFFFFF;
  border-color: transparent;
}

.estimator-summary-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.price-currency {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--xero-cyan);
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--slate-light);
}

/* --------------------------------------------------------------------------
   8. Objective Comparison Table
   -------------------------------------------------------------------------- */
.comparison-section {
  padding: 5rem 0;
  background: #FFFFFF;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--bg-light);
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 1rem;
}

.comparison-table th.highlight-col {
  background: var(--brand-gradient-subtle);
  color: var(--navy-dark);
  border-top: 3px solid var(--xero-cyan);
}

.comparison-table td.highlight-col {
  background: rgba(0, 181, 226, 0.02);
  font-weight: 600;
}

.table-check {
  color: var(--qb-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.table-cross {
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   9. Compliance Checklist & FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--xero-cyan);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-dark);
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: var(--transition-fast);
  color: var(--slate-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--xero-cyan);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--slate-muted);
  font-size: 0.975rem;
}

.faq-item.active .faq-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  max-height: 300px;
}

/* --------------------------------------------------------------------------
   10. Required Footer & Trademark Compliance Box
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-deeper);
  color: #94A3B8;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.compliance-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 3.5rem;
}

.disclaimer-title {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disclaimer-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #CBD5E1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--xero-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   11. Consultation & Demo Interactive Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 40, 67, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  padding: 1.5rem;
}

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

.modal-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition-fast);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--navy-dark);
}

.modal-title {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--slate-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--xero-cyan);
  box-shadow: 0 0 0 3px rgba(0, 181, 226, 0.15);
}

.form-disclaimer {
  font-size: 0.775rem;
  color: var(--slate-muted);
  margin-top: 1rem;
  line-height: 1.4;
}

.form-success-state {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.success-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--qb-green-light);
  color: var(--qb-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem auto;
}

/* Desktop Default for Mobile Only Actions */
.mobile-only-action {
  display: none !important;
}

/* --------------------------------------------------------------------------
   12. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(9, 40, 67, 0.15);
    border-bottom: 1px solid var(--border-light);
    gap: 1rem;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0;
    width: 100%;
    color: var(--navy-dark);
  }

  .mobile-only-action {
    display: flex !important;
  }

  .nav-actions .open-modal-btn {
    display: none;
    /* Hide large demo button in nav row on mobile */
  }

  .nav-phone-btn span {
    display: none;
    /* Hide text, keep sleek call icon on mobile */
  }

  .nav-phone-btn {
    padding: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--navy-dark);
  }

  .hero {
    padding: 3rem 0 4rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .tab-feature-visual-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .security-split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .security-img-wrapper img {
    height: 260px;
  }

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

  .solution-card[style*="grid-column: span 3"] {
    grid-column: span 1 !important;
  }

  .solution-card[style*="grid-column: span 3"]>div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

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

  .estimator-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

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

@media (max-width: 768px) {
  .compliance-bar-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    font-size: 0.75rem;
  }

  .compliance-contact {
    gap: 0.5rem;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust-bullets {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .live-status-floating {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 1.25rem;
    max-width: 100%;
    width: 100%;
  }

  .tab-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tab-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
  }

  .solution-card-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    padding: 1.5rem;
  }

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

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

  .software-select-buttons .soft-btn[style*="grid-column: span 2"] {
    grid-column: span 2 !important;
  }

  .estimator-card {
    padding: 1.5rem;
  }

  .estimator-summary-box {
    padding: 1.5rem;
  }

  .price-amount {
    font-size: 2.75rem;
  }

  .faq-header {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }

  .faq-body {
    font-size: 0.9rem;
  }

  .footer {
    padding: 3rem 0 1.5rem 0;
  }

  .compliance-disclaimer-box {
    padding: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .modal-container {
    padding: 1.75rem 1.25rem;
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .software-select-buttons {
    grid-template-columns: 1fr;
  }

  .software-select-buttons .soft-btn[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
}

/* --------------------------------------------------------------------------
   13. Floating Action Call Widget & Callout Tooltip
   -------------------------------------------------------------------------- */
.floating-widget-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.floating-widget-wrapper * {
  pointer-events: auto;
}

/* Speech Bubble Callout Tooltip Card */
.floating-callout-card {
  background: var(--navy-dark);
  color: #FFFFFF;
  border: 1px solid rgba(0, 181, 226, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  max-width: 310px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: floatBounce 4s ease-in-out infinite;
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.floating-callout-card::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 28px;
  width: 14px;
  height: 14px;
  background: var(--navy-dark);
  border-right: 1px solid rgba(0, 181, 226, 0.35);
  border-bottom: 1px solid rgba(0, 181, 226, 0.35);
  transform: rotate(45deg);
}

.floating-callout-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 5px;
}

.floating-callout-close:hover {
  color: #FFFFFF;
}

.floating-callout-headline {
  font-weight: 800;
  font-size: 0.975rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  padding-right: 1rem;
}

.floating-callout-subtext {
  font-size: 0.825rem;
  color: #94A3B8;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   13. Floating Action Widget (Call + Contact Form)
   -------------------------------------------------------------------------- */
.floating-widget-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.925rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-form-btn {
  background: var(--navy-dark);
  color: #FFFFFF;
  border: 1.5px solid rgba(0, 181, 226, 0.5);
}

.floating-form-btn:hover {
  background: #0B3A60;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 181, 226, 0.4);
  color: #FFFFFF;
}

.floating-call-btn {
  background: var(--qb-green);
  color: #FFFFFF;
  border: 1.5px solid #FFFFFF;
}

.floating-call-btn:hover {
  background: var(--qb-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(44, 160, 28, 0.5);
  color: #FFFFFF;
}

@media (max-width: 576px) {
  .floating-widget-bar {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
  }
  .floating-btn {
    padding: 0.65rem 0.85rem;
    font-size: 0.825rem;
    flex: 1;
    justify-content: center;
  }
}

.floating-call-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: phoneShake 2.5s infinite;
}

@keyframes phoneShake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30%,
  50% {
    transform: rotate(-10deg);
  }

  20%,
  40% {
    transform: rotate(10deg);
  }

  60% {
    transform: rotate(0deg);
  }
}

@media (max-width: 576px) {
  .floating-widget-wrapper {
    bottom: 16px;
    right: 16px;
  }

  .floating-callout-card {
    max-width: 270px;
    padding: 0.85rem 1rem;
  }

  .floating-callout-headline {
    font-size: 0.9rem;
  }

  .floating-callout-subtext {
    font-size: 0.775rem;
  }

  .floating-fab-btn {
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   14. Pre-Footer Call-to-Action Strip Below FAQ (Clean Best Approach)
   -------------------------------------------------------------------------- */
.prefooter-cta-section {
  padding: 4.5rem 0;
  background: var(--navy-dark) !important;
  color: #FFFFFF !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.prefooter-cta-card {
  background: linear-gradient(135deg, rgba(0, 181, 226, 0.12) 0%, rgba(44, 160, 28, 0.12) 100%);
  border: 1px solid rgba(0, 181, 226, 0.35);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
}

.prefooter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 181, 226, 0.2);
  color: var(--xero-cyan);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 181, 226, 0.3);
}

.prefooter-title {
  color: #FFFFFF !important;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.prefooter-subtitle {
  color: #94A3B8 !important;
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.6;
}

.prefooter-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
  min-width: 280px;
}

.prefooter-call-btn {
  background: var(--qb-green) !important;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px var(--qb-green-glow);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition-fast);
  border: none;
}

.prefooter-call-btn:hover {
  background: var(--qb-green-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(44, 160, 28, 0.6);
  color: #FFFFFF !important;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  cursor: pointer;
  text-align: center;
}

.btn-outline-light:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF !important;
}

@media (max-width: 991px) {
  .prefooter-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.75rem;
  }
  .prefooter-cta-actions {
    width: 100%;
    min-width: unset;
  }
  .prefooter-title {
    font-size: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   15. Dedicated On-Page Contact Us Form Section
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition-fast);
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 181, 226, 0.4);
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-title {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  text-decoration: none;
  display: block;
}

.contact-info-value:hover {
  color: var(--xero-cyan-dark);
}

.contact-info-sub {
  font-size: 0.8rem;
  color: var(--slate-muted);
  margin-top: 0.15rem;
}

.contact-trust-box {
  background: var(--brand-gradient-subtle);
  border: 1px solid rgba(0, 181, 226, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-box-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.contact-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.form-card-subtitle {
  font-size: 0.95rem;
  color: var(--slate-muted);
  margin-bottom: 2rem;
}

.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy-dark);
  transition: var(--transition-fast);
  resize: vertical;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--xero-cyan-dark);
  box-shadow: 0 0 0 3px rgba(0, 181, 226, 0.15);
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-row-dual {
    grid-template-columns: 1fr;
  }
}

/* Comparison Section Responsive Rules */
.comparison-mobile-grid {
  display: none;
}

@media (max-width: 991px) {
  .desktop-only-comparison {
    display: none !important;
  }

  .comparison-mobile-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .comparison-card-item {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
  }

  .comparison-card-header {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 0.85rem;
  }

  .comparison-card-row {
    padding: 0.5rem 0;
  }

  .card-row-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-muted);
    margin-bottom: 0.25rem;
  }

  .comparison-card-row.accu-row {
    background: rgba(44, 160, 28, 0.06);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(44, 160, 28, 0.25);
    margin-top: 0.65rem;
  }

  .comparison-card-row.accu-row .card-row-label {
    color: var(--qb-green-dark);
    font-weight: 800;
  }
}