/* ============================================================
   OpsCoreMES — Website Stylesheet (Light Theme)
   ============================================================ */

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

:root {
  --brand:        #0891b2;      /* Darker cyan — readable on white */
  --brand-light:  #22d3ee;
  --accent:       #5b5cf6;      /* Indigo */
  --accent-dark:  #4f46e5;
  --bg:           #f1f5f9;      /* Slate-100 */
  --bg-white:     #ffffff;
  --bg-card:      #ffffff;
  --bg-card2:     #f8fafc;
  --border:       rgba(14, 165, 233, 0.14);
  --border2:      #e2e8f0;      /* Slate-200 */
  --text:         #0f172a;      /* Slate-900 */
  --text-muted:   #64748b;      /* Slate-500 */
  --text-light:   #94a3b8;      /* Slate-400 */
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow:       0 4px 24px rgba(15,23,42,0.08);
  --shadow-md:    0 8px 40px rgba(15,23,42,0.12);
  --shadow-glow:  0 4px 32px rgba(8,145,178,0.14);
  --font:         'Inter', sans-serif;
  --mono:         'JetBrains Mono', monospace;
  --transition:   0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

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

/* ---------- UTILITY ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(8,145,178,0.3);
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { color: var(--text); border-color: #cbd5e1; background: rgba(15,23,42,0.04); }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid rgba(8,145,178,0.35);
}
.btn-outline:hover {
  background: rgba(8,145,178,0.06);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(15,23,42,0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text { font-size: 1.2rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.logo-accent { color: var(--brand); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--text); background: rgba(15,23,42,0.05); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(8,145,178,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(91,92,246,0.07) 0%, transparent 70%),
    linear-gradient(180deg, #e0f2fe 0%, #f1f5f9 60%, #f8fafc 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8,145,178,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,145,178,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 0%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: rgba(8,145,178,0.12); top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: rgba(91,92,246,0.1); top: 50%; right: -100px; animation-delay: 3s; }
.orb-3 { width: 300px; height: 300px; background: rgba(34,211,238,0.1); bottom: 0; left: 30%; animation-delay: 6s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(8,145,178,0.08);
  border: 1px solid rgba(8,145,178,0.22);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 6px var(--brand);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 16px 32px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border2);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.4rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border2); }

/* ---------- HERO DASHBOARD ---------- */
.hero-dashboard {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  margin: 60px auto 0;
  perspective: 1000px;
}

.dashboard-window {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 60px rgba(8,145,178,0.07);
  transform: rotateX(3deg);
  transition: transform 0.5s ease;
}
.dashboard-window:hover { transform: rotateX(0deg); }

.window-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.window-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.window-title { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; flex: 1; text-align: center; }

.dashboard-body {
  display: flex;
  height: 280px;
}

.dash-sidebar {
  width: 52px;
  background: #f8fafc;
  border-right: 1px solid var(--border2);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 6px;
}
.sidebar-logo-sm {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--brand);
  background: rgba(8,145,178,0.1);
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.sidebar-items { display: flex; flex-direction: column; gap: 4px; }
.sidebar-item {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.sidebar-item:hover, .sidebar-item.active {
  background: rgba(8,145,178,0.1);
  color: var(--brand);
}

.dash-main { flex: 1; padding: 16px; overflow: hidden; background: #fff; }

.dash-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dash-title { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.dash-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #16a34a;
  font-weight: 600;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse 1.5s infinite;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.kpi-card {
  background: #f8fafc;
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 10px 12px;
}
.kpi-label { font-size: 0.65rem; color: var(--text-muted); font-weight: 500; margin-bottom: 2px; }
.kpi-val { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.kpi-trend { font-size: 0.6rem; font-weight: 600; margin-top: 2px; }
.kpi-trend.up { color: #16a34a; }
.kpi-trend.down { color: #dc2626; }

.dash-chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.mini-chart {
  background: #f8fafc;
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 10px 12px;
}
.chart-label { font-size: 0.62rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.chart-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 52px;
}
.bar {
  flex: 1;
  background: rgba(8,145,178,0.15);
  border-radius: 3px 3px 0 0;
  transition: height 1s ease;
}
.bar.active { background: linear-gradient(to top, var(--brand), var(--accent)); }

.mini-table {
  background: #f8fafc;
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
}
.table-row.header-row { color: var(--text-muted); font-weight: 600; padding-bottom: 4px; border-bottom: 1px solid var(--border2); }
.mono { font-family: var(--mono); color: var(--text); }
.status-chip {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-chip.done { background: rgba(22,163,74,0.1); color: #16a34a; }
.status-chip.wip { background: rgba(8,145,178,0.1); color: var(--brand); }
.status-chip.pending { background: rgba(217,119,6,0.1); color: #d97706; }

/* ---------- TRUST ---------- */
.trust-section {
  padding: 32px 0;
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  background: var(--bg-white);
}
.trust-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-logo {
  padding: 8px 20px;
  border: 1px solid var(--border2);
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  transition: var(--transition);
}
.trust-logo:hover { border-color: rgba(8,145,178,0.35); color: var(--brand); background: rgba(8,145,178,0.04); }

/* ---------- SECTION COMMON ---------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(8,145,178,0.08);
  border: 1px solid rgba(8,145,178,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- FEATURES ---------- */
.features-section { padding: 100px 0; background: var(--bg-white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(8,145,178,0.2); box-shadow: var(--shadow-glow); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-card--large { grid-column: span 2; }
.feature-card--large:nth-child(1) { grid-column: 1 / 3; }
.feature-card:nth-child(2) { grid-column: 3; }
.feature-card:nth-child(3) { grid-column: 1; }
.feature-card:nth-child(4) { grid-column: 2; }
.feature-card--large:nth-child(6) { grid-column: 2 / 4; }

.feature-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(8,145,178,0.08);
  border: 1px solid rgba(8,145,178,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.feature-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  padding: 3px 10px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- MODULES ---------- */
.modules-section {
  padding: 100px 0;
  background: var(--bg);
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.module-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.module-card:hover { transform: translateY(-4px); border-color: #cbd5e1; box-shadow: var(--shadow-md); }
.module-card:hover::after { transform: scaleX(1); }

.module-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-family: var(--mono);
  margin-bottom: 12px;
}
.module-icon {
  color: var(--accent);
  margin-bottom: 16px;
}
.module-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.module-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.module-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.module-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.module-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Dynamic accent via inline style --accent on card */
.module-card .module-number,
.module-card .module-icon { color: var(--accent); }
.module-card::after { background: var(--accent); }
.module-list li::before { background: var(--accent); }

/* ---------- WORKFLOW ---------- */
.workflow-section { padding: 100px 0; background: var(--bg-white); }
.workflow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.workflow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(8,145,178,0.08);
  border: 2px solid rgba(8,145,178,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.workflow-step:hover .step-number {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 24px rgba(8,145,178,0.3);
}
.step-body h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

.workflow-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(8,145,178,0.25), rgba(91,92,246,0.25));
  flex-shrink: 0;
  margin-top: 25px;
  position: relative;
}
.workflow-connector::after {
  content: '▸';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 0.8rem;
}

/* ---------- METRICS ---------- */
.metrics-section {
  padding: 100px 0;
  background: var(--bg);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.metric-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.metric-value {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.metric-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; line-height: 1.5; margin-bottom: 16px; }
.metric-bar { height: 4px; background: #e2e8f0; border-radius: 2px; overflow: hidden; }
.metric-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 2px; width: 0; transition: width 1.5s ease; }

/* ---------- TECHNOLOGY ---------- */
.tech-section {
  padding: 80px 0;
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  background: var(--bg-white);
}
.tech-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 0;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  min-width: 110px;
}
.tech-icon { font-size: 1.6rem; }
.tech-item:hover { transform: translateY(-4px); border-color: rgba(8,145,178,0.3); color: var(--text); background: rgba(8,145,178,0.04); box-shadow: var(--shadow); }

/* ---------- CONTACT ---------- */
.contact-section { padding: 100px 0; background: var(--bg); }
.contact-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0c4a6e 0%, #1e3a5f 100%);
  border: 1px solid rgba(8,145,178,0.25);
  border-radius: var(--radius-xl);
  padding: 64px;
  box-shadow: var(--shadow-md);
}
.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.contact-orb-1 { width: 400px; height: 400px; background: rgba(34,211,238,0.1); top: -100px; right: -100px; }
.contact-orb-2 { width: 300px; height: 300px; background: rgba(91,92,246,0.1); bottom: -80px; left: -80px; }

.contact-content { position: relative; z-index: 1; }

.contact-form { margin-top: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group:not(.form-row .form-group) { margin-bottom: 20px; }
.form-group label { font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
  width: 100%;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: #0c4a6e; color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(34,211,238,0.5);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.12);
}

.form-success {
  text-align: center;
  padding: 40px;
}
.success-icon {
  width: 60px; height: 60px;
  background: rgba(74,222,128,0.15);
  border: 2px solid rgba(74,222,128,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #4ade80;
  margin: 0 auto 20px;
}
.form-success h3 { font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,0.65); }

/* ---------- FOOTER ---------- */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border2); background: var(--bg-white); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-tagline { font-size: 0.875rem; color: var(--text-muted); margin: 14px 0 20px; max-width: 260px; line-height: 1.6; }
.footer-social { display: flex; gap: 8px; }
.social-link {
  width: 36px; height: 36px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
}
.social-link:hover { background: rgba(8,145,178,0.08); border-color: rgba(8,145,178,0.3); color: var(--brand); }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--border2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-built { font-style: italic; }

/* ---------- ANIMATIONS ON SCROLL ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--large:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card--large:nth-child(6) {
    grid-column: auto;
  }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-dashboard { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border2);
    gap: 4px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  }
  .nav-links.open + .nav-actions {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: auto;
    padding: 16px 24px;
  }

  .hero { padding: 100px 24px 60px; }
  .hero-stats { gap: 20px; padding: 14px 20px; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }

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

  .workflow-steps {
    flex-direction: column;
    align-items: center;
  }
  .workflow-connector {
    width: 2px;
    height: 40px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .workflow-connector::after { display: none; }

  .contact-card { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero-dashboard { display: none; }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .trust-logos { gap: 8px; }
  .hero-actions { flex-direction: column; align-items: center; }
}
