/*
Theme Name: Knovix Solutions Redesign
Theme URI: https://knovixsolutions.com
Author: Antigravity AI
Author URI: https://deepmind.google
Description: Premium, futuristic dark space theme for Knovix Solutions ATM and POS infrastructure.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: knovix-theme
*/

/* ==========================================================================
   KNOVIX SOLUTIONS - PREMIUM SITE REDESIGN STYLESHEET (PHASE 4 - FINTECH UI/UX)
   Author: Antigravity AI
   Description: Premium, ultra-modern style sheet with HSL color tokens,
                Outfit & Plus Jakarta Sans typography, and scroll parallax 3D.
   ========================================================================== */

/* Google Fonts Import - Modern Premium Fonts Pairing */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
  /* HSL Color System - Refined Fintech Brand Palette */
  --h-teal: 173;
  --s-teal: 80%;
  --l-teal: 30%;
  --teal: hsl(var(--h-teal), var(--s-teal), var(--l-teal));
  --teal-light: hsl(var(--h-teal), var(--s-teal), 96%);
  --teal-hover: hsl(var(--h-teal), var(--s-teal), 22%);
  --teal-glow: hsla(var(--h-teal), var(--s-teal), var(--l-teal), 0.15);

  /* Indigo primary instead of purple */
  --h-indigo: 243;
  --s-indigo: 75%;
  --l-indigo: 48%;
  --indigo: hsl(var(--h-indigo), var(--s-indigo), var(--l-indigo));
  --indigo-light: hsl(var(--h-indigo), var(--s-indigo), 96%);
  --indigo-hover: hsl(var(--h-indigo), var(--s-indigo), 40%);

  --h-amber: 32;
  --s-amber: 94%;
  --l-amber: 40%;
  --amber: hsl(var(--h-amber), var(--s-amber), var(--l-amber));
  --amber-light: hsl(var(--h-amber), var(--s-amber), 96%);

  --h-ink: 220;
  --s-ink: 38%;
  --l-ink: 9%; /* Deep premium corporate ink */
  --ink: hsl(var(--h-ink), var(--s-ink), var(--l-ink));
  --ink-light: hsl(var(--h-ink), var(--s-ink), 18%);
  --muted: #94A3B8; /* Muted gray for light text on dark backgrounds */

  --slate: #E2E8F0; /* Slate-200 for clean light text on dark bg */
  --slate-medium: #94A3B8; /* Slate-400 */
  --slate-light: #0B0F19; /* Dark Slate-900 */

  --cream: #030508; /* Rich black night sky */
  --white: #FFFFFF;
  --border-clr: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);

  /* Elevation Shadows */
  --shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.07);
  --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.04);

  /* Animations & Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. BASE & SYSTEM RESET
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: transparent;
  color: var(--slate);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Scroll progress bar */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--indigo), var(--amber));
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ==========================================================================
   3. REUSABLE UTILITIES & LAYOUT MODULES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

.bg-white {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.bg-cream {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.bg-ink {
  background-color: rgba(13, 20, 35, 0.4) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--white);
}

/* Space-Time Canvas Background styling */
#space-time-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  background-color: var(--cream);
}

/* Rich Mesh Backgrounds with extremely low opacity for premium look */
.motion-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(79, 70, 229, 0.05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

.mesh-glow-accent {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  gap: 0.5rem;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--indigo);
  color: var(--white);
  box-shadow: 0 4px 14px hsla(var(--h-indigo), var(--s-indigo), var(--l-indigo), 0.2);
}

.btn-primary:hover {
  background-color: var(--indigo-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(var(--h-indigo), var(--s-indigo), var(--l-indigo), 0.3);
}

.btn-outline {
  border: 1px solid var(--border-clr);
  color: var(--slate);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge .dot {
  width: 8px;
  height: 8px;
  background-color: var(--indigo);
  border-radius: 50%;
  position: relative;
}

.badge .dot.blink::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--indigo);
  animation: pulse 1.8s infinite;
}

