/* ========================================================================
   KUWAY — Estilo futurista 3D
   Paleta:
   - bg base: #0a0a0f (negro azulado profundo)
   - bg surface: #11111a
   - text primary: #e8e8f0
   - text muted: #8a8aa0
   - accent primary (cyan): #00d4ff
   - accent secondary (naranja metálico): #ff6420
   - accent yellow (Trabajo Seguro): #f5e642
   ======================================================================== */

:root {
  --bg: #0a0a0f;
  --bg-2: #11111a;
  --bg-3: #1a1a26;
  --text: #e8e8f0;
  --text-muted: #8a8aa0;
  --text-dim: #4a4a60;
  --accent: #00d4ff;
  --accent-2: #ff6420;
  --accent-yellow: #f5e642;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 212, 255, 0.4);
  --glow: 0 0 40px rgba(0, 212, 255, 0.3);
  --font-display: 'Space Grotesk', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--accent); color: var(--bg); }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ===== Background 3D Canvas ===== */
#bg-3d {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ===== Overlays decorativos ===== */
.grid-overlay {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.scanlines {
  position: fixed; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 212, 255, 0.015) 2px,
    rgba(0, 212, 255, 0.015) 4px
  );
  z-index: 2;
  pointer-events: none;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 10, 15, 0.6);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
}
.brand-logo {
  width: 36px; height: 36px;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.4));
}
.brand-text {
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--text) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex; gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--accent);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  border: 1px solid var(--accent);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--text);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 0;
}
.nav-cta:hover::before { transform: translateX(0); }
.nav-cta span { position: relative; z-index: 1; }
.nav-cta .arrow { transition: transform 0.3s ease; }
.nav-cta:hover .arrow { transform: translateX(4px); }

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

/* ===== Scroll Progress ===== */
.scroll-progress {
  position: fixed; top: 64px; left: 0; right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 99;
}
.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 0 8px var(--accent);
  transition: width 0.1s linear;
}

/* ===== Sections base ===== */
.section {
  position: relative;
  padding: 120px 24px;
  z-index: 5;
}
.section-alt { background: linear-gradient(180deg, transparent 0%, rgba(17, 17, 26, 0.5) 100%); }
.section-manifiesto {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.section-inner {
  max-width: 1280px; margin: 0 auto;
}
.section-header { margin-bottom: 80px; max-width: 800px; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-eyebrow.center { text-align: center; }
.section-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.section-title .italic { font-style: italic; color: var(--accent); }
.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}
.italic { font-style: italic; color: var(--accent); }
em { font-style: italic; color: var(--accent); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
  z-index: 5;
  overflow: hidden;
}
.hero-content {
  max-width: 1280px; margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 10;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-hover);
  background: rgba(0, 212, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  max-width: 900px;
}
.hero-line { display: block; }
.hero-line.italic {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.6;
}
.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== Buttons ===== */
.hero-ctas { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-bottom: 80px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: 1px solid;
  cursor: pointer;
  font-family: var(--font-display);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.3);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--text);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 0;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary .arrow { transition: transform 0.3s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
}
.btn-block { width: 100%; justify-content: center; }

