/* =====================================================
   InfiniteCube - Main Stylesheet
   Color theme inspired by CloudSystem.my
   All CSS local - no external CDN
===================================================== */

/* === CSS VARIABLES === */
:root {
  --bg-base:       #080d1a;
  --bg-surface:    #0d1530;
  --bg-card:       #111c3a;
  --bg-card-hover: #162248;
  --border:        rgba(99,140,255,0.15);
  --border-hover:  rgba(99,140,255,0.40);

  --primary:       #2b6cff;
  --primary-dark:  #1a4fd4;
  --primary-light: #5b8eff;
  --accent:        #00d4ff;
  --accent-dark:   #00a8cc;
  --success:       #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;

  --text-primary:   #eef2ff;
  --text-secondary: #8ba3d4;
  --text-muted:     #4a6086;

  --gradient-hero: linear-gradient(135deg, #060b18 0%, #0d1a3e 50%, #091424 100%);
  --gradient-card: linear-gradient(145deg, #111c3a, #0d1530);
  --gradient-btn:  linear-gradient(135deg, #2b6cff, #00d4ff);
  --gradient-accent: linear-gradient(135deg, #00d4ff, #2b6cff);

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(99,140,255,0.1) inset;
  --shadow-glow: 0 0 40px rgba(43,108,255,0.25);
  --shadow-btn:  0 4px 20px rgba(43,108,255,0.45);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.6s cubic-bezier(0.4,0,0.2,1);

  --font-display: 'Segoe UI', 'SF Pro Display', system-ui, -apple-system, sans-serif;
  --font-body:    'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:    'Cascadia Code', 'Consolas', monospace;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

::selection { background: rgba(43,108,255,0.35); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* === UTILITY === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

.text-gradient {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary-color { color: var(--primary); }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: rgba(43,108,255,0.08);
  color: var(--accent);
  margin-bottom: 20px;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.5); }
}

/* === SECTION HEADINGS === */
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(43,108,255,0.55);
}
.btn-outline {
  border: 1.5px solid var(--border-hover);
  color: var(--text-primary);
  background: rgba(43,108,255,0.05);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(43,108,255,0.12);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--accent);
  padding: 10px 0;
}
.btn-ghost:hover { gap: 12px; }

.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,13,26,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: var(--gradient-btn);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(43,108,255,0.4);
  transition: var(--transition);
}
.nav-logo:hover .logo-icon { transform: rotate(-8deg) scale(1.05); }
.nav-logo span { color: var(--accent); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(43,108,255,0.08);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > a svg.chevron {
  width: 14px; height: 14px;
  transition: var(--transition);
}
.nav-dropdown:hover > a svg.chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.dropdown-menu a:hover {
  background: rgba(43,108,255,0.1);
  color: var(--text-primary);
}
.dropdown-menu a .dd-icon {
  width: 32px; height: 32px;
  background: rgba(43,108,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.dropdown-menu a:hover .dd-icon {
  background: rgba(43,108,255,0.2);
}
.dropdown-menu .dd-label { line-height: 1.3; }
.dropdown-menu .dd-label small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.nav-cta { margin-left: 12px; }

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(8,13,26,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--transition);
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--text-primary); padding-left: 8px; }
.mobile-menu .mobile-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 16px 0 4px;
}
.mobile-menu .mobile-cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

/* Animated background grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,108,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,108,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float-orb 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(43,108,255,0.15) 0%, transparent 70%);
  top: -200px; right: -200px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(43,108,255,0.08) 0%, transparent 70%);
  top: 50%; left: 30%;
  animation-delay: -2s;
}
@keyframes float-orb {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-30px) scale(1.05); }
  66% { transform: translate(-15px,20px) scale(0.95); }
}

/* Hero 2-col split: left=text, right=visual */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 130px 0 80px;
  width: 100%;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-left {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43,108,255,0.12);
  border: 1px solid rgba(43,108,255,0.25);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7aaeff;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero-title .line2 {
  display: block;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title .line2 {
  display: block;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat {}
.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}
.hero-stat .num span { color: var(--accent); }
.hero-stat p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: float-card 6s ease-in-out infinite;
}
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.hero-card-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.status-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 600;
}
.status-live::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 1.5s infinite;
}

