/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --navy:        #0d1f35;
  --navy-mid:    #132a45;
  --navy-light:  #1a3a5c;
  --blue:        #1e6fbf;
  --blue-bright: #2e8de8;
  --gold:        #e8a020;
  --gold-light:  #f5c45e;
  --white:       #ffffff;
  --off-white:   #f0f4f8;
  --text-dark:   #0d1f35;
  --text-body:   #3a4f66;
  --text-muted:  #7a95b0;
  --page-bg:     #f4f7fb;
  --services-bg: #eaeff7;
  --surface:     rgba(255,255,255,0.06);
  --surface-hover: rgba(255,255,255,0.10);
  --border:      rgba(30,111,191,0.15);
  --shadow-card: 0 8px 32px rgba(30,111,191,0.10);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

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

/* ===========================
   ANIMATED BACKGROUND GRID
=========================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 111, 191, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 111, 191, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ===========================
   HEADER / NAV
=========================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 31, 53, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

#header.scrolled {
  background: rgba(13, 31, 53, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo img {
  height: 38px;
  border-radius: 6px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.15em;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--white);
  background: var(--surface-hover);
}

nav a.nav-cta {
  color: var(--navy);
  background: var(--gold);
  font-weight: 700;
  padding: 9px 20px;
}

nav a.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 160, 32, 0.4);
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 768px) {
  #header { padding: 0 20px; }
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(13, 31, 53, 0.98);
    padding: 20px;
    border-top: 1px solid var(--border);
    gap: 4px;
  }
  .mobile-nav-toggle { display: block; }
}

/* ===========================
   HERO SECTION
=========================== */
#hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.98;
  filter: saturate(0.65) brightness(1.35);
}

/* Gradient overlays */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(30, 111, 191, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(13,31,53,0.02) 0%, rgba(13,31,53,0.18) 100%);
}

@media (max-width: 900px) {
  .hero-bg {height: auto;}
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30,111,191,0.6), transparent);
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,160,32,0.4), transparent);
  bottom: 0; right: 100px;
  animation-delay: -4s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

@media (max-width: 900px) {
  .hero-orb { display: none; overflow: hidden; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
  min-height: calc(100vh - 72px);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; padding: 60px 24px; align-items: center; min-height: auto; }
  .hero-text { padding: 0; }
}

/* Badge / eyebrow */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 160, 32, 0.15);
  border: 1px solid rgba(232, 160, 32, 0.3);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.6s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.7s 0.1s ease both;
  animation: modelFloat 5s ease-in-out infinite;
  color: var(--white);
}

.hero-title .line-accent {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.3);
}

.hero-title .text-gold {
  color: var(--gold);
  position: relative;
}

.hero-title .text-gold::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.7s 0.2s ease both;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), #d4891a);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(232, 160, 32, 0.35);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(232, 160, 32, 0.5);
  color: var(--navy);
  text-decoration: none;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
}

.btn-outline-white:hover {
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  color: var(--white);
  text-decoration: none;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeSlideUp 0.7s 0.4s ease both;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-value span { color: var(--gold); }

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===========================
   HERO MODEL SCENE
=========================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  height: 100%;
  overflow: hidden;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}

.model-scene {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

/* Radial glow ring behind model */
.model-glow-ring {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(30,111,191,0.42) 0%, rgba(30,111,191,0.14) 45%, transparent 72%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

/* Dark stage plate the model stands on */
.model-glow-ring::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.7) 0%, transparent 75%);
}

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

/* Model image — black bg blended away */
.model-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  object-position: left bottom;
  display: block;
  mix-blend-mode: lighten;
  filter:
    drop-shadow(0 0 60px rgba(30,111,191,0.55))
    drop-shadow(0 24px 48px rgba(0,0,0,0.9))
    contrast(1.12) brightness(1.08) saturate(1.1);
  /* animation: modelFloat 5s ease-in-out infinite; */
  transform: scale(1.15);
  transform-origin: left bottom;
}

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

@media (max-width: 900px) {
  .hero-visual { height: auto; overflow: hidden; display: none; }
  .model-scene { height: auto; width: 280px; overflow: hidden; display: none; }
  .model-img { height: auto; max-width: 280px; display: none; overflow: hidden; }
}

/* ===========================
   SECTION COMMONS
=========================== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 560px;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   PROJECT HUB FEATURE SECTION
=========================== */
#project-hub {
  background: var(--page-bg);
}

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

.feature-layout.reverse { direction: rtl; }
.feature-layout.reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .feature-layout, .feature-layout.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 48px;
  }
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 36px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
}

