/* ================================================================
   GRAPHOID PRODUCT PAGE — THEME & STYLES
   Dark navy (#0B1F3A) and electric blue (#2563EB) brand palette
   ================================================================ */

body.theme-graphoid {
  /* Dark navy base & shades */
  --bg:          #050f1d;
  --bg-2:        #0B1F3A; /* Dark navy */
  --surface:     #102a4c;
  --surface-2:   #173866;
  --border-dim:  #1f467a;
  --border:      #295a9c;

  /* Electric blue accent */
  --accent:      #2563EB;
  --accent-dim:  rgba(37, 99, 235, 0.12);
  --accent-glow: rgba(37, 99, 235, 0.25);
  --accent-bd:   rgba(37, 99, 235, 0.35);

  --tx-accent:   #60a5fa;
  --ok:          #10b981;
}

/* Custom styles for abstract dashboard mockup in hero */
.g-hero-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r12);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--accent-bd);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.g-hero-mockup-header {
  height: 28px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  padding: 0 var(--s4);
  gap: 8px;
}
.g-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tx-muted); }
.g-dot:nth-child(1) { background: #ef4444; }
.g-dot:nth-child(2) { background: #f59e0b; }
.g-dot:nth-child(3) { background: #10b981; }

.g-hero-mockup-body {
  padding: var(--s5);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--s5);
  height: 380px;
}
.g-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.g-s-item {
  height: 32px;
  background: var(--surface-2);
  border-radius: var(--r4);
  width: 100%;
}
.g-s-item.active {
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
}
.g-main {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.g-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.g-stat-card {
  height: 80px;
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
  border-radius: var(--r8);
  padding: var(--s3);
}
.g-stat-title { width: 60%; height: 12px; background: var(--tx-muted); border-radius: 4px; margin-bottom: 14px; opacity: 0.5; }
.g-stat-val { width: 40%; height: 24px; background: var(--accent); border-radius: 4px; }

.g-chart-area {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
  border-radius: var(--r8);
  position: relative;
  overflow: hidden;
}
.g-chart-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background: linear-gradient(180deg, var(--accent-glow) 0%, transparent 100%);
  border-top: 2px solid var(--accent);
  clip-path: polygon(0 40%, 20% 60%, 40% 20%, 60% 70%, 80% 30%, 100% 50%, 100% 100%, 0 100%);
}

.g-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s6);
}

@media (max-width: 1024px) {
  .g-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .g-hero-mockup-body { grid-template-columns: 1fr; }
  .g-sidebar { display: none; }
}
@media (max-width: 768px) {
  .g-grid-4 { grid-template-columns: 1fr; }
}

.g-process-steps {
  display: flex;
  gap: var(--s6);
  justify-content: center;
  position: relative;
  margin-top: var(--s8);
}
.g-process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border-dim);
  padding: var(--s8);
  border-radius: var(--r12);
  box-shadow: var(--sh-md);
  transition: all var(--tb);
}
.g-process-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent-bd);
}
.g-process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--border-dim);
  z-index: -1;
}
.g-process-step:last-child::after { display: none; }
@media (max-width: 768px) {
  .g-process-steps { flex-direction: column; }
  .g-process-step::after {
    top: auto; bottom: -50%; right: 50%; left: 50%; width: 2px; height: 100%; transform: translateX(-50%);
  }
}
.g-step-num {
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fm); font-size: var(--lg); font-weight: 700;
  margin: 0 auto var(--s4);
}

.g-industry-tiles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6);
}
.g-ind-tile {
  display: flex; align-items: center; gap: var(--s4);
  background: var(--surface); border: 1px solid var(--border-dim);
  padding: var(--s6); border-radius: var(--r8); transition: all 0.3s ease;
}
.g-ind-tile:hover {
  border-color: var(--accent-bd); transform: translateX(8px);
  background: var(--surface-2);
}
.g-ind-icon {
  width: 64px; height: 64px; border-radius: var(--r8); background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  border: 1px solid var(--accent-bd);
}
.g-ind-icon svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.g-ind-body h4 { margin-bottom: 4px; }
.g-ind-body p { font-size: var(--sm); color: var(--tx-2); line-height: 1.5; margin: 0; }
@media (max-width: 768px) {
  .g-industry-tiles { grid-template-columns: 1fr; }
}

.graphoid-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}
