/* Echo Host — Brand CSS (Physgun-inspired) */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  --black:       #080808;
  --bg:          #0d0d0d;
  --bg-card:     #141414;
  --bg-card2:    #1a1a1a;
  --border:      rgba(255,255,255,0.08);
  --border-mid:  rgba(255,255,255,0.13);
  --border-hi:   rgba(255,255,255,0.22);
  --text-main:   #f0f0f0;
  --text-sub:    #888;
  --text-dim:    #555;
  --accent:      #4ade80;
  --accent-dim:  rgba(74,222,128,0.15);
  --accent-glow: rgba(74,222,128,0.3);
  --blue:        #60a5fa;
  --blue-dim:    rgba(96,165,250,0.15);
  --orange:      #fb923c;
  --orange-dim:  rgba(251,146,60,0.15);
  --red:         #f87171;
  --red-dim:     rgba(248,113,113,0.15);
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --transition:  0.2s ease;
  --neon-blue:   #60a5fa;
  --neon-red:    #f87171;
  --neon-orange: #fb923c;
  --neon-yellow: #fbbf24;
  --bg-black:    #080808;
  --bg-dark:     #0d0d0d;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Geist', sans-serif;
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }

p { color: var(--text-sub); line-height: 1.7; }

a { color: var(--text-main); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

/* ─── GRADIENT TEXT ──────────────────────────────────── */
.grad-text {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px;
  font-family: 'Geist', sans-serif; font-size: 0.88rem;
  font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition); border: none; text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #050a05;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: #6ee7a0;
  color: #050a05;
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card2);
  border: 1px solid var(--border-mid);
  color: var(--text-main);
}
.btn-secondary:hover {
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.06);
  color: var(--text-main);
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue);
  color: #050a1a;
}
.btn-blue:hover {
  background: #93c5fd;
  color: #050a1a;
  box-shadow: 0 0 24px rgba(96,165,250,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--text-sub);
}
.btn-ghost:hover {
  color: var(--text-main);
  border-color: var(--border-hi);
  background: rgba(255,255,255,0.04);
}

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 64px;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Geist', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--text-main);
}
.nav-logo img { height: 42px; width: 42px; object-fit: contain; border-radius: 0; }
.nav-logo span { color: var(--text-main); }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-sub); transition: color var(--transition);
  padding: 6px 12px; border-radius: 6px;
  display: block;
}
.nav-links a:hover { color: var(--text-main); background: rgba(255,255,255,0.05); }

.nav-cta { display: flex; gap: 8px; align-items: center; }

.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-main); border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(13,13,13,0.98); padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border); gap: 4px;
  }
  .nav.open .nav-cta {
    display: flex; flex-direction: column;
    position: absolute; top: calc(64px + 11rem); left: 0; right: 0;
    background: rgba(13,13,13,0.98); padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border); gap: 8px;
  }
}

/* ─── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}

.card:hover {
  border-color: var(--border-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ─── SECTION ─────────────────────────────────────────── */
.section {
  padding: clamp(4rem, 7vw, 6rem) clamp(1rem, 5vw, 3rem);
  max-width: 1160px; margin: 0 auto;
}

