/* ============================================
   BASE — Shared across all pages
   ============================================ */
   *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
   html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
   body {
     font-family: 'Inter', sans-serif;
     background: #050505;
     color: #fff;
     overflow-x: hidden;
   }
   
   body::before {
     content: '';
     position: fixed;
     inset: 0;
     background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
     pointer-events: none;
     z-index: 0;
     opacity: 0.5;
   }
   
   ::-webkit-scrollbar { width: 6px; }
   ::-webkit-scrollbar-track { background: #050505; }
   ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #10b981, #059669); border-radius: 99px; border: 2px solid #050505; }
   ::selection { background: rgba(16,185,129,.3); color: #fff; }
   
   /* NAVBAR */
   nav {
     background: rgba(5,5,5,.7) !important;
     backdrop-filter: blur(24px) saturate(180%) !important;
     -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
     border-bottom: 1px solid rgba(255,255,255,.06) !important;
     box-shadow: 0 4px 30px rgba(0,0,0,.3);
     position: relative;
   }
   nav::after {
     content: '';
     position: absolute;
     bottom: -1px; left: 0; right: 0;
     height: 1px;
     background: linear-gradient(90deg, transparent, rgba(16,185,129,.3), transparent);
   }
   .nav-link {
     position: relative;
     transition: color 200ms;
     padding: 4px 0;
   }
   .nav-link::after {
     content: '';
     position: absolute;
     bottom: -2px; left: 50%;
     transform: translateX(-50%);
     width: 0; height: 2px;
     background: linear-gradient(90deg, #10b981, #34d399);
     border-radius: 2px;
     transition: width 300ms cubic-bezier(.4,0,.2,1);
     box-shadow: 0 0 8px rgba(16,185,129,.5);
   }
   .nav-link:hover::after, .nav-link.active::after { width: 100%; }
   .nav-link:hover, .nav-link.active {
     color: #34d399;
     text-shadow: 0 0 20px rgba(52,211,153,.3);
   }
   
   .mobile-menu {
     max-height: 0; overflow: hidden;
     transition: max-height 500ms cubic-bezier(.4,0,.2,1);
     background: rgba(5,5,5,.95) !important;
     backdrop-filter: blur(24px) !important;
   }
   .mobile-menu.open { max-height: 500px; }
   
   /* SHARED COMPONENTS */
   .btn-primary {
     position: relative; overflow: hidden;
     transition: transform 200ms cubic-bezier(.4,0,.2,1), box-shadow 200ms;
     isolation: isolate;
   }
   .btn-primary::before {
     content: '';
     position: absolute; inset: 0;
     background: linear-gradient(135deg, rgba(255,255,255,.2), transparent);
     opacity: 0; transition: opacity 200ms; z-index: 1;
   }
   .btn-primary:hover::before { opacity: 1; }
   .btn-primary:hover {
     transform: scale(1.05);
     box-shadow: 0 0 20px rgba(16,185,129,.3), 0 0 60px rgba(16,185,129,.1);
   }
   .btn-primary:active { transform: scale(.97); }
   
   .card-hover {
     background: rgba(23,23,23,.5);
     backdrop-filter: blur(12px);
     border: 1px solid rgba(255,255,255,.06);
     border-radius: 20px;
     transition: border-color 400ms, box-shadow 400ms, transform 400ms, background 400ms;
     position: relative; overflow: hidden;
   }
   .card-hover::before {
     content: '';
     position: absolute; top: 0; left: 0; right: 0; height: 1px;
     background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
     pointer-events: none;
   }
   .card-hover:hover {
     border-color: rgba(16,185,129,.2);
     box-shadow: 0 0 0 1px rgba(16,185,129,.1), 0 8px 40px -8px rgba(16,185,129,.15), 0 20px 60px -20px rgba(0,0,0,.4);
     transform: translateY(-6px);
     background: rgba(23,23,23,.7);
   }
   
   .fade-up {
     opacity: 0; transform: translateY(40px);
     transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
   }
   .fade-up.visible { opacity: 1; transform: translateY(0); }
   
   .glow-blob {
     position: absolute; width: 700px; height: 700px;
     background: radial-gradient(circle, rgba(16,185,129,.12) 0%, rgba(16,185,129,.04) 40%, transparent 70%);
     border-radius: 50%; filter: blur(80px); z-index: 0;
     animation: blobFloat 20s ease-in-out infinite;
   }
   .glow-blob-blue {
     position: absolute; width: 500px; height: 500px;
     background: radial-gradient(circle, rgba(59,130,246,.1) 0%, rgba(59,130,246,.03) 40%, transparent 70%);
     border-radius: 50%; filter: blur(80px); z-index: 0;
     animation: blobFloat 25s ease-in-out 5s infinite;
   }
   @keyframes blobFloat {
     0%,100% { transform: translate(0,0) scale(1); }
     25% { transform: translate(30px,-20px) scale(1.05); }
     50% { transform: translate(-20px,20px) scale(.95); }
     75% { transform: translate(15px,10px) scale(1.02); }
   }
   
   .hero-gradient {
     background: linear-gradient(135deg, #6ee7b7 0%, #34d399 25%, #10b981 50%, #047857 100%);
     -webkit-background-clip: text; -webkit-text-fill-color: transparent;
     background-clip: text; background-size: 200% auto;
     animation: gradShift 6s ease infinite;
   }
   .stat-number {
     background: linear-gradient(180deg, #6ee7b7 0%, #10b981 50%, #047857 100%);
     -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
   }
   @keyframes gradShift { 0%{background-position:0% center} 50%{background-position:100% center} 100%{background-position:0% center} }
   
   .toast {
     animation: toastIn 400ms cubic-bezier(.34,1.56,.64,1), toastOut 300ms ease 2.7s forwards;
     background: rgba(15,15,15,.9) !important;
     backdrop-filter: blur(20px) !important;
     border: 1px solid rgba(16,185,129,.15) !important;
     box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.05) inset;
   }
   .toast::before {
     content: '';
     position: absolute; top: 0; left: 0; right: 0; height: 1px;
     background: linear-gradient(90deg, transparent, rgba(16,185,129,.3), transparent);
   }
   @keyframes toastIn { from{transform:translateX(120%) scale(.8);opacity:0} to{transform:translateX(0) scale(1);opacity:1} }
   @keyframes toastOut { from{transform:translateX(0);opacity:1} to{transform:translateX(120%);opacity:0} }
   
   .tab-btn {
     font-size: 12px; padding: 7px 18px; border-radius: 99px;
     border: 1px solid rgba(255,255,255,.08);
     background: rgba(255,255,255,.03);
     color: rgba(255,255,255,.4);
     transition: all 250ms cubic-bezier(.4,0,.2,1);
     cursor: pointer;
   }
   .tab-btn:hover { border-color: rgba(16,185,129,.2); color: rgba(255,255,255,.6); background: rgba(16,185,129,.05); }
   .tab-btn.active {
     background: rgba(16,185,129,.12); color: #34d399;
     border-color: rgba(16,185,129,.3);
     box-shadow: 0 0 15px rgba(16,185,129,.08), inset 0 0 15px rgba(16,185,129,.05);
   }
   
   footer { border-top: 1px solid rgba(255,255,255,.04); position: relative; }
   footer::before {
     content: '';
     position: absolute; top: -1px; left: 0; right: 0; height: 1px;
     background: linear-gradient(90deg, transparent, rgba(16,185,129,.15), transparent);
   }
   
   .input-premium {
     background: rgba(255,255,255,.03);
     border: 1px solid rgba(255,255,255,.08);
     border-radius: 14px; padding: 12px 16px;
     color: #fff; font-size: 13px;
     transition: all 300ms cubic-bezier(.4,0,.2,1);
     outline: none;
   }
   .input-premium::placeholder { color: rgba(255,255,255,.2); }
   .input-premium:hover { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
   .input-premium:focus {
     border-color: rgba(16,185,129,.4);
     background: rgba(16,185,129,.03);
     box-shadow: 0 0 0 3px rgba(16,185,129,.08), 0 0 20px rgba(16,185,129,.05);
   }
   
   .stagger > *:nth-child(1) { transition-delay: 0ms; }
   .stagger > *:nth-child(2) { transition-delay: 80ms; }
   .stagger > *:nth-child(3) { transition-delay: 160ms; }
   .stagger > *:nth-child(4) { transition-delay: 240ms; }
   .stagger > *:nth-child(5) { transition-delay: 320ms; }
   .stagger > *:nth-child(6) { transition-delay: 400ms; }
   .stagger > *:nth-child(7) { transition-delay: 480ms; }
   .stagger > *:nth-child(8) { transition-delay: 560ms; }
   
   .badge {
     display: inline-flex; align-items: center; gap: 6px;
     padding: 5px 14px; border-radius: 99px;
     font-size: 11px; font-weight: 500;
     border: 1px solid; backdrop-filter: blur(8px);
     transition: all 200ms;
   }
   .badge-emerald { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.2); color: #34d399; }
   .badge-blue { background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.2); color: #60a5fa; }
   .badge-purple { background: rgba(168,85,247,.08); border-color: rgba(168,85,247,.2); color: #c084fc; }
   .badge-pink { background: rgba(236,72,153,.08); border-color: rgba(236,72,153,.2); color: #f472b6; }
   .badge-red { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.2); color: #f87171; }
   .badge-yellow { background: rgba(234,179,8,.08); border-color: rgba(234,179,8,.2); color: #facc15; }