/* ═══════════════════════════════════════════════════
   PERFECTQUAD — THEME SYSTEM
   ═══════════════════════════════════════════════════ */

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

:root {
  --bg:        #12121f;
  --bg2:       #181828;
  --bg3:       #1e1e32;
  --surface:   rgba(255,255,255,0.06);
  --border:    rgba(255,255,255,0.12);
  --text:      #eeeeff;
  --muted:     #9999bb;
  --purple:    #9B6DFF;
  --violet:    #7B6FFF;
  --cyan:      #22D3EE;
  --blue:      #60A5FA;
  --pink:      #F472B6;
  --grad:      linear-gradient(135deg, #9B6DFF, #22D3EE);
  --grad2:     linear-gradient(135deg, #7B6FFF, #F472B6);
  --radius:    16px;
  --radius-sm: 10px;
  --nav-h:     72px;
  --trans:     0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── CANVAS ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── HELPERS ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 100px 0; position: relative; }

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(155,109,255,0.12);
  border: 1px solid rgba(155,109,255,0.3);
  color: #a78bfa;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 16px;
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.body-text {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--trans);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(155,109,255,0.4); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: var(--trans);
}
.btn-ghost:hover {
  border-color: rgba(155,109,255,0.5);
  color: #a78bfa;
  transform: translateY(-2px);
}

.btn-large { padding: 18px 36px; font-size: 1.05rem; }

/* ══════════════════════════════════
   NAVIGATION
══════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--trans);
}
#navbar.scrolled {
  background: rgba(6,6,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-svg { width: 72px; height: 46px; flex-shrink: 0; }
.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--trans);
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: var(--grad);
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--trans);
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(155,109,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,211,238,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero > .container,
.hero {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 80px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(155,109,255,0.12);
  border: 1px solid rgba(155,109,255,0.3);
  color: #a78bfa;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: #a78bfa;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.pulse-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(167,139,250,0.4);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

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

/* ── Hero Visual ── */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 420px;
  height: 420px;
}

.hcard {
  position: absolute;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}

.hcard-icon {
  width: 36px; height: 36px;
  background: var(--grad);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hcard-icon svg { width: 18px; height: 18px; color: #fff; }

.hcard-1 { top: 30px; left: -20px; animation-delay: 0s; }
.hcard-2 { top: 120px; right: -10px; animation-delay: 0.8s; }
.hcard-3 { bottom: 60px; left: 10px; animation-delay: 1.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.quad-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 220px; height: 220px;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(155,109,255,0.3);
  animation: spin 20s linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad);
  top: 50%; left: 50%;
  transform-origin: -100px 0;
  animation: spin 20s linear infinite;
}
.dot-1 { transform: rotate(0deg) translateX(110px); background: var(--purple); }
.dot-2 { transform: rotate(90deg) translateX(110px); background: var(--cyan); animation-delay: -5s; }
.dot-3 { transform: rotate(180deg) translateX(110px); background: var(--violet); animation-delay: -10s; }
.dot-4 { transform: rotate(270deg) translateX(110px); background: var(--blue); animation-delay: -15s; }

@keyframes spin { to { transform: rotate(360deg); } }

.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  background: var(--bg2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(155,109,255,0.3);
}
.orbit-center svg { width: 60px; height: 60px; }

/* ── Scroll Indicator ── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 40px; height: 1px;
  background: var(--muted);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--cyan);
  animation: scan 2s ease-in-out infinite;
}
@keyframes scan { to { left: 100%; } }

/* ══════════════════════════════════
   MARQUEE
══════════════════════════════════ */
.marquee-strip {
  background: rgba(155,109,255,0.08);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 24px;
}

.marquee-track .sep {
  color: var(--purple);
  padding: 0;
}

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

/* ══════════════════════════════════
   ABOUT
══════════════════════════════════ */
.about-section { background: var(--bg2); }

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

.about-right { position: relative; }

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--trans);
}
.founder-card:hover {
  border-color: rgba(155,109,255,0.4);
  transform: translateY(-3px);
  background: rgba(155,109,255,0.08);
}

