:root {
    --primary-orange: #F47A20; /* Your brand color */
    --bg-dark: #0a0a0c;
    --text-light: #e0e0e0;
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* AI TECH ANIMATION BACKGROUND */
.ai-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0a0a0c 100%);
}

.grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(244, 122, 32, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 122, 32, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* HEADER & NAV */
header {
    padding: 2rem 5%;
    background: transparent;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-orange);
    font-weight: 300;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary-orange);
}

/* HERO SECTION */
.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* BUTTONS */
.btn-primary {
    background: var(--primary-orange);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 1rem;
    box-shadow: 0 0 20px rgba(244, 122, 32, 0.4);
}

.btn-secondary {
    border: 1px solid white;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
}

/* CARDS WITH SCAN ANIMATION */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 5% 10%;
}

.card {
    background: var(--glass);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-10px);
}

.card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(244, 122, 32, 0.1), transparent);
    animation: scan 4s infinite;
}

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

#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Keeps it behind text and buttons */
    background: #0a0a0c; /* Matches your brand dark theme */
}

footer {
    text-align: center;
    padding: 3rem;
    font-size: 0.8rem;
    opacity: 0.5;
}