.section-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.75rem; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before {
  content: '';
  display: inline-block; width: 16px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

/* ─── GRID ───────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
}

/* ─── STATUS DOTS ─────────────────────────────────────── */
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  display: inline-block; flex-shrink: 0;
}
.status-dot.online  { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.status-dot.warning { background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.status-dot.offline { background: var(--red); box-shadow: 0 0 6px var(--red); }

/* ─── CHIPS / TAGS ────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.76rem; font-weight: 500;
  border: 1px solid var(--border-mid);
  background: var(--bg-card2);
  color: var(--text-sub);
}

.tag {
  display: inline-block; padding: 3px 10px;
  border-radius: 5px; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-blue   { background: var(--blue-dim);   color: var(--blue);   border: 1px solid rgba(96,165,250,0.2); }
.tag-orange { background: var(--orange-dim); color: var(--orange); border: 1px solid rgba(251,146,60,0.2); }
.tag-red    { background: var(--red-dim);    color: var(--red);    border: 1px solid rgba(248,113,113,0.2); }
.tag-green  { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(74,222,128,0.2); }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 2rem 4rem;
  position: relative; overflow: hidden;
}

.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(100px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(74,222,128,0.07) 0%, transparent 70%);
  top: 0; left: 50%; transform: translateX(-50%);
  animation: glowPulse 8s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(96,165,250,0.05) 0%, transparent 70%);
  bottom: 10%; right: 5%;
  animation: glowPulse 6s ease-in-out infinite alternate-reverse;
}
@keyframes glowPulse { from{opacity:.6} to{opacity:1} }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 100px;
  background: var(--accent-dim);
  border: 1px solid rgba(74,222,128,0.25);
  font-size: 0.76rem; letter-spacing: 0.04em;
  color: var(--accent); margin-bottom: 1.75rem; font-weight: 500;
}

.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ─── PRICING ─────────────────────────────────────────── */
.price-tag {
  font-family: 'Geist', sans-serif;
  font-size: 2.6rem; font-weight: 800;
  color: var(--text-main); letter-spacing: -0.04em;
}
.price-tag sup { font-size: 1.1rem; vertical-align: top; margin-top: 0.5rem; display: inline-block; color: var(--text-sub); font-weight: 500; }
.price-tag sub { font-size: 0.85rem; color: var(--text-sub); font-weight: 400; }

.plan-popular {
  border-color: rgba(74,222,128,0.3) !important;
  box-shadow: 0 0 0 1px rgba(74,222,128,0.1), 0 8px 40px rgba(74,222,128,0.05);
}

.plan-badge {
  display: inline-block;
  padding: 3px 12px; border-radius: 100px;
  background: var(--accent-dim);
  border: 1px solid rgba(74,222,128,0.3);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}

/* ─── FEATURE LIST ────────────────────────────────────── */
.feat {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 0.88rem; color: var(--text-sub);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.feat:last-child { border-bottom: none; }
.feat .check { color: var(--accent); font-size: 0.8rem; flex-shrink: 0; }

/* ─── TABLE ──────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; }
th {
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
  padding: 0.75rem 1rem; text-align: left;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem; color: var(--text-sub);
}
tr:hover td { background: rgba(255,255,255,0.015); }

/* ─── FORM ───────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; margin-bottom: 0.4rem;
  font-size: 0.8rem; font-weight: 500; color: var(--text-sub);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-mid);
  border-radius: 8px; color: var(--text-main);
  font-family: 'Geist', sans-serif; font-size: 0.95rem;
  transition: border-color var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(74,222,128,0.4);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ─── DIVIDER ─────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 4rem 0;
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem clamp(1rem, 5vw, 3rem) 2.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-bottom {
  max-width: 1160px; margin: 2rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}

.footer-col h4 {
  font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-main);
  margin-bottom: 1rem; font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.88rem; color: var(--text-sub);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--text-main); }

/* ─── SERVICE STATUS BADGE (admin compat) ─────────────── */
.service-status-badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-online   { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(74,222,128,0.25); }
.badge-warning,
.badge-degraded { background: var(--orange-dim); color: var(--orange); border: 1px solid rgba(251,146,60,0.25); }
.badge-offline  { background: var(--red-dim);    color: var(--red);    border: 1px solid rgba(248,113,113,0.25); }

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.55s ease forwards; }
.fade-up-d1 { animation-delay: 0.08s; opacity: 0; }
.fade-up-d2 { animation-delay: 0.16s; opacity: 0; }
.fade-up-d3 { animation-delay: 0.24s; opacity: 0; }
.fade-up-d4 { animation-delay: 0.32s; opacity: 0; }

/* ─── SCROLLBAR ──────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.22); }
