/* 
   XRADAR 2026 - Ultra Premium Dark Theme 
   Visual Identity: Cyberpunk / Glassmorphism / Neon / Glitch
   Updated: Design Refinements Round 2
*/

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

:root {
    /* Color Palette */
    --bg-deep: #020205;
    --bg-surface: #0a0a12;
    --bg-surface-2: #12121f;

    /* Neon Accents */
    --primary: #00f3ff;
    /* Cyan */
    --primary-glow: rgba(0, 243, 255, 0.4);

    --secondary: #bc13fe;
    /* Purple */
    --secondary-glow: rgba(188, 19, 254, 0.4);

    --accent: #ff0055;
    /* Neon Red/Pink */
    --accent-glow: rgba(255, 0, 85, 0.4);

    /* Functional */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);

    /* Glass */
    --glass-bg: rgba(10, 10, 20, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 999px;

    /* Spacing */
    --container-max: 1240px;
    --spacing-section: 140px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    cursor: none;
    /* Hide default cursor */
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 243, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

/* Cursor Hover State */
body.hovering .cursor-outline {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 243, 255, 0.1);
    border-color: var(--primary);
}

/* --- System Boot Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Space Grotesk', monospace;
    color: var(--primary);
    flex-direction: column;
}

.loader-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
    animation: load 2s ease-in-out forwards;
}

@keyframes load {
    0% {
        width: 0%;
    }

    40% {
        width: 60%;
    }

    100% {
        width: 100%;
    }
}

/* --- Trusted By Infinite Loop --- */
.trusted-section {
    padding: 40px 0;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.trusted-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: infiniteScroll 30s linear infinite;
}

.trust-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: color 0.3s;
}

.trust-brand:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Global Node Map --- */
.map-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    /* Soft edges */
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.map-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.05) 0%, transparent 60%);
    opacity: 0.6;
    z-index: 0;
}

/* Abstract Dot Map Effect */
.map-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* --- 3D Phone Mockup --- */
.phone-scene {
    perspective: 1000px;
    width: 140px;
    height: 180px;
    margin: 0 auto 20px auto;
    position: relative;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.phone-mockup {
    width: 100px;
    height: 190px;
    background: #0a0a0f;
    border: 3px solid #333;
    border-radius: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotateY(-15deg) rotateX(10deg);
    transform-style: preserve-3d;
    box-shadow:
        25px 25px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    animation: phoneFloat 6s ease-in-out infinite;
    overflow: hidden;
}

/* Screen reflection/glare */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: url('https://w0.peakpx.com/wallpaper/1000/28/HD-wallpaper-telegram-background-logo-app.jpg');
    /* Fallback or simple color */
    background: #12121a;
    /* Dark message app bg */
    background-size: cover;
    position: relative;
    padding: 15px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Notch */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 12px;
    background: #000;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 3;
}

/* Message Bubble */
.msg-bubble {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 8px;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.msg-alert {
    background: rgba(255, 95, 86, 0.2);
    border: 1px solid #ff5f56;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 95, 86, 0.3);
    animation: msgPulse 2s infinite;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateX(-50%) rotateY(-15deg) rotateX(10deg) translateY(0);
    }

    50% {
        transform: translateX(-50%) rotateY(-15deg) rotateX(10deg) translateY(-10px);
    }
}

@keyframes msgPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(255, 95, 86, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 95, 86, 0.6);
    }
}

/* --- Pro Footer --- */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
    padding: 80px 0 40px;
    margin-top: 80px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-links h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Cyber Glitch Effect --- */
.glitch-hover {
    display: inline-block;
    position: relative;
    transition: all 0.2s;
}

.glitch-hover:hover {
    animation: glitch-anim 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: var(--primary);
}

.glitch-hover:hover::before,
.glitch-hover:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-hover:hover::before {
    color: #ff00c1;
    z-index: -1;
    animation: glitch-shift-1 0.4s infinite;
}

.glitch-hover:hover::after {
    color: #00fff9;
    z-index: -2;
    animation: glitch-shift-2 0.4s infinite;
}

@keyframes glitch-anim {
    0% {
        transform: translate(0)
    }

    20% {
        transform: translate(-2px, 2px)
    }

    40% {
        transform: translate(-2px, -2px)
    }

    60% {
        transform: translate(2px, 2px)
    }

    80% {
        transform: translate(2px, -2px)
    }

    100% {
        transform: translate(0)
    }
}

@keyframes glitch-shift-1 {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(-2px);
    }

    100% {
        clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        transform: translate(2px);
    }
}

@keyframes glitch-shift-2 {
    0% {
        clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
        transform: translate(2px);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(-2px);
    }
}

/* --- Cyber-FAQ --- */
.faq-section {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    background: rgba(0, 243, 255, 0.05);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 200px;
    /* Adjust based on content */
}


/* Radar Pulse Animation */
.radar-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    animation: radarPulse 8s linear infinite;
}

