/* ============================================================
   Lab N Cloud — Homepage (Particle Wave Stage)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #06080d;
  --surface: rgba(255,255,255,0.04);
  --surface-border: rgba(255,255,255,0.06);
  --blue: #3b82f6;
  --blue-glow: rgba(59,130,246,0.35);
  --cyan: #22d3ee;
  --text: #f0f0f5;
  --text-muted: rgba(255,255,255,0.5);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body.home-page {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.home-page a { text-decoration: none; color: inherit; }

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ===== NAV ===== */
.hp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(6,8,13,0.6);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
}

.hp-nav-logo { display: flex; align-items: center; }
.hp-nav-logo img {
  height: 64px;
  filter: brightness(0) invert(1);
}

.hp-nav-links { display: flex; gap: 32px; }
.hp-nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s;
  letter-spacing: 0.01em;
}
.hp-nav-links a:hover { color: #fff; }

.hp-nav-cta {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.25s;
}
.hp-nav-cta:hover { background: rgba(255,255,255,0.14); }

/* ===== HERO ===== */
.hp-hero {
  position: relative;
  z-index: 1;
  padding: 160px 5% 100px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hp-hero-content {
  max-width: 760px;
  margin-bottom: 64px;
}

.hp-hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-hero p {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 40px;
}

.hp-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hp-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s;
  box-shadow: 0 0 20px var(--blue-glow);
}
.hp-btn-primary:hover { background: #4f8ff7; transform: translateY(-1px); box-shadow: 0 0 30px var(--blue-glow); }

.hp-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s;
}
.hp-btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ===== MONITOR ===== */
.hp-monitor-wrapper {
  width: min(1060px, 90vw);
  position: relative;
}

.hp-monitor {
  background: #111318;
  border-radius: 14px;
  padding: 10px 10px 0;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 80px 10px var(--blue-glow),
    0 30px 80px -20px rgba(0,0,0,0.6);
  position: relative;
}

.hp-screen {
  background: #000;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.hp-screen video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hp-monitor-chin {
  height: 24px;
  background: #111318;
  border-radius: 0 0 14px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hp-monitor-dot {
  width: 8px; height: 8px;
  background: #1e2028;
  border-radius: 50%;
}

.hp-monitor-stand {
  width: 100px; height: 60px;
  background: linear-gradient(to bottom, #1a1c24, #111318);
  margin: 0 auto;
  clip-path: polygon(15% 0, 85% 0, 100% 100%, 0% 100%);
}
.hp-monitor-base {
  width: 180px; height: 6px;
  background: #1a1c24;
  margin: 0 auto;
  border-radius: 6px 6px 0 0;
}

/* ===== STATS ROW ===== */
.hp-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.hp-stat { text-align: center; }
.hp-stat-val {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hp-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.hp-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hp-footer-copy { color: var(--text-muted); font-size: 13px; }
.hp-footer-links { display: flex; gap: 24px; }
.hp-footer-links a { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.hp-footer-links a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hp-nav-links { display: none; }
  .hp-hero { padding: 130px 5% 60px; }
  .hp-hero h1 { letter-spacing: -1.5px; }
  .hp-stats { gap: 30px; flex-wrap: wrap; }
  .hp-stat-val { font-size: 28px; }
  .hp-monitor { padding: 6px 6px 0; border-radius: 10px; }
  .hp-monitor-chin { height: 16px; border-radius: 0 0 10px 10px; }
  .hp-monitor-stand, .hp-monitor-base { display: none; }
  .hp-footer { flex-direction: column; gap: 16px; text-align: center; }
}