/* Headings */
.title-serif {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.title-sans {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.section-header {
  max-width: 680px;
  margin-bottom: 4.5rem;
  position: relative;
  z-index: 2;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
}

.section-header p {
  color: var(--slate-medium);
  font-size: 1.15rem;
  line-height: 1.6;
}

/* Glassmorphism panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: hsla(var(--h-ink), var(--s-ink), var(--l-ink), 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-clr);
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 0.9rem 4rem;
  background: hsla(var(--h-ink), var(--s-ink), var(--l-ink), 0.96);
  box-shadow: var(--shadow-sm);
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.logo-main em {
  color: var(--indigo);
  font-style: normal;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--slate-medium);
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Nav Links */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main-nav ul li a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-medium);
  border-radius: var(--radius-sm);
}

.main-nav ul li a:hover,
.main-nav ul li.active a {
  color: #818CF8 !important;
  background: rgba(129, 140, 248, 0.08) !important;
}

.main-nav ul li a.nav-cta {
  background-color: #FFFFFF;
  color: var(--ink) !important;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-left: 0.8rem;
}

.main-nav ul li a.nav-cta:hover {
  background-color: var(--indigo);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger (Mobile Menu Toggle) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }

/* Mobile Menu Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 998;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-overlay a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.mobile-nav-overlay a:hover {
  color: var(--indigo);
}

.mobile-nav-overlay a.mob-cta {
  background-color: var(--indigo);
  padding: 0.8rem 2.5rem;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
}

/* ==========================================================================
   5. HOME PAGE & HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 98vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  overflow: hidden;
}

.hero-bg-blobs {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12; /* Lower opacity to prevent muddy/distracting backgrounds */
}

.hero-blob-1 {
  width: 450px;
  height: 450px;
  background-color: var(--indigo-light);
  top: -10%;
  left: 10%;
}

.hero-blob-2 {
  width: 550px;
  height: 550px;
  background-color: var(--teal-light);
  bottom: -15%;
  right: 5%;
}

.hero-blob-3 {
  width: 380px;
  height: 380px;
  background-color: var(--amber-light);
  top: 30%;
  right: 25%;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3.5rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.hero-content h1 span.c-teal {
  color: var(--teal);
}

.hero-content h1 em.c-amber {
  color: var(--indigo);
  font-style: normal;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--slate);
  margin: 0 auto 2.8rem auto;
  max-width: 680px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Unified Dashboard Grid - Absolute No Overlapping design */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.dashboard-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1100px;
  padding: 2.2rem 1.8rem;
  background: rgba(10, 15, 30, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: var(--transition-fast);
  z-index: 2;
}

.float-card {
  position: relative;
  width: 100%;
  margin: 0;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  background-color: var(--white);
  border: 1px solid var(--border-clr);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform-style: preserve-3d;
}

.float-card.fc-1 {
  transform: rotate(-1.5deg) translateZ(10px);
}

.float-card.fc-2 {
  transform: rotate(1.5deg) translateZ(20px);
}

.float-card.fc-3 {
  transform: rotate(-1deg) translateZ(30px);
}

.float-card:hover {
  transform: scale(1.04) rotate(0deg) translateZ(60px) !important;
  z-index: 15;
  border-color: rgba(129, 140, 248, 0.4) !important;
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.25) !important;
}

.fc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.fc-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.fc-1 .fc-icon-wrapper { background-color: var(--indigo); }
.fc-2 .fc-icon-wrapper { background-color: var(--teal); }
.fc-3 .fc-icon-wrapper { background-color: var(--amber); }

.fc-status {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.fc-1 .fc-status { background-color: var(--indigo-light); color: var(--indigo); }
.fc-2 .fc-status { background-color: var(--teal-light); color: var(--teal); }
.fc-3 .fc-status { background-color: var(--amber-light); color: var(--amber); }

.fc-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
  color: var(--ink);
}

