/* ============================================================
   NEBOLDY LLC — Styles
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050508;
  --bg-2: #080b12;
  --bg-3: #0d1120;
  --surface: #111827;
  --surface-2: #1a2236;
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.13);

  /* Brand steel palette — matches Neboldy circuit-board logo */
  --indigo: #3a8fc4;       /* steel blue primary */
  --cyan: #62b8df;         /* steel blue lighter / gradient end */
  --purple: #3a75b8;       /* secondary steel-navy */
  --emerald: #10b981;
  --amber: #f59e0b;
  --pink: #4a9ed6;

  /* Extra brand tokens */
  --steel: #3a8fc4;
  --steel-2: #62b8df;
  --silver: #7aacc6;

  --text-primary: #eef4f8;
  --text-secondary: #8fafc8;
  --text-muted: #4d6a84;

  --font-sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --glow-indigo: 0 0 60px rgba(58, 143, 196, 0.3);
  --glow-cyan: 0 0 60px rgba(98, 184, 223, 0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

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

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.gradient-text {
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

em {
  font-style: normal;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--cyan);
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

.section-head {
  text-align: center;
  margin-bottom: 72px;
}

.section-head .section-tag {
  margin-bottom: 16px;
}

.section-head::before {
  content: none;
}

.section-head .section-tag {
  display: inline-flex;
}

.section-head .section-sub {
  margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary svg,
.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(58, 143, 196, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid var(--border-bright);
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 42px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.logo-mark {
  display: flex;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 0 24px;
  border-top: 1px solid var(--border);
  background: rgba(5, 5, 8, 0.95);
}

.nav-mobile.open {
  display: flex;
}

.mobile-link {
  padding: 14px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-link:hover {
  color: var(--text-primary);
}

.mobile-cta {
  margin-top: 16px;
  padding: 14px 0;
  color: var(--cyan) !important;
  border: none !important;
  font-weight: 600;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(58, 143, 196, 0.1);
  border: 1px solid rgba(58, 143, 196, 0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--indigo);
  margin-bottom: 32px;
  animation: fadeSlideDown 0.8s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  animation: fadeSlideDown 0.8s ease 0.1s both;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 44px;
  animation: fadeSlideDown 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
  animation: fadeSlideDown 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  padding: 24px 48px;
  gap: 48px;
  animation: fadeSlideDown 0.8s ease 0.4s both;
}

.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  vertical-align: super;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  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: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: scrollDrop 1.5s ease infinite;
}

@keyframes scrollDrop {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ============================================================
   MARQUEE
   ============================================================ */

.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.marquee-inner span {
  flex-shrink: 0;
}

.marquee-inner .dot {
  color: var(--indigo);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  padding: 120px 0;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58, 143, 196, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  cursor: default;
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  background: var(--surface-2);
}

.service-card.featured {
  grid-column: 1 / 3;
  background: linear-gradient(135deg, rgba(58, 143, 196, 0.08), rgba(98, 184, 223, 0.05));
  border-color: rgba(58, 143, 196, 0.2);
}

.card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.service-card:hover .card-glow {
  opacity: 1;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(58, 143, 196, 0.08), transparent 60%);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(58, 143, 196, 0.1);
  border: 1px solid rgba(58, 143, 196, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(58, 143, 196, 0.15);
  border-color: rgba(58, 143, 196, 0.35);
}

.service-card h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-tags span {
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.card-arrow {
  margin-top: 8px;
  color: var(--text-muted);
  transition: var(--transition);
}

.service-card:hover .card-arrow {
  color: var(--indigo);
  transform: translateX(4px);
}

/* ============================================================
   PROJECTS
   ============================================================ */

.projects {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.project-item.reverse {
  direction: rtl;
}

.project-item.reverse > * {
  direction: ltr;
}

.project-visual {
  position: relative;
}

.project-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.project-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.mockup-screen {
  padding: 32px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glass UI Mockup */
.glass-ui {
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.glass-preview {
  flex: 1;
  height: 260px;
  background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(6,182,212,0.03));
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.glass-panel {
  width: var(--w);
  height: var(--h);
  background: var(--color);
  border-radius: 4px;
  transform: rotate(var(--angle));
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,0.1);
  animation: glassSway 4s ease-in-out infinite;
}

.glass-panel:nth-child(2) { animation-delay: 0.5s; }
.glass-panel:nth-child(3) { animation-delay: 1s; }

@keyframes glassSway {
  0%, 100% { transform: rotate(var(--angle)) translateY(0); }
  50% { transform: rotate(var(--angle)) translateY(-6px); }
}

.glass-controls {
  width: 130px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ctrl-row {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  overflow: hidden;
}

.ctrl-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  border-radius: 100px;
}

.ctrl-btn {
  width: 100%;
  height: 36px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  border-radius: 8px;
  margin-top: 8px;
}

/* CRM UI Mockup */
.crm-ui {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crm-pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pipeline-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pipeline-header {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.pipeline-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.p-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-lines div {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
}

.p-lines div:first-child { width: 80%; }
.p-lines div:last-child { width: 50%; }

.crm-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.metric-val {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-lbl {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Invoice UI Mockup */
.invoice-ui {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inv-logo {
  width: 80px;
  height: 16px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  border-radius: 4px;
  opacity: 0.6;
}

.inv-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.inv-meta div {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  width: 80px;
}

.inv-meta div:last-child { width: 60px; }

.inv-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.inv-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 10px 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
}

.inv-row:last-child { border-bottom: none; }

.inv-row.header {
  background: rgba(255,255,255,0.03);
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inv-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
}

.inv-amt {
  width: 40px;
  height: 6px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  border-radius: 100px;
  opacity: 0.7;
}

.inv-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inv-sum {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inv-sum span { font-size: 11px; color: var(--text-muted); }

.inv-big {
  font-family: var(--font-sans);
  font-size: 22px !important;
  font-weight: 700;
  color: var(--text-primary) !important;
}

.inv-send {
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.inv-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.flow-step {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.flow-step.active {
  border-color: var(--indigo);
  color: var(--indigo);
  background: rgba(58, 143, 196, 0.1);
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 12px;
}

/* ── Mockup browser chrome ─────────────────────────────── */

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.bar-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.bar-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.bar-dots span:first-child { background: rgba(255,100,80,0.5); }
.bar-dots span:nth-child(2) { background: rgba(255,200,50,0.5); }
.bar-dots span:nth-child(3) { background: rgba(50,200,100,0.5); }

.bar-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.bar-url {
  font-size: 10px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  margin-left: auto;
  white-space: nowrap;
}

/* ── Glass Configurator UI ─────────────────────────────── */

.cfg-ui {
  width: 100%;
  height: 340px;
  display: flex;
  flex-direction: column;
}

.cfg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}

.cfg-mode-tabs {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 2px;
}

.cfg-tab {
  padding: 5px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: default;
  transition: var(--transition);
}

.cfg-tab.active {
  background: var(--steel);
  color: white;
}

.cfg-tab.ar {
  color: #10b981;
}

.cfg-actions {
  display: flex;
  gap: 6px;
}

.cfg-chip {
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.cfg-chip.active {
  border-color: var(--steel);
  color: var(--steel);
  background: rgba(58,143,196,0.08);
}

.cfg-main {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.cfg-viewport {
  flex: 1;
  position: relative;
  background: rgba(255,255,255,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 2D Floor plan */
.floor-plan {
  position: relative;
  width: 160px;
  height: 160px;
}

.fp-wall {
  position: absolute;
  background: rgba(255,255,255,0.2);
}

.fp-wall.fp-top {
  top: 0; left: 0; right: 0; height: 3px;
  border-radius: 2px;
}

.fp-wall.fp-left {
  top: 0; left: 0; bottom: 0; width: 3px;
  border-radius: 2px;
}

.fp-partition {
  position: absolute;
  top: 0;
  left: 3px;
  right: 0;
  height: 120px;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.fp-panel {
  flex: 1;
  border: 1px solid rgba(98,184,223,0.5);
  background: rgba(98,184,223,0.07);
  position: relative;
}

.fp-panel.glass-door {
  border-color: rgba(98,184,223,0.9);
  background: rgba(98,184,223,0.15);
}

.door-arc {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding-bottom: 100%;
  border: 1px dashed rgba(98,184,223,0.4);
  border-radius: 0 100% 0 0;
  box-sizing: border-box;
}

.fp-corner-indicator {
  position: absolute;
  top: 4px;
  left: 8px;
}

.fp-dim {
  position: absolute;
  font-size: 9px;
  color: var(--steel);
  font-weight: 600;
  white-space: nowrap;
}

.fp-dim-w {
  bottom: 20px;
  left: 16px;
}

.fp-dim-h {
  top: 40px;
  right: 4px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.photo-fit-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 100px;
  font-size: 9px;
  font-weight: 600;
  color: #10b981;
}

.cfg-panel {
  width: 150px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.cfg-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.cfg-section-label:first-child { margin-top: 0; }

.cfg-options {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cfg-opt {
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.cfg-opt.selected {
  background: rgba(58,143,196,0.1);
  border-color: rgba(58,143,196,0.3);
  color: var(--steel);
  font-weight: 600;
}

.cfg-swatches {
  display: flex;
  gap: 6px;
}

.swatch-opt {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: default;
  border: 2px solid transparent;
  transition: var(--transition);
}

.swatch-opt.selected {
  border-color: var(--steel);
  box-shadow: 0 0 0 2px rgba(58,143,196,0.3);
}

.cfg-quote-box {
  margin-top: auto;
  background: rgba(58,143,196,0.08);
  border: 1px solid rgba(58,143,196,0.2);
  border-radius: 8px;
  padding: 10px;
}

.quote-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quote-amt {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 2px 0 6px;
}

.quote-btn {
  width: 100%;
  padding: 6px;
  background: linear-gradient(135deg, var(--steel), var(--cyan));
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 10px;
  font-weight: 600;
  cursor: default;
  white-space: nowrap;
}

/* ── WiseGlass CRM UI ──────────────────────────────────── */

.wcrm-ui {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px;
}

.wcrm-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wcrm-metric {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  border-top: 2px solid var(--mc);
}

.wm-val {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.wm-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

.wm-trend {
  font-size: 10px;
  color: #10b981;
  font-weight: 600;
  margin-top: 4px;
}

.wcrm-pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wcp-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wcp-head {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wcp-count {
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 1px 6px;
  font-size: 9px;
}

.wcp-count.won { background: rgba(16,185,129,0.15); color: #10b981; }

.wcp-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.wcp-card.hot { border-color: rgba(245,158,11,0.3); }
.wcp-card.won-card { border-color: rgba(16,185,129,0.2); }

.wcp-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(58,143,196,0.15);
  border: 1px solid rgba(58,143,196,0.25);
  font-size: 8px;
  font-weight: 700;
  color: var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wcp-avatar.green {
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.25);
  color: #10b981;
}

.wcp-info {
  flex: 1;
  min-width: 0;
}

.wcp-name {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wcp-val {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 1px;
}

.wcp-badge {
  flex-shrink: 0;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
}

.wcp-badge.hot {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
}

.wcp-badge.won-badge {
  background: rgba(16,185,129,0.15);
  color: #10b981;
}

.wcrm-email {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.email-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.email-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.email-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--text-muted);
}

.es-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}

.es-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--fill);
  background: var(--ec);
  border-radius: 100px;
}

/* ── Client Spotlight section ──────────────────────────── */

.client-spotlight {
  margin-bottom: 100px;
}

.spotlight-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  padding: 16px 24px;
  background: rgba(58,143,196,0.05);
  border: 1px solid rgba(58,143,196,0.15);
  border-radius: 14px;
}

.spotlight-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.spotlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

.spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  text-decoration: none;
  transition: var(--transition);
}

.spotlight-link:hover {
  color: var(--cyan);
}

/* ── WiseGlass Referral mini card ──────────────────────── */

.project-card-row {
  margin-top: 24px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  transition: var(--transition);
}

.project-card:hover {
  border-color: var(--border-bright);
}

.project-card-mockup {
  padding: 32px;
  background: rgba(255,255,255,0.01);
  border-right: 1px solid var(--border);
}

/* Referral tree UI */
.ref-ui {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.ref-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ref-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.ref-badge {
  padding: 3px 10px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  color: #10b981;
}

.ref-tree {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ref-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ref-node.root {
  margin-bottom: 4px;
}

.rn-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(58,143,196,0.15);
  border: 1.5px solid var(--steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--steel);
}

.rn-avatar.main {
  width: 44px;
  height: 44px;
  background: rgba(58,143,196,0.2);
  border-width: 2px;
  font-size: 11px;
}

.rn-label {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 600;
}

.rn-sub {
  font-size: 9px;
  color: var(--text-muted);
}

.ref-branches {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.ref-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ref-line {
  width: 1px;
  height: 14px;
  background: rgba(58,143,196,0.4);
}

.ref-node .rn-avatar:not(.main) {
  width: 30px;
  height: 30px;
  font-size: 9px;
}

.ref-children {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.ref-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.rn-dot {
  width: 2px;
  height: 10px;
  background: rgba(58,143,196,0.3);
}

.rn-mini {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  font-size: 7px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.rs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.rs span {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--steel), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rs small {
  font-size: 9px;
  color: var(--text-muted);
}

.project-card-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pci-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pci-link {
  font-size: 11px;
  color: var(--steel);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.pci-link:hover {
  color: var(--cyan);
}

.project-card-info h4 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.project-card-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

/* ── Other Projects Grid ───────────────────────────────── */

.other-projects {
  margin-top: 80px;
}

.other-projects-head {
  margin-bottom: 32px;
}

.other-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.other-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.other-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.other-mockup {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}

.other-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.other-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.other-info h4 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.other-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── OrdaBazar marketplace UI ──────────────────────────── */

.orda-ui {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.orda-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.orda-cats {
  display: flex;
  gap: 6px;
}

.orda-cat {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: default;
}

.orda-cat.active {
  background: rgba(58,143,196,0.1);
  border-color: rgba(58,143,196,0.3);
  color: var(--steel);
}

.orda-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.orda-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.orda-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
}

.orda-name {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
}

.orda-price {
  font-size: 9px;
  color: var(--steel);
  font-weight: 700;
}

/* ── ImmiHub network UI ────────────────────────────────── */

.immi-ui {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.immi-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.immi-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.immi-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.immi-graph {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
}

.immi-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.immi-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

.immi-node.hub {
  background: rgba(58,143,196,0.2);
  border: 2px solid var(--steel);
  color: var(--steel);
  width: 52px;
  height: 52px;
  font-size: 10px;
}

.immi-node.work {
  background: rgba(245,158,11,0.1);
  border: 1.5px solid rgba(245,158,11,0.4);
  color: #f59e0b;
  width: 38px;
  height: 38px;
}

.immi-node.study {
  background: rgba(98,184,223,0.1);
  border: 1.5px solid rgba(98,184,223,0.4);
  color: var(--cyan);
  width: 38px;
  height: 38px;
}

.immi-node.family {
  background: rgba(16,185,129,0.1);
  border: 1.5px solid rgba(16,185,129,0.4);
  color: #10b981;
  width: 38px;
  height: 38px;
}

.immi-branches {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}

.immi-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ibranch-line {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.1);
}

.immi-sub-nodes {
  display: flex;
  gap: 4px;
}

.immi-sub-node {
  width: 26px;
  height: 20px;
  border-radius: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.immi-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.immi-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--text-muted);
}

.immi-check.done {
  color: var(--text-secondary);
}

/* Project Info */
.project-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.project-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--cyan);
}

.project-info h3 {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project-info p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.project-results {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-results li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.project-stack span {
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================================
   PROCESS
   ============================================================ */

.process {
  padding: 120px 0;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(98, 184, 223, 0.04), transparent);
  pointer-events: none;
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.process-line {
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan));
  opacity: 0.3;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  counter-increment: none;
}

.step::before {
  content: attr(data-step);
  position: absolute;
  top: -32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--indigo);
  opacity: 0.6;
}

.step-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
}

.step-node::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--indigo);
  opacity: 0;
  transition: var(--transition);
}

.step:hover .step-node {
  background: rgba(58, 143, 196, 0.1);
  border-color: var(--indigo);
}

.step:hover .step-node::after {
  opacity: 0.3;
}

.step-content h4 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.about-card-stack {
  position: relative;
  width: 320px;
  height: 380px;
}

.about-card {
  position: absolute;
  width: 300px;
  height: 200px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.card-front {
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 320px;
  height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface-2);
  border-color: var(--border-bright);
}

.card-mid {
  bottom: 80px;
  left: 20px;
  z-index: 2;
  transform: rotate(4deg);
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.05));
  border-color: rgba(99,102,241,0.15);
}

.card-back {
  bottom: 150px;
  left: 30px;
  z-index: 1;
  transform: rotate(8deg);
  background: rgba(255,255,255,0.02);
}

.card-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 16px 16px;
}

.card-icon-row {
  display: flex;
  gap: 10px;
}

.card-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--c), transparent 85%);
  border: 1px solid color-mix(in srgb, var(--c), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c);
}

.card-label {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
}

.card-sublabel {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: -10px;
}

.card-divider {
  height: 1px;
  background: var(--border);
}

.card-stats-row {
  display: flex;
  gap: 24px;
}

.card-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-stat span {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-stat small {
  font-size: 11px;
  color: var(--text-muted);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
}

.value:hover {
  border-color: var(--border-bright);
  background: var(--surface-2);
}

.value-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(58, 143, 196, 0.1);
  border: 1px solid rgba(58, 143, 196, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  flex-shrink: 0;
}

.value > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.value strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.value span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.contact-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 143, 196, 0.12), transparent 70%);
  top: -100px;
  left: -100px;
  pointer-events: none;
}

.contact-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 184, 223, 0.08), transparent 70%);
  bottom: -80px;
  right: -80px;
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.contact-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-method {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
}

.contact-method:hover {
  color: var(--cyan);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  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: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--indigo);
  background: rgba(58, 143, 196, 0.05);
}

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 60px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 280px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text-secondary);
}

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

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.03), transparent);
  opacity: 0;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card.featured-testi {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.04));
  border-color: rgba(99,102,241,0.2);
}

.testi-quote {
  opacity: 0.8;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--av-color), transparent 75%);
  border: 1px solid color-mix(in srgb, var(--av-color), transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--av-color);
  flex-shrink: 0;
}

