/* ── RQX — Renquantis X  3D Edition ── */

:root {
  --bg: #04040f;
  --bg-2: #080818;
  --bg-card: #0d0d24;
  --border: rgba(0, 240, 255, 0.12);
  --cyan: #00f0ff;
  --purple: #7b2fff;
  --orange: #ff6b35;
  --green: #00ff9d;
  --text: #e2e8f0;
  --text-muted: #8892a4;
  --font-display: 'Orbitron', monospace;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 2px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(4, 4, 15, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
}
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  border: 1.5px solid var(--cyan);
  border-radius: 4px;
  color: var(--cyan);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--cyan); color: var(--bg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,240,255,0.3);
  background: rgba(0,240,255,0.05);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.8rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.title-rqx {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 11rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 20%, var(--cyan) 60%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 60px rgba(0,240,255,0.5));
  animation: titlePulse 4s ease-in-out infinite;
}
@keyframes titlePulse {
  0%, 100% { filter: drop-shadow(0 0 40px rgba(0,240,255,0.4)); }
  50% { filter: drop-shadow(0 0 80px rgba(0,240,255,0.7)); }
}

.title-sub {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.highlight { color: var(--cyan); font-weight: 600; }

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  box-shadow: 0 0 24px rgba(0,240,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0,240,255,0.5);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0,240,255,0.15);
}
.btn-full { width: 100%; justify-content: center; }

/* scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-indicator span {
  display: block;
  width: 22px; height: 36px;
  border: 2px solid rgba(0,240,255,0.35);
  border-radius: 14px;
  position: relative;
}
.scroll-indicator span::after {
  content: '';
  display: block;
  width: 4px; height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { opacity:1; transform: translateX(-50%) translateY(0); }
  100% { opacity:0; transform: translateX(-50%) translateY(14px); }
}

/* ── STATS STRIP ── */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 5%;
  flex-wrap: wrap;
  gap: 2rem;
}
.stat { text-align: center; flex: 1; min-width: 140px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0,240,255,0.5);
}
.stat-suffix { font-family: var(--font-display); font-size: 1.8rem; color: var(--cyan); }
.stat-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.stat-divider { width: 1px; height: 50px; background: var(--border); flex-shrink: 0; }

/* ── SECTION COMMONS ── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-pre {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
.section-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SERVICES ── */
.services {
  padding: 7rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  perspective: 1200px;
}

/* 3D card */
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}
/* Dynamic shine overlay (position driven by JS --gx/--gy) */
.card-shine {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.07) 0%, transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.service-card:hover .card-shine { opacity: 1; }

.service-card[data-color="cyan"]:hover   { border-color: rgba(0,240,255,0.45);  box-shadow: 0 20px 60px rgba(0,240,255,0.18),  0 0 0 1px rgba(0,240,255,0.15);  }
.service-card[data-color="purple"]:hover { border-color: rgba(123,47,255,0.45); box-shadow: 0 20px 60px rgba(123,47,255,0.18), 0 0 0 1px rgba(123,47,255,0.15); }
.service-card[data-color="orange"]:hover { border-color: rgba(255,107,53,0.45); box-shadow: 0 20px 60px rgba(255,107,53,0.18), 0 0 0 1px rgba(255,107,53,0.15); }
.service-card[data-color="green"]:hover  { border-color: rgba(0,255,157,0.45);  box-shadow: 0 20px 60px rgba(0,255,157,0.18),  0 0 0 1px rgba(0,255,157,0.15);  }

.card-icon { width: 52px; height: 52px; margin-bottom: 1.3rem; position: relative; z-index: 2; }
.card-icon svg { width: 100%; height: 100%; }
.service-card[data-color="cyan"]   .card-icon { color: var(--cyan);   }
.service-card[data-color="purple"] .card-icon { color: var(--purple); }
.service-card[data-color="orange"] .card-icon { color: var(--orange); }
.service-card[data-color="green"]  .card-icon { color: var(--green);  }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
  position: relative; z-index: 2;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.3rem;
  position: relative; z-index: 2;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; position: relative; z-index: 2; }