.founder-avatar {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.founder-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.founder-info p {
  font-size: 0.78rem;
  color: var(--muted);
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: 20px;
}

.ai-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid rgba(34,211,238,0.4);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 100px;
  box-shadow: 0 0 30px rgba(34,211,238,0.2);
}

/* ══════════════════════════════════
   SERVICES
══════════════════════════════════ */
.services-section { background: var(--bg); }

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--trans);
}

.service-card:hover {
  border-color: rgba(155,109,255,0.3);
  transform: translateY(-4px);
  background: rgba(155,109,255,0.06);
}
.service-card:hover::before { transform: scaleX(1); }

.featured-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  background: linear-gradient(135deg, rgba(155,109,255,0.12), rgba(34,211,238,0.08));
  border-color: rgba(155,109,255,0.3);
}
.featured-card::before { transform: scaleX(1); }
.featured-card h3 { font-size: 1.3rem; margin: 0; }
.featured-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.featured-card .service-tags { display: flex; flex-direction: row; gap: 8px; margin: 0; }
.featured-card .service-link { white-space: nowrap; }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(155,109,255,0.12);
  border: 1px solid rgba(155,109,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; color: var(--purple); }

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.service-tags li {
  list-style: none;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(155,109,255,0.1);
  border: 1px solid rgba(155,109,255,0.2);
  color: #a78bfa;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-link {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link:hover { gap: 8px; }

/* ══════════════════════════════════
   INDUSTRIES
══════════════════════════════════ */
.industries-section { background: var(--bg2); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--trans);
  cursor: default;
}

.industry-card:hover {
  border-color: rgba(155,109,255,0.4);
  transform: translateY(-6px);
}

.industry-card:hover .industry-glow {
  opacity: 1;
}

.industry-glow {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(155,109,255,0.3), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: var(--trans);
  pointer-events: none;
}

.industry-number {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 12px; right: 16px;
  line-height: 1;
}

.industry-icon {
  width: 48px; height: 48px;
  background: rgba(155,109,255,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.industry-icon svg { width: 22px; height: 22px; color: var(--cyan); }

.industry-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.industry-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.industry-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.industry-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

/* ══════════════════════════════════
   VALUES
══════════════════════════════════ */
.values-section { background: var(--bg); }

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

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155,109,255,0.3);
}

.value-letter {
  font-family: 'Syne', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}

.value-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.value-line {
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--violet));
  border-radius: 2px;
  width: 48px;
}

/* ══════════════════════════════════
   TECH STACK
══════════════════════════════════ */
.tech-section { background: var(--bg2); }

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: var(--trans);
  cursor: default;
}
.tech-item:hover {
  border-color: rgba(155,109,255,0.4);
  color: var(--text);
  background: rgba(155,109,255,0.08);
  transform: translateY(-2px);
}

/* ══════════════════════════════════
   CTA
══════════════════════════════════ */
.cta-section { background: var(--bg); }