.radar-circle:nth-child(1) {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.radar-circle:nth-child(2) {
    width: 400px;
    height: 400px;
    animation-delay: 2s;
}

.radar-circle:nth-child(3) {
    width: 600px;
    height: 600px;
    animation-delay: 4s;
}

.radar-circle:nth-child(4) {
    width: 800px;
    height: 800px;
    animation-delay: 6s;
}

@keyframes radarPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
        border-color: rgba(0, 243, 255, 0.3);
    }

    20% {
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
        border-color: transparent;
    }
}

/* Live Activity Ticker */
.activity-ticker {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(10, 10, 16, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 20px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    overflow: hidden;
    opacity: 0;
    animation: slideUp 1s ease 1s forwards;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.ticker-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: blink 1s infinite;
}

.ticker-content {
    color: var(--text-muted);
    white-space: nowrap;
}

.ticker-highlight {
    color: #fff;
    font-weight: 700;
}

.ticker-value {
    color: var(--primary);
}

.ticker-alert {
    color: #ff5f56;
    font-weight: 700;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Background Effects */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
    pointer-events: none;
}

.bg-glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    /* Reduced blur for sharper glow */
    z-index: -1;
    opacity: 0.25;
    animation: float 15s ease-in-out infinite;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: -300px;
    left: -200px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    bottom: 0%;
    right: -200px;
    animation-delay: -5s;
}

/* Alert Simulation Overlay */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.alert-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.alert-box {
    background: #000;
    color: #ff5f56;
    border: 2px solid #ff5f56;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 100px rgba(255, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.alert-overlay.active .alert-box {
    transform: scale(1);
}

/* Trust Badges Bar */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0.5;
    margin-top: 60px;
    flex-wrap: wrap;
}

.trust-item {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}


.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
    top: 40%;
    left: 30%;
    opacity: 0.15;
    animation-duration: 25s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(40px, 60px);
    }
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient-primary {
    background: linear-gradient(to right, var(--primary), #ffffff, var(--secondary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.section-spacing {
    padding: var(--spacing-section) 0;
    position: relative;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    /* robust centering */
    z-index: 1000;
    padding: 12px 32px;
    background: rgba(5, 5, 8, 0.4);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    /* Island Mode: Only take needed width */
    width: fit-content;
    width: -moz-fit-content;
    max-width: 95%;
    /* Prevent overflow on small screens */
    white-space: nowrap;
    /* Prevent wrapping to 2 lines */
}

/*
   Navbar Compact Layout
*/
.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
    /* Fixed spacing between sections */
}

/* Brand - Normal Flow */
.brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    /* Back to relative */
    left: auto;
    justify-self: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-btn-wrapper {
    position: relative;
    right: auto;
    justify-self: auto;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .navbar {
        top: 10px;
        width: 90%;
        /* Restore width on mobile to fit content */
        max-width: var(--container-max);
        padding: 12px 20px;
    }

    .nav-container {
        justify-content: space-between;
        gap: 0;
    }

    .brand {
        font-size: 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .nav-btn-wrapper {
        display: block;
    }

    .nav-btn-wrapper .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

.brand-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    position: relative;
}

.brand-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    opacity: 0.5;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
    overflow: hidden;
    z-index: 1;
}

.nav-btn-wrapper {
    /* Position handled in navbar media query now */
}

.btn-primary {
    background: transparent;
    color: #000;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover::before {
    transform: scaleX(1.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Hero Slider */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
}

.hero-slide {
    display: none;
    animation: fadeUp 0.8s ease forwards;
}

.hero-slide.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    margin: 0 auto 32px auto;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1.0;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.hero-text {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin: 0 auto 48px auto;
    max-width: 680px;
    line-height: 1.7;
}

/* Bento Grid - 2x2 Fixed */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns */
    gap: 30px;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
        /* 1 column on tablet/mobile */
    }
}

.bento-card {
    background: rgba(15, 15, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
}

.bento-card:hover::after {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.bento-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--primary);
    transition: 0.3s;
}

.bento-card:hover .bento-icon {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 30px var(--primary-glow);
    transform: rotate(-5deg) scale(1.1);
}

/* Crypto Card - Styled & Modern */
.crypto-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.crypto-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(180deg, var(--accent), transparent);
    border-radius: 28px;
    z-index: 0;
    filter: blur(10px);
    opacity: 0.5;
}

.crypto-card {
    background: #0d0d14;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-title {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 20px;
}