.card-tags li {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.card-glow {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  filter: blur(50px);
  z-index: 0;
}
.service-card[data-color="cyan"]   .card-glow { background: rgba(0,240,255,0.25);   }
.service-card[data-color="purple"] .card-glow { background: rgba(123,47,255,0.25);  }
.service-card[data-color="orange"] .card-glow { background: rgba(255,107,53,0.25);  }
.service-card[data-color="green"]  .card-glow { background: rgba(0,255,157,0.25);   }
.service-card:hover .card-glow { opacity: 1; }

/* ── WHY CHOOSE RQX ── */
.why {
  padding: 7rem 5%;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why .section-header { max-width: 640px; margin: 0 auto 4rem; }

.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,240,255,0.3);
  box-shadow: 0 12px 40px rgba(0,240,255,0.08);
}
.why-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(0,240,255,0.07);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  pointer-events: none;
  transition: color 0.3s;
}
.why-card:hover .why-num { color: rgba(0,240,255,0.14); }

.why-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  color: var(--cyan);
}
.why-icon svg { width: 100%; height: 100%; }

.why-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
}
.why-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── PROJECTS ── */
.projects-section {
  padding: 7rem 5%;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.projects-section .section-header { max-width: 640px; margin: 0 auto 4rem; }

.projects-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s;
}
.project-card:hover { transform: translateY(-7px); }

.project-domain-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin: 1.2rem 1.2rem 0;
}
[data-color="cyan"]   .project-domain-tag, .project-domain-tag[data-color="cyan"]   { background: rgba(0,240,255,0.1);  color: var(--cyan);   border: 1px solid rgba(0,240,255,0.2);  }
[data-color="purple"] .project-domain-tag, .project-domain-tag[data-color="purple"] { background: rgba(123,47,255,0.1); color: var(--purple); border: 1px solid rgba(123,47,255,0.2); }
[data-color="orange"] .project-domain-tag, .project-domain-tag[data-color="orange"] { background: rgba(255,107,53,0.1); color: var(--orange); border: 1px solid rgba(255,107,53,0.2); }
[data-color="green"]  .project-domain-tag, .project-domain-tag[data-color="green"]  { background: rgba(0,255,157,0.1);  color: var(--green);  border: 1px solid rgba(0,255,157,0.2);  }

/* project visual area */
.project-visual {
  height: 140px;
  margin: 1rem 1.2rem;
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* AI neural net visual */
.pv-ai { background: linear-gradient(135deg, rgba(0,240,255,0.04), rgba(0,0,0,0.4)); }
.pv-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: nodePulse 2s ease-in-out infinite;
}
.pv-node.n1 { top: 22%;  left: 18%; }
.pv-node.n2 { top: 70%;  left: 18%; }
.pv-node.n3 { top: 46%;  left: 48%; animation-delay: 0.4s; }
.pv-node.n4 { top: 22%;  left: 78%; animation-delay: 0.8s; }
.pv-node.n5 { top: 70%;  left: 78%; animation-delay: 1.2s; }
@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 1; }
}

/* IoT rings visual */
.pv-iot { background: linear-gradient(135deg, rgba(255,107,53,0.04), rgba(0,0,0,0.4)); }
.pv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,107,53,0.4);
}
.pv-ring.r1 { width: 50px; height: 50px; animation: ringPulse 2s ease-out infinite; }
.pv-ring.r2 { width: 90px; height: 90px; animation: ringPulse 2s ease-out infinite 0.6s; }
.pv-center-dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 16px var(--orange);
}
@keyframes ringPulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Cyber visual */
.pv-cyber { background: linear-gradient(135deg, rgba(0,255,157,0.04), rgba(0,0,0,0.4)); }
.pv-hex {
  position: absolute;
  width: 36px; height: 42px;
  background: rgba(0,255,157,0.08);
  border: 1px solid rgba(0,255,157,0.3);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: hexBlink 2.5s ease-in-out infinite;
}
.pv-hex.h1 { left: 20%; top: 30%; animation-delay: 0s; }
.pv-hex.h2 { left: 44%; top: 20%; animation-delay: 0.5s; width: 44px; height: 50px; }
.pv-hex.h3 { left: 62%; top: 40%; animation-delay: 1s; }
.pv-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: scanDown 2.5s linear infinite;
}
@keyframes hexBlink {
  0%, 100% { opacity: 0.5; } 50% { opacity: 1; background: rgba(0,255,157,0.15); }
}
@keyframes scanDown {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Quantum visual */
.pv-quantum { background: linear-gradient(135deg, rgba(123,47,255,0.06), rgba(0,0,0,0.4)); }
.pv-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(123,47,255,0.4);
}
.pv-orbit.o1 { width: 40px;  height: 80px;  animation: orbitSpin 3s linear infinite; }
.pv-orbit.o2 { width: 70px;  height: 40px;  animation: orbitSpin 4s linear infinite reverse; }
.pv-orbit.o3 { width: 90px;  height: 90px;  animation: orbitSpin 6s linear infinite 1s; border-color: rgba(0,240,255,0.25); }
.pv-qubit {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 20px var(--purple), 0 0 40px rgba(123,47,255,0.4);
}
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.project-body { padding: 1.2rem 1.5rem 1.5rem; }
.project-body h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}
.project-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.project-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── ABOUT ── */
.about {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 7rem 5%;
  overflow: hidden;
}
#about-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
}
.about-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text .section-pre { margin-bottom: 0.6rem; }
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.about-text p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.about-pillars { margin-top: 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.pillar { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text); }
.pillar-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--cyan);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 6px var(--cyan); }
  50% { box-shadow: 0 0 16px var(--cyan), 0 0 30px rgba(0,240,255,0.3); }
}

