/* ==========================================================================
   REN NETWORK — STYLESHEET
   ========================================================================== */

/* ── 1. RESET & CSS VARIABLES ── */

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

:root {
  /* Elite Cosmic Dark Palette - Magical & Deep */
  --bg-hsl:      230, 25%, 2%;
  --bg:          #030408;
  --surface:     #07090f;
  --card:        rgba(255, 255, 255, 0.03);
  --border:      rgba(255, 255, 255, 0.08);
  --border-rich: rgba(255, 255, 255, 0.12);
  
  --primary-hsl: 250, 80%, 65%;
  --primary:     #818cf8;
  --accent-hsl:  190, 90%, 55%;
  --accent:      #0ea5e9;
  --accent2-hsl: 270, 90%, 65%;
  --accent2:     #a855f7;
  --gold:        #fbbf24;
  
  --text-hsl:    220, 20%, 98%;
  --text:        #f8fafc;
  --muted-hsl:   215, 15%, 65%;
  --muted:       #94a3b8;
  
  --radius-sm:   14px;
  --radius-md:   24px;
  --radius-lg:   40px;
  
  --shadow-sm:   0 4px 12px rgba(0,0,0,0.5);
  --shadow-md:   0 12px 40px rgba(0,0,0,0.7);
  --shadow-lg:   0 24px 80px rgba(0,0,0,0.9);
  
  --font-main:   'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

/* ── 2. BASE ── */

html { 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent horizontal pull-to-refresh on mobile */
  overscroll-behavior-x: none;
}

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

/* On touch devices, show default cursor */
@media (pointer: coarse) {
  body { cursor: auto; }
}

/* Pointer overrides removed */

/* Grain texture overlay - subtle in light mode */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1000; opacity: .3;
}

/* ── 3. KEYFRAMES ── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}
@keyframes pulseOrb {
  0%, 100% { opacity: .3;  transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: .55; transform: translate(-50%, -50%) scale(1.2); }
}
@keyframes auroraShift {
  0%, 100% { opacity: .75; }
  50%       { opacity: 1; }
}
@keyframes particleDrift {
  0%   { transform: translateY(0) translateX(0); }
  33%  { transform: translateY(-20px) translateX(10px); }
  66%  { transform: translateY(-10px) translateX(-8px); }
  100% { transform: translateY(0) translateX(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes statGlow {
  0%, 100% { opacity: .3; filter: blur(8px); }
  50%       { opacity: .6; filter: blur(12px); }
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}
@keyframes beamPulse {
  0%, 100% { width: 60px; opacity: 1; }
  50%       { width: 90px; opacity: .7; }
}
@keyframes glitch {
  0%   { text-shadow: none; transform: translate(0); }
  20%  { text-shadow: -2px 0 rgba(99,102,241,.6), 2px 0 rgba(6,182,212,.6); transform: translate(-1px, 0); }
  40%  { text-shadow: 2px 0 rgba(99,102,241,.6), -2px 0 rgba(6,182,212,.6); transform: translate(1px, 0); }
  60%  { text-shadow: -1px 0 rgba(251,191,36,.5); transform: translate(0, -1px); }
  80%  { text-shadow: 1px 0 rgba(99,102,241,.5); transform: translate(0, 1px); }
  100% { text-shadow: none; transform: translate(0); }
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(99,102,241,.15); }
  50%       { box-shadow: 0 0 24px rgba(99,102,241,.35); }
}
@keyframes pillShimmer {
  0%   { left: -60%; }
  100% { left: 160%; }
}
@keyframes radarSpin {
  to { transform: rotate(360deg); }
}

/* Building in Public Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  animation: fadeUp 1s ease both 0.5s;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: pulseLive 2s infinite;
}

/* ── 4. ACCESSIBILITY ── */

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--accent); color: #fff;
  padding: 8px 16px; border-radius: 6px;
  font-size: .875rem; font-weight: 600;
  text-decoration: none; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ── 5. SCROLL PROGRESS ── */

#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--gold));
  z-index: 10000; transition: width .1s linear;
  box-shadow: 0 0 12px hsla(var(--accent-hsl), 0.5);
}

