:root {
    --bg-color: #0a0e1a;
    --text-primary: #f0f2f5;
    --accent: #00f2ff;
    --secondary: #1e293b;
    --card-bg: #111827;
    --muted: #334155;
    --font-heading: 'Chakra Petch', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Neon Glow Utilities */
.text-glow {
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5), 0 0 20px rgba(0, 242, 255, 0.3);
}

.box-glow {
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1), inset 0 0 10px rgba(0, 242, 255, 0.05);
}

.border-glow {
    border: 1px solid rgba(0, 242, 255, 0.3);
}

/* Hero Section Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating-phone {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 242, 255, 0.2));
}

/* Radar Pulse Animation */
@keyframes pulse-ring {
    0% { transform: scale(0.33); opacity: 0; border-width: 3px; }
    40% { opacity: 0.5; border-width: 2px; }
    80% { opacity: 0; transform: scale(2.5); border-width: 0; }
    100% { opacity: 0; transform: scale(2.5); }
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--accent);
    border-radius: 50%;
    box-sizing: border-box;
}

.radar-pulse::before, .radar-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.radar-pulse::after {
    animation-delay: 1.5s;
}

/* Scanning Line */
@keyframes scan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.radar-scan {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 300deg, rgba(0, 242, 255, 0.1) 360deg);
    border-radius: 50%;
    animation: scan 4s linear infinite;
}

/* Feature Cards */
.feature-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

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

/* Grid Background */
.bg-grid {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Glitch Effect Text */
.glitch {
    position: relative;
}

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

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(80px, 9999px, 100px, 0); }
    40% { clip: rect(30px, 9999px, 60px, 0); }
    60% { clip: rect(120px, 9999px, 150px, 0); }
    80% { clip: rect(50px, 9999px, 70px, 0); }
    100% { clip: rect(90px, 9999px, 110px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(60px, 9999px, 80px, 0); }
    20% { clip: rect(10px, 9999px, 30px, 0); }
    40% { clip: rect(100px, 9999px, 130px, 0); }
    60% { clip: rect(40px, 9999px, 70px, 0); }
    80% { clip: rect(130px, 9999px, 150px, 0); }
    100% { clip: rect(0px, 9999px, 20px, 0); }
}

/* Mobile Phone Frame (CSS Only) */
.phone-frame {
    border: 12px solid #1e293b;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    background: #000;
    width: 300px;
    height: 600px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1e293b;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 20;
}

/* App Simulation Styles */
.app-header {
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.opportunity-card {
    background: #111827;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 9999px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
    transform: scale(1.05);
}