/* founder card */
.founder-card {
  background: rgba(13,13,36,0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}
.founder-card:hover {
  transform: perspective(800px) rotateY(-5deg) rotateX(2deg) translateZ(8px);
  box-shadow: 20px 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,240,255,0.1);
}
.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}
.founder-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 40px rgba(0,240,255,0.4);
  animation: avatarGlow 3s ease-in-out infinite;
}
@keyframes avatarGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(0,240,255,0.3); }
  50% { box-shadow: 0 0 60px rgba(0,240,255,0.6), 0 0 100px rgba(123,47,255,0.3); }
}
.founder-info h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.founder-role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.8rem; }
.founder-bio { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }
.founder-links { display: flex; gap: 0.8rem; margin-top: 0.4rem; justify-content: center; }
.founder-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
}
.founder-link:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,240,255,0.05); }

/* ── CONTACT ── */
.contact { padding: 7rem 5%; max-width: 1200px; margin: 0 auto; }
.contact-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: box-shadow 0.3s;
}
.contact-form:focus-within {
  box-shadow: 0 0 40px rgba(0,240,255,0.08);
  border-color: rgba(0,240,255,0.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,240,255,0.1);
}
.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.form-note a { color: var(--cyan); }
.form-note a:hover { text-decoration: underline; }
.contact-info { display: flex; flex-direction: column; gap: 1.8rem; padding-top: 0.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0,240,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
  transition: box-shadow 0.3s;
}
.ci-icon:hover { box-shadow: 0 0 20px rgba(0,240,255,0.2); }
.ci-icon svg { width: 20px; height: 20px; }
.ci-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.contact-item p, .contact-item a { font-size: 0.9rem; color: var(--text); }
.contact-item a:hover { color: var(--cyan); }

/* ── FOOTER ── */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 3rem 5%; }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.footer-logo span { color: var(--cyan); }
.footer-tagline { font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; }
.footer-contact { margin-bottom: 1.2rem; }
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--cyan);
  font-weight: 600;
  transition: opacity 0.2s;
}
.footer-email:hover { opacity: 0.75; }
.footer-email svg { width: 16px; height: 16px; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.2); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
}

/* ── FADE-IN ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(30px) scale(0.97); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── ARIA CHATBOT ── */
.aria-bot {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  font-family: var(--font-body);
}

/* trigger button */
.aria-trigger {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #00f0ff 0%, #7b2fff 100%);
  box-shadow: 0 0 0 0 rgba(0,240,255,0.5);
  animation: ariaPulse 2.5s ease-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s;
}
.aria-trigger:hover { transform: scale(1.1); }
.aria-trigger-icon { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.aria-trigger-icon svg { width: 100%; height: 100%; }
.aria-notif {
  position: absolute;
  top: 0; right: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #ff4466;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  animation: notifPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.aria-notif.hidden { display: none; }
@keyframes ariaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,240,255,0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(0,240,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,240,255,0); }
}
@keyframes notifPop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* chat window */
.aria-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 340px;
  background: rgba(8, 8, 24, 0.97);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 40px rgba(0,240,255,0.06);
  backdrop-filter: blur(24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: ariaSlideIn 0.3s cubic-bezier(0.34,1.2,0.64,1);
  transform-origin: bottom right;
}
@keyframes ariaSlideIn {
  from { opacity: 0; transform: scale(0.85) translateY(16px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}
.aria-window[hidden] { display: none !important; }

/* header */
.aria-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, rgba(0,240,255,0.08), rgba(123,47,255,0.08));
  border-bottom: 1px solid rgba(0,240,255,0.12);
}
.aria-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.aria-avatar svg { width: 26px; height: 26px; }
.aria-name { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; color: #fff; letter-spacing: 0.1em; }
.aria-status { display: flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; color: var(--text-muted); }
.aria-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #00ff9d; box-shadow: 0 0 6px #00ff9d; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0.4; } }
.aria-close-btn { margin-left: auto; background: none; border: none; color: var(--text-muted); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 0.2rem; transition: color 0.2s; }
.aria-close-btn:hover { color: #fff; }

/* messages */
.aria-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 260px;
  max-height: 320px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,240,255,0.2) transparent;
}