.fc-body p {
  font-size: 0.85rem;
  color: var(--slate-medium);
  line-height: 1.45;
}

/* ==========================================================================
   6. STATS STRIP
   ========================================================================== */
.stats-strip {
  border-top: 1px solid var(--border-clr);
  border-bottom: 1px solid var(--border-clr);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-card .num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-ink .stat-card .num {
  background: linear-gradient(135deg, #818CF8, var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--slate-medium);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.bg-ink .stat-card .label {
  color: var(--muted);
}

/* ==========================================================================
   7. SERVICES & SYNERGY MODULES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.service-card {
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-clr);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 2;
  background-color: var(--white);
}

.service-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--indigo);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  transition: var(--transition);
  color: var(--indigo);
}

.service-card:hover .service-card-icon {
  background-color: var(--indigo-light);
  color: var(--indigo);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Synergy Block (ATM + POS Combo) */
.synergy-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  border-radius: var(--radius-lg);
  position: relative;
}

.synergy-visual {
  position: relative;
  height: 400px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-clr);
  overflow: hidden;
}

.synergy-graphic {
  position: relative;
  width: 250px;
  height: 250px;
}

.syn-node {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  z-index: 3;
}

.syn-node-atm {
  background-color: var(--indigo);
  top: 0;
  left: 0;
}

.syn-node-cc {
  background-color: var(--teal);
  bottom: 0;
  right: 0;
}

.syn-center {
  position: absolute;
  inset: 50px;
  background-color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  z-index: 4;
  box-shadow: var(--shadow-lg);
}

.syn-line {
  position: absolute;
  top: 45px;
  left: 45px;
  width: 160px;
  height: 160px;
  border: 2px dashed var(--slate-medium);
  border-radius: 50%;
  animation: rotateCircle 25s linear infinite;
  z-index: 1;
}

.synergy-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.synergy-content p {
  color: var(--slate);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.synergy-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.synergy-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.98rem;
}

.synergy-item span.icon {
  color: var(--indigo);
  font-weight: bold;
}

/* Partner Industries */
.partners-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border-clr);
  border-bottom: 1px solid var(--border-clr);
}

.partners-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--slate-medium);
  letter-spacing: 2.5px;
  margin-bottom: 3rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.8rem;
}

.partner-card {
  background-color: var(--white);
  border: 1px solid var(--border-clr);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.partner-card .p-svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.8rem auto;
  color: var(--indigo);
}

.partner-card:hover .p-svg {
  transform: scale(1.08);
}

.partner-card .p-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* ==========================================================================
   8. ATM PAGE SPECIFIC LAYOUTS
   ========================================================================== */
.program-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