@media (pointer: coarse) {
  #premium-cursor, #premium-cursor-follower { display: none !important; }
}

/* Premium cursor styles removed */

/* ── 6. NAVIGATION (FLOATING ISLAND) ── */
.floating-island {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 600px;
  max-width: 90vw;
  background: rgba(10, 12, 24, 0.6);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 10px 24px;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  isolation: isolate;
}

.floating-island.scrolled {
  top: 12px;
  background: rgba(7, 9, 15, 0.95);
  padding: 8px 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Fallback */
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.hamburger {
  display: none;
}

@media (max-width: 768px) {
  .floating-island {
    min-width: unset;
    width: 92vw;
    top: 16px;
  }
  .nav-links { display: none; }
}

/* ── 7. LAYOUT UTILITIES ── */

section {
  position: relative;
  padding: 90px clamp(6%, calc((100% - 1240px) / 2), 12%); /* Macro whitespace for cognitive chunking max */
}

.section-label {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700; letter-spacing: -1.5px; line-height: 1.05;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
  margin-top: 8px;
}
.section-sub {
  color: var(--muted); max-width: 600px; margin-top: 16px; font-size: 1.1rem;
}
.section-head { margin-bottom: 80px; }

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: 20px;
}
.bento-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
}
.bento-item:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-8px);
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.3),
    0 0 20px rgba(14, 165, 233, 0.1);
}
.bento-item--large { grid-column: span 8; grid-row: span 2; }
.bento-item--medium { grid-column: span 4; grid-row: span 2; }
.bento-item--small { grid-column: span 4; grid-row: span 1; }
.bento-item--wide { grid-column: span 12; grid-row: span 1; }

@media (max-width: 1024px) {
  .bento-item--large, .bento-item--medium, .bento-item--small { grid-column: span 6; }
}
@media (max-width: 768px) {
  .bento-item--large, .bento-item--medium, .bento-item--small, .bento-item--wide { grid-column: span 12; }
}
.section-head::after {
  content: '';
  display: block; margin-top: 20px;
  height: 1px; width: 48px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  opacity: .8;
}

.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }
.section-head--center::after { margin-left: auto; margin-right: auto; }

.reveal {
  opacity: 0;
  will-change: transform, opacity;
}

/* Icon colour helpers (Light Mode Refinement) */
.icon--indigo { background: rgba(79, 70, 229, 0.08);  color: #4f46e5; }
.icon--cyan   { background: rgba(14, 165, 233, 0.08);  color: #0ea5e9; }
.icon--amber  { background: rgba(245, 158, 11, 0.08);  color: #d97706; }
.icon--green  { background: rgba(16, 185, 129, 0.08);  color: #059669; }
.icon--red    { background: rgba(239, 68, 68, 0.08);   color: #dc2626; }
.icon--purple { background: rgba(168, 85, 247, 0.08);  color: #9333ea; }

#three-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: var(--bg);
}
.service-icon svg, .product-icon svg, .value-icon svg {
  display: block;
  flex-shrink: 0;
}

/* ── 8. HERO NEXUS (NEW DESIGN) ── */
.hero-nexus {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px clamp(6%, calc((100% - 1240px) / 2), 12%) 80px;
  background: radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  overflow: hidden;
  position: relative;
}

.hero-nexus::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
  background-size: 100% 3px, 3px 100%;
  pointer-events: none;
  z-index: 10;
  opacity: 0.2;
}

.hero-nexus-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 80px;
  width: 100%;
}


.hero-title-massive {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 32px;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(14, 165, 233, 0.4));
  background-size: 200% auto;
  animation: gradShift 10s ease infinite;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.hero-actions-new {
  display: flex;
  gap: 20px;
}

.btn-nexus-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  background-size: 200% 200%;
  color: #fff;
  padding: 18px 40px;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-nexus-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.4);
  background-position: 100% 100%;
}

.btn-nexus-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn-nexus-primary:hover::after {
  opacity: 1;
}

.btn-nexus-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 40px;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.btn-nexus-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-visual {
  position: relative;
}

.visual-container-3d {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

.visual-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text);
  border-radius: 20px;
  position: relative;
  opacity: 0.4;
}

