/* ==========================================================================
   247ONLINE - PREMIUM IT & SOFTWARE TECHNOLOGY SOLUTIONS DESIGN SYSTEM
   ========================================================================== */

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

:root {
  /* Brand Palette */
  --primary: #ef1b27;
  --primary-dark: #c90f1a;
  --primary-light: #ff4d58;
  --primary-subtle: rgba(239, 27, 39, 0.08);
  --primary-glow: rgba(239, 27, 39, 0.25);
  
  --dark-navy: #0b0f19;
  --dark-slate: #151b28;
  --dark-card: #1c2436;
  --ink: #111827;
  --ink-light: #374151;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  
  --bg-body: #ffffff;
  --bg-soft: #f8fafc;
  --bg-alt: #f1f5f9;
  
  --border-line: #e2e8f0;
  --border-dark: #2a3447;
  
  --white: #ffffff;
  
  /* Accent Colors for Badges/Tech */
  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Elevation & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 15px 35px rgba(239, 27, 39, 0.2);

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1240px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

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

/* Layout Container */
.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

/* Typography Utility Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: 1.2rem; }

p.lead {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.text-highlight {
  color: var(--primary);
  position: relative;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(239, 27, 39, 0.3);
}

.btn-secondary {
  background: var(--dark-navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--dark-slate);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-line);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--dark-navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

/* Top Announcement Bar */
.top-bar {
  background: var(--dark-navy);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-dark);
}
.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}
.top-contact a:hover {
  color: var(--primary-light);
}
.top-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Mobile Drawer Base Hide */
.mobile-drawer {
  display: none;
}

/* Header & Navigation */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: var(--transition);
}
header.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo-img {
  max-width: 150px !important;
  max-height: 38px !important;
  height: 36px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
}
.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(239, 27, 39, 0.3);
}
.brand-logo span.red {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-light);
  position: relative;
  padding: 8px 0;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

/* Hero Section */
.hero {
  position: relative;
  padding: 90px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(239, 27, 39, 0.12) 0%, rgba(239, 27, 39, 0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.hero-content h1 {
  margin-bottom: 20px;
}
.hero-content p.lead {
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--border-line);
}
.stat-item h4 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark-navy);
}
.stat-item p {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
}

/* Hero Visual & Floating Cards */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}
.hero-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-img-wrap:hover img {
  transform: scale(1.03);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}
.float-card-1 {
  top: 35px;
  left: -25px;
}
.float-card-2 {
  bottom: 40px;
  right: -20px;
  animation-delay: -3s;
}

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

.float-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.float-info strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--dark-navy);
}
.float-info small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Partners Marquee Banner */
.partners-section {
  padding: 40px 0;
  background: var(--white);
  border-block: 1px solid var(--border-line);
}
.partners-head {
  text-align: center;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 24px;
}
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.partner-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
  background: var(--bg-soft);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink-light);
  transition: var(--transition);
}
.partner-logo-item:hover {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
}

/* General Section Styles */
.section {
  padding: 90px 0;
}
.section-alt {
  background-color: var(--bg-soft);
}
.section-dark {
  background-color: var(--dark-navy);
  color: var(--white);
}
.section-dark h2, .section-dark h3 {
  color: var(--white);
}
.section-dark p.lead {
  color: rgba(255, 255, 255, 0.7);
}

.section-header {
  margin-bottom: 54px;
  max-width: 680px;
}
.section-header.center {
  text-align: center;
  margin-inline: auto;
}
.section-header p.lead {
  margin-top: 14px;
}

/* Service Need Cards Grid */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.need-card {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.need-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition);
}
.need-card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(239, 27, 39, 0.3);
}
.need-card h3 {
  margin-bottom: 12px;
}
.need-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
}
.need-card:hover .card-link {
  gap: 12px;
}

/* Software Catalog Section */
.software-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  border: 1px solid var(--border-line);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-light);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.search-box {
  position: relative;
  min-width: 280px;
}
.search-box input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-line);
  outline: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-subtle);
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.software-card {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.software-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.software-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.software-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  border: 1px solid var(--border-line);
}
.software-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--ink-light);
}
.software-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.software-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}
.software-features {
  list-style: none;
  margin-bottom: 20px;
}
.software-features li {
  font-size: 0.8125rem;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.software-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}
.software-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-line);
}
.software-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--dark-navy);
}

/* Feature Showcase Split */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.split-visual {
  position: relative;
}
.split-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.check-list {
  list-style: none;
  margin: 24px 0 32px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink-light);
  margin-bottom: 14px;
}
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Industry Cards Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
  transition: var(--transition);
}
.industry-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  color: var(--white);
}
.industry-card-content h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.industry-card-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}
.industry-card:hover img {
  transform: scale(1.08);
}
.industry-card:hover::after {
  background: linear-gradient(180deg, rgba(239, 27, 39, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
}

/* Case Studies Section */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-line);
  overflow: hidden;
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-glow);
}
.case-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}
.case-body {
  padding: 26px;
}
.case-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 8px;
}
.case-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.case-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* Testimonial Banner */
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  position: relative;
}
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 28px;
}
.client-info h4 {
  color: var(--white);
  font-size: 1.1rem;
}
.client-info p {
  color: var(--primary-light);
  font-size: 0.875rem;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 840px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark-navy);
  cursor: pointer;
  text-align: left;
}
.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.3s ease-in-out;
  padding-bottom: 24px;
}
.faq-answer p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA Banner Section */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.cta-banner::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.cta-grid h2 {
  color: var(--white);
  margin-bottom: 12px;
}
.cta-grid p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 540px;
}

/* Footer Section */
footer.site-footer {
  background: var(--dark-navy);
  color: var(--white);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin: 18px 0 24px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a:hover {
  color: var(--white);
}

/* Interactive Quote Builder Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: min(100%, 680px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-backdrop.active .modal-container {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink-light);
  transition: var(--transition);
}
.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

/* Form Controls */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--dark-navy);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-subtle);
}
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.checkbox-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.checkbox-card:hover,
.checkbox-card.checked {
  border-color: var(--primary);
  background: var(--primary-subtle);
}
.checkbox-card input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--dark-navy);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Page Banner (Inner Pages) */
.page-banner {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-slate) 100%);
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-banner h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.page-banner p.lead {
  color: rgba(255, 255, 255, 0.75);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumb a:hover {
  color: var(--primary-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid,
  .split-feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .needs-grid,
  .cases-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .software-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  
  /* Mobile Menu Drawer */
  .mobile-drawer {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border-line);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
  }
  .mobile-drawer.active {
    display: flex;
  }
  .mobile-drawer a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-navy);
    padding: 8px 0;
  }
  
  .needs-grid,
  .software-grid,
  .cases-grid,
  .industry-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}