.price-tag {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.price-tag span {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Form Inputs - Fixed Visibility */
input,
textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    /* More visible bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

/* Glass Panel Tech Style */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 0;
    margin-top: 100px;
    color: var(--text-muted);
    font-size: 0.95rem;
    background: linear-gradient(0deg, #000, transparent);
}

/* Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-spacing {
        padding: 80px 0;
    }

    .bento-card {
        padding: 24px;
    }

    .bento-card {
        padding: 24px;
    }
}

/* Active Step Styles */
.how-step {
    padding: 24px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.how-step:hover {
    background: rgba(255, 255, 255, 0.02);
}

.how-step.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(15px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.how-step.active .step-number {
    transform: scale(1.2);
    text-shadow: 0 0 20px currentColor;
}

/* --- Pro Panel Button (Glitch Active) --- */
.btn-glitch-active {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: visible;
    transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

/* Icons fix */
.btn-glitch-active i {
    margin-right: 8px;
    transition: transform 0.3s;
}

/* Idle State - Subtle Glitch (No Hover) */
.btn-glitch-active {
    animation: btn-breathing-glitch 4s infinite alternate;
}

/* Text Shadow Chromatic Aberration */
.btn-glitch-active:not(:hover) {
    text-shadow: 2px 0 var(--secondary), -2px 0 var(--accent);
    animation: chromatic-pulse 2s infinite linear alternate-reverse;
}

@keyframes chromatic-pulse {
    0% {
        text-shadow: 1px 0 rgba(188, 19, 254, 0.5), -1px 0 rgba(10, 255, 108, 0.5);
    }

    100% {
        text-shadow: -1px 0 rgba(188, 19, 254, 0.5), 1px 0 rgba(10, 255, 108, 0.5);
    }
}

/* Occasional random twitch */
.btn-glitch-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 243, 255, 0.2);
    z-index: -1;
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
}

.btn-glitch-active::after {
    pointer-events: none;
}

/* Hover State - Intense */
.btn-glitch-active:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 40px var(--primary), 0 0 10px #fff;
    transform: scale(1.05);
    text-shadow: none;
    animation: none;
    /* Stop idle animations */
}

.btn-glitch-active:hover i {
    transform: rotate(360deg);
}

/* Glitch Slices on Hover */
.btn-glitch-active:hover::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    color: #000;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    animation: glitch-slash 0.2s infinite;
}

@keyframes glitch-slash {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 10%, 0 10%);
        transform: translate(-5px, 5px);
    }

    50% {
        clip-path: polygon(0 50%, 100% 50%, 100% 80%, 0 80%);
        transform: translate(5px, -5px);
    }

    100% {
        clip-path: polygon(0 90%, 100% 90%, 100% 100%, 0 100%);
        transform: translate(0, 0);
    }
}

/* Mobile Adjustments for this button */
@media (max-width: 992px) {
    .btn-glitch-active {
        width: 100%;
        margin-bottom: 10px;
        font-size: 0.9rem;
        padding: 10px;
    }

    .nav-btn-wrapper {
        flex-direction: column;
        align-items: stretch !important;
        gap: 8px !important;
    }
}

/* --- Mobile Navigation Overhaul --- */

/* Initially hide the toggle button on desktop */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2000;
}

/* Nav Content Wrapper (Desktop Default) */
.nav-content {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    justify-content: flex-end;
}

/* Mobile Media Query */
@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }

    /* Fullscreen Overlay for Mobile Menu */
    .nav-content {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 8, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1500;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        opacity: 0;
        pointer-events: none;
    }

    /* Active State */
    .nav-content.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    /* Mobile Nav Links */
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 700;
    }

    /* Button adjustments in mobile menu */
    .nav-btn-wrapper {
        flex-direction: column;
        gap: 20px;
        width: 80%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 16px;
        font-size: 1.1rem;
    }
}

/* --- Live Stats Bar --- */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-icon {
    color: var(--primary);
    font-size: 1rem;
}

/* Loading State */
.stat-value.loading {
    color: transparent;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    animation: loading-shimmer 1.5s infinite linear;
}

@keyframes loading-shimmer {
    to {
        background-position: 200% center;
    }
}

@media (max-width: 768px) {
    .stats-container {
        gap: 15px;
    }

    .stat-card {
        flex: 1 1 40%;
        padding: 15px;
    }

    .stat-value {
        font-size: 2rem;
    }
}

/* --- Plans Carousel --- */
.plans-scroll-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 60px 0;
    /* Space for shadows/hover */
    /* mask-image removed for better scroll interaction on some devices, or tune it */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    touch-action: pan-x;
    touch-action: pan-x;
}

.plans-track {
    display: flex;
    overflow-x: auto;
    gap: 40px;
    padding: 10px 50px;
    /* Offset for mask */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Important for iOS */
    scrollbar-width: none;
    /* Firefox */
    cursor: grab;
    /* Mouse drag cursor */
}

.plans-track:active {
    cursor: grabbing;
}

.plans-track::-webkit-scrollbar {
    display: none;
}

.plan-slide {
    flex: 0 0 350px;
    /* Default Desktop width */
    scroll-snap-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.5;
    transform: scale(0.9);
    filter: blur(2px);
}

/* Active/Center item logic would require JS intersection observer, 
   but for CSS-only we can rely on hover or just simple scroll. 
   User asked specifically for "transparent/see-through" for off-screen.
   We'll use a specific focused class via JS or just CSS hover effects. */

.plan-slide.active-slide,
.plan-slide:hover {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 10;
}

/* Mobile */
@media (max-width: 992px) {
    .plan-slide {
        flex: 0 0 85vw;
        /* Full width on mobile */
    }

    .plans-track {
        padding: 0 25px;
        gap: 15px;
    }
}

@media (min-width: 1200px) {
    .plan-slide {
        flex: 0 0 30%;
        /* Show roughly 3 */
    }
}

/* --- Scrollbar Hiding Fix Global --- */
.plans-track {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.plans-track::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
    /* Chrome/Safari */
}