:root {
  --bg: #06070d;
  --bg-2: #0a0c17;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #e7eaf3;
  --text-dim: #8891a7;
  --text-faint: #565f76;
  --cyan: #54e0ff;
  --blue: #4d7fff;
  --violet: #9d6bff;
  --grad: linear-gradient(120deg, var(--cyan), var(--blue) 55%, var(--violet));
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

::selection {
  background: var(--violet);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--cyan), var(--violet));
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

#loader svg {
  width: 120px;
  height: 60px;
  overflow: visible;
}

#loader path {
  fill: none;
  stroke: url(#loaderGrad);
  stroke-width: 2.4;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}

#loaderPct {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

#loaderPct span {
  color: var(--cyan);
}

#loaderBar {
  width: 180px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

#loaderBarFill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--grad);
}

.loader-logo {
  height: 64px;
  width: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(84, 224, 255, 0.35));
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(84, 224, 255, 0.4);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.2s ease;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.cursor.active {
  transform: translate(-50%, -50%) rotate(45deg);
  background: rgba(84, 224, 255, 0.12);
  border-color: rgba(157, 107, 255, 0.6);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--cyan);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.1s ease;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(84, 224, 255, 0.7), 0 0 24px rgba(77, 127, 255, 0.3);
}

@media (max-width: 900px) {
  .cursor, .cursor-dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor, .cursor-dot { display: none; }
}

/* ===== PARTICLE NETWORK BACKGROUND ===== */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  #particles-js {
    display: none;
  }
}

/* ===== BACKDROP FX ===== */
#bgFx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}

.blob-1 {
  width: 520px;
  height: 520px;
  background: var(--blue);
  top: -160px;
  left: -120px;
}

.blob-2 {
  width: 460px;
  height: 460px;
  background: var(--violet);
  top: 40%;
  right: -160px;
}

.blob-3 {
  width: 380px;
  height: 380px;
  background: var(--cyan);
  bottom: -140px;
  left: 30%;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.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: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black, transparent 70%);
}

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: min(920px, 92%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 100px;
  background: rgba(10, 12, 23, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--panel-border);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), width 0.4s var(--ease);
}

#nav.shrink {
  padding: 8px 20px;
  background: rgba(10, 12, 23, 0.82);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

.nav-logo img {
  height: 30px;
  width: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 100px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1px;
  background: var(--grad);
}

.nav-cta {
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 100px;
  background: var(--grad);
  color: #050608;
  font-weight: 600;
}

.nav-burger {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--panel-border);
  align-items: center;
  justify-content: center;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 150px 0 100px;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 920px;
}

.hero-title .line {
  overflow: hidden;
  display: block;
}

.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
}

.hero-title .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 28px;
  max-width: 560px;
  font-size: 17px;
  color: var(--text-dim);
  font-weight: 300;
  opacity: 0;
  transform: translateY(16px);
}

.hero-rotator {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
}

.hero-rotator #rotWord {
  color: var(--cyan);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 42px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
}

.btn {
  position: relative;
  padding: 15px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad);
  color: #050608;
}

.btn-ghost {
  border: 1px solid var(--panel-border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.magnetic {
  transition: transform 0.2s var(--ease);
}

.hero-scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}

.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrollpulse 2s infinite;
}

@keyframes scrollpulse {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

/* ===== SECTION HEAD ===== */
.section-pad {
  padding: 150px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 70px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-desc {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 15.5px;
  max-width: 520px;
  font-weight: 300;
}

/* ===== ABOUT ===== */
#about .about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 900px) {
  #about .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.about-card {
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(84, 224, 255, 0.4), transparent 40%, rgba(157, 107, 255, 0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.about-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.1em;
}

.about-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-top: 10px;
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 34px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
}

.stat-num .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 4px;
}

.timeline {
  border-left: 1px solid var(--panel-border);
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.tl-item {
  position: relative;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -42px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
}

.tl-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

.tl-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-top: 6px;
  font-weight: 600;
}