.aria-msg {
  max-width: 88%;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.55;
  animation: msgPop 0.25s cubic-bezier(0.34,1.2,0.64,1);
}
@keyframes msgPop {
  from { opacity: 0; transform: scale(0.9) translateY(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.aria-msg.bot {
  background: rgba(0,240,255,0.07);
  border: 1px solid rgba(0,240,255,0.15);
  color: rgba(255,255,255,0.88);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.aria-msg.bot a { color: var(--cyan); }
.aria-msg.user {
  background: linear-gradient(135deg, rgba(0,240,255,0.18), rgba(123,47,255,0.18));
  border: 1px solid rgba(0,240,255,0.22);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* typing indicator */
.aria-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.55rem 0.9rem;
  align-self: flex-start;
  background: rgba(0,240,255,0.07);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  animation: msgPop 0.25s ease;
}
.aria-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.aria-typing span:nth-child(2) { animation-delay: 0.2s; }
.aria-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%,80%,100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* quick replies */
.aria-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-top: 1px solid rgba(0,240,255,0.08);
}
.aria-quick-replies button {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  border: 1px solid rgba(0,240,255,0.25);
  background: rgba(0,240,255,0.05);
  color: var(--cyan);
  cursor: pointer;
  transition: all 0.2s;
}
.aria-quick-replies button:hover { background: rgba(0,240,255,0.14); border-color: var(--cyan); }

/* input */
.aria-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(0,240,255,0.1);
  background: rgba(0,0,0,0.3);
}
.aria-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,240,255,0.18);
  border-radius: 50px;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  color: #fff;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}
.aria-input-row input:focus { border-color: rgba(0,240,255,0.5); }
.aria-input-row input::placeholder { color: rgba(255,255,255,0.25); }
.aria-input-row button[type="submit"] {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #00f0ff, #7b2fff);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.aria-input-row button[type="submit"]:hover { transform: scale(1.1); box-shadow: 0 0 14px rgba(0,240,255,0.5); }
.aria-input-row button[type="submit"] svg { width: 15px; height: 15px; }

@media (max-width: 480px) {
  .aria-bot { bottom: 1rem; right: 1rem; }
  .aria-window { width: calc(100vw - 2rem); right: 0; }
}

/* ── FEATURED PROJECT CARD ── */
.project-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.project-card--featured .project-domain-tag { grid-column: 1 / -1; }
.project-card--featured .project-visual { height: 200px; margin: 0 0 0 1.2rem; }
.project-card--featured .project-body { padding: 1.5rem 2rem 1.5rem 1rem; }
@media (max-width: 640px) {
  .project-card--featured { grid-template-columns: 1fr; }
  .project-card--featured .project-visual { height: 140px; margin: 0 1.2rem; }
}

/* Space Debris visual */
.pv-space { background: radial-gradient(ellipse at center, rgba(4,4,20,0.9) 0%, rgba(0,0,0,0.95) 100%); }
.pv-earth {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a6fff, #001a4d);
  box-shadow: 0 0 20px rgba(26,111,255,0.6), 0 0 40px rgba(26,111,255,0.2);
  z-index: 2;
}
.pv-debris-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(123,47,255,0.3);
  animation: debrisOrbit linear infinite;
}
.pv-debris-orbit.do1 { width: 70px; height: 70px; animation-duration: 4s; }
.pv-debris-orbit.do2 { width: 110px; height: 90px; animation-duration: 7s; animation-direction: reverse; border-color: rgba(0,240,255,0.2); transform: rotate(40deg); }
.pv-debris-orbit.do3 { width: 150px; height: 120px; animation-duration: 11s; border-color: rgba(255,107,53,0.2); transform: rotate(-20deg); }
@keyframes debrisOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.pv-debris-orbit.do2 { animation-name: debrisOrbit2; }
.pv-debris-orbit.do3 { animation-name: debrisOrbit3; }
@keyframes debrisOrbit2 { from { transform: rotate(40deg); } to { transform: rotate(400deg); } }
@keyframes debrisOrbit3 { from { transform: rotate(-20deg); } to { transform: rotate(340deg); } }

.pv-debris {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 1px;
  background: var(--purple);
  box-shadow: 0 0 6px var(--purple);
  transform: rotate(45deg);
}
.pv-debris.db1 { top: -2px; left: 50%; }
.pv-debris.db2 { bottom: -2px; left: 20%; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.pv-debris.db3 { top: -2px; left: 30%; }
.pv-debris.db4 { bottom: -2px; left: 70%; background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.pv-debris.db5 { top: 50%; right: -2px; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.pv-debris.db6 { top: -2px; left: 60%; background: var(--orange); box-shadow: 0 0 6px var(--orange); }

.pv-warning-ring {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,50,50,0.6);
  animation: warnPulse 1.8s ease-out infinite;
}
@keyframes warnPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
.pv-scan-beam {
  position: absolute;
  width: 2px;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(123,47,255,0.8));
  transform-origin: bottom center;
  bottom: 50%;
  left: 50%;
  animation: scanBeam 3s linear infinite;
}
@keyframes scanBeam { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── 3D FLOATING SCENE ── */
.scene-3d {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.s3d {
  position: absolute;
  border-radius: 4px;
  opacity: 0.15;
}
.s3d-1 {
  width: 60px; height: 60px;
  border: 1.5px solid var(--cyan);
  top: 15%; left: 5%;
  animation: floatBox 12s ease-in-out infinite, spinBox 18s linear infinite;
}
.s3d-2 {
  width: 40px; height: 40px;
  border: 1.5px solid var(--purple);
  top: 60%; right: 4%;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  animation: floatBox 9s ease-in-out infinite 2s, spinBox 14s linear infinite reverse;
}
.s3d-3 {
  width: 80px; height: 80px;
  border: 1px solid var(--orange);
  top: 80%; left: 8%;
  clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%);
  animation: floatBox 15s ease-in-out infinite 1s, spinBox 22s linear infinite;
}
.s3d-4 {
  width: 30px; height: 30px;
  border: 2px solid var(--cyan);
  top: 35%; right: 8%;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  animation: floatBox 10s ease-in-out infinite 3s, spinBox 10s linear infinite;
}
.s3d-5 {
  width: 100px; height: 100px;
  border: 1px solid rgba(123,47,255,0.5);
  top: 45%; left: 2%;
  border-radius: 50%;
  animation: floatBox 20s ease-in-out infinite 0.5s;
}
.s3d-6 {
  width: 50px; height: 50px;
  border: 1.5px solid var(--green);
  top: 25%; right: 2%;
  animation: floatBox 13s ease-in-out infinite 4s, spinBox 16s linear infinite reverse;
}
@keyframes floatBox {
  0%,100% { transform: translateY(0) translateZ(0); }
  33% { transform: translateY(-30px) translateZ(20px); }
  66% { transform: translateY(15px) translateZ(-10px); }
}
@keyframes spinBox { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── HOLOGRAPHIC HEADINGS ── */
.section-header h2 {
  position: relative;
}
.section-header h2::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(0,240,255,0.08) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: holoShimmer 4s linear infinite;
  pointer-events: none;
}
@keyframes holoShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── ENHANCED 3D CARD PERSPECTIVE ── */
.services-grid, .why-grid, .projects-grid {
  perspective: 1500px;
}

/* Deeper glow on featured card */
.project-card--featured:hover {
  box-shadow: 0 0 60px rgba(123,47,255,0.2), 0 0 120px rgba(0,240,255,0.08);
  border-color: rgba(123,47,255,0.4);
}

/* ── SECTION DEPTH DIVIDERS ── */
section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.15), transparent);
}

/* ── 3D STAT NUMBERS ── */
.stat-num {
  display: inline-block;
  transform-style: preserve-3d;
  transition: transform 0.3s;
}
.stat:hover .stat-num {
  transform: perspective(200px) translateZ(12px) scale(1.08);
  text-shadow: 0 0 30px var(--cyan), 0 10px 20px rgba(0,240,255,0.3);
}

/* ── RQX BOT name style ── */
.aria-name { font-family: var(--font-display); font-weight: 900; font-size: 0.88rem; color: var(--cyan); letter-spacing: 0.15em; }