/* ===== Hero stats ===== */
.hero-stats {
  display: flex; gap: 60px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ===== Hero orbit (3D-like) ===== */
.hero-orbit {
  position: absolute;
  top: 50%; right: 8%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  z-index: 3;
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(70deg);
}
.orbit-ring.r1 {
  width: 500px; height: 500px;
  border-color: rgba(0, 212, 255, 0.15);
  animation: spin 20s linear infinite;
}
.orbit-ring.r2 {
  width: 380px; height: 380px;
  border-color: rgba(255, 100, 32, 0.2);
  animation: spin 15s linear infinite reverse;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(20deg);
}
.orbit-ring.r3 {
  width: 260px; height: 260px;
  border-color: rgba(245, 230, 66, 0.15);
  animation: spin 25s linear infinite;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(-30deg);
}
@keyframes spin {
  from { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); }
}
.orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 80px; height: 80px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent) 0%, var(--accent-2) 50%, transparent 100%);
  border-radius: 50%;
  box-shadow:
    0 0 60px var(--accent),
    0 0 120px var(--accent-2),
    inset 0 0 30px rgba(255, 255, 255, 0.3);
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.9; }
}
.orbit-particle {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
  transform-origin: 0 0;
}
.orbit-particle.p1 {
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
  animation: orbit1 8s linear infinite;
}
.orbit-particle.p2 {
  background: var(--accent-2);
  box-shadow: 0 0 20px var(--accent-2);
  animation: orbit2 12s linear infinite;
}
.orbit-particle.p3 {
  background: var(--accent-yellow);
  box-shadow: 0 0 20px var(--accent-yellow);
  animation: orbit3 16s linear infinite;
}
@keyframes orbit1 {
  from { transform: rotate(0deg) translateX(180px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(180px) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: rotate(0deg) translateX(250px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(250px) rotate(-360deg); }
}
@keyframes orbit3 {
  from { transform: rotate(0deg) translateX(130px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
}

@media (max-width: 1024px) {
  .hero-orbit { width: 350px; height: 350px; right: -100px; opacity: 0.5; }
  .orbit-ring.r1 { width: 350px; height: 350px; }
  .orbit-ring.r2 { width: 260px; height: 260px; }
  .orbit-ring.r3 { width: 180px; height: 180px; }
  .orbit-particle.p1 { animation: orbit1-m 8s linear infinite; }
  .orbit-particle.p2 { animation: orbit2-m 12s linear infinite; }
  .orbit-particle.p3 { animation: orbit3-m 16s linear infinite; }
  @keyframes orbit1-m { from { transform: rotate(0deg) translateX(120px) rotate(0deg); } to { transform: rotate(360deg) translateX(120px) rotate(-360deg); } }
  @keyframes orbit2-m { from { transform: rotate(0deg) translateX(170px) rotate(0deg); } to { transform: rotate(360deg) translateX(170px) rotate(-360deg); } }
  @keyframes orbit3-m { from { transform: rotate(0deg) translateX(90px) rotate(0deg); } to { transform: rotate(360deg) translateX(90px) rotate(-360deg); } }
}
@media (max-width: 768px) {
  .hero-orbit { display: none; }
}

/* ===== Scroll indicator ===== */
.scroll-indicator {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  animation: bob 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--text-muted) 0%, transparent 100%);
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Pilares (Nosotros) ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  perspective: 1000px;
}
.pillar {
  position: relative;
  padding: 40px 32px;
  border: 1px solid var(--border);
  background: rgba(17, 17, 26, 0.5);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  overflow: hidden;
  transform-style: preserve-3d;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: center;
}
.pillar:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-glow {
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pillar:hover .pillar-glow { opacity: 1; }
.pillar-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.pillar-icon svg { width: 32px; height: 32px; }
.pillar h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.pillar p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* ===== Projects ===== */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.project-card {
  position: relative;
  padding: 40px 32px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17, 17, 26, 0.6) 0%, rgba(10, 10, 15, 0.6) 100%);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--project-color, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.project-card:hover { transform: translateY(-8px); border-color: var(--project-color, var(--accent)); }
.project-card:hover::before { transform: scaleX(1); }
.project-bg {
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, var(--project-color, var(--accent)) 0%, transparent 60%);
  opacity: 0.08;
  filter: blur(40px);
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.project-card:hover .project-bg { opacity: 0.18; }
.project-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.project-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
}
.project-year {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.project-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--text) 0%, var(--project-color, var(--accent)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.project-name.glitch {
  font-size: 3.5rem;
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: glitch-shift 4s ease-in-out infinite;
}
@keyframes glitch-shift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(60deg); }
}
.project-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}
.project-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.project-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
}
.project-link {
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  z-index: 2;
}
.project-link:hover { color: var(--accent); }
.project-link .arrow { transition: transform 0.3s ease; }
.project-link:hover .arrow { transform: translateX(4px); }
.project-link.disabled { color: var(--text-dim); cursor: default; }
.project-link.disabled:hover { color: var(--text-dim); }
.project-link.disabled:hover .arrow { transform: none; }

.project-card.featured { grid-column: span 2; }
@media (max-width: 1024px) { .project-card.featured { grid-column: span 1; } }

/* ===== Stack ===== */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.stack-item {
  padding: 32px 24px;
  border: 1px solid var(--border);
  background: rgba(17, 17, 26, 0.4);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stack-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.stack-item:hover { border-color: var(--accent); transform: translateY(-4px); color: var(--bg); }
.stack-item:hover::before { opacity: 1; }
.stack-item span { position: relative; z-index: 1; }

/* ===== Manifiesto ===== */
.manifesto-text {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.4;
  font-weight: 500;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: var(--text);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact-items { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}
.contact-item:hover { color: var(--accent); border-color: var(--accent); padding-left: 8px; }
.contact-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--accent);
}

.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  transition: border-color 0.2s ease;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 5;
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  background: var(--bg-2);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em; color: var(--text-muted); }
.footer-logo { width: 28px; height: 28px; opacity: 0.7; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s ease;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 12px rgba(0, 212, 255, 0.3); }

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Reduce motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