.program-card {
  border: 1px solid var(--border-clr);
  background-color: var(--white);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.program-card:hover {
  border-color: var(--indigo);
  box-shadow: 0 24px 48px rgba(79, 70, 229, 0.14);
  transform: translateY(-16px) scale(1.03);
  background-color: rgba(255, 255, 255, 0.98);
}

.program-card:hover .btn-outline {
  background-color: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.program-card.featured {
  background-color: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  position: relative;
  transition: var(--transition-fast);
}

.program-card.featured:hover {
  border-color: #818CF8;
  box-shadow: 0 24px 48px rgba(99, 102, 241, 0.3);
  transform: translateY(-16px) scale(1.03);
  background-color: hsla(var(--h-ink), var(--s-ink), var(--l-ink), 0.99);
}

.program-card.featured:hover .btn-primary {
  background-color: var(--indigo-hover);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.program-card.featured::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--ink);
  background-color: #818CF8;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
}

.prog-head h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.prog-desc {
  font-size: 0.98rem;
  color: var(--slate-medium);
  margin-bottom: 2rem;
}

.featured .prog-desc {
  color: var(--muted);
}

.prog-metrics {
  border-top: 1px solid var(--border-clr);
  border-bottom: 1px solid var(--border-clr);
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.featured .prog-metrics {
  border-color: rgba(255, 255, 255, 0.15);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.metric-row:last-child {
  margin-bottom: 0;
}

.metric-row span.label {
  color: var(--slate-medium);
}

.featured .metric-row span.label {
  color: var(--muted);
}

.metric-row span.val {
  font-weight: 700;
}

/* Step list style */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
  position: relative;
}

.step-item {
  position: relative;
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--indigo-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.step-item p {
  font-size: 0.92rem;
  color: var(--slate-medium);
}

/* ATM Hardware comparison table */
.responsive-table-container {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  background-color: rgba(13, 20, 35, 0.72);
  box-shadow: var(--shadow-glass);
}

.features-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.features-table th, .features-table td {
  padding: 1.2rem 1.8rem;
  border-bottom: 1px solid var(--border-clr);
}

.features-table th {
  background-color: var(--slate-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.features-table tr:last-child td {
  border-bottom: none;
}

.features-table td {
  font-size: 0.92rem;
}

.features-table tr {
  transition: var(--transition-fast);
}

.features-table tr:hover {
  background-color: hsla(var(--h-indigo), var(--s-indigo), var(--l-indigo), 0.02);
}

.features-table td.check {
  color: #0D9488; /* Professional Fintech Emerald/Teal green */
  font-weight: 700;
}

.features-table td.check::before {
  content: '✓ ';
  color: #10B981;
  font-weight: 800;
  margin-right: 4px;
}

/* Accordion FAQs */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  border: 1px solid var(--border-clr);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  background-color: var(--white);
}

.faq-item:hover {
  border-color: var(--indigo);
}

.faq-question {
  width: 100%;
  padding: 1.6rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-align: left;
  background-color: var(--white);
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--white);
}

.faq-answer-inner {
  padding: 0 2.2rem 1.8rem 2.2rem;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--indigo);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ==========================================================================
   9. INTERACTIVE CALCULATORS (DYN MODULES)
   ========================================================================== */
.calc-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.calc-panel {
  padding: 3.5rem;
  background: rgba(255, 255, 255, 0.85);
}

.calc-group {
  margin-bottom: 2.2rem;
}

.calc-group:last-child {
  margin-bottom: 0;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
}

.calc-val-box {
  color: #818CF8;
  font-size: 1.15rem;
  font-weight: 700;
}

/* Premium Range Sliders styling */
input[type="range"].slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border-clr);
  outline: none;
}

input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--indigo);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
  transition: transform 0.1s ease;
}

input[type="range"].slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Calculator Output Panel */
.calc-output-card {
  background-color: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.calc-output-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.out-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.1rem;
}

.out-val {
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: #818CF8;
  line-height: 1;
  margin-bottom: 1.8rem;
  letter-spacing: -1px;
}

.out-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 300px;
  margin: 0 auto;
}

/* ==========================================================================
   10. MERCHANT SERVICES / POS HARDWARE & PRICING
   ========================================================================== */
.hardware-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 5rem;
}

.hw-card {
  background-color: var(--white);
  border: 1px solid var(--border-clr);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  transition: var(--transition);
  position: relative;
}

.hw-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--indigo);
}

.hw-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background-color: var(--indigo-light);
  color: var(--indigo);
  font-weight: 800;
  font-size: 0.72rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hw-card:last-child .hw-tag {
  background-color: var(--teal-light);
  color: var(--teal);
}

.hw-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.hw-card p {
  color: var(--slate);
  margin-bottom: 2rem;
}

.hw-specs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hw-spec-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
}

.hw-spec-row span.bullet {
  color: var(--indigo);
  font-weight: bold;
}

/* Pricing Models Grid (Dual Pricing, Cash Discount, Surcharging) */
.pricing-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 2rem;
}

