/* ============================================================
   PREETBEACON UNIFIED GLOBAL DESIGN SYSTEM (v4.0)
   Cyber Midnight Palette (from AKTU Hub)
   Targeting: Global Students, Developers, Creators & AKTU Hub
   ============================================================ */

:root {
  /* Deep Midnight Surface */
  --c-bg: #030810;
  --c-surface: #080f1e;
  --c-surface-glass: rgba(8, 15, 30, 0.82);
  --c-card: #0d1628;
  --c-card-hover: #121f38;
  --c-card2: #111f35;
  --c-border: rgba(255, 153, 51, 0.15);
  --c-border-soft: rgba(255, 255, 255, 0.08);

  /* Signature Brand Glows */
  --c-primary: #FF9933;           /* Solar Amber / Saffron Glow */
  --c-primary-dark: #e07f1f;
  --c-primary-glow: rgba(255, 153, 51, 0.25);
  
  --c-secondary: #138808;         /* Emerald Cyber Green */
  --c-secondary-glow: rgba(19, 136, 8, 0.22);

  --c-cyan: #00e5ff;              /* Electric Cyan for Tech */
  --c-cyan-glow: rgba(0, 229, 255, 0.2);
  --c-blue: #4a9eff;
  --c-purple: #8b5cf6;

  /* Typography Colors */
  --c-text: #e8eff8;              /* Crisp Frost White */
  --c-text-bright: #ffffff;
  --c-muted: #8ca0be;             /* Readable Cool Slate */
  --c-subtle: #4f6382;

  /* Fonts */
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Geometry & Shadows */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(255, 153, 51, 0.22);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--c-bg);
}

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Universal Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--c-surface);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--c-primary), var(--c-secondary));
  border-radius: var(--r-full);
}

/* Subtle Cyber Mesh Background Effect */
.cyber-bg {
  position: relative;
  background-color: var(--c-bg);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 153, 51, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(19, 136, 8, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 60%);
}

/* Unified Navigation */
.pb-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-surface-glass);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--c-border-soft);
  padding: 0.85rem 1.5rem;
}

.pb-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.pb-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-text-bright);
}

.pb-logo span.grad {
  background: linear-gradient(135deg, var(--c-primary), #ffb366);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pb-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.pb-nav-link {
  color: var(--c-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-sm);
  transition: all 0.2s ease;
}

.pb-nav-link:hover, .pb-nav-link.active {
  color: var(--c-primary);
  background: rgba(255, 153, 51, 0.08);
}

.pb-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pb-badge-primary {
  background: rgba(255, 153, 51, 0.15);
  color: var(--c-primary);
  border: 1px solid rgba(255, 153, 51, 0.35);
}

.pb-badge-cyan {
  background: rgba(0, 229, 255, 0.12);
  color: var(--c-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.pb-badge-green {
  background: rgba(19, 136, 8, 0.15);
  color: #34d399;
  border: 1px solid rgba(19, 136, 8, 0.35);
}

/* Unified Buttons */
.pb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  white-space: nowrap;
}

.pb-btn-primary {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--c-primary-glow);
}

.pb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 153, 51, 0.4);
}

.pb-btn-outline {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
}

.pb-btn-outline:hover {
  border-color: var(--c-primary);
  background: rgba(255, 153, 51, 0.08);
  color: var(--c-primary);
  transform: translateY(-2px);
}

/* Unified Tool Cards */
.pb-card {
  background: var(--c-card);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pb-card:hover {
  background: var(--c-card-hover);
  border-color: var(--c-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.pb-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  background: rgba(255, 153, 51, 0.1);
  border: 1px solid rgba(255, 153, 51, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--c-primary);
}

/* Footer */
.pb-footer {
  background: #02050b;
  border-top: 1px solid var(--c-border-soft);
  padding: 4rem 1.5rem 2rem;
  color: var(--c-muted);
}

/* =========================================
   VIRAL FLOATING SHARE & BOOKMARK BAR
   ========================================= */
.pb-floating-share {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 24, 41, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 153, 51, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 153, 51, 0.15);
  border-radius: 9999px;
  padding: 6px 10px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pb-floating-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 153, 51, 0.25);
}

.pb-share-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.pb-btn-copy {
  width: auto;
  padding: 0 12px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--c-primary), #ffb74d);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  gap: 6px;
}

.pb-btn-copy:hover {
  color: #000;
  transform: scale(1.05);
}

.pb-btn-wa:hover {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
}

