/* ============================================================
   STARA EKIPA — components.css  v4.0
   All reusable UI components — neon-readable, accessible
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Shimmer effect on all buttons */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.4s;
}
.btn:hover::after { transform: translateX(100%); }

/* Primary */
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 0 var(--brand-glow);
}
.btn-primary:hover {
  background: var(--brand-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(104,117,245,0.4);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: rgba(255,255,255,0.05);
}

/* Gold */
.btn-gold {
  background: var(--gold);
  color: #0a0800;
  font-weight: 700;
}
.btn-gold:hover {
  background: #e8a810;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251,191,36,0.35);
}

/* Danger */
.btn-danger {
  background: transparent;
  color: var(--error);
  border: 1px solid rgba(248,113,113,0.35);
}
.btn-danger:hover { background: rgba(248,113,113,0.08); }

/* Neon green variant */
.btn-neon {
  background: rgba(74,222,128,0.1);
  color: var(--neon-green);
  border: 1px solid rgba(74,222,128,0.3);
}
.btn-neon:hover { background: rgba(74,222,128,0.18); box-shadow: 0 0 20px rgba(74,222,128,0.2); }

/* Sizes */
.btn-sm  { padding: 8px 18px; font-size: 13px; }
.btn-lg  { padding: 15px 36px; font-size: 16px; }
.btn-xs  { padding: 5px 12px; font-size: 12px; }
.btn-block { width: 100%; }

/* ══════════════════════════════════════════════════════════
   BADGE / TAG
   ══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.badge-brand {
  background: var(--brand-subtle);
  color: var(--brand);
  border: 1px solid rgba(104,117,245,0.25);
}

.badge-green {
  background: rgba(74,222,128,0.1);
  color: var(--neon-green);
  border: 1px solid rgba(74,222,128,0.25);
}

.badge-gold {
  background: rgba(251,191,36,0.1);
  color: var(--gold);
  border: 1px solid rgba(251,191,36,0.25);
}

/* ── Live dot ── */
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--neon-green); }
  50%       { opacity: 0.5; box-shadow: 0 0 3px var(--neon-green); }
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--neon-purple));
  z-index: 1001; width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--brand);
}

/* ── Nav link active underline ── */
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
  margin-top: 1px;
  box-shadow: 0 0 8px var(--brand);
}

/* ══════════════════════════════════════════════════════════
   CARDS — base + feature card
   ══════════════════════════════════════════════════════════ */
/* (base .card is in style.css — keep variants here) */

/* Glass card variant */
.card-glass {
  background: rgba(16, 24, 40, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Neon border variant */
.card-neon {
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-lg);
  box-shadow: 0 0 20px rgba(104,117,245,0.12), inset 0 0 20px rgba(104,117,245,0.04);
}

/* ══════════════════════════════════════════════════════════
   FORM ELEMENTS
   ══════════════════════════════════════════════════════════ */
.form-input {
  width: 100%;
  padding: 11px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: 32px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s var(--ease-spring);
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════
   TOAST NOTIFICATION
   ══════════════════════════════════════════════════════════ */
#toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 9999;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-full);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5), 0 0 20px rgba(104,117,245,0.2);
  display: flex; align-items: center; gap: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.35s var(--ease-spring), opacity 0.35s;
  opacity: 0; pointer-events: none;
  white-space: nowrap;
}
#toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
#toast svg { width: 16px; height: 16px; color: var(--neon-green); }

/* ══════════════════════════════════════════════════════════
   STATUS PILL
   ══════════════════════════════════════════════════════════ */
.status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
}
.pill-online  { background: rgba(74,222,128,0.12); color: var(--neon-green); border: 1px solid rgba(74,222,128,0.25); }
.pill-offline { background: rgba(248,113,113,0.12); color: var(--error); border: 1px solid rgba(248,113,113,0.25); }
.pill-warn    { background: rgba(251,191,36,0.12); color: var(--warning); border: 1px solid rgba(251,191,36,0.25); }

