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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #111827;
    color: white;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Grid Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 10;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-circle {
    width: 24px;
    height: 24px;
    background-color: #b91010;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
}

.brand-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #b91010;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #1eb910;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.theme-buttons {
    display: flex;
    gap: 0.5rem;
}

.theme-btn {
    background: none;
    border: none;
    color: #d1d5db;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.theme-btn:hover {
    color: white;
    background-color: #374151;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.title-accent {
    color: #ff0000;
}

.hero-description {
    color: #d1d5db;
    font-size: 1.125rem;
    max-width: 48rem;
    line-height: 1.75;
    margin: 0 auto;
}

/* Features - SINGLE ROW LAYOUT */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 80rem;
    margin-bottom: 4rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Staggered entrance animations */
.feature-card:nth-child(1) {
    animation: slideInUp 0.8s ease 0.6s forwards;
}

.feature-card:nth-child(2) {
    animation: slideInUp 0.8s ease 0.8s forwards;
}

.feature-card:nth-child(3) {
    animation: slideInUp 0.8s ease 1s forwards;
}

.feature-card:nth-child(4) {
    animation: slideInUp 0.8s ease 1.2s forwards;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card.green {
    background: linear-gradient(135deg, #059669, #047857);
}

.feature-card.blue {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.feature-card.purple {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
}

.feature-card.orange {
    background: linear-gradient(135deg, #ea580c, #dc2626);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Icon hover animation */
.feature-card:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    animation: iconShake 0.6s ease;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Status */
.status {
    opacity: 0;
    animation: fadeInUp 1s ease 1.4s forwards;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(31, 41, 55, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid #374151;
}

.status-dot-large {
    width: 8px;
    height: 8px;
    background-color: #1eb910;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-text {
    color: #1eb910;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes iconShake {
    0%, 100% { transform: rotate(10deg) scale(1.1); }
    25% { transform: rotate(-5deg) scale(1.15); }
    50% { transform: rotate(15deg) scale(1.1); }
    75% { transform: rotate(-10deg) scale(1.15); }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        max-width: 60rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}