.hero-modules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-module {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(43,108,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: default;
}
.hero-module:hover {
  background: rgba(43,108,255,0.12);
  border-color: var(--border-hover);
  transform: translateX(4px);
}
.module-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.module-icon.blue { background: rgba(43,108,255,0.2); }
.module-icon.cyan { background: rgba(0,212,255,0.15); }
.module-icon.green { background: rgba(16,185,129,0.15); }
.module-icon.purple { background: rgba(139,92,246,0.15); }
.module-icon.orange { background: rgba(245,158,11,0.15); }

.module-info { flex: 1; }
.module-info .name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.module-info .desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.module-badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(16,185,129,0.15);
  color: var(--success);
  font-weight: 600;
}

/* Floating mini cards */
.hero-float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  font-size: 0.8rem;
}
.hero-float-1 {
  top: -30px; right: -40px;
  animation: float-card 5s ease-in-out infinite;
  animation-delay: -1s;
}
.hero-float-2 {
  bottom: 20px; left: -50px;
  animation: float-card 7s ease-in-out infinite;
  animation-delay: -3s;
}
.float-card-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.float-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.float-icon.blue { background: rgba(43,108,255,0.2); }
.float-icon.green { background: rgba(16,185,129,0.15); }
.float-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}
.float-label { font-size: 0.72rem; color: var(--text-muted); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce-arrow 2s infinite;
  z-index: 2;
}
.scroll-indicator .mouse {
  width: 22px; height: 34px;
  border: 2px solid var(--text-muted);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-indicator .mouse::before {
  content: '';
  width: 4px; height: 6px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scroll-dot 1.5s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { opacity:1; transform: translateY(0); }
  100% { opacity:0; transform: translateY(10px); }
}
@keyframes bounce-arrow {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* === TRUSTED BY === */
.trusted-section {
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trusted-logo {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0.5;
  transition: var(--transition);
}
.trusted-logo:hover { opacity: 1; color: var(--text-secondary); }

/* === SERVICES SECTION === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-btn);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
}
.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}
.service-icon-wrap.ic-blue { background: rgba(43,108,255,0.15); border: 1px solid rgba(43,108,255,0.3); }
.service-icon-wrap.ic-cyan { background: rgba(0,212,255,0.12); border: 1px solid rgba(0,212,255,0.25); }
.service-icon-wrap.ic-green { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25); }
.service-icon-wrap.ic-purple { background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.25); }
.service-icon-wrap.ic-orange { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.25); }
.service-icon-wrap.ic-pink { background: rgba(236,72,153,0.12); border: 1px solid rgba(236,72,153,0.25); }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(43,108,255,0.1);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* === SYSTEMS SECTION (Our Systems) === */
.systems-section { background: var(--bg-surface); }

.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.system-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.system-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(43,108,255,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}
.system-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.system-card:hover::after { opacity: 1; }

.system-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.system-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}
.system-card:hover .system-icon { transform: scale(1.08); }

.system-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.status-live-badge { background: rgba(16,185,129,0.15); color: var(--success); }
.status-live-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 1.5s infinite;
}
.status-new-badge { background: rgba(43,108,255,0.15); color: var(--primary-light); }

.system-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.system-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.system-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.system-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.system-feature .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--success);
  flex-shrink: 0;
}
.system-card .btn-ghost {
  font-size: 0.88rem;
  font-weight: 600;
}

/* === STATS SECTION === */
.stats-section {
  background: linear-gradient(135deg, rgba(43,108,255,0.08) 0%, rgba(0,212,255,0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 60px 40px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === PROCESS SECTION === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  z-index: 0;
}
.process-step {
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 24px;
  transition: var(--transition);
  position: relative;
}
.process-step:hover .step-num {
  border-color: var(--primary);
  background: rgba(43,108,255,0.1);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(43,108,255,0.3);
}
.step-num .step-index {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  background: var(--primary);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.process-step p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === WHY US === */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-left {}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.why-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.why-item:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
}
.why-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(43,108,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.why-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.why-text p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.why-right {
  position: relative;
}
.why-visual {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.why-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.why-chart-header h4 { font-size: 0.9rem; font-weight: 700; }
.why-chart-header .period {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(43,108,255,0.08);
  padding: 4px 10px;
  border-radius: 6px;
}
.why-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}
.bar-label span:last-child { color: var(--accent); font-weight: 700; }
.bar-track {
  height: 8px;
  background: rgba(43,108,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--gradient-btn);
  width: 0;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}
.bar-fill.animated { }

/* === TESTIMONIALS === */
.testimonials-section { background: var(--bg-surface); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(43,108,255,0.1);
  font-family: Georgia, serif;
}
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.star { color: #f59e0b; font-size: 0.9rem; }
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.author-name { font-size: 0.88rem; font-weight: 700; }
.author-company { font-size: 0.75rem; color: var(--text-muted); }

/* === CTA SECTION === */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(43,108,255,0.15) 0%, transparent 70%);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info {}
.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.contact-info > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(43,108,255,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-text {}
.contact-detail-text label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-detail-text span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(43,108,255,0.04);
  box-shadow: 0 0 0 3px rgba(43,108,255,0.1);
}
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-msg {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  margin-top: 12px;
  display: none;
}
.form-msg.success { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.3); display: block; }
.form-msg.error { background: rgba(239,68,68,0.15); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); display: block; }

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--gradient-btn);
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(43,108,255,0.55); }
.submit-btn:disabled { opacity: 0.6; transform: none; cursor: not-allowed; }

