/* ═══════════════════════════════════════════════════════════════
   MONOMORPH MINDS — HOME PAGE v2.1
   Clean Hero · Glass Dashboard Panel · Fixed Bento · Mobile First
════════════════════════════════════════════════════════════════ */

/* ─── SECTION z-index HIERARCHY ─── */
section {
  position: relative;
  z-index: 1;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 110px 2rem 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-grid-overlay {
  position: absolute !important;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 65% 55%, rgba(0,217,255,0.045) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 30%, rgba(139,92,246,0.035) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Remove the old 3D container */
#hero-3d-container { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

/* ─── EYEBROW ─── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.8rem;
  padding: 0.4rem 1rem 0.4rem 0.65rem;
  background: rgba(0,217,255,0.06);
  border: 1px solid rgba(0,217,255,0.14);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(0,217,255,0.4);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ─── HERO HEADLINE ─── */
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.6rem;
}
.hero-h1-accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 60%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}
/* Remove underline — keep it clean */
.hero-h1-accent::after { display: none; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-2);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 2.4rem;
}

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

/* ─── PROOF STRIP ─── */
.hero-proof {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  position: relative;
}
.hero-proof::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,217,255,0.3), rgba(139,92,246,0.3), transparent);
}
.proof-item {
  flex: 1;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background 0.3s;
}
.proof-item:hover { background: rgba(0,217,255,0.03); }
.proof-item strong {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}
.proof-item span { font-size: 0.7rem; color: var(--gray-3); }
.proof-item em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
}
.proof-stat { color: var(--cyan) !important; }
.proof-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── HERO VISUAL PANEL: Glass Dashboard ─── */
.hero-visual-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hdc-glow {
  position: absolute;
  width: 106%;
  height: 106%;
  background: radial-gradient(circle, rgba(0,217,255,0.08) 0%, rgba(139,92,246,0.05) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: hdcGlowPulse 6s ease-in-out infinite alternate;
}
@keyframes hdcGlowPulse {
  0% { transform: scale(0.96) rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1.04) rotate(2deg); opacity: 1.1; }
}

.hero-dashboard-card {
  width: 100%;
  max-width: 520px;
  background: rgba(8,8,24,0.72);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(0,217,255,0.03) inset,
    0 1px 0 rgba(255,255,255,0.06) inset;
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--ease-smooth);
  transform: perspective(1000px) rotateX(1deg) rotateY(-2deg);
}
.hero-dashboard-card:hover {
  border-color: rgba(0, 217, 255, 0.28);
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(-4px);
  box-shadow: 
    0 38px 90px rgba(0,0,0,0.7), 
    0 0 32px rgba(0,217,255,0.18);
}

.hdc-glare {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 100%);
  z-index: 10;
  pointer-events: none;
  opacity: 0.5;
  transition: all 0.5s var(--ease-smooth);
}
.hero-dashboard-card:hover .hdc-glare {
  transform: translate(6%, 6%) scale(1.1);
  opacity: 0.7;
}

/* Top accent line */
.hero-dashboard-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--cyan-2));
  opacity: 0.85;
  z-index: 11;
}

