
/* ============================================================
   DUVSOFT GLOBAL STYLES
   Dark futuristic theme  Glassmorphism  Web3-inspired
   ============================================================ */

:root {
  --red-500:   #DC2626;
  --red-600:   #B91C1C;
  --red-400:   #EF4444;
  --red-300:   #FCA5A5;
  --red-glow:  rgba(220, 38, 38, 0.25);
  --bg-950:    #080A0F;
  --bg-900:    #0D1018;
  --bg-800:    #111620;
  --surface:   rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.12);
  --border-red: rgba(220,38,38,0.3);
  --text-100: #F8FAFC;
  --text-200: #E2E8F0;
  --text-400: #94A3B8;
  --text-500: #64748B;
  --section-py: clamp(80px, 10vw, 140px);
  --container: 1200px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 200ms;
  --t-med: 350ms;
  --font-sans: Inter, system-ui, sans-serif;
  --font-display: Space Grotesk, Inter, sans-serif;
  --font-mono: Space Mono, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-950);
  color: var(--text-200);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(185,28,28,0.6) 0%, transparent 70%);
  top: -200px; right: -150px;
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,20,60,0.9) 0%, transparent 70%);
  bottom: 10%; left: -180px;
  animation: orb-drift 24s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(185,28,28,0.3) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orb-pulse 8s ease-in-out infinite;
}
@keyframes orb-drift {
  from { transform: translateY(0px) scale(1); }
  to   { transform: translateY(60px) scale(1.1); }
}
@keyframes orb-pulse {
  0%, 100% { opacity: 0.25; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 0.4;  transform: translate(-50%,-50%) scale(1.15); }
}
.grid-overlay {
  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;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-400);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--red-400);
  flex-shrink: 0;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-100);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-400);
  max-width: 600px;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-eyebrow { justify-content: center; }
.section-header .section-eyebrow::before { display: none; }
.section-header .section-sub { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  color: #fff;
  box-shadow: 0 0 30px var(--red-glow), 0 4px 16px rgba(0,0,0,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--red-glow), 0 8px 24px rgba(0,0,0,0.5);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text-200);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
  background: var(--surface-2);
}
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,10,15,0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-med);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-img { height: 38px; width: auto; transition: opacity var(--t-fast); }
.logo-link:hover .logo-img { opacity: 0.85; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-400);
  padding: 8px 16px;
  border-radius: 100px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--text-100); background: var(--surface); }
.nav-cta {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  color: #fff !important;
  padding: 8px 20px;
  margin-left: 8px;
  box-shadow: 0 0 20px var(--red-glow);
}
.nav-cta:hover {
  box-shadow: 0 0 35px var(--red-glow) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: var(--surface); }
.hamburger-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-200);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
body.nav-open .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero-section {
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-400);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 10px var(--red-glow);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 10px var(--red-glow); }
  50%       { box-shadow: 0 0 20px rgba(220,38,38,0.6); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-100);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.headline-accent {
  background: linear-gradient(135deg, var(--red-400), var(--red-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-body {
  font-size: 17px;
  color: var(--text-400);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.hero-glass-panel {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 0.72;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(185,28,28,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero-glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(185,28,28,0.12) 0%, transparent 70%);
}
.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-red);
  animation: orbit-spin linear infinite;
}
.ring-1 { width: 140%; height: 140%; animation-duration: 20s; opacity: 0.6; }
.ring-2 { width: 110%; height: 110%; animation-duration: 14s; animation-direction: reverse; opacity: 0.4; }
.ring-3 { width: 80%;  height: 80%;  animation-duration: 10s; opacity: 0.3; }
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-logo-img {
  width: 70%;
  max-width: 280px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(220,38,38,0.3));
  animation: logo-float 6s ease-in-out infinite;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.hero-console {
  width: 100%;
  max-width: 440px;
  background: rgba(8,10,15,0.9);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.console-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.console-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28CA41; }
.console-path {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-500);
  letter-spacing: 0.1em;
  margin-left: 6px;
  flex: 1;
}
.console-live {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #28CA41;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #28CA41;
  animation: live-blink 1.4s ease-in-out infinite;
}
@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}
.console-body { padding: 16px 20px; }
.console-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red-400);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.console-list { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.console-list li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-400);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: console-type 0.4s var(--ease) both;
}
.console-list li:nth-child(1) { animation-delay: 0.2s; }
.console-list li:nth-child(2) { animation-delay: 0.4s; }
.console-list li:nth-child(3) { animation-delay: 0.6s; }
.console-list li:nth-child(4) { animation-delay: 0.8s; }
.console-list li:nth-child(5) { animation-delay: 1.0s; }
.console-list li:nth-child(6) { animation-delay: 1.2s; }
@keyframes console-type {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.console-arrow { color: var(--red-500); font-size: 14px; }

.ticker-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  padding: 16px 0;
  position: relative;
  z-index: 1;
}
.ticker-strip::before,
.ticker-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.ticker-strip::before { left: 0; background: linear-gradient(to right, var(--bg-950), transparent); }
.ticker-strip::after  { right: 0; background: linear-gradient(to left, var(--bg-950), transparent); }
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  width: max-content;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-400);
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin: 0 6px;
}
.ticker-sep { font-size: 10px; color: var(--red-500); margin: 0 8px; }

