/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #f8f9fa;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(119, 198, 255, 0.06) 0%, transparent 50%);
    z-index: -1;
    animation: drift 20s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Header - Reduced size */
header {
    position: relative;
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 27, 38, 0.6) 0%, rgba(15, 15, 23, 0.8) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3)); }
    to { filter: drop-shadow(0 0 30px rgba(118, 75, 162, 0.4)); }
}

.tagline {
    font-size: 1rem;
    color: rgba(248, 249, 250, 0.7);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Main content */
main {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #f8f9fa;
    letter-spacing: -1px;
}

/* Model grid */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.model-card {
    position: relative;
    background: rgba(26, 27, 38, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(102, 126, 234, 0.1);
}

.model-card:hover::before {
    opacity: 1;
}

.model-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.model-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.model-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8f9fa;
    letter-spacing: -0.5px;
}

.model-description {
    color: rgba(248, 249, 250, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.model-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(248, 249, 250, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(248, 249, 250, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Coming soon card */
.coming-soon {
    opacity: 0.6;
    position: relative;
}

.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.coming-soon .btn {
    pointer-events: none;
    opacity: 0.5;
}

/* Footer - Reduced size */
footer {
    margin-top: 4rem;
    padding: 1.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 27, 38, 0.6) 0%, rgba(15, 15, 23, 0.8) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-text {
    color: rgba(248, 249, 250, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.powered-by {
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Responsive design */
@media (max-width: 768px) {
    .model-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .model-card {
        padding: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .model-stats {
        justify-content: space-around;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    header {
        padding: 1rem 1rem 1.5rem;
    }
    
    footer {
        padding: 1rem;
    }
    
    main {
        padding: 3rem 2rem;
    }
}

/* Subtle animations */
.model-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.model-card:nth-child(1) { animation-delay: 0.1s; }
.model-card:nth-child(2) { animation-delay: 0.2s; }
.model-card:nth-child(3) { animation-delay: 0.3s; }
.model-card:nth-child(4) { animation-delay: 0.4s; }

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