/* === FOOTER === */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.footer-brand .logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient-btn);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(43,108,255,0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  color: var(--text-muted);
}
.social-btn:hover {
  background: rgba(43,108,255,0.2);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--text-primary); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--text-primary); }

/* === ABOUT PAGE === */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.about-hero .hero-grid { position: absolute; inset: 0; }
.about-hero-content { position: relative; z-index: 1; }
.about-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.about-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  border: 3px solid var(--border);
}
.team-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: 0.8rem; color: var(--accent); margin-bottom: 12px; }
.team-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* === SERVICES PAGE === */
.services-page-hero {
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.services-page-hero .hero-grid { position: absolute; inset: 0; }
.page-hero-content { position: relative; z-index: 1; }

.services-detailed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-detail-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}
.service-detail-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.service-detail-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-detail-card:hover .service-detail-icon { transform: scale(1.1) rotate(-5deg); }
.service-detail-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-detail-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.service-feature-list li::before {
  content: '→';
  color: var(--accent);
  font-size: 0.8rem;
}

/* === SYSTEMS PAGE === */
.system-page-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 32px;
  overflow: hidden;
  transition: var(--transition);
}
.system-page-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.system-page-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}
.system-page-inner.reverse { direction: rtl; }
.system-page-inner.reverse > * { direction: ltr; }
.system-page-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.system-page-visual {
  background: rgba(43,108,255,0.04);
  border-left: 1px solid var(--border);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.system-page-inner.reverse .system-page-visual { border-left: none; border-right: 1px solid var(--border); }

.system-page-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}
.system-page-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.system-page-content > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.system-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 32px;
}
.sys-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-secondary);
}
.sys-feat .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.system-screenshots {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.screenshot-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition);
}
.screenshot-mock:hover { border-color: var(--border-hover); transform: scale(1.02); }
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; }
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #febc2e; }
.mock-dot.g { background: #28c840; }
.mock-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(43,108,255,0.15);
}
.mock-line.w-full { width: 100%; }
.mock-line.w-3q { width: 75%; }
.mock-line.w-half { width: 50%; }
.mock-line.w-2q { width: 45%; }
.mock-line.accent { background: rgba(0,212,255,0.2); }

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Loading bar at top */
.page-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-btn);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--text-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
  z-index: 2000;
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(16,185,129,0.4); }
.toast.error { border-color: rgba(239,68,68,0.4); }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }
  .systems-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .services-detailed-grid { grid-template-columns: 1fr; }
  .system-page-inner { grid-template-columns: 1fr; }
  .system-page-inner.reverse { direction: ltr; }
  .system-page-visual { border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .systems-grid { grid-template-columns: 1fr; }
  .system-features-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   ADDITIONAL STYLES — CONTENT UPDATE
   ============================================================ */

/* Brands ticker */
.brands-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.brand-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: all .25s;
}
.brand-item:hover { color: var(--primary); border-color: var(--primary); }