.testi-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testi-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.testi-meta span {
  font-size: 12px;
  color: var(--text-muted);
}

.testi-stars {
  color: var(--amber);
  font-size: 13px;
  letter-spacing: 1px;
}

/* ============================================================
   BLOG / INSIGHTS
   ============================================================ */

.blog {
  padding: 120px 0;
  position: relative;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}

.blog-card.blog-card-featured {
  grid-row: 1;
}

.blog-img-wrap {
  overflow: hidden;
}

.blog-img {
  height: 180px;
  background: linear-gradient(135deg, var(--blog-c1), var(--blog-c2));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.04);
}

.blog-card-featured .blog-img {
  height: 220px;
}

.blog-img-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

.blog-img-icon {
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.blog-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-category {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--indigo);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-read {
  font-size: 12px;
  color: var(--text-muted);
}

.blog-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.blog-card-featured h3 {
  font-size: 22px;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
  margin-top: 4px;
  transition: var(--transition);
}

.blog-link:hover {
  gap: 10px;
  color: var(--cyan);
}

/* ============================================================
   FORM EXTRAS
   ============================================================ */

.form-notice {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-notice a {
  color: var(--indigo);
  text-decoration: none;
}

.form-notice a:hover {
  text-decoration: underline;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 10px;
  font-size: 14px;
  color: var(--emerald);
  font-weight: 500;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card.featured {
    grid-column: 1 / 3;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-card.featured-testi {
    grid-column: 1 / 3;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card-featured {
    grid-column: 1 / 3;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .project-item.reverse {
    direction: ltr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .process-line {
    display: none;
  }
}

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

  .nav-hamburger {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card.featured-testi {
    grid-column: 1;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-featured {
    grid-column: 1;
  }

  .service-card.featured {
    grid-column: 1;
  }

  .hero-stats {
    padding: 20px 28px;
    gap: 28px;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  .projects-list {
    gap: 80px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 24px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .about-card-stack {
    display: none;
  }

  .about-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-stats {
    padding: 16px 20px;
    gap: 20px;
  }

  .stat-num {
    font-size: 28px;
  }
}