.cta-box {
  background: linear-gradient(135deg, rgba(155,109,255,0.12), rgba(34,211,238,0.08));
  border: 1px solid rgba(155,109,255,0.3);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(155,109,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-note {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 16px 0 24px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px; height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--trans);
  text-decoration: none;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover {
  border-color: rgba(155,109,255,0.4);
  color: var(--purple);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--text);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--trans);
}
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ══════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1100px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-column: 1 / -1; grid-template-columns: auto 1fr; }
  .featured-card .service-tags { display: none; }
  .featured-card .service-link { display: none; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 40px) 24px 60px;
    text-align: center;
  }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-scroll-indicator { left: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; gap: 4px; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(6,6,15,0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  .hamburger { display: flex; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 24px; }
  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
}

/* ══════════════════════════════════
   LIGHT THEME
══════════════════════════════════ */
body.theme-light {
  --bg:        #f4f4fb;
  --bg2:       #eaeaf5;
  --bg3:       #e0e0ef;
  --surface:   rgba(0,0,0,0.04);
  --border:    rgba(0,0,0,0.1);
  --text:      #1a1a2e;
  --muted:     #6060a0;
  --purple:    #7B4FE0;
  --violet:    #5A4FCC;
  --cyan:      #0891B2;
  --blue:      #2563EB;
  --pink:      #DB2777;
  --grad:      linear-gradient(135deg, #7B4FE0, #0891B2);
  --grad2:     linear-gradient(135deg, #5A4FCC, #DB2777);
}

body.theme-light #navbar.scrolled {
  background: rgba(244,244,251,0.92);
  border-bottom: 1px solid var(--border);
}

body.theme-light .nav-links.open {
  background: rgba(244,244,251,0.98);
}

body.theme-light .hero::before {
  background: radial-gradient(circle, rgba(123,79,224,0.1) 0%, transparent 70%);
}
body.theme-light .hero::after {
  background: radial-gradient(circle, rgba(8,145,178,0.08) 0%, transparent 70%);
}

body.theme-light .hcard {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

body.theme-light .orbit-center {
  background: var(--bg2);
  box-shadow: 0 0 40px rgba(123,79,224,0.2);
}

body.theme-light .service-card,
body.theme-light .industry-card,
body.theme-light .value-card,
body.theme-light .founder-card,
body.theme-light .tech-item {
  background: rgba(255,255,255,0.7);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

body.theme-light .service-card:hover,
body.theme-light .industry-card:hover,
body.theme-light .value-card:hover,
body.theme-light .founder-card:hover {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 32px rgba(123,79,224,0.15);
}

body.theme-light .cta-box {
  background: linear-gradient(135deg, rgba(123,79,224,0.08), rgba(8,145,178,0.06));
  box-shadow: 0 4px 40px rgba(123,79,224,0.1);
}

body.theme-light .ai-badge {
  background: #fff;
  box-shadow: 0 4px 20px rgba(8,145,178,0.12);
}

body.theme-light .featured-card {
  background: linear-gradient(135deg, rgba(123,79,224,0.08), rgba(8,145,178,0.05));
}

body.theme-light .section-badge {
  background: rgba(123,79,224,0.08);
  border-color: rgba(123,79,224,0.2);
}

body.theme-light .tech-item:hover {
  background: rgba(123,79,224,0.08);
  border-color: rgba(123,79,224,0.3);
}

/* ══════════════════════════════════
   NAV RIGHT (theme toggle + login)
══════════════════════════════════ */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-login-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.18);
  text-decoration: none;
  transition: color 0.25s;
  flex-shrink: 0;
}
.admin-login-link svg { width: 15px; height: 15px; }
.admin-login-link:hover { color: var(--muted); }
body.theme-light .admin-login-link { color: rgba(0,0,0,0.15); }
body.theme-light .admin-login-link:hover { color: var(--muted); }

.theme-toggle {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: var(--trans);
}
.theme-toggle:hover {
  color: var(--text);
  border-color: rgba(155,109,255,0.4);
}
.theme-toggle svg { width: 16px; height: 16px; }
body.theme-light .icon-sun { display: none; }
body:not(.theme-light) .icon-moon { display: none; }

.admin-logout {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: var(--trans);
}
.admin-logout:hover { color: #f87171; border-color: rgba(248,113,113,0.4); }
.admin-logout svg { width: 16px; height: 16px; }

/* ══════════════════════════════════
   LOGIN MODAL
══════════════════════════════════ */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.login-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.login-modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.login-overlay.open .login-modal { transform: translateY(0); }

body.theme-light .login-modal {
  background: #fff;
  box-shadow: 0 32px 80px rgba(0,0,0,0.15);
}

.login-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.login-close:hover { color: var(--text); }

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.login-modal h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}

.login-modal p {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  margin-bottom: 28px;
}

.login-field {
  margin-bottom: 16px;
}
.login-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.login-field input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.login-field input::placeholder { color: var(--muted); opacity: 0.6; }
.login-field input:focus { border-color: var(--purple); }

body.theme-light .login-field input {
  background: #f4f4fb;
  color: var(--text);
}

.login-error {
  color: #f87171;
  font-size: 0.82rem;
  text-align: center;
  min-height: 20px;
  margin-bottom: 12px;
}