/* Card header */
.hdc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,217,255,0.018);
}
.hdc-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hdc-title-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 2s ease-in-out infinite;
}
.hdc-title span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}
.hdc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0.2rem 0.6rem;
  background: rgba(0,217,255,0.08);
  border: 1px solid rgba(0,217,255,0.15);
  border-radius: 100px;
}
.hdc-live-dot {
  width: 5px; height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

/* HDC INFO PANEL (v3.2 Refinement) ─── */
.hdc-info-panel {
  padding: 1.3rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,217,255,0.008);
  min-height: 125px;
  position: relative;
}
.hdc-info-content {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  animation: hdcFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hdc-info-content.active {
  display: flex;
}
@keyframes hdcFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hdc-info-tag {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hdc-info-content h4 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}
.hdc-info-content p {
  font-size: 0.74rem;
  color: var(--gray-2);
  line-height: 1.55;
}
.hdc-info-content p strong {
  color: var(--cyan);
}

/* Live metrics bars */
.hdc-metrics {
  padding: 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.hdc-metric-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hdc-metric-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hdc-metric-label span:first-child {
  font-size: 0.7rem;
  color: var(--gray-2);
  font-weight: 500;
}
.hdc-metric-label span:last-child {
  font-size: 0.7rem;
  color: var(--cyan);
  font-weight: 700;
}
.hdc-metric-track {
  height: 5px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
}
.live-metric-bar {
  height: 100%;
  border-radius: 10px;
  width: 0%;
  transition: width 1.4s cubic-bezier(0.16,1,0.3,1);
}
.live-metric-bar.animated { width: var(--bar-w); }
.live-metric-bar.cyan  { background: linear-gradient(90deg, var(--cyan), var(--cyan-2)); }
.live-metric-bar.purple { background: linear-gradient(90deg, var(--purple), var(--pink)); }
.live-metric-bar.green  { background: linear-gradient(90deg, var(--green), #00FFCC); }

/* HDC ACTIVITY LOG (Live Feed v4.0) */
.hdc-activity-log {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(4,4,12,0.5);
  font-family: monospace;
  font-size: 0.68rem;
  color: var(--gray-2);
  min-height: 90px;
  max-height: 90px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}
.hdc-activity-log::before {
  content: 'LIVE OPERATIONS LOG';
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  font-family: var(--font-head);
}
.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  animation: logFadeIn 0.4s var(--ease-smooth) both;
  line-height: 1.4;
}
@keyframes logFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.log-timestamp {
  color: var(--gray-3);
  flex-shrink: 0;
}
.log-text {
  color: var(--gray-1);
}
.log-text strong {
  color: var(--cyan-2);
  font-weight: 600;
}

/* ─── PROBLEM SECTION ─── */
.problem-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.problem-section::before {
  content: '';
  position: absolute;
  left: -160px; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.problem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.problem-left h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.problem-left p {
  font-size: 0.97rem;
  color: var(--gray-2);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}

/* ROI Animation Strip */
.roi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.5rem;
}
.roi-item {
  background: rgba(8,8,18,0.8);
  padding: 1.2rem 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
.roi-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.roi-item span {
  font-size: 0.68rem;
  color: var(--gray-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── BEFORE/AFTER MINI ─── */
.before-after-mini {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}
.bam-col {
  background: rgba(8,8,20,0.75);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.bam-col.after { border-color: rgba(0,217,255,0.12); }
.bam-col.after::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
  opacity: 0.6;
}
.bam-col.before::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(255,68,102,0.3));
  opacity: 0.5;
}
.bam-label {
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 1rem;
}
.bam-label.after-label { color: var(--cyan); }
.bam-list { display: flex; flex-direction: column; gap: 0.55rem; }
.bam-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--gray-2);
  line-height: 1.4;
}
.x-icon     { color: var(--red);   font-size: 0.78rem; flex-shrink: 0; margin-top: 0.1rem; }
.check-icon { color: var(--green); font-size: 0.82rem; flex-shrink: 0; margin-top: 0.1rem; }
.bam-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
}
.bam-arrow {
  width: 32px; height: 32px;
  background: rgba(0,217,255,0.08);
  border: 1px solid rgba(0,217,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--cyan);
}

/* ─── WHAT WE DO — CLEAN GRID (no empty cells) ─── */
.what-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* Replace bento with clean equal grid */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: rgba(8, 8, 20, 0.65);
  backdrop-filter: blur(20px) saturate(1.6) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,217,255,0), transparent);
  transition: background 0.5s;
}
.bento-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--cyan), rgba(139,92,246,0.5), transparent);
}
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,217,255,0.025) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.bento-card:hover {
  border-color: rgba(0, 217, 255, 0.25);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.bento-card:hover::after { opacity: 1; }

/* Remove old bento-full / bento-large overrides — all cards equal */
.bento-full,
.bento-large,
.bento-wide {
  grid-column: auto;
}

.bc-icon-wrap {
  width: 50px; height: 50px;
  background: rgba(0,217,255,0.05);
  border: 1px solid rgba(0,217,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-bounce);
  flex-shrink: 0;
}
.bento-card:hover .bc-icon-wrap {
  background: rgba(0,217,255,0.1);
  border-color: rgba(0,217,255,0.32);
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 20px rgba(0,217,255,0.15);
}
.bento-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.bento-card p {
  font-size: 0.87rem;
  color: var(--gray-2);
  line-height: 1.68;
  flex: 1;
}
.bc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}
.bc-tags span {
  font-size: 0.64rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  color: var(--gray-3);
  transition: all 0.2s;
  letter-spacing: 0.03em;
}
.bento-card:hover .bc-tags span {
  border-color: rgba(0,217,255,0.15);
  color: var(--gray-2);
}

