/* ============================================================
   TRAVIXOR GLOBAL — Main Design System CSS
   Dark Navy + Purple accent — matches client design image
   Load via functions.php: wp_enqueue_style('travixor')
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --tz-bg:          #08091a;
  --tz-bg-card:     #111228;
  --tz-bg-card2:    #181a35;
  --tz-bg-sidebar:  #0d0e24;
  --tz-accent:      #7c5cfc;
  --tz-accent-lt:   #9d7ffe;
  --tz-accent-glow: rgba(124,92,252,0.15);
  --tz-green:       #22c55e;
  --tz-green-bg:    rgba(34,197,94,0.10);
  --tz-orange:      #f59e0b;
  --tz-red:         #ef4444;
  --tz-text:        #f0f0ff;
  --tz-muted:       #8b8db0;
  --tz-dim:         #4a4c72;
  --tz-border:      rgba(255,255,255,0.07);
  --tz-border-act:  rgba(124,92,252,0.5);
  --tz-r-sm:        8px;
  --tz-r-md:        14px;
  --tz-r-lg:        20px;
  --tz-r-xl:        28px;
}

/* ── RESET ── */
.tz-wrap * { box-sizing: border-box; }
.tz-wrap { font-family: 'Inter', -apple-system, sans-serif; color: var(--tz-text); }

/* ── BUTTONS ── */
.tz-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; cursor: pointer; font-family: inherit;
  font-weight: 600; border: none; transition: all 0.2s;
  text-decoration: none; border-radius: var(--tz-r-md);
}
.tz-btn-primary {
  background: var(--tz-accent); color: #fff;
  padding: 14px 28px; font-size: 15px;
}
.tz-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color:#fff;}
.tz-btn-outline {
  background: none; border: 1.5px solid var(--tz-border-act);
  color: var(--tz-accent-lt); padding: 12px 24px; font-size: 14px;
}
.tz-btn-outline:hover { background: var(--tz-accent-glow); color: var(--tz-accent-lt);}
.tz-btn-ghost {
  background: none; border: 1px solid var(--tz-border);
  color: var(--tz-muted); padding: 10px 18px; font-size: 13px;
  border-radius: var(--tz-r-sm);
}
.tz-btn-ghost:hover { border-color: var(--tz-accent); color: var(--tz-text); }
.tz-btn-full { width: 100%; }

/* ── CARDS ── */
.tz-card {
  background: var(--tz-bg-card);
  border: 1px solid var(--tz-border);
  border-radius: var(--tz-r-lg);
  padding: 24px;
}
.tz-card:hover { border-color: var(--tz-border-act); transition: border-color 0.2s; }

/* ── STATUS BADGES ── */
.tz-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
}
.tz-status-active  { background: var(--tz-green-bg); color: var(--tz-green); }
.tz-status-expired { background: rgba(239,68,68,.1); color: var(--tz-red); }
.tz-status-pending { background: rgba(245,158,11,.1); color: var(--tz-orange); }
.tz-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ── USAGE BAR ── */
.tz-bar-track {
  height: 6px; background: rgba(255,255,255,0.07);
  border-radius: 100px; overflow: hidden;
}
.tz-bar-fill {
  height: 100%; border-radius: 100px;
  background: var(--tz-accent); transition: width 1s ease;
}
.tz-bar-fill.warn { background: var(--tz-orange); }
.tz-bar-fill.danger { background: var(--tz-red); }

/* ── NAV ── */
.tz-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,9,26,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--tz-border);
}
.tz-nav-inner {
  max-width: 1200px; margin: 0 auto; height: 64px;
  padding: 0 24px; display: flex;
  align-items: center; justify-content: space-between;
}
.tz-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--tz-text);
}
.tz-logo-icon {
  width: 32px; height: 32px; background: var(--tz-accent);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 16px;
}
.tz-logo-text { font-weight: 700; font-size: 18px; letter-spacing: -.3px; }
.tz-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.tz-nav-links a { text-decoration: none; color: var(--tz-muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.tz-nav-links a:hover, .tz-nav-links a.active { color: var(--tz-text); }
.tz-nav-actions { display: flex; align-items: center; gap: 10px; }
.tz-nav-icon-btn {
  width: 38px; height: 38px; background: var(--tz-bg-card);
  border: 1px solid var(--tz-border); border-radius: var(--tz-r-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 15px; color: var(--tz-muted);
  text-decoration: none; position: relative;
}
.tz-nav-icon-btn:hover { color: var(--tz-text); border-color: var(--tz-border-act); }
.tz-notif-dot {
  position: absolute; top: 7px; right: 7px;
  width: 7px; height: 7px; background: var(--tz-accent);
  border-radius: 50%; border: 1.5px solid var(--tz-bg);
}
.tz-hamburger {
  display: none; width: 38px; height: 38px;
  background: var(--tz-bg-card); border: 1px solid var(--tz-border);
  border-radius: var(--tz-r-sm); align-items: center;
  justify-content: center; cursor: pointer; font-size: 18px; color: var(--tz-text);
}

/* ── SECTION HEADERS ── */
.tz-section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--tz-accent-lt); margin-bottom: 10px;
}
.tz-section-title {
  font-size: 30px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2;
}
.tz-section-sub { font-size: 15px; color: var(--tz-muted); margin-top: 10px; line-height: 1.7; }

/* ── FOOTER ── */
.tz-footer {
  background: var(--tz-bg-card);
  border-top: 1px solid var(--tz-border);
  padding: 56px 24px 24px;
}
.tz-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.tz-footer-brand p { font-size: 13px; color: var(--tz-muted); margin-top: 12px; line-height: 1.7; max-width: 260px; }
.tz-footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--tz-text); margin-bottom: 16px; }
.tz-footer-col ul { list-style: none; margin: 0; padding: 0; }
.tz-footer-col li { margin-bottom: 10px; }
.tz-footer-col a { font-size: 13px; color: var(--tz-muted); text-decoration: none; transition: color .2s; }
.tz-footer-col a:hover { color: var(--tz-accent-lt); }
.tz-footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  padding-top: 24px; border-top: 1px solid var(--tz-border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--tz-dim);
}
.tz-payment-icons { display: flex; gap: 6px; }
.tz-pay-icon {
  background: var(--tz-bg-card2); border: 1px solid var(--tz-border);
  border-radius: 4px; padding: 3px 9px; font-size: 11px;
  font-weight: 700; color: var(--tz-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .tz-nav-links { display: none; }
  .tz-hamburger { display: flex; }
  .tz-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .tz-section-title { font-size: 22px; }
  .tz-footer-inner { grid-template-columns: 1fr; }
  .tz-footer-bottom { flex-direction: column; gap: 12px; }
}