.services-section { padding: var(--section-py) 0; position: relative; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med), box-shadow var(--t-med);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 100%, rgba(185,28,28,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(185,28,28,0.1);
}
.service-card:hover::before { opacity: 1; }
.card-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red-500);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}
.card-orbital-accent {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 1px solid var(--border-red);
  opacity: 0.5;
  transition: opacity var(--t-med), transform var(--t-med);
}
.card-orbital-accent::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid var(--border-red);
  opacity: 0.6;
}
.service-card:hover .card-orbital-accent {
  opacity: 1;
  transform: scale(1.15) rotate(30deg);
}
.card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: 12px;
  line-height: 1.3;
}
.card-desc { font-size: 14px; color: var(--text-400); line-height: 1.7; }

/* Selected work */
.work-section {
  padding: var(--section-py) 0;
  position: relative;
  border-block: 1px solid var(--border);
  background: rgba(255,255,255,0.018);
}
.work-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 52px;
}
.work-intro .section-heading { max-width: 680px; margin-bottom: 0; }
.work-intro > p { color: var(--text-400); font-size: 16px; line-height: 1.75; }
.work-list { border-top: 1px solid var(--border-2); }
.work-item {
  --project-accent: var(--red-500);
  min-height: 142px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(210px, 0.46fr) 44px;
  align-items: center;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--border-2);
  transition: background var(--t-med), padding var(--t-med) var(--ease);
}
.work-item:hover,
.work-item:focus-visible { padding-inline: 22px; background: var(--surface); }
.work-index { color: var(--project-accent); font: 700 11px/1 var(--font-mono); letter-spacing: .12em; }
.work-copy strong,
.work-copy small { display: block; }
.work-copy strong { margin-bottom: 7px; color: var(--text-100); font: 700 clamp(22px, 3vw, 34px)/1.15 var(--font-display); }
.work-copy small { color: var(--text-400); font-size: 14px; }
.work-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--text-400); font: 400 10px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.work-status { padding: 6px 9px; color: var(--text-200); border: 1px solid var(--border-2); }
.work-arrow { display: grid; place-items: center; width: 40px; height: 40px; color: var(--text-100); border: 1px solid var(--border-2); font-size: 18px; transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.work-item:hover .work-arrow,
.work-item:focus-visible .work-arrow { color: var(--project-accent); border-color: var(--project-accent); transform: translateX(4px); }
.work-stylist { --project-accent: #da1974; }
.work-reviewkit { --project-accent: #4b7dff; }

.systems-section { padding: var(--section-py) 0; position: relative; }
.systems-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.systems-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  aspect-ratio: 1;
}
.systems-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.15);
  transition: transform var(--t-med) var(--ease);
}
.systems-frame:hover .systems-img { transform: scale(1.03); }
.systems-frame-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(185,28,28,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.systems-body { font-size: 16px; color: var(--text-400); line-height: 1.75; margin-bottom: 32px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-400);
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.chip:hover {
  color: var(--red-300);
  border-color: var(--border-red);
  background: rgba(185,28,28,0.06);
}

.process-section { padding: var(--section-py) 0; position: relative; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med), box-shadow var(--t-med);
}
.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-red);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(185,28,28,0.08);
}
.process-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: rgba(220,38,38,0.15);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  transition: color var(--t-med);
}
.process-card:hover .process-num { color: rgba(220,38,38,0.35); }
.process-line {
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--red-500), transparent);
  margin-bottom: 20px;
  border-radius: 2px;
}
.process-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-100); margin-bottom: 6px; }
.process-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-400); margin-bottom: 14px; }
.process-desc { font-size: 14px; color: var(--text-400); line-height: 1.65; }

.contact-section { padding: var(--section-py) 0; position: relative; }
.contact-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-red), transparent);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-content .section-heading { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 20px; }
.contact-body { font-size: 15px; color: var(--text-400); line-height: 1.75; margin-bottom: 32px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--red-400);
  border-bottom: 1px solid var(--border-red);
  padding-bottom: 4px;
  transition: color var(--t-fast), border-color var(--t-fast);
  margin-bottom: 24px;
}
.contact-email:hover { color: var(--red-300); border-color: var(--red-300); }
.email-icon { font-size: 12px; }
.contact-social { display: flex; gap: 16px; }
.social-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-500); text-transform: uppercase; }

