 :root {
     --bg-dark: #020617;
     --panel-glass: rgba(255, 255, 255, 0.04);

     --ghost-purple: #b48cff;
     --ghost-purple-strong: #9d6bff;
     --ghost-blue: #5cf2ff;

     --text-main: #e5e7eb;
     --text-muted: #9ca3af;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     min-height: 100vh;
     background:
         radial-gradient(circle at top, #160f2e, #020617),
         linear-gradient(180deg, #020617, #000);
     color: var(--text-main);
     font-family: system-ui, -apple-system, Segoe UI, sans-serif;
 }

 /* ---------- HERO ---------- */
 .features-hero {
     padding: 120px 20px 100px;
     text-align: center;
     position: relative;
     overflow: hidden;
 }

 .features-hero::before {
     content: "";
     position: absolute;
     inset: -40%;
     background: radial-gradient(circle, rgba(180, 140, 255, 0.15), transparent 60%);
     animation: pulseGlow 6s ease-in-out infinite;
 }

 @keyframes pulseGlow {

     0%,
     100% {
         transform: scale(1);
         opacity: 0.6;
     }

     50% {
         transform: scale(1.2);
         opacity: 1;
     }
 }

 .features-title {
     font-size: clamp(2.5rem, 5vw, 4rem);
     font-weight: 900;
     letter-spacing: 0.12em;
     color: transparent;
     -webkit-text-stroke: 2.5px transparent;
     background: linear-gradient(90deg,
             var(--ghost-purple),
             var(--ghost-blue),
             var(--ghost-purple));
     background-size: 300% 100%;
     background-clip: text;
     -webkit-background-clip: text;
     animation: gradientFlow 6s linear infinite;
     position: relative;
     z-index: 1;
 }

 .features-subtitle {
     margin-top: 24px;
     max-width: 720px;
     margin-left: auto;
     margin-right: auto;
     font-size: 1.1rem;
     color: var(--text-muted);
     position: relative;
     z-index: 1;
 }

 @keyframes gradientFlow {
     0% {
         background-position: 0% 50%;
     }

     100% {
         background-position: 300% 50%;
     }
 }

 /* ---------- FEATURES GRID ---------- */
 .features-section {
     padding: 100px 0;
 }

 .feature-card {
     position: relative;
     background: var(--panel-glass);
     backdrop-filter: blur(18px);
     -webkit-backdrop-filter: blur(18px);
     border: 1px solid rgba(180, 140, 255, 0.18);
     border-radius: 26px;
     padding: 42px 36px;
     height: 100%;

     box-shadow:
         inset 0 1px 0 rgba(255, 255, 255, 0.08),
         0 30px 60px rgba(0, 0, 0, 0.6);

     transition:
         transform 0.6s ease,
         box-shadow 0.6s ease;
     overflow: hidden;
 }

 .feature-card::before {
     content: "";
     position: absolute;
     inset: 0;
     background: linear-gradient(120deg,
             transparent,
             rgba(180, 140, 255, 0.25),
             transparent);
     opacity: 0;
     transition: opacity 0.6s ease;
 }

 .feature-card:hover {
     transform: translateY(-10px) scale(1.02);
     box-shadow:
         inset 0 1px 0 rgba(255, 255, 255, 0.12),
         0 50px 90px rgba(0, 0, 0, 0.8);
 }

 .feature-card:hover::before {
     opacity: 1;
 }

 .feature-icon {
     font-size: 42px;
     margin-bottom: 24px;
     text-align: center;
     background: linear-gradient(90deg,
             var(--ghost-purple),
             var(--ghost-blue));
     background-clip: text;
     -webkit-background-clip: text;
     color: transparent;
 }

 .feature-title {
     text-align: center;
     font-size: 1.25rem;
     font-weight: 700;
     letter-spacing: 0.12em;
     margin-bottom: 14px;
     text-transform: uppercase;
 }

 .feature-desc {
     text-align: center;
     font-size: 0.95rem;
     line-height: 1.8;
     color: var(--text-muted);
 }

 /* ---------- CTA ---------- */
 .features-cta {
     padding: 120px 20px;
     text-align: center;
 }

 .features-cta h3 {
     font-size: 2rem;
     font-weight: 800;
     letter-spacing: 0.14em;
     margin-bottom: 20px;
 }

 .features-cta p {
     color: var(--text-muted);
     max-width: 600px;
     margin: 0 auto 36px;
 }

 .cta-btn {
     padding: 14px 42px;
     border-radius: 999px;
     border: 1px solid var(--ghost-purple);
     color: var(--ghost-purple);
     background: transparent;
     font-weight: 600;
     letter-spacing: 0.18em;
     text-transform: uppercase;
     transition: all 0.4s ease;
 }

 .cta-btn:hover {
     background: linear-gradient(90deg,
             var(--ghost-purple),
             var(--ghost-blue));
     color: #020617;
     box-shadow:
         0 0 20px rgba(180, 140, 255, 0.6),
         0 0 40px rgba(92, 242, 255, 0.4);
 }

 /* ---------------- Ghost Navbar ---------------- */
 .ghost-navbar {
     min-height: 68px;
     position: sticky;
     top: 0;
     z-index: 1000;

     background: rgba(2, 6, 23, 0.6);
     backdrop-filter: blur(18px);
     -webkit-backdrop-filter: blur(18px);

     border-bottom: 1px solid rgba(0, 245, 255, 0.18);
     box-shadow:
         0 10px 30px rgba(0, 0, 0, 0.6),
         0 0 25px rgba(0, 245, 255, 0.15);

     animation: navbarSlide 0.8s ease forwards;
 }

 @keyframes navbarSlide {
     from {
         transform: translateY(-20px);
         opacity: 0;
     }

     to {
         transform: translateY(0);
         opacity: 1;
     }
 }

 /* Brand */
 .ghost-brand {
     cursor: pointer;
     transition: transform 0.3s ease;
 }

 .ghost-brand:hover {
     transform: translateY(-2px);
 }

 @keyframes ghostLogoGlow {

     0%,
     100% {
         filter:
             drop-shadow(0 0 6px rgba(0, 245, 255, 0.55)) drop-shadow(0 0 14px rgba(124, 124, 255, 0.4)) drop-shadow(0 0 26px rgba(0, 245, 255, 0.3));
     }

     50% {
         filter:
             drop-shadow(0 0 10px rgba(0, 245, 255, 0.85)) drop-shadow(0 0 22px rgba(124, 124, 255, 0.65)) drop-shadow(0 0 40px rgba(0, 245, 255, 0.45));
     }
 }

 .ghost-logo {
     width: 68px;
     height: 68px;
     animation: ghostLogoGlow 3.5s ease-in-out infinite;
 }


 .ghost-brand-text {
     line-height: 1.2;
     font-weight: 800;
     letter-spacing: 0.12em;
     text-transform: uppercase;

     background: linear-gradient(90deg,
             #00f5ff,
             #7c7cff,
             #b84dff,
             #00f5ff);
     background-size: 300% 100%;
     background-clip: text;
     -webkit-background-clip: text;
     color: transparent;

     animation: brandGlow 6s linear infinite;
 }

 @keyframes brandGlow {
     0% {
         background-position: 0% 50%;
     }

     100% {
         background-position: 300% 50%;
     }
 }

 /* Nav Links */
 .ghost-nav-links {
     display: flex;
     gap: 22px;
 }

 .ghost-link {
     line-height: 1.4;
     position: relative;
     text-decoration: none;
     font-size: 14px;
     letter-spacing: 0.14em;
     text-transform: uppercase;
     color: #e5e7eb;
     opacity: 0.85;
     transition: all 0.3s ease;
 }

 .ghost-link::after {
     content: "";
     position: absolute;
     left: 0;
     bottom: -6px;
     width: 0%;
     height: 2px;
     background: linear-gradient(90deg, #00f5ff, #7c7cff);
     transition: width 0.3s ease;
 }

 .ghost-link:hover {
     opacity: 1;
     color: #00f5ff;
     text-shadow: 0 0 8px rgba(0, 245, 255, 0.6);
 }

 .ghost-link:hover::after {
     width: 100%;
 }

 /* Mobile fallback */
 @media (max-width: 768px) {
     .ghost-nav-links {
         gap: 14px;
     }
 }

 /* 3D Context */
 .feature-card {
     transform-style: preserve-3d;
     will-change: transform;
 }

 .feature-card * {
     transform: translateZ(20px);
 }



 /* Navbar inner layout */
 .ghost-nav-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
 }

 /* Hamburger button */
 .ghost-menu-btn {
     display: none;
     flex-direction: column;
     gap: 6px;
     background: none;
     border: none;
     cursor: pointer;
 }

 .ghost-menu-btn span {
     width: 26px;
     height: 2px;
     background: linear-gradient(90deg, #00f5ff, #7c7cff);
     border-radius: 2px;
 }

 /* Mobile layout */
 @media (max-width: 768px) {
     .ghost-menu-btn {
         display: flex;
     }

     .ghost-nav-links {
         position: absolute;
         top: 100%;
         right: 0;
         width: 100%;
         flex-direction: column;
         gap: 18px;
         padding: 24px;
         background: rgba(2, 6, 23, 0.92);
         backdrop-filter: blur(18px);
         border-bottom: 1px solid rgba(0, 245, 255, 0.2);

         transform: translateY(-10px);
         opacity: 0;
         pointer-events: none;
         transition: all 0.35s ease;
     }

     .ghost-nav-links.active {
         transform: translateY(0);
         opacity: 1;
         pointer-events: auto;
     }
 }



 /* ---------- Ambient Ghost Particles ---------- */
 .ghost-particles {
     position: fixed;
     inset: 0;
     z-index: 0;
     pointer-events: none;
     overflow: hidden;
 }

 .ghost-particles span {
     position: absolute;
     width: 6px;
     height: 6px;
     border-radius: 50%;
     background: radial-gradient(circle,
             rgba(180, 140, 255, 0.8),
             transparent 70%);
     opacity: 0.25;
     filter: blur(1px);
     animation: floatParticle linear infinite;
 }

 @keyframes floatParticle {
     from {
         transform: translateY(110vh) translateX(0);
     }

     to {
         transform: translateY(-20vh) translateX(60px);
     }
 }

 /* ---------- Share Popup ---------- */
 .ghost-share-overlay {
     position: fixed;
     inset: 0;
     background: rgba(2, 6, 23, 0.8);
     backdrop-filter: blur(10px);

     display: none;
     align-items: center;
     justify-content: center;

     z-index: 9999;
 }

 .ghost-share-overlay.active {
     display: flex;
 }

 .ghost-share-popup {
     width: min(420px, 90%);
     padding: 32px;
     border-radius: 22px;

     background: rgba(255, 255, 255, 0.05);
     backdrop-filter: blur(18px);

     border: 2px solid rgba(157, 123, 255, 0.6);
     box-shadow:
         0 30px 80px rgba(0, 0, 0, 0.8),
         0 0 40px rgba(157, 123, 255, 0.4);
 }

 .ghost-share-popup h3 {
     text-align: center;
     margin-bottom: 24px;
     font-size: 14px;
     letter-spacing: 0.18em;
     text-transform: uppercase;
 }

 .ghost-share-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 14px;
 }

 .ghost-share-grid a {
     text-align: center;
     padding: 12px;
     border-radius: 12px;

     border: 1px solid rgba(157, 123, 255, 0.5);
     color: #e5e7eb;
     text-decoration: none;

     font-size: 12px;
     letter-spacing: 0.14em;
     text-transform: uppercase;

     transition: all 0.3s ease;
 }

 .ghost-share-grid a:hover {
     color: #00f5ff;
     border-color: #00f5ff;
     box-shadow: 0 0 14px rgba(0, 245, 255, 0.4);
 }

 .ghost-share-close {
     margin-top: 22px;
     width: 100%;
     padding: 10px;
     border-radius: 999px;

     background: transparent;
     border: 1px solid rgba(255, 255, 255, 0.3);
     color: #9ca3af;

     letter-spacing: 0.14em;
     text-transform: uppercase;
 }

 /* ---------- Share Text Grid ---------- */
 .ghost-share-grid.text-only {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 14px;
 }

 .share-text {
     text-align: center;
     padding: 14px 10px;
     border-radius: 14px;

     font-size: 13px;
     letter-spacing: 0.16em;
     text-transform: uppercase;
     text-decoration: none;

     background: rgba(255, 255, 255, 0.03);
     border: 1px solid rgba(255, 255, 255, 0.15);

     transition:
         background-color 0.35s ease,
         color 0.35s ease,
         box-shadow 0.35s ease,
         transform 0.35s ease;
 }

 /* subtle lift */
 .share-text:hover {
     transform: translateY(-3px);
 }

 /* ---------- PLATFORM COLORS + FONTS ---------- */

 /* Copy */
 .share-text.copy {
     color: #00f5ff;
     font-family: system-ui, monospace;
     grid-column: 1 / -1;
 }

 .share-text.copy:hover {
     background: #00f5ff;
     color: #020617;
     box-shadow: 0 0 18px rgba(0, 245, 255, 0.6);
 }

 /* WhatsApp */
 .share-text.whatsapp {
     color: #25D366;
     font-family: system-ui, sans-serif;
 }

 .share-text.whatsapp:hover {
     background: #25D366;
     color: #020617;
     box-shadow: 0 0 18px rgba(37, 211, 102, 0.6);
 }

 /* Facebook */
 .share-text.facebook {
     color: #1877F2;
     font-family: system-ui, sans-serif;
 }

 .share-text.facebook:hover {
     background: #1877F2;
     color: #020617;
     box-shadow: 0 0 18px rgba(24, 119, 242, 0.6);
 }

 /* Telegram */
 .share-text.telegram {
     color: #229ED9;
     font-family: system-ui, sans-serif;
 }

 .share-text.telegram:hover {
     background: #229ED9;
     color: #020617;
     box-shadow: 0 0 18px rgba(34, 158, 217, 0.6);
 }

 /* Reddit */
 .share-text.reddit {
     color: #FF4500;
     font-family: system-ui, sans-serif;
 }

 .share-text.reddit:hover {
     background: #FF4500;
     color: #020617;
     box-shadow: 0 0 18px rgba(255, 69, 0, 0.6);
 }

 /* X (Twitter) */
 .share-text.x {
     color: #e5e7eb;
     font-family: system-ui, sans-serif;
 }

 .share-text.x:hover {
     background: #000000;
     color: #ffffff;
     box-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
 }

 /* Instagram */
 .share-text.instagram {
     color: #E1306C;
     font-family: system-ui, sans-serif;
 }

 .share-text.instagram:hover {
     background: linear-gradient(45deg,
             #FCAF45,
             #E1306C,
             #833AB4);
     color: #020617;
     box-shadow: 0 0 22px rgba(225, 48, 108, 0.6);
 }

  /* ---------------- Ghost Footer ---------------- */
 .ghost-footer {
   margin-top: 80px;
   padding: 32px 0 28px;

   background: rgba(2, 6, 23, 0.55);
   backdrop-filter: blur(16px);
   -webkit-backdrop-filter: blur(16px);

   border-top: 1px solid rgba(0, 245, 255, 0.18);
   box-shadow:
     0 -10px 30px rgba(0, 0, 0, 0.6),
     0 0 25px rgba(0, 245, 255, 0.12);
 }

 /* text */
 .ghost-footer-text {
   font-size: 13px;
   letter-spacing: 0.12em;
   text-transform: uppercase;
   opacity: 0.8;
 }

 .ghost-footer-sub {
   margin-top: 6px;
   font-size: 12px;
   opacity: 0.65;
 }

 /* author highlight */
 .ghost-author {
   font-weight: 600;
   letter-spacing: 0.16em;

   background: linear-gradient(90deg,
       #00f5ff,
       #9d7bff,
       #00f5ff);
   background-size: 300% 100%;
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;

   animation: authorGlow 6s linear infinite;
 }

 @keyframes authorGlow {
   0% {
     background-position: 0% 50%;
   }

   100% {
     background-position: 300% 50%;
   }
 }

 .ghost-main {
   flex: 1;
   display: flex;
   flex-direction: column;
 }