/* Tech Slate & Electric Cyan NOC Dashboard Design for mojiecloud.mom */
:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-glow: #38bdf8;
  --accent-cyan: #00f2fe;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --dark-card: #0b1329;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 14px 34px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NOC Top Live Status Bar */
.noc-bar {
  background: #090e1a;
  color: #94a3b8;
  padding: 8px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid #1e293b;
}
.noc-bar-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.live-pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-emerald); box-shadow: 0 0 8px var(--accent-emerald);
  margin-right: 6px; animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--dark); }
.brand-tag {
  background: #e0f2fe; color: #0284c7; font-size: 0.72rem; font-weight: 700;
  padding: 3px 8px; border-radius: var(--radius-sm); border: 1px solid #bae6fd;
}
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { color: var(--text-main); font-weight: 600; font-size: 0.92rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer;
  transition: all 0.2s ease; text-decoration: none;
}
.btn-primary { background: #0284c7; color: #fff; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3); }
.btn-primary:hover { background: #0369a1; color: #fff; }
.btn-outline { background: #fff; border-color: var(--border-color); color: var(--dark); }
.btn-outline:hover { background: #f1f5f9; border-color: #cbd5e1; }
.btn-emerald { background: var(--accent-emerald); color: #fff; }
.btn-emerald:hover { background: #059669; color: #fff; }
.btn-lg { padding: 13px 28px; font-size: 1.02rem; border-radius: var(--radius-md); }

/* Hero */
.hero {
  padding: 65px 0 55px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  border-bottom: 1px solid var(--border-color);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e0f2fe; border: 1px solid #bae6fd; color: #0369a1;
  padding: 5px 14px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 700; margin-bottom: 18px;
}
.hero h1 { font-size: 2.7rem; font-weight: 900; line-height: 1.25; color: var(--dark); margin-bottom: 16px; }
.hero h1 span { color: var(--primary); }
.hero-p { font-size: 1.12rem; color: var(--text-muted); max-width: 760px; margin-bottom: 30px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

/* Real-time Probe Board */
.probe-board {
  background: #0f172a; border-radius: var(--radius-md); padding: 22px; color: #fff;
  border: 1px solid #1e293b; box-shadow: var(--shadow-lg);
}
.probe-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; border-bottom: 1px solid #1e293b; padding-bottom: 12px; }
.probe-title { font-size: 0.95rem; font-weight: 700; color: #38bdf8; display: flex; align-items: center; gap: 8px; }
.probe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.probe-cell {
  background: #1e293b; padding: 14px; border-radius: var(--radius-sm); border: 1px solid #334155;
  transition: all 0.2s ease;
}
.probe-cell:hover { border-color: var(--primary-glow); transform: translateY(-2px); }
.probe-cell-top { display: flex; justify-content: space-between; font-size: 0.82rem; color: #94a3b8; margin-bottom: 6px; }
.probe-ms { font-size: 1.6rem; font-weight: 800; color: #00f2fe; font-family: monospace; }
.probe-loss { font-size: 0.78rem; color: #10b981; font-weight: 600; }

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: #f1f5f9; }
.section-header { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  color: var(--primary); background: #e0f2fe; padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 10px;
}
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); }

/* Mirror Cards */
.mirror-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mirror-card {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md);
  padding: 24px; transition: all 0.2s ease;
}
.mirror-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.mirror-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 3px 8px;
  border-radius: var(--radius-sm); background: #dcfce7; color: #15803d; margin-bottom: 12px;
}
.mirror-domain { font-size: 1.15rem; font-weight: 700; color: var(--dark); font-family: monospace; margin-bottom: 8px; }
.mirror-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }

/* Pricing Cards */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pricing-card {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md);
  padding: 30px 24px; position: relative; transition: all 0.2s ease; display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.pricing-card.featured { border: 2px solid var(--primary); }
.popular-badge {
  position: absolute; top: -12px; right: 20px;
  background: #0284c7; color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 3px 10px; border-radius: var(--radius-pill);
}
.plan-name { font-size: 1.25rem; font-weight: 800; color: var(--dark); }
.plan-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.plan-price { font-size: 2.3rem; font-weight: 900; color: var(--dark); margin: 15px 0 5px; }
.plan-price span { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.plan-subtext { font-size: 0.82rem; color: #0284c7; font-weight: 600; margin-bottom: 18px; }
.plan-features { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.plan-features li { font-size: 0.9rem; margin-bottom: 10px; color: var(--text-main); display: flex; align-items: center; gap: 8px; }

/* Interactive Ping Simulator */
.sim-box {
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-md);
  padding: 30px; max-width: 860px; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.sim-controls { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.sim-btn {
  padding: 8px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-color);
  background: #f8fafc; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease;
}
.sim-btn.active, .sim-btn:hover { background: #0284c7; color: #fff; border-color: #0284c7; }
.sim-screen {
  background: #090e1a; color: #38bdf8; font-family: monospace; font-size: 0.9rem;
  padding: 20px; border-radius: var(--radius-sm); min-height: 140px; line-height: 1.6;
}

/* Footer */
.footer {
  background: #090e1a; color: #94a3b8; padding: 50px 0 25px; font-size: 0.88rem;
  border-top: 1px solid #1e293b;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 35px; }
.footer-col h5 { color: #fff; font-size: 0.98rem; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #94a3b8; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  padding-top: 20px; border-top: 1px solid #1e293b;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-friendly-links {
  margin-top: 25px; padding: 20px; background: rgba(255, 255, 255, 0.02);
  border: 1px solid #1e293b; border-radius: var(--radius-md);
}
.links-title { font-weight: 700; color: #cbd5e1; margin-bottom: 10px; font-size: 0.88rem; }
.links-flex { display: flex; flex-wrap: wrap; gap: 10px; }
.friendly-link {
  display: inline-block; padding: 5px 12px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04); color: #94a3b8; font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.friendly-link:hover { background: rgba(2, 132, 199, 0.2); color: #fff; border-color: #0284c7; }
.friendly-link.current { background: rgba(2, 132, 199, 0.3); color: #fff; font-weight: 600; border-color: #0284c7; }

@media (max-width: 900px) {
  .hero h1 { font-size: 2.1rem; }
  .probe-grid { grid-template-columns: repeat(2, 1fr); }
  .mirror-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