/* ══════════════════════════════════════════════════════════
   STEP NUMBERS (How it works section)
   ══════════════════════════════════════════════════════════ */
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  box-shadow: 0 0 16px rgba(104,117,245,0.4);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
#footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border-faint);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 52px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-tertiary); /* was --text-muted, now readable */
  line-height: 1.75;
  margin-top: 12px;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary); /* much more readable */
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 11px; }

.footer-col a {
  font-size: 14px;
  color: var(--text-tertiary); /* was nearly invisible, now readable */
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-faint);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-tertiary); /* was --text-muted = nearly invisible */
}

/* ══════════════════════════════════════════════════════════
   PRICING SECTION COMPONENTS
   ══════════════════════════════════════════════════════════ */
.p-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.p-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-brand);
}
.p-card.featured {
  border-color: var(--brand);
  background: linear-gradient(160deg, rgba(104,117,245,0.08) 0%, transparent 50%), var(--bg-card);
  box-shadow: 0 0 30px rgba(104,117,245,0.15);
}

/* Pricing text — override with readable colors */
.p-card h3 { color: var(--text-primary); font-weight: 700; font-size: 18px; }
.p-card .price-amt { color: var(--text-primary); font-family: var(--font-display); font-weight: 800; }
.p-card li { color: var(--text-secondary); font-size: 14px; }

/* Price tabs */
.ptab {
  padding: 8px 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-display);
  transition: all 0.15s;
  border-radius: 0;
}
.ptab.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 16px rgba(104,117,245,0.4);
}

/* ══════════════════════════════════════════════════════════
   PANEL MOCKUP SECTION
   ══════════════════════════════════════════════════════════ */
.panel-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px var(--border-faint);
}

.mockup-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-faint);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════════ */
.faq-item {
  border-bottom: 1px solid var(--border-faint);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary); /* was too dark, now always bright */
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 16px;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--brand); }

.faq-a {
  font-size: 14px;
  color: var(--text-secondary); /* readable */
  line-height: 1.75;
  padding-bottom: 20px;
  display: none;
}
.faq-a.open { display: block; }

.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: transform 0.2s, color 0.2s;
}
.faq-q.open .faq-icon { transform: rotate(45deg); color: var(--brand); }

/* ══════════════════════════════════════════════════════════
   TEAM CARDS
   ══════════════════════════════════════════════════════════ */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.team-card:hover { border-color: var(--border-brand); transform: translateY(-3px); }

.team-card h3 { color: var(--text-primary); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-card .role { color: var(--brand); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.team-card .bio { color: var(--text-secondary); font-size: 13px; margin-top: 10px; line-height: 1.65; }

/* ══════════════════════════════════════════════════════════
   HOW TO ORDER STEPS
   ══════════════════════════════════════════════════════════ */
.step-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step-content h3 { color: var(--text-primary); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-content p  { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ══════════════════════════════════════════════════════════
   DISCORD CTA SECTION
   ══════════════════════════════════════════════════════════ */
.discord-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.discord-cta-box h2 { color: var(--text-primary); }
.discord-cta-box p  { color: var(--text-secondary); max-width: 480px; margin: 14px auto 32px; font-size: 15px; line-height: 1.75; }

/* ══════════════════════════════════════════════════════════
   SVG SPRITE — Discord icon (single definition, used everywhere)
   ══════════════════════════════════════════════════════════ */
.discord-icon-sprite { display: none; }

/* Usage: <svg><use href="#icon-discord"/></svg> */

/* ══════════════════════════════════════════════════════════
   MOBILE MENU ANIMATION
   ══════════════════════════════════════════════════════════ */
.nav-mobile {
  animation: slideDown 0.22s var(--ease-out) both;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   SKIP LINK (Accessibility)
   ══════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  padding: 8px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 700;
  font-size: 14px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ══════════════════════════════════════════════════════════
   LOADING SKELETON
   ══════════════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-raised) 25%, var(--bg-hover) 50%, var(--bg-raised) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .discord-cta-box { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
