* {
    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: #ff0000;
    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: #ff0000;
}

.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, .nav-link.active {
    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 {
    padding: 3rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Features Header */
.features-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.features-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #ff0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-accent {
    color: #ff0000;
}

.features-description {
    color: #d1d5db;
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.feature-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    animation: badgeFloat 3s ease-in-out infinite;
}

.badge.premium {
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: #1eb910;
    border: 1px solid #1eb910;
    animation-delay: 0s;
}

.badge.smart {
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: #3b82f6;
    border: 1px solid #3b82f6;
    animation-delay: 1s;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    perspective: 1000px;
}

.feature-card {
    background: rgba(31, 41, 55, 0.6);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 85, 99, 0.3);
}

/* 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 1.0s forwards; }
.feature-card:nth-child(4) { animation: slideInUp 0.8s ease 1.2s forwards; }
.feature-card:nth-child(5) { animation: slideInUp 0.8s ease 1.4s forwards; }
.feature-card:nth-child(6) { animation: slideInUp 0.8s ease 1.6s forwards; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

.feature-card:hover {
    transform: translateY(-15px) rotateX(0deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Color variants */
.feature-card.green {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(4, 120, 87, 0.1));
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-card.blue {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(29, 78, 216, 0.1));
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-card.purple {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(124, 58, 237, 0.1));
    border-color: rgba(168, 85, 247, 0.3);
}

.feature-card.orange {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(194, 65, 12, 0.1));
    border-color: rgba(249, 115, 22, 0.3);
}

.feature-card.teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(15, 118, 110, 0.1));
    border-color: rgba(45, 212, 191, 0.3);
}

.feature-card.red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.1));
    border-color: rgba(248, 113, 113, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.green .feature-icon {
    background: linear-gradient(135deg, #1eb910, #34d399);
    color: white;
}

.blue .feature-icon {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
}

.purple .feature-icon {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    color: white;
}

.orange .feature-icon {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
}

.teal .feature-icon {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: white;
}

.red .feature-icon {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-subtitle {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #e5e7eb;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }

.feature-item i {
    color: #1eb910;
    width: 16px;
    flex-shrink: 0;
    animation: checkPulse 2s ease-in-out infinite;
}

/* 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) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes iconPulse {
    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 checkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-title {
        font-size: 2.5rem;
    }
    
    .feature-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 2rem 1rem;
    }
    
    .features-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}