.pricing-model-card {
  background-color: var(--white);
  border: 1px solid var(--border-clr);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.2rem;
  position: relative;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-model-card:hover {
  border-color: var(--indigo);
  box-shadow: 0 24px 48px rgba(79, 70, 229, 0.14);
  transform: translateY(-16px) scale(1.03);
  background-color: rgba(255, 255, 255, 0.98);
}

.pricing-model-card:hover .btn-outline {
  background-color: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.pricing-model-card.featured-pricing {
  border-color: var(--indigo);
  background-color: hsl(var(--h-indigo), var(--s-indigo), 99%);
  transition: var(--transition-fast);
}

.pricing-model-card.featured-pricing:hover {
  border-color: var(--indigo);
  box-shadow: 0 24px 48px rgba(79, 70, 229, 0.18);
  transform: translateY(-16px) scale(1.03);
  background-color: hsl(var(--h-indigo), var(--s-indigo), 100%);
}

.pricing-model-card.featured-pricing:hover .btn-primary {
  background-color: var(--indigo-hover);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.pm-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--indigo);
  background-color: var(--indigo-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.pm-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-weight: 700;
}

.pm-cost-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.pm-header p {
  font-size: 0.95rem;
  color: var(--slate-medium);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.pm-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.pm-bullet-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.pm-bullet-row span.icon {
  color: var(--indigo);
  font-weight: bold;
}

/* Comparison block (Standard vs Knovix) */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
}

.comp-panel {
  border: 1px solid var(--border-clr);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.comp-panel.negative {
  background-color: rgba(226, 232, 240, 0.2);
}

.comp-panel.positive {
  background-color: var(--white);
  border-color: var(--indigo);
  box-shadow: var(--shadow-md);
}

.comp-panel h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}

.comp-panel.negative h3 { color: var(--slate-medium); }
.comp-panel.positive h3 { color: var(--indigo); }

.comp-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.comp-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.comp-row span.symbol {
  font-size: 1.1rem;
  line-height: 1;
}

.comp-panel.negative span.symbol { color: #EF4444; }
.comp-panel.positive span.symbol { color: var(--indigo); }

.comp-row div span.title {
  display: block;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.comp-row div p {
  font-size: 0.9rem;
  color: var(--slate-medium);
  line-height: 1.45;
}

/* ==========================================================================
   11. CONTACT & INQUIRY FORM MODULE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-meta h2 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
}

.contact-meta p {
  color: var(--slate);
  margin-bottom: 3rem;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background-color: var(--white);
  border: 1px solid var(--border-clr);
  padding: 1.8rem;
  border-radius: var(--radius-md);
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--slate-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
}

.info-body h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--ink);
}

.info-body p {
  font-size: 0.92rem;
  color: var(--slate-medium);
}

/* Inquiry form inputs styles */
.form-box {
  padding: 3.5rem;
  background: rgba(255, 255, 255, 0.85);
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--slate-medium);
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  background-color: var(--cream);
  border: 1px solid var(--border-clr);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.2rem;
  color: var(--ink);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--indigo);
  background-color: var(--white);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

textarea.form-control {
  height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background-color: var(--indigo);
  color: var(--white);
  padding: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 12px hsla(var(--h-indigo), var(--s-indigo), var(--l-indigo), 0.2);
}

.btn-submit:hover {
  background-color: var(--indigo-hover);
  box-shadow: 0 6px 16px hsla(var(--h-indigo), var(--s-indigo), var(--l-indigo), 0.3);
}

/* Simulated Form Response */
.form-feedback {
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
  display: block;
}

/* ==========================================================================
   12. FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: hsla(var(--h-ink), var(--s-ink), var(--l-ink), 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-main {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--indigo);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col ul li a {
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-col ul li a:hover {
  color: #818CF8;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-contact-item span.icon {
  color: var(--indigo);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   13. ANIMATION KEYFRAMES & VECTOR FLOW STYLES
   ========================================================================== */
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

@keyframes floatCard {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes rotateCircle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Motion graphic elements specific keyframes */
.dash-flow {
  stroke-dasharray: 8;
  animation: dashMove 2.5s linear infinite;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -16;
  }
}

.pulse-node {
  animation: pulseNode 3s ease-in-out infinite;
}

@keyframes pulseNode {
  0%, 100% { r: 6px; opacity: 0.7; }
  50% { r: 10px; opacity: 1; fill: var(--amber); }
}

.rotate-hub {
  transform-origin: 100px 100px;
  animation: rotateHubAnimation 35s linear infinite;
}

@keyframes rotateHubAnimation {
  to { transform: rotate(360deg); }
}

.swipe-animation {
  animation: swipeMotion 4.5s ease-in-out infinite;
}

@keyframes swipeMotion {
  0% { transform: translate(-20px, 10px) rotate(-10deg); opacity: 0; }
  10% { opacity: 1; }
  35% { transform: translate(50px, -20px) rotate(15deg); }
  45%, 100% { transform: translate(50px, -20px) rotate(15deg); opacity: 0; }
}

.glowing-circle {
  animation: pulseCircle 4s ease-in-out infinite;
}

@keyframes pulseCircle {
  0%, 100% { transform: scale(0.98); opacity: 0.4; }
  50% { transform: scale(1.02); opacity: 0.7; }
}

/* Scroll reveal helper classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Snappy hover overrides for cards once they are revealed/active */
.reveal.active.pricing-model-card, 
.reveal.active.program-card, 
.reveal.active.service-card, 
.reveal.active.partner-card,
.reveal.active.float-card {
  transition: transform var(--transition-fast), 
              border-color var(--transition-fast), 
              box-shadow var(--transition-fast), 
              background-color var(--transition-fast);
}

/* ==========================================================================
   14. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    gap: 3.5rem;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 2.5rem auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    height: auto;
  }
  .dashboard-container {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 1.2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .program-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pricing-models-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .calc-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hardware-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1.2rem 2rem;
  }
  .site-header.scrolled {
    padding: 0.9rem 2rem;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .section-header h2 {
    font-size: 2.2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .synergy-box {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .form-row-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-box {
    padding: 2rem;
  }
  .calc-panel {
    padding: 2.2rem 1.8rem;
  }
  .calc-output-card {
    padding: 3rem 2rem;
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing-model-card {
    padding: 2.5rem 1.8rem;
  }
  .hw-card {
    padding: 2.5rem 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none; /* Hide visual on mobile for maximum clean structure */
  }
}

/* ==========================================================================
   15. GLOBAL DARK SPACE GLASS PANELS OVERRIDES
   ========================================================================== */
.service-card, 
.partner-card, 
.program-card, 
.pricing-model-card, 
.hw-card, 
.info-card, 
.comp-panel.positive, 
.glass-panel,
.calc-panel,
.float-card,
.faq-item,
.calc-output-card,
.responsive-table-container {
  background: rgba(13, 20, 35, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--slate) !important;
  box-shadow: var(--shadow-glass) !important;
}

.calc-output-card {
  background: rgba(8, 12, 22, 0.88) !important;
}

.comp-panel.negative {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  color: var(--slate-medium) !important;
}

/* Specific text visibility in dark panels */
.fc-body h3, 
.service-card h3, 
.prog-head h3, 
.pm-header h3, 
.hw-card h3, 
.info-body h4, 
.comp-panel h3, 
.faq-question,
.faq-answer,
.step-item h3 {
  color: #FFFFFF !important;
}

.faq-question, .faq-answer {
  background-color: transparent !important;
}

/* Form inputs styling for dark space theme */
.form-control {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--indigo) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
}

/* Features Comparison Tables styling for dark space theme */
.features-table th {
  background-color: rgba(255, 255, 255, 0.04) !important;
  color: #FFFFFF !important;
}

.features-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--slate) !important;
}

.features-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