.wheel {
  width: 3px;
  height: 6px;
  background: var(--text);
  border-radius: 100px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

@media (max-width: 1024px) {
  .hero-nexus-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero-description { margin: 0 auto 40px; }
  .hero-actions-new { justify-content: center; }
  .hero-visual { max-width: 600px; margin: 0 auto; }
}label { font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* ── 9. TICKER ── */

.ticker-strip {
  overflow: hidden; white-space: nowrap;
  padding: 20px 0; position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}
.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute; top: 0; width: 250px; height: 100%; z-index: 2;
  pointer-events: none;
}
.ticker-strip::before { left: 0;  background: linear-gradient(to right, var(--bg) 0%, transparent 100%); }
.ticker-strip::after  { right: 0; background: linear-gradient(to left,  var(--bg) 0%, transparent 100%); }
.ticker-strip:hover .ticker-track { animation-play-state: paused; }

.ticker-track {
  display: inline-flex;
  animation: tickerScroll 30s linear infinite;
  will-change: transform;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 40px;
  font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 1px;
  text-transform: uppercase;
}
.ticker-dot {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

/* ── 10. ABOUT ── */

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

.about-visual {
  position: relative; height: 420px;
  display: flex; align-items: center; justify-content: center;
}

.about-card-main {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md); padding: 28px;
  width: 100%; max-width: 380px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}
.about-card-main h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.about-card-main p  { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.card-divider {
  margin-top: 20px; display: flex; align-items: center; gap: 10px;
}
.card-divider-line {
  height: 4px; flex: 1;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 4px;
}
.card-divider-label { color: var(--muted); font-size: .8rem; }

.mini-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.3);
  color: var(--accent2); padding: 5px 12px; border-radius: 100px;
  font-size: .78rem; font-weight: 600; margin-bottom: 16px;
}

.floating-badge {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px; padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  font-size: .85rem; font-weight: 500;
}
.floating-badge .icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.floating-badge-label      { font-size: .82rem; font-weight: 600; }
.floating-badge-sublabel   { font-size: .75rem; color: var(--muted); }
.badge-tl { top: 30px; left: -10px;  animation: float 4s ease-in-out infinite; }
.badge-br { bottom: 40px; right: -10px; animation: float 4s ease-in-out 2s infinite; }

.values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px;
}
.value-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px; padding: 16px;
  transition: all 0.3s ease;
}
.value-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}
.value-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: hsla(var(--primary-hsl), 0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.value-item h4 { font-size: .9rem; font-weight: 600; margin-bottom: 3px; }
.value-item p  { font-size: .8rem; color: var(--muted); }

/* ── 11. SERVICES ── */

.services-bg {
  background:
    linear-gradient(to bottom, var(--bg), #07090f, var(--bg)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 40h30m20 0h30M40 0v30m0 20v30' stroke='%23818cf8' stroke-width='.5' opacity='.1'/%3E%3Ccircle cx='40' cy='40' r='2' fill='%23818cf8' opacity='.15'/%3E%3C/svg%3E");
  background-size: auto, 80px 80px;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md); padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
  cursor: pointer; position: relative; overflow: hidden;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.5),
    0 0 30px rgba(139, 92, 246, 0.15);
}

.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.service-card p  { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  color: var(--muted); padding: 4px 10px;
  border-radius: 100px; font-size: .75rem;
}

/* ── 12. PROCESS ── */

.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 28px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
}

.step { text-align: center; padding: 0 20px; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; position: relative; z-index: 1;
  box-shadow:
    0 0 0 4px rgba(99,102,241,.15),
    0 0 0 8px rgba(99,102,241,.07),
    0 4px 16px rgba(99,102,241,.3);
  transition: box-shadow .3s;
}
.step:hover .step-num {
  box-shadow:
    0 0 0 6px rgba(99,102,241,.2),
    0 0 0 12px rgba(99,102,241,.08),
    0 6px 24px rgba(99,102,241,.4);
}
.step h4 { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.step p  { color: var(--muted); font-size: .85rem; }

/* ── 13. WHY CHOOSE / TRUST ── */

.trust-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start;
}
.trust-list { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }

.trust-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,.15); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.trust-item:hover {
  border-color: rgba(99,102,241,.3);
  box-shadow: 0 4px 16px rgba(99,102,241,.1);
}

.trust-check {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(6,182,212,.15); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent2); font-size: .9rem;
}
.trust-item h4 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.trust-item p  { color: var(--muted); font-size: .85rem; }

/* ── 14. ELITE FOOTER (LIGHT MODE) ── */
.elite-footer {
  position: relative;
  background: #ffffff;
  padding: 100px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.footer-glow-orb {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
  pointer-events: none;
}


.big-icon {
  margin: 0 auto 20px;
  width: 72px; height: 72px;
  background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.2);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.trust-visual h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700; margin-bottom: 10px;
}
.trust-visual p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.metric-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px;
}
.metric {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px;
}
.metric-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.metric-name { font-size: .78rem; color: var(--muted); margin-top: 3px; }

.quote-block {
  margin-top: 28px; padding: 18px;
  background: rgba(99,102,241,.06);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: 10px;
}
.quote-block p { color: var(--muted); font-size: .85rem; font-style: italic; }

/* ── 14. PRODUCTS ── */

.products-section { background: #0b0e17; }

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

.product-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.2);
  transition: transform .3s, box-shadow .3s;
  isolation: isolate;
}
.product-card::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
  transition: left .6s ease; pointer-events: none;
}
.product-card:hover      { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(99,102,241,.2); }
.product-card:hover::after { left: 160%; }

/* "More on the way" placeholder card */
.product-card--placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; border-style: dashed; min-height: 220px;
}
.product-card--placeholder .placeholder-plus {
  font-size: 2rem; margin-bottom: 12px; opacity: .4;
}

.product-soon {
  position: absolute; top: 16px; right: 16px;
  background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3);
  color: var(--gold); padding: 4px 10px; border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: .5px;
  overflow: hidden;
}
.product-soon::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: pillShimmer 2.5s ease-in-out infinite;
}

.product-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.product-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.product-card p  { color: var(--muted); font-size: .85rem; line-height: 1.6; }

.product-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.product-card .tags span {
  background: rgba(255,255,255,.05); color: var(--muted);
  font-size: .72rem; padding: 3px 9px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.07);
}

/* ── 15. CTA ── */

.cta-section { padding: 60px 6%; }

.cta-box {
  background: linear-gradient(135deg, #0d0f1e, #091318);
  border: 1px solid rgba(129,140,248,.18);
  border-radius: 24px; padding: 50px 40px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 4px 30px rgba(99,102,241,.1);
  isolation: isolate;
}
/* Noise texture */
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* Glow border */
.cta-box::after {
  content: '';
  position: absolute; inset: -1px; border-radius: 25px; z-index: -1;
  background: linear-gradient(135deg, rgba(99,102,241,.3), rgba(6,182,212,.3), rgba(251,191,36,.2));
  filter: blur(1px);
}
.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; letter-spacing: -1px; margin-bottom: 14px;
}
.cta-box p { color: var(--muted); font-size: 1.05rem; max-width: 480px; margin: 0 auto 36px; }

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 16. FOOTER ── */

/* ── 16. ELITE FOOTER ── */
.elite-footer {
  position: relative;
  background: #030408;
  padding: 80px clamp(6%, calc((100% - 1240px) / 2), 12%) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  z-index: 10; /* Above regular content but below sticky UI */
}

.footer-glow-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 500px;
  pointer-events: none;
  z-index: 0;
}

.footer-glow-orb {
  position: absolute;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, hsla(var(--accent-hsl), 0.15) 0%, transparent 70%);
  filter: blur(80px);
  animation: footerGlowPulse 8s ease-in-out infinite;
}

@keyframes footerGlowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.footer-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  gap: 80px;
  padding-bottom: 80px;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
}

.footer-description {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

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

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px hsla(var(--accent-hsl), 0.2);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 28px;
}