.tl-desc {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-top: 8px;
  font-weight: 300;
  max-width: 460px;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--panel-border);
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card {
  background: var(--bg-2);
  padding: 34px 26px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.service-card:hover {
  background: #0d1120;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(84, 224, 255, 0.14), transparent 70%);
}

.service-card:hover::after {
  opacity: 1;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

.service-icon {
  width: 38px;
  height: 38px;
  margin: 20px 0 0;
  color: var(--cyan);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: auto;
}

.service-desc {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 10px;
  font-weight: 300;
  line-height: 1.55;
}

/* ===== PROCESS ===== */
#process {
  background: var(--bg-2);
}

.process-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: none;
}

.process-track::-webkit-scrollbar {
  display: none;
}

.process-step {
  min-width: 230px;
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--panel-border);
  margin-right: 26px;
  flex-shrink: 0;
}

.process-step:last-child {
  border-right: none;
}

.process-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet);
}

.process-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-top: 14px;
  font-weight: 600;
}

.process-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 10px;
  font-weight: 300;
}

/* ===== TECH ===== */
.tech-orbit-wrap {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-core {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(84, 224, 255, 0.18), rgba(157, 107, 255, 0.1));
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  z-index: 3;
  text-align: center;
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}

.orbit-item:hover {
  background: rgba(84, 224, 255, 0.12);
  color: var(--cyan);
  border-color: var(--cyan);
  transform: scale(1.15);
}

/* ===== TERMINAL ===== */
#terminal {
  background: var(--bg-2);
}

.term-window {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: #0a0d18;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
}

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

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-body {
  padding: 22px 22px 26px;
  height: 300px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #c7cee0;
}

.term-body::-webkit-scrollbar {
  width: 6px;
}

.term-line {
  margin-bottom: 8px;
  white-space: pre-wrap;
  line-height: 1.6;
}

.term-prompt {
  color: var(--cyan);
}

.term-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.term-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
}

.term-hint {
  color: var(--text-faint);
  font-size: 11px;
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
}

/* ===== METRICS ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

@media (max-width: 820px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
}

.metric-num .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-label {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: var(--bg-2);
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

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

.t-card {
  width: 340px;
  flex-shrink: 0;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.03);
}

.t-quote {
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.6;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.t-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}

.t-name {
  font-size: 13px;
  font-weight: 600;
}

.t-role {
  font-size: 11.5px;
  color: var(--text-faint);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--panel-border);
}

.faq-q {
  padding: 26px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 500;
  cursor: pointer;
}

.faq-plus {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  background: var(--cyan);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-plus::before {
  width: 14px;
  height: 1.4px;
}

.faq-plus::after {
  width: 1.4px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  padding: 0 4px 26px;
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 300;
  max-width: 600px;
}

/* ===== CONTACT ===== */
#contact {
  background: var(--bg-2);
}

.contact-panel {
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(160deg, rgba(84, 224, 255, 0.06), rgba(157, 107, 255, 0.04));
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 700px) {
  .contact-panel {
    padding: 50px 24px;
  }
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  max-width: 680px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.contact-form {
  max-width: 520px;
  margin: 44px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  position: relative;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 18px 16px 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.3s;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field label {
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--text-faint);
  font-size: 14.5px;
  pointer-events: none;
  transition: transform 0.2s var(--ease), font-size 0.2s var(--ease), color 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:focus+label,
.field textarea:not(:placeholder-shown)+label {
  transform: translateY(-9px);
  font-size: 10.5px;
  color: var(--cyan);
}

.submit-btn {
  align-self: center;
  margin-top: 8px;
}

.form-success {
  display: none;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 16px;
}

.form-error {
  display: none;
  color: #ff5f57;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 16px;
}

/* ===== FOOTER ===== */
footer {
  padding: 80px 0 34px;
  border-top: 1px solid var(--panel-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.footer-brand img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-desc {
  color: var(--text-dim);
  font-size: 13.5px;
  margin-top: 14px;
  max-width: 280px;
  font-weight: 300;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 11px;
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid var(--panel-border);
  font-size: 12px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== REVEAL UTIL ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
}

.fade-in {
  opacity: 0;
}

/* ===== DEV MODE ===== */
#devMode {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9996;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  background: rgba(6, 7, 13, 0.85);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 10px 14px;
  display: none;
  line-height: 1.7;
  backdrop-filter: blur(10px);
}
