:root {
    --primary: #00f2ff;
    --secondary: #7000ff;
    --bg: #050505;
}

body {
    background-color: var(--bg);
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(0, 242, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 242, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move { from { background-position: 0 0; } to { background-position: 0 100%; } }

.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.glass-card {
    background: rgba(15, 15, 20, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
    transform: translateY(-5px);
}

.text-gradient {
    background: linear-gradient(90deg, #00f2ff, #7000ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scanline {
    width: 100%;
    height: 2px;
    background: rgba(0, 242, 255, 0.1);
    position: absolute;
    top: 0;
    animation: scan 8s linear infinite;
}

@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }

@keyframes glitch {
    2%, 64% { transform: translate(2px, 0) skew(0deg); }
    4%, 60% { transform: translate(-2px, 0) skew(0deg); }
    62% { transform: translate(0, 0) skew(5deg); }
}

@keyframes glitchTop {
    2%, 64% { transform: translate(2px, -2px); }
    4%, 60% { transform: translate(-2px, 2px); }
    62% { transform: translate(13px, -1px) skew(-13deg); }
}

@keyframes glitchBot {
    2%, 64% { transform: translate(-2px, 0); }
    4%, 60% { transform: translate(2px, 0); }
    62% { transform: translate(-22px, 5px) skew(21deg); }
}

.glitch-text:hover {
    animation: glitch 1s linear infinite;
}

.glitch-text:hover::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: black;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitchTop 1s linear infinite;
}

.glitch-text:hover::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: black;
    clip: rect(12px, 450px, 34px, 0);
    animation: glitchBot 1s linear infinite;
}

#mobile-menu {
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

@keyframes scan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.animate-scan {
    animation: scan 3s ease-in-out infinite;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hud-text::after {
    content: "Initializing Sensors...";
    animation: hudCycle 8s infinite;
}

@keyframes hudCycle {
    0%, 20% { content: "Initializing Sensors..."; }
    25%, 45% { content: "Analyzing Redirect Chain..."; }
    50%, 70% { content: "Scanning for Known Threats..."; }
    75%, 95% { content: "Verifying Link Integrity..."; }
    100% { content: "Initializing Sensors..."; }
}

/* Updated Scan Line for better HUD feel */
@keyframes scan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.animate-scan {
    animation: scan 3s ease-in-out infinite;
}

/* Strikethrough effect on button text */
.line-through {
    text-decoration: line-through;
    text-decoration-color: #22d3ee;
    text-decoration-thickness: 2px;
}