.footer-accordion-trigger {
  display: flex;
  background: transparent;
  background-color: transparent;
  border: none;
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  pointer-events: none; /* Default to static for desktop */
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.accordion-chevron {
  display: none; /* Hidden on desktop */
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.footer-accordion.active .accordion-chevron {
  transform: rotate(180deg);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-list a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-list a:hover {
  color: #fff;
  transform: translateX(6px);
}

.footer-contact-section {
  display: flex;
  flex-direction: column;
}

.footer-contact-text {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-email {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 24px;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: var(--accent);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(52, 211, 153, 0.05);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: 100px;
  color: #34d399;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: blink 2s infinite;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-text {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
}


/* ── 17. CONTACT FORM ── */

/* Header area above form */
.cta-header { margin-bottom: 24px; }

.reply-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.2);
  color: #34d399; padding: 6px 14px; border-radius: 100px;
  font-size: .8rem; font-weight: 500; margin-top: 18px;
}
.reply-dot {
  width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,.8);
  animation: blink 2s ease-in-out infinite;
}

/* Form layout */
.contact-form {
  max-width: 560px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}

/* Labelled field wrapper */
.form-field { display: flex; flex-direction: column; gap: 7px; }

.form-field label {
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--muted);
}

/* Inputs & textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 14px 18px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(136,146,164,.6); }

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(255,255,255,.16);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(129,140,248,.55);
  background: rgba(99,102,241,.05);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}

.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: rgba(239,68,68,.5);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.contact-form textarea { min-height: 130px; }

/* Submit row */
.form-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 4px;
}

.form-hint {
  font-size: .8rem; color: var(--muted); font-style: italic;
}

/* Send button */
.btn-send {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; padding: 16px 36px;
  border: none; border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(99,102,241,.35);
}
.btn-send::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.25) 0%, transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn-send:hover      { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,102,241,.5); }
.btn-send:hover::after { opacity: 1; }
.btn-send:active     { transform: scale(.97); }
.btn-send:disabled   { opacity: .6; cursor: not-allowed; transform: none; }

/* Spinner */
.btn-send .spinner {
  width: 16px; height: 16px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin .65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-send.loading .submit-label,
.btn-send.loading .submit-arrow { opacity: 0; }
.btn-send.loading .spinner       { display: block; }
.btn-send.loading::before {
  content: 'Processing...';
  position: absolute;
  font-size: 0.8rem;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

/* Status / error banner */
.form-status {
  font-size: .88rem; border-radius: 8px;
  transition: opacity .2s, transform .2s, background .2s, border-color .2s;
}
.form-status:empty { display: none; }
.form-status.error {
  background: rgba(239,68,68,.07);
  border: 1px solid rgba(239,68,68,.2);
  color: #fca5a5; padding: 11px 14px;
}

/* Success card */
.form-success {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 14px; padding: 16px 0;
  animation: fadeUp .5s ease both;
}
.form-success[hidden] { display: none !important; }

.success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(52,211,153,.1);
  border: 1.5px solid rgba(52,211,153,.35);
  display: flex; align-items: center; justify-content: center;
  color: #34d399; margin-bottom: 4px;
  box-shadow: 0 0 32px rgba(52,211,153,.15);
}
.form-success h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem; font-weight: 700; letter-spacing: -.5px;
}
.form-success p {
  color: var(--muted); font-size: .95rem;
  max-width: 380px; line-height: 1.65;
}
.form-success p strong { color: var(--text); font-weight: 600; }