/* Clients grid */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}
.client-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 32px;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all .25s;
}
.client-item:hover { color: var(--accent); border-color: var(--accent); }

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ab-item {
  background: rgba(43,108,255,.12);
  color: var(--primary);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: .9rem;
  font-weight: 600;
}
.av-card-stack { position: relative; display: flex; flex-direction: column; gap: 14px; }
.av-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all .25s;
}
.av-card:hover { border-color: var(--primary); transform: translateX(6px); }
.avc-icon { font-size: 1.8rem; }
.avc-text strong { display: block; color: var(--text); font-size: .95rem; }
.avc-text span { color: var(--text-muted); font-size: .85rem; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: all .3s;
}
.value-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.vc-icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h4 { font-size: 1.05rem; margin-bottom: 12px; }
.value-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* Expertise list */
.expertise-list { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.el-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  transition: all .25s;
}
.el-item:hover { border-color: var(--primary); }
.el-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: .4;
  min-width: 50px;
  line-height: 1;
}
.el-content h4 { font-size: 1.1rem; margin-bottom: 8px; }
.el-content p { color: var(--text-muted); font-size: .93rem; line-height: 1.7; }

/* Service detail blocks */
.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 20px;
}
.service-detail-block.reverse { direction: rtl; }
.service-detail-block.reverse .sdb-content { direction: ltr; }
.service-detail-block.reverse .sdb-visual { direction: ltr; }
.sdb-content .section-badge { margin-bottom: 12px; }
.sdb-content h2 { font-size: clamp(1.5rem,2.8vw,2.2rem); margin-bottom: 16px; }
.sdb-content > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.sdb-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.sdbf-item { color: var(--text-muted); font-size: .9rem; }
.sdb-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.brand-tag {
  background: rgba(43,108,255,.1);
  color: var(--primary);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: .82rem;
  font-weight: 600;
}
.sdb-use { color: var(--text-muted); font-size: .92rem; margin-bottom: 24px; }

/* Rental plans */
.rental-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.rental-plan {
  background: rgba(43,108,255,.07);
  border: 1px solid rgba(43,108,255,.2);
  border-radius: 12px;
  padding: 16px 18px;
}
.rental-plan h4 { font-size: .95rem; margin-bottom: 8px; }
.rental-plan p { color: var(--text-muted); font-size: .85rem; line-height: 1.6; }

