:root {
    --bg-dark: #0a0a0f;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-green: #00ff66;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.5;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--neon-purple);
    top: -200px;
    left: -200px;
    animation: float 10s infinite alternate ease-in-out;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--neon-blue);
    bottom: -100px;
    right: -100px;
    animation: float 12s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-blue);
}

.btn-primary {
    background: var(--neon-blue);
    color: var(--bg-dark) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.btn-primary:hover {
    box-shadow: 0 0 15px var(--neon-blue);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 5%;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

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

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

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 44px, 0); }
    20% { clip: rect(65px, 9999px, 89px, 0); }
    40% { clip: rect(32px, 9999px, 12px, 0); }
    60% { clip: rect(98px, 9999px, 23px, 0); }
    80% { clip: rect(4px, 9999px, 67px, 0); }
    100% { clip: rect(55px, 9999px, 80px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(40px, 9999px, 14px, 0); }
    20% { clip: rect(25px, 9999px, 59px, 0); }
    40% { clip: rect(82px, 9999px, 32px, 0); }
    60% { clip: rect(18px, 9999px, 93px, 0); }
    80% { clip: rect(74px, 9999px, 27px, 0); }
    100% { clip: rect(15px, 9999px, 50px, 0); }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 1rem;
}

.highlight {
    font-size: 1.5rem;
    color: var(--neon-green);
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-glow {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.btn-glow:hover {
    background: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--glass-border);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Features */
.features, .categories, .waitlist {
    padding: 5rem 5%;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-purple);
    box-shadow: 0 10px 30px rgba(188, 19, 254, 0.1);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

.feature-card p {
    color: var(--text-muted);
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
}

.category-card.tech::before { background: var(--neon-blue); }
.category-card.plumbing::before { background: #ffaa00; }
.category-card.warehouse::before { background: var(--neon-green); }
.category-card.hr::before { background: var(--neon-purple); }

.category-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Waitlist */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
}

.form-container p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input, select {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

button[type="submit"] {
    width: 100%;
}

.hidden {
    display: none !important;
}

#form-message {
    margin-top: 1.5rem;
    color: var(--neon-green);
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero-actions {
        flex-direction: column;
    }
}

/* Community Buttons */
.btn-discord { background: transparent; color: #5865F2; border: 2px solid #5865F2; padding: 1rem 2rem; font-size: 1.1rem; font-weight: 800; border-radius: 8px; cursor: pointer; text-transform: uppercase; transition: all 0.3s ease; text-decoration: none; box-shadow: 0 0 10px rgba(88, 101, 242, 0.2); }
.btn-discord:hover { background: #5865F2; color: white; box-shadow: 0 0 20px #5865F2, 0 0 40px #5865F2; }

.btn-reddit { background: transparent; color: #FF4500; border: 2px solid #FF4500; padding: 1rem 2rem; font-size: 1.1rem; font-weight: 800; border-radius: 8px; cursor: pointer; text-transform: uppercase; transition: all 0.3s ease; text-decoration: none; box-shadow: 0 0 10px rgba(255, 69, 0, 0.2); }
.btn-reddit:hover { background: #FF4500; color: white; box-shadow: 0 0 20px #FF4500, 0 0 40px #FF4500; }

/* News Section */
.news-section {
    padding: 5rem 5%;
    text-align: center;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.news-column {
    background: rgba(10, 10, 15, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.column-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom Scrollbar for feeds */
.feed-content::-webkit-scrollbar {
    width: 6px;
}
.feed-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.feed-content::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}
.feed-content::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-blue);
    transform: translateX(5px);
}

.news-date {
    font-size: 0.8rem;
    color: var(--neon-green);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}

.news-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.news-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.news-card a {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.8rem;
    display: inline-block;
}

.news-card a:hover {
    text-decoration: underline;
}

.news-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    text-transform: uppercase;
}

.badge-github { background: #333; color: white; }
.badge-discord { background: #5865F2; color: white; }
.badge-news { background: var(--neon-purple); color: white; }

.loading-pulse {
    animation: pulse 1.5s infinite alternate;
    color: var(--text-muted);
    text-align: center;
    padding: 2rem 0;
}

@keyframes pulse {
    from { opacity: 0.5; }
    to { opacity: 1; }
}