.pb-btn-x:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pb-btn-star:hover {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.pb-toast {
  position: fixed;
  bottom: 85px;
  right: 24px;
  z-index: 1000;
  background: #0f172a;
  border: 1px solid var(--c-green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.pb-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .pb-floating-share {
    bottom: 16px;
    right: 16px;
    padding: 4px 8px;
  }
  .pb-share-text {
    display: none;
  }
  .pb-btn-copy {
    width: 36px;
    height: 36px;
    padding: 0;
  }
  .pb-toast {
    bottom: 75px;
    right: 16px;
  }
}

/* Embed Modal System */
.pb-embed-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(3, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pb-embed-dialog {
  background: #0b1329;
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 153, 51, 0.15);
  animation: pbModalFadeIn 0.25s ease-out forwards;
}

@keyframes pbModalFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.pb-embed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pb-embed-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pb-embed-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.pb-embed-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.pb-embed-code {
  width: 100%;
  height: 110px;
  background: #030810;
  border: 1px solid #1e293b;
  border-radius: 10px;
  color: #00e5ff;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  padding: 12px;
  resize: none;
  outline: none;
  box-sizing: border-box;
}

.pb-embed-code:focus {
  border-color: #FF9933;
}

.pb-btn-sec {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pb-btn-sec:hover {
  background: #334155;
  color: #fff;
}

.pb-btn-primary {
  background: linear-gradient(135deg, #FF9933, #f59e0b);
  color: #000;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(255, 153, 51, 0.35);
}

.pb-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 153, 51, 0.55);
}

/* ============================================================
   101% PROFESSIONAL ULTRA-TIER UI/UX ENHANCEMENTS (2026 EDITION)
   ============================================================ */

/* 1. Global Ambient Mesh Glows */
.pb-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}
.pb-glow-amber {
  background: radial-gradient(circle, #FF9933, transparent 70%);
}
.pb-glow-cyan {
  background: radial-gradient(circle, #00e5ff, transparent 70%);
}

/* 2. Glassmorphism Pro Cards */
.pb-card-pro {
  background: #0d1628;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.pb-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 153, 51, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pb-card-pro:hover {
  border-color: rgba(255, 153, 51, 0.35);
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 153, 51, 0.15);
}
.pb-card-pro:hover::before {
  opacity: 1;
}

/* 3. Live Pulsing Indicator Dots */
.pb-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pbPulseAnim 2s infinite ease-in-out;
}
.pb-pulse-dot.amber {
  background: #FF9933;
  box-shadow: 0 0 10px #FF9933;
}
.pb-pulse-dot.cyan {
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff;
}

@keyframes pbPulseAnim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 18px currentColor; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* 4. Ultra-Tier Buttons & CTA Gradients */
.pb-btn-gradient {
  background: linear-gradient(135deg, #FF9933 0%, #ff8000 100%);
  color: #030810 !important;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(255, 153, 51, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.pb-btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(255, 153, 51, 0.6);
  color: #000 !important;
}

.pb-btn-outline-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f8fafc !important;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.25s;
}
.pb-btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #fff !important;
}

/* 5. Modern Pill Badges */
.pb-badge-pill-pro {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 153, 51, 0.1);
  border: 1px solid rgba(255, 153, 51, 0.25);
  color: #FF9933;
}
.pb-badge-pill-pro.green {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #10b981;
}
.pb-badge-pill-pro.cyan {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.25);
  color: #00e5ff;
}

/* 6. Smooth Breadcrumb UI */
.pb-breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.pb-breadcrumb-nav a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.pb-breadcrumb-nav a:hover {
  color: #FF9933;
}
.pb-breadcrumb-nav .sep {
  color: #475569;
  font-size: 0.75rem;
}
.pb-breadcrumb-nav .active {
  color: #f8fafc;
  font-weight: 600;
}

/* 7. Precision Monospace Stats Grid */
.pb-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.pb-metric-card {
  background: rgba(13, 22, 40, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s;
}
.pb-metric-card:hover {
  border-color: rgba(255, 153, 51, 0.3);
}
.pb-metric-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.pb-metric-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* ============================================================
   8. 101% SCREEN-FRIENDLY MOBILE BOTTOM BAR & BRAND NAV SYSTEM
   ============================================================ */
.pb-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
}
.pb-brand-logo .logo-bolt {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FF9933, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030810;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(255, 153, 51, 0.4);
}
.pb-brand-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pb-brand-logo .logo-text span {
  color: #FF9933;
}

/* Mobile Bottom Floating Navigation Bar */
.pb-mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px !important;
  }
  .pb-mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(8, 15, 30, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  }
  .pb-mbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    transition: all 0.2s;
    padding: 6px 12px;
    border-radius: 10px;
  }
  .pb-mbar-item i {
    font-size: 1.2rem;
  }
  .pb-mbar-item.active, .pb-mbar-item:hover {
    color: #FF9933;
    transform: translateY(-2px);
  }
  .pb-floating-share {
    bottom: 74px !important;
  }
}