/* Mockup */
.sdb-mockup {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.sdm-header {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sdm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: .88rem;
}
.sdm-key { color: var(--text-muted); }
.sdm-val { font-weight: 600; }
.sdm-green { color: #22c55e; }
.sdm-blue { color: var(--accent); }
.sdm-orange { color: #fb923c; }

/* Integration pillars */
.integration-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.ip-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: all .25s;
}
.ip-item:hover { border-color: var(--primary); }
.ip-icon { font-size: 1.5rem; margin-bottom: 8px; }
.ip-item h4 { font-size: .95rem; margin-bottom: 6px; }
.ip-item p { color: var(--text-muted); font-size: .85rem; line-height: 1.5; }

/* Maintenance types */
.maintenance-types { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.mt-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.mt-icon { font-size: 1.6rem; min-width: 36px; }
.mt-item h4 { font-size: .95rem; margin-bottom: 6px; }
.mt-item p { color: var(--text-muted); font-size: .87rem; line-height: 1.6; }

/* CloudSystem cards in services page */
.cloudsys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.cs-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  transition: all .3s;
}
.cs-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.cs-featured { border-color: var(--primary); box-shadow: 0 0 30px rgba(43,108,255,.2); }
.cs-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cs-icon { font-size: 2rem; }
.cs-badge { font-size: .75rem; font-weight: 700; border-radius: 20px; padding: 4px 12px; }
.cs-live { background: rgba(34,197,94,.15); color: #22c55e; }
.cs-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.cs-card > p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.cs-features { list-style: none; margin-bottom: 24px; }
.cs-features li { color: var(--text-muted); font-size: .87rem; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.cs-features li::before { content: "✓ "; color: var(--primary); font-weight: 700; }

/* Systems page hero stats */
.sys-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.ss-item { text-align: center; }
.ss-item strong { display: block; font-size: 2rem; font-weight: 800; background: linear-gradient(135deg,var(--primary),var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.ss-item span { color: var(--text-muted); font-size: .9rem; }

/* Quick nav */
.sys-quicknav { background: var(--card-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 70px; z-index: 100; }
.sqn-inner { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sqn-btn {
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: all .25s;
}
.sqn-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Sys labels */
.sys-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 10px;
}
.sys-support { background: rgba(43,108,255,.12); color: var(--primary); }
.sys-hr { background: rgba(34,197,94,.12); color: #22c55e; }
.sys-finance { background: rgba(0,212,255,.12); color: var(--accent); }

.sys-badge-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.sys-badge-row h2 { margin: 0; font-size: clamp(1.5rem,2.8vw,2.2rem); }
.sys-status-badge {
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.sys-status-badge.live { background: rgba(34,197,94,.15); color: #22c55e; }

/* Ticket rows in mockup */
.sdm-ticket-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: .82rem;
}
.ticket-id { color: var(--text-muted); min-width: 80px; font-family: monospace; }
.ticket-title { flex: 1; color: var(--text); }
.ticket-status {
  font-size: .75rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}
.ticket-status.open { background: rgba(43,108,255,.15); color: var(--primary); }
.ticket-status.pending { background: rgba(251,146,60,.15); color: #fb923c; }
.ticket-status.resolved { background: rgba(34,197,94,.15); color: #22c55e; }

/* SLA bar */
.sdm-sla-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: .82rem;
  color: var(--text-muted);
}
.sla-track { flex: 1; height: 6px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.sla-fill { height: 100%; background: linear-gradient(90deg,var(--primary),var(--accent)); border-radius: 3px; }

/* Leave summary */
.sdm-leave-summary { display: flex; gap: 16px; margin-bottom: 14px; }
.ls-item { flex: 1; text-align: center; background: rgba(255,255,255,.04); border-radius: 10px; padding: 12px; }
.ls-num { display: block; font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.ls-blue { color: var(--primary); }
.ls-green { color: #22c55e; }
.ls-orange { color: #fb923c; }
.ls-item span:last-child { font-size: .75rem; color: var(--text-muted); }

/* Tech tags */
.sdb-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tech-tag {
  background: rgba(0,212,255,.08);
  color: var(--accent);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: .8rem;
  font-weight: 600;
}

/* Page hero */
.page-hero {
  padding: 120px 0 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(43,108,255,.15) 0%, transparent 70%);
  text-align: center;
}
.page-hero-inner h1 { font-size: clamp(1.8rem,5vw,3.2rem); margin-bottom: 18px; line-height: 1.2; }
.page-hero-inner p { color: var(--text-muted); max-width: 640px; margin: 0 auto 10px; font-size: 1.1rem; line-height: 1.8; }

/* Responsive */
@media (max-width: 900px) {
  .about-split, .service-detail-block { grid-template-columns: 1fr; gap: 36px; }
  .service-detail-block.reverse { direction: ltr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .cloudsys-grid { grid-template-columns: 1fr; }
  .sdb-features { grid-template-columns: 1fr; }
  .integration-pillars { grid-template-columns: 1fr; }
  .rental-plans { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .sys-stats { gap: 24px; }
}

/* ============================================================
   LAYOUT FIX — Section spacing, backgrounds, variables
   ============================================================ */

/* Fix undefined CSS variables */
:root {
  --card-bg:    #101b35;
  --text:       #eef2ff;
  --section-bg: #080d1a;
  --section-alt-bg: #0b1426;
  --section-alt2-bg: #0e1a30;
}

/* Core section classes */
.section {
  padding: 100px 0;
  background: var(--section-bg);
  position: relative;
}
.section-alt {
  padding: 100px 0;
  background: var(--section-alt-bg);
  position: relative;
  border-top: 1px solid rgba(99,140,255,0.08);
  border-bottom: 1px solid rgba(99,140,255,0.08);
}

/* Subtle inner glow for section-alt */
.section-alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43,108,255,0.3), transparent);
  pointer-events: none;
}

/* Section header/title/sub — override/fix */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(43,108,255,0.12);
  color: var(--primary-light, #5b8eff);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(43,108,255,0.2);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--text-primary);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary, #8ba3d4);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary, #2b6cff), var(--accent, #00d4ff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* sc-icon / sc-link for service cards */
.sc-icon { font-size: 2.4rem; margin-bottom: 18px; }
.sc-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s;
}
.sc-link:hover { color: var(--accent); letter-spacing: .02em; }

/* Service cards — fix missing vars */
.service-card .sc-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-primary); }
.service-card p { color: var(--text-secondary, #8ba3d4); font-size: .9rem; line-height: 1.7; }

/* Why grid */
.why-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 40px auto 0;
}
.why-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  transition: all .25s;
}
.why-item:hover { border-color: var(--primary); box-shadow: 0 0 24px rgba(43,108,255,.1); }
.why-icon { font-size: 2rem; min-width: 44px; }
.why-content h4 { font-size: 1.05rem; margin-bottom: 8px; }
.why-content p { color: var(--text-secondary, #8ba3d4); font-size: .9rem; line-height: 1.7; margin-bottom: 12px; }
.why-bar { height: 5px; background: rgba(43,108,255,.1); border-radius: 3px; overflow: hidden; }
.why-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; width: 0; transition: width 1.5s ease; }

/* Process steps — fix for 3-step layout */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 40px;
}
.process-steps::before { display: none; } /* remove old connector line */
.process-step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: all .3s;
}
.process-step:hover { border-color: var(--primary); transform: translateY(-4px); }
.ps-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.process-step h4 { font-size: 1.05rem; margin-bottom: 10px; }
.process-step p { color: var(--text-secondary, #8ba3d4); font-size: .88rem; line-height: 1.7; margin-bottom: 16px; }
.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 1.5rem;
  color: var(--primary);
  padding-top: 60px;
}

/* page-hero fix padding */
.page-hero {
  padding: 130px 0 70px;
  background: radial-gradient(ellipse at 50% -10%, rgba(43,108,255,.24) 0%, transparent 65%), var(--gradient-hero);
  text-align: center;
  border-bottom: 1px solid rgba(99,140,255,0.22);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.page-hero-inner .section-badge { margin-bottom: 16px; }
.page-hero-inner h1 { font-size: clamp(1.8rem,5vw,3.2rem); margin-bottom: 18px; line-height: 1.2; }
.page-hero-inner > p { color: var(--text-secondary, #8ba3d4); max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #080d1a 0%, #0d1a3e 50%, #080d1a 100%);
  padding: 100px 0;
  border-top: 1px solid rgba(43,108,255,0.15);
  text-align: center;
}
.cta-inner h2 { font-size: clamp(1.6rem,3.5vw,2.6rem); margin-bottom: 16px; }
.cta-inner p { color: var(--text-secondary, #8ba3d4); max-width: 540px; margin: 0 auto 36px; font-size: 1rem; line-height: 1.8; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer contact list */
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; color: var(--text-muted, #4a6086); font-size: .9rem; line-height: 1.6; }
.fc-icon { font-size: 1rem; min-width: 20px; }

/* About page text/visual fixes */
.about-text h2 { color: var(--text-primary); }
.avc-text strong { color: var(--text-primary); }

/* Systems page quick nav — fix sticky offset */
.sys-quicknav { top: 68px; background: rgba(11,20,38,.95); backdrop-filter: blur(12px); }

/* Section dividers — prominent visual separation */
.section + .section-alt,
.section-alt + .section {
  margin-top: 0;
}

/* Brands ticker items — fix --card-bg ref */
.brand-item { background: var(--card-bg); }
.av-card { background: var(--card-bg); }
.el-item { background: var(--card-bg); }
.sdb-mockup { background: var(--card-bg); }
.ip-item { background: var(--card-bg); }
.mt-item { background: var(--card-bg); }
.cs-card { background: var(--card-bg); }

/* About page text color fix */
.about-text p { color: var(--text-secondary, #8ba3d4); }

/* Big increase to container side padding on wider screens */
@media (min-width: 1200px) {
  .container { padding: 0 40px; }
}

/* Responsive fix */
@media (max-width: 768px) {
  .section, .section-alt { padding: 70px 0; }
  .section-header { margin-bottom: 40px; }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .process-arrow { padding-top: 0; transform: rotate(90deg); }
  .cta-section { padding: 70px 0; }
  .why-item { padding: 20px; }
}

/* ============================================================
   SOFTWARE CARDS (index.php teaser)
   ============================================================ */
.sw-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  align-items: stretch;
}
.sw-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all .3s;
}
.sw-card:hover {
  border-color: rgba(43,108,255,.45);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 24px rgba(43,108,255,.12);
}
.sw-featured {
  border-color: rgba(43,108,255,.35);
  background: linear-gradient(160deg, #111e40, #0e1835);
  box-shadow: 0 0 30px rgba(43,108,255,.15);
  position: relative;
}
.sw-featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.sw-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.sw-icon { font-size: 2rem; }
.sw-live {
  font-size: .75rem;
  font-weight: 700;
  background: rgba(34,197,94,.14);
  color: #22c55e;
  border-radius: 20px;
  padding: 3px 12px;
}
.sw-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.sw-card > p { color: var(--text-secondary, #8ba3d4); font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }
.sw-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.sw-features li {
  color: var(--text-secondary, #8ba3d4);
  font-size: .87rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  gap: 8px;
  align-items: center;
}
.sw-features li::before { content: "✓"; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* Brands section — also place images later */
.brands-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
/* When image slot exists */
.brand-img-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 64px;
  transition: all .25s;
}
.brand-img-item:hover { border-color: var(--primary); }
.brand-img-item img { max-height: 36px; filter: brightness(0) invert(1); opacity: .55; transition: opacity .25s; }
.brand-img-item:hover img { opacity: 1; }

@media (max-width: 768px) {
  .sw-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO MODULE CARDS (right side grid)
   ============================================================ */
.hm-card {
  background: linear-gradient(145deg, rgba(17,28,58,0.95), rgba(13,21,48,0.9));
  border: 1px solid rgba(99,140,255,0.18);
  border-radius: 16px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.hm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(43,108,255,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.hm-card:hover {
  border-color: rgba(43,108,255,0.5);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 24px rgba(43,108,255,0.2);
}
.hm-card:hover::before { opacity: 1; }
.hm-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(43,108,255,0.4));
  transition: transform 0.3s;
}
.hm-card:hover .hm-icon { transform: scale(1.15) rotate(-5deg); }
.hm-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.hm-card:hover .hm-text { color: var(--text-primary); }

/* Floating glow rings behind the grid */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,108,255,0.12), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  animation: float-orb 8s ease-in-out infinite;
}

/* ============================================================
   WHY CHOOSE US — 2×2 grid
   ============================================================ */
.why-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  max-width: 900px;
  margin: 48px auto 0;
}
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  transition: all .3s;
}
.why-item:hover {
  border-color: rgba(43,108,255,0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 20px rgba(43,108,255,0.1);
}
.why-icon {
  font-size: 2rem;
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43,108,255,0.1);
  border-radius: 12px;
  flex-shrink: 0;
}
.why-content h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.why-content p { color: var(--text-secondary); font-size: .88rem; line-height: 1.7; margin-bottom: 12px; }
.why-bar { height: 4px; background: rgba(43,108,255,.1); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.why-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; width: 0; transition: width 1.5s ease; }

/* ============================================================
   BRANDS — smart image/text display
   ============================================================ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.brand-logo-item {
  background: rgba(13,21,48,0.7);
  border: 1px solid rgba(99,140,255,0.12);
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 80px;
  transition: all .25s;
  cursor: default;
}
.brand-logo-item:hover {
  border-color: rgba(43,108,255,0.4);
  background: rgba(17,28,58,0.9);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.brand-logo-item img {
  max-height: 38px;
  max-width: 100px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity .25s;
}
.brand-logo-item:hover img { opacity: 1; }
.brand-logo-item .brand-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color .25s;
}
.brand-logo-item:hover .brand-name { color: var(--text-secondary); }

/* ============================================================
   HERO RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 110px 0 60px;
    gap: 48px;
  }
  .hero-content { align-items: center; text-align: center; }
  .hero-badge { align-self: center; }
  .hero-actions { justify-content: center; }
  .hero-modules { grid-template-columns: repeat(3, 1fr); }
  .hero-visual::before { display: none; }
}
@media (max-width: 560px) {
  .hero-modules { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   INDEX HERO — DEFINITIVE MOBILE FIX
   Must be last in file so it wins all cascade conflicts
   ============================================================ */

/* Desktop: force 2-col grid (guard against any earlier overrides) */
.hero-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px;
  align-items: center;
  padding: 130px 0 80px;
  width: 100%;
  box-sizing: border-box;
}

/* Tablet ≤ 960px: single column, centred */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
    padding: 110px 16px 60px !important;
    gap: 40px !important;
  }
  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }
  .hero-title, .hero-sub, .hero-desc { text-align: center !important; }
  .hero-badge   { align-self: center !important; }
  .hero-actions { justify-content: center !important; flex-wrap: wrap; }
  .hero-desc    { max-width: 100% !important; }
  .hero-visual  { width: 100% !important; }
  .hero-visual::before { display: none !important; }
  .hero-modules { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Mobile ≤ 640px */
@media (max-width: 640px) {
  .hero-inner {
    padding: 90px 0 50px !important;
    gap: 32px !important;
  }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem) !important; }
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn { width: 100% !important; text-align: center !important; justify-content: center !important; }
  .hero-modules { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .hm-card { padding: 14px 10px !important; }
}

/* Prevent any horizontal scroll on hero */
.hero         { overflow-x: hidden !important; }
html, body    { overflow-x: hidden; }