/* ─── WORKFLOW INFOGRAPHIC (in process section) ─── */
.workflow-flow {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(8,8,20,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}
.flow-node {
  flex: 1;
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  opacity: 0.35;
  transition: opacity 0.6s var(--ease-smooth), background 0.4s;
}
.flow-node.active {
  opacity: 1;
  background: rgba(0,217,255,0.03);
}
.flow-node::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-3);
  font-size: 1rem;
  z-index: 2;
}
.flow-node:last-child::after { display: none; }
.flow-node-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.7rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: all 0.4s;
}
.flow-node.active .flow-node-icon {
  border-color: var(--cyan);
  background: rgba(0,217,255,0.08);
  box-shadow: 0 0 16px rgba(0,217,255,0.2);
}
.flow-node span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-2);
  display: block;
  letter-spacing: 0.02em;
}
.flow-node small {
  font-size: 0.62rem;
  color: var(--gray-3);
  display: block;
  margin-top: 0.2rem;
}

/* ─── PROCESS STEPS ─── */
.process-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0,217,255,0.15) 10%, rgba(139,92,246,0.15) 50%, rgba(0,217,255,0.15) 90%, transparent);
}
.ps-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  transition: all 0.4s var(--ease-smooth);
}
.ps-step:last-child { border-bottom: none; }
.ps-num {
  position: relative;
  z-index: 2;
  width: 54px; height: 54px;
  background: rgba(8,8,20,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-3);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  transition: all 0.5s var(--ease-bounce);
}
.ps-step.visible .ps-num {
  background: rgba(0,217,255,0.08);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(0,217,255,0.2);
}
.ps-content { padding-top: 0.6rem; }
.ps-icon { margin-bottom: 0.9rem; }
.ps-content h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.7rem;
  letter-spacing: -0.03em;
}
.ps-content p {
  font-size: 0.96rem;
  color: var(--gray-2);
  line-height: 1.72;
  max-width: 680px;
  margin-bottom: 1.2rem;
}
.ps-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  max-width: 500px;
}
.ps-bullets li {
  font-size: 0.8rem;
  color: var(--gray-3);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.ps-bullets li::before {
  content: '';
  width: 4px; height: 4px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 5px rgba(0,217,255,0.4);
}

/* ─── CASE STUDY ─── */
.case-highlight {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.case-card {
  background: rgba(8, 8, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3.5rem;
  transition: all 0.4s var(--ease-smooth);
  backdrop-filter: blur(20px) saturate(1.6) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.case-card:hover {
  border-color: rgba(0, 217, 255, 0.25);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.case-card:hover::before { opacity: 1; }
.avati-card::before { opacity: 0.5; }

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0,217,255,0.015);
  flex-wrap: wrap;
}
.case-client {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.client-logo-placeholder {
  width: 56px; height: 56px;
  background: rgba(0,217,255,0.06);
  border: 1px solid rgba(0,217,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.case-client h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.client-type { font-size: 0.78rem; color: var(--gray-3); }
.case-results-quick {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.qr-item { display: flex; flex-direction: column; gap: 0.15rem; text-align: center; }
.qr-item strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.qr-item span { font-size: 0.68rem; color: var(--gray-3); text-transform: uppercase; letter-spacing: 0.06em; }
.case-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2.5rem;
  padding: 2.5rem;
}
.case-section-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 1rem;
}
.case-section-label.after-label { color: var(--cyan); }
.case-problems, .case-solutions { display: flex; flex-direction: column; gap: 0.55rem; }
.problem-pill {
  padding: 0.55rem 0.9rem;
  background: rgba(255,68,102,0.04);
  border: 1px solid rgba(255,68,102,0.1);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--gray-2);
  transition: all 0.2s;
}
.problem-pill:hover { border-color: rgba(255,68,102,0.2); }
.solution-pill {
  padding: 0.55rem 0.9rem;
  background: rgba(0,230,118,0.04);
  border: 1px solid rgba(0,230,118,0.12);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--gray-2);
  transition: all 0.2s;
}
.solution-pill:hover { border-color: rgba(0,230,118,0.25); }
.case-arrow-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-top: 2.2rem;
}
.transform-label {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  writing-mode: vertical-rl;
}
.case-footer-cta {
  padding: 1.8rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* Other Projects */
.other-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.op-card {
  background: rgba(8, 8, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all 0.4s var(--ease-smooth);
  backdrop-filter: blur(20px) saturate(1.6) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}
.op-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
}
.op-card:hover {
  border-color: rgba(0, 217, 255, 0.25);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.op-card:hover::after { transform: scaleX(1); }
.op-eyebrow { display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.7rem; }
.op-card h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 0.7rem; line-height: 1.3; }
.op-card p { font-size: 0.86rem; color: var(--gray-2); line-height: 1.65; margin-bottom: 1.4rem; }

/* ─── INDUSTRIES SECTION ─── */
.industries-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ind-item {
  background: rgba(8, 8, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(1.6) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  cursor: default;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
}
.ind-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,217,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.ind-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
}
.ind-item:hover {
  border-color: rgba(0, 217, 255, 0.25);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.ind-item:hover::before { opacity: 1; }
.ind-item:hover::after { transform: scaleX(1); }
.ind-icon { margin-bottom: 1.2rem; transition: transform 0.3s var(--ease-bounce); }
.ind-item:hover .ind-icon { transform: translateY(-3px) scale(1.08); }
.ind-item h4 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.ind-item p { font-size: 0.84rem; color: var(--gray-2); line-height: 1.65; margin-bottom: 0.9rem; }
.ind-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0.22rem 0.65rem;
  background: rgba(0,217,255,0.06);
  border: 1px solid rgba(0,217,255,0.14);
  border-radius: 100px;
}

/* ─── FINAL CTA ─── */
.cta-final {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
}
.cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(4,4,10,0.4) 30%, rgba(4,4,10,0.4) 70%, var(--bg) 100%);
  z-index: 1;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.cta-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: start;
}
.cta-left h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.cta-left p { color: var(--gray-2); line-height: 1.72; margin-bottom: 2.2rem; }
.cta-form { display: flex; flex-direction: column; gap: 1rem; }
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Contact card */
.contact-channels-card {
  background: rgba(8, 8, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  backdrop-filter: blur(20px) saturate(1.6) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s var(--ease-smooth);
}
.contact-channels-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0.6;
}
.contact-channels-card:hover {
  border-color: rgba(0, 217, 255, 0.25);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.contact-channels-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.contact-channels-card > p { font-size: 0.86rem; color: var(--gray-3); margin-bottom: 1.8rem; line-height: 1.6; }
.channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
  transition: all 0.3s var(--ease-smooth);
}
.channel-item:hover { border-color: rgba(0,217,255,0.2); background: rgba(0,217,255,0.04); }
.channel-icon {
  width: 40px; height: 40px;
  background: rgba(0,217,255,0.06);
  border: 1px solid rgba(0,217,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.channel-item:hover .channel-icon { background: rgba(0,217,255,0.12); box-shadow: 0 0 16px rgba(0,217,255,0.12); }
.channel-details { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.channel-details span { font-size: 0.68rem; color: var(--gray-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.channel-details a { font-size: 0.88rem; font-weight: 600; color: var(--white); transition: color 0.2s; }
.channel-details a:hover { color: var(--cyan); }
.btn-copy-channel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--gray-3);
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.btn-copy-channel:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,217,255,0.06); }
.founder-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
}
.fn-avatar { width: 40px; height: 40px; background: rgba(0,217,255,0.06); border: 1px solid rgba(0,217,255,0.12); border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.fn-text { display: flex; flex-direction: column; gap: 0.12rem; }
.fn-text strong { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: var(--white); }
.fn-text span { font-size: 0.72rem; color: var(--gray-3); }

@media (max-width: 1100px) {
  .hero { gap: 2rem; padding-top: 110px; max-width: 1000px; }
  .cta-split { grid-template-columns: 1fr; gap: 3rem; }
  .proof-item { padding: 0.8rem 1rem; }
}

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 3.5rem; padding-top: 120px; max-width: 720px; }
  .hero-dashboard-card { max-width: 100%; }
}

@media (max-width: 900px) {
  .services-bento { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr; gap: 3rem; }
  .before-after-mini { grid-template-columns: 1fr; gap: 1rem; }
  .bam-divider { display: none; }
  .other-projects { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 100px 1.5rem 60px; }
  .hero-h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-proof { flex-direction: column; }
  .proof-divider { width: 100%; height: 1px; }
  .services-bento { grid-template-columns: 1fr; }
  .bento-full, .bento-large { grid-column: auto; }
  .ps-step { grid-template-columns: 44px 1fr; gap: 1.2rem; }
  .ps-bullets { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; }
  .case-arrow-mid { display: none; }
  .ind-grid { grid-template-columns: 1fr; }
  .cta-form-row { grid-template-columns: 1fr; }
  .hdc-stats { grid-template-columns: repeat(3, 1fr); }
  .workflow-flow { flex-wrap: wrap; }
  .flow-node { flex: none; width: 50%; }
  .flow-node::after { display: none; }
  .roi-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-primary-glow,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .hdc-stats { grid-template-columns: repeat(3, 1fr); }
  .ind-grid { grid-template-columns: 1fr; }
  .cta-split { gap: 2rem; }
  .case-header { flex-direction: column; align-items: flex-start; }
  .roi-strip { grid-template-columns: 1fr; }
}

/* ─── SYSTEM DIAGRAM (Interactive v3.0) ─── */
.system-diagram {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: rgba(0,0,0,0.1);
}
.diagram-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hub-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  background: rgba(8,8,24,0.85);
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 0 24px rgba(0,217,255,0.3);
}
.hub-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(0,217,255,0.12);
  pointer-events: none;
  z-index: 2;
}
.hub-ring.inner-ring { width: 110px; height: 110px; }
.hub-ring.middle { width: 220px; height: 220px; }
.hub-ring.outer { width: 330px; height: 330px; }

.sat-node {
  position: absolute;
  width: 38px; height: 38px;
  background: rgba(8,8,20,0.88);
  border: 1px solid rgba(0,217,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  box-shadow: 0 0 8px rgba(0,217,255,0.1);
}
.sat-node:hover {
  background: var(--cyan);
  border-color: var(--white);
  transform: scale(1.18);
  box-shadow: 0 0 20px var(--cyan);
}
.sat-node svg {
  stroke: var(--cyan);
  transition: stroke 0.3s;
}
.sat-node:hover svg {
  stroke: var(--bg);
}
.sat-node::after {
  content: attr(data-label);
  position: absolute;
  bottom: -22px; left: 50%;
  transform: translateX(-50%) scale(0.85);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--cyan);
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s var(--ease-smooth);
  pointer-events: none;
  background: rgba(4,4,10,0.92);
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(0,217,255,0.2);
  border-radius: 4px;
}
.sat-node:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