/* ── 18. RESPONSIVE ── */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .services-grid,
  .products-grid    { grid-template-columns: repeat(2, 1fr); }
  .about-grid       { grid-template-columns: 1fr; }
  .about-visual     { display: none; }
  .trust-grid       { grid-template-columns: 1fr; }
  .trust-visual     { position: static; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 60px; }
  .footer-contact-section { grid-column: span 2; }
  .hero-nexus-container { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  section           { padding: 60px 24px; }
  .section-head     { margin-bottom: 40px; text-align: center; }
  .section-head::after { margin-left: auto; margin-right: auto; }

  .floating-island { display: none; } /* Hide desktop nav on mobile */
  
  .hero-nexus { 
    padding: 100px 20px 60px;
    min-height: auto;
    display: block;
  }
  .hero-badge-elite { margin: 0 auto 20px; }
  .hero-title-massive { font-size: 3.2rem; letter-spacing: -1.5px; }
  .hero-description { margin: 0 auto 30px; font-size: 1.05rem; }
  .hero-actions-new { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
  .btn-nexus-primary, .btn-nexus-outline { width: 100%; text-align: center; }
  
  .hero-visual { margin-top: 50px; }
  .scroll-indicator { display: none; }

  .process-steps    { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }

  .services-grid,
  .products-grid    { grid-template-columns: 1fr; gap: 16px; }
  .service-card, .product-card { padding: 30px 20px; }

  .cta-section      { padding: 40px 16px; }
  .cta-box          { padding: 40px 20px; }
  .form-row         { grid-template-columns: 1fr; }
  .form-actions     { flex-direction: column; }
  .btn-send         { width: 100%; justify-content: center; }

  .elite-footer { padding-top: 60px; }
  .footer-container { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .footer-brand-section { align-items: center; }
  .footer-description { 
    margin: 0 auto; 
    color: hsla(var(--text-hsl), 0.8); /* Elite contrast */
  }
  .footer-socials { justify-content: center; }
  
  .footer-links-grid { 
    display: flex;
    flex-direction: column;
    gap: 16px; 
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .footer-col { 
    background: rgba(255,255,255,0.03); 
    border-radius: 16px; 
    padding: 20px 24px;
    border: 1px solid rgba(255,255,255,0.08);
    text-align: left;
  }
  .footer-accordion-trigger { 
    pointer-events: auto; 
    background: transparent !important;
  }
  .accordion-chevron { display: block; }
  .footer-col-title { margin-bottom: 0; font-size: 0.85rem; }
  .footer-list { 
    display: none; 
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 16px;
  }
  .footer-accordion.active .footer-list { display: flex; }
  
  .footer-contact-section { grid-column: span 1; align-items: center; margin-top: 20px; }
  .footer-bottom-container { 
    flex-direction: column; 
    gap: 20px; 
    text-align: center; 
    padding-bottom: 120px; 
  }
  .copyright-text { color: hsla(var(--text-hsl), 0.5); font-size: 0.8rem; }
  .footer-legal { justify-content: center; gap: 20px; }
  .footer-legal a { color: hsla(var(--text-hsl), 0.5); font-size: 0.8rem; }
}

/* ── 19. MOBILE NAV (ELITE REDESIGN) ── */

.mobile-nav {
  display: none;
  position: fixed;
  bottom: 24px; /* Fallback */
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 92vw);
  height: 72px;
  background: rgba(10, 11, 30, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  z-index: 10001;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5), 
    0 0 30px hsla(var(--accent-hsl), 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 0 12px;
  isolation: isolate;
  will-change: transform, opacity;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

@media (max-width: 768px) {
  .mobile-nav { display: block; }
  body { padding-bottom: 120px; }
}

.mobile-nav-container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-around;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  flex: 1;
  height: 100%;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
}

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-nav-item span {
  opacity: 0.7;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-item.active {
  color: var(--primary);
}

.mobile-nav-item.active svg {
  color: var(--primary);
  transform: translateY(-3px);
  filter: drop-shadow(0 0 8px hsla(var(--primary-hsl), 0.6));
}

/* The indicator dot */
.mobile-nav-item.active::after {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px var(--primary);
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-nav-item:active {
  transform: scale(0.9);
}

/* Glassmorphism Refinement */
.bento-item, .service-card, .product-card, .cta-box {
  backdrop-filter: blur(12px);
  background: hsla(var(--card-hsl), 0.6);
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  border-color: var(--accent2);
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.5),
    0 0 30px rgba(168, 85, 247, 0.15);
}

/* Background Mesh for Elite Feel */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 0% 0%, hsla(var(--accent-hsl), 0.1) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, hsla(var(--accent2-hsl), 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, #030408 0%, transparent 100%);
  pointer-events: none;
}

/* Performance Optimizations */
.btn-nexus-primary, .btn-nexus-outline, .nav-cta, .logo, .social-links a, .mobile-nav-item {
  will-change: transform;
}