.form-glass {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-400); }
.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-100);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-500); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red-500);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select option { background: #111620; color: #E2E8F0; }
.form-textarea { resize: vertical; min-height: 120px; font-family: var(--font-sans); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  position: relative;
  z-index: 1;
  background: rgba(8,10,15,0.8);
  backdrop-filter: blur(12px);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-logo { height: 32px; width: auto; opacity: 0.7; transition: opacity var(--t-fast); }
.footer-logo:hover { opacity: 1; }
.footer-tagline { font-size: 13px; color: var(--text-500); margin-top: 8px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer-nav { display: flex; gap: 4px; }
.footer-link { font-size: 13px; color: var(--text-500); padding: 6px 12px; border-radius: 6px; transition: color var(--t-fast), background var(--t-fast); }
.footer-link:hover { color: var(--text-200); background: var(--surface); }
.footer-copy { font-family: var(--font-mono); font-size: 11px; color: var(--text-500); }

@media (max-width: 1024px) {
  .hero-inner    { grid-template-columns: 1fr; gap: 60px; }
  .hero-content  { max-width: 600px; margin-inline: auto; text-align: center; }
  .hero-body     { margin-inline: auto; }
  .hero-eyebrow  { justify-content: center; }
  .hero-actions  { justify-content: center; }
  .hero-visual   { align-items: center; }
  .systems-inner   { grid-template-columns: 1fr; gap: 50px; }
  .systems-visual  { max-width: 480px; margin-inline: auto; }
  .contact-inner   { grid-template-columns: 1fr; gap: 50px; }
  .work-intro { grid-template-columns: 1fr; gap: 18px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8,10,15,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
  }
  body.nav-open .site-nav { display: flex; }
  .nav-link { padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-cta { margin-left: 0; text-align: center; border-radius: var(--radius-sm); }
  .services-grid { grid-template-columns: 1fr; }
  .work-item {
    grid-template-columns: 36px minmax(0, 1fr) 40px;
    gap: 16px;
  }
  .work-meta { display: none; }
  .process-grid  { grid-template-columns: 1fr; }
  .footer-inner  { flex-direction: column; align-items: flex-start; }
  .footer-right  { align-items: flex-start; }
  .form-glass { padding: 28px 24px; }
  .hero-glass-panel { aspect-ratio: unset; padding: 40px 20px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: clamp(30px, 9vw, 44px); }
  .section-heading { font-size: clamp(24px, 7vw, 36px); }
  .work-item { grid-template-columns: 26px minmax(0, 1fr) 34px; padding-block: 24px; }
  .work-item:hover, .work-item:focus-visible { padding-inline: 8px; }
  .work-copy strong { font-size: 22px; }
  .work-copy small { font-size: 12px; }
  .work-arrow { width: 34px; height: 34px; }
}

/* ── SCROLL REVEAL ─────────────────────────────────── */
.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── HEADER SCROLLED ───────────────────────────────── */
.site-header.scrolled {
  background: rgba(8,10,15,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* ── FORM FEEDBACK ─────────────────────────────────── */
.form-feedback {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.form-error {
  background: rgba(220,38,38,0.12);
  border: 1px solid rgba(220,38,38,0.3);
  color: var(--red-300);
}
.form-success {
  background: rgba(40,202,65,0.1);
  border: 1px solid rgba(40,202,65,0.25);
  color: #86efac;
}


/* Systems Gallery for Brand Mockups */
.systems-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.gallery-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  object-fit: cover;
  transition: transform var(--transition-medium), border-color var(--transition-medium);
}

.gallery-img:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}


/* ── COMMUNITYHUB SPECIALIZED STYLES ──────────────────── */
.hero-eyebrow-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-badge {
  background: rgba(220, 38, 38, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-metrics-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

/* Mockup Card Component */
.ch-preview-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.ch-card-header {
  background: rgba(15, 23, 42, 0.8);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.ch-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.ch-url {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ch-card-body {
  padding: 24px;
}

.ch-badge-live {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.ch-mockup-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 20px;
}

.ch-feature-mini-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.mini-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.mini-icon {
  font-size: 1.2rem;
}

.mini-feature strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.mini-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.ch-mockup-footer {
  margin-top: 16px;
  text-align: center;
}

.ch-live-btn {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-red);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.ch-live-btn:hover {
  color: #f87171;
  text-decoration: underline;
}

.nav-highlight {
  color: var(--accent-red) !important;
  font-weight: 600;
}
.nav-highlight:hover {
  color: #f87171 !important;
}