.feature-list li .fi {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(30,111,191,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  font-size: 12px;
  margin-top: 1px;
}

/* Feature visual mockup */
.feature-mockup {
  position: relative;
}

.mockup-window {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.mockup-titlebar {
  background: rgba(0,0,0,0.3);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #27c840; }

.mockup-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 4px 10px;
  border-radius: 4px;
  margin-left: 8px;
}

.mockup-body {
  padding: 24px;
}

.mockup-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mockup-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.mockup-stat .ms-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.mockup-stat .ms-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.mockup-stat .ms-val.blue { color: var(--blue-bright); }
.mockup-stat .ms-val.gold { color: var(--gold); }
.mockup-stat .ms-val.green { color: #4ade80; }

.mockup-chart-placeholder {
  height: 120px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}

/* SVG sparkline */
.sparkline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
}

.mockup-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
}

.mockup-list-item:last-child { border-bottom: none; }

.mockup-list-item .name { color: rgba(255,255,255,0.7); }
.mockup-list-item .badge {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 10px;
}

.badge-active { background: rgba(74,222,128,0.15); color: #4ade80; }
.badge-pending { background: rgba(232,160,32,0.15); color: var(--gold); }
.badge-review { background: rgba(46,141,232,0.15); color: var(--blue-bright); }

/* ===========================
   SERVICES / CARDS SECTION
=========================== */
#services {
  background: var(--services-bg);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-desc { margin: 0 auto; }

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

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

.service-card {
  background: #ffffff;
  border: 1px solid rgba(30,111,191,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 16px rgba(30,111,191,0.07);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

.service-card.portal::before { background: linear-gradient(160deg, rgba(30,111,191,0.12), transparent); }
.service-card.sms::before   { background: linear-gradient(160deg, rgba(74,222,128,0.08), transparent); }
.service-card.kiosk::before { background: linear-gradient(160deg, rgba(232,160,32,0.10), transparent); }

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30,111,191,0.24);
  box-shadow: 0 12px 48px rgba(30,111,191,0.14);
}

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

.service-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.6) saturate(0.7);
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.08);
  filter: brightness(0.5) saturate(0.5);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #ffffff 0%, transparent 60%);
}

.service-icon-badge {
  position: absolute;
  top: 16px; left: 16px;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  backdrop-filter: blur(10px);
}

.icon-blue  { background: rgba(30,111,191,0.7);  color: var(--white); }
.icon-green { background: rgba(34,197,94,0.6);   color: var(--white); }
.icon-gold  { background: rgba(232,160,32,0.7);  color: var(--navy); }

.service-body {
  padding: 24px;
  position: relative;
  z-index: 1;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  display: inline-block;
}

.tag-blue  { background: rgba(30,111,191,0.2); color: var(--blue-bright); }
.tag-green { background: rgba(74,222,128,0.15); color: #4ade80; }
.tag-gold  { background: rgba(232,160,32,0.15); color: var(--gold-light); }

.service-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.service-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.link-blue  { color: var(--blue-bright); }
.link-green { color: #4ade80; }
.link-gold  { color: var(--gold-light); }

.service-link:hover { gap: 14px; text-decoration: none; }
.service-link i { transition: transform var(--transition); }
.service-link:hover i { transform: translateX(4px); }

/* ===========================
   ENTERPRISE SECTION
=========================== */
#enterprise {
  background: var(--page-bg);
  position: relative;
  overflow: hidden;
}

#enterprise::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,111,191,0.08), transparent 60%);
  right: -300px; top: -300px;
  pointer-events: none;
}

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

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

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid rgba(30,111,191,0.12);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(30,111,191,0.06);
}

.pillar-card:hover {
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(30,111,191,0.12);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.pillar-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Server visual */
.server-visual {
  position: relative;
}

.server-rack {
  background: linear-gradient(160deg, var(--navy-light), var(--navy-mid));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.rack-unit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: all var(--transition);
}

.rack-unit:hover { background: rgba(30,111,191,0.1); border-color: rgba(30,111,191,0.2); }
.rack-unit:last-child { margin-bottom: 0; }

.rack-indicator {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.ind-green { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.ind-blue  { background: var(--blue-bright); box-shadow: 0 0 8px var(--blue-bright); }
.ind-gold  { background: var(--gold); box-shadow: 0 0 8px var(--gold); animation-delay: -1s; }

.rack-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  flex: 1;
}

.rack-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 24px;
}

.rack-bar {
  width: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  animation: rackBar 1.5s ease-in-out infinite alternate;
}

.rack-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.rack-bar:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.rack-bar:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.rack-bar:nth-child(4) { height: 85%; animation-delay: 0.45s; }
.rack-bar:nth-child(5) { height: 60%; animation-delay: 0.6s; }

.rack-bar.blue-bar { background: var(--blue-bright); opacity: 0.8; }
.rack-bar.green-bar { background: #4ade80; opacity: 0.8; }

@keyframes rackBar {
  from { opacity: 0.5; transform: scaleY(0.8); }
  to   { opacity: 1; transform: scaleY(1); }
}

.uptime-badge {
  position: absolute;
  top: -16px; right: 24px;
  background: linear-gradient(135deg, rgba(74,222,128,0.2), rgba(34,197,94,0.1));
  border: 1px solid rgba(74,222,128,0.3);
  color: #4ade80;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 30px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

/* ===========================
   FOOTER
=========================== */
#footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 32px 40px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.footer-brand span { color: var(--gold); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

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

.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.footer-links a:hover { color: var(--white); }

/* ===========================
   SCROLL TO TOP
=========================== */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(232,160,32,0.4);
}

#scroll-top.active {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  color: var(--navy);
}

/* ===========================
   INTERSECTION ANIMATIONS
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  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; }

/* Separator line */
.section-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ===========================
   ZEUS XPERIENCE BANNER
=========================== */
#xperience {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(160deg, #060f1e 0%, var(--navy-mid) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.xp-inner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.xp-bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.xp-logo {
  width: auto;
  max-width: min(900px, 95vw);
  max-height: 180px;
  object-fit: contain;
  opacity: 0;
  filter: brightness(0.55) saturate(1.2);
  mix-blend-mode: screen;
  animation: xpReveal 1.2s 0.3s cubic-bezier(0.22,1,0.36,1) forwards;
  transform: scale(0.92);
}

@keyframes xpReveal {
  to { opacity: 0.55; transform: scale(1); }
}

.xp-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.xp-tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  margin: 12px 0 32px;
  text-transform: uppercase;
}

.xp-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .section { padding: 60px 20px; }
  .hero-stats { gap: 20px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
