* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.home {
    color: white;
}

.header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><rect width="300" height="200" fill="%23ffffff" opacity="0.1"/></svg>');
    border-radius: 10px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    max-width: 60%;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 60%;
    line-height: 1.6;
    margin-bottom: 25px;
}

.try-now-btn {
    background: white;
    color: #4f46e5;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.try-now-btn:hover {
    transform: translateY(-2px);
}

.welcome {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.welcome::before {
    content: '👋';
    margin-right: 10px;
    font-size: 1.2rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tool-preview {
    height: 280px;
    background: #1a1a2e;
    position: relative;
    overflow: hidden;
}

.image-generator {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-generator {
    background: #2c3e50;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
}

.voice-generator {
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.planet-scene {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, #ff4757, #2f3542);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.planet {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3742fa, #2ed573);
    box-shadow: 0 0 30px rgba(46, 213, 115, 0.5);
}

.chat-interface {
    color: #a0a0a0;
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.user-message {
    color: #64b5f6;
}

.ai-message {
    color: #81c784;
}

.waveform {
    width: 200px;
    height: 60px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.waveform::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        #fff 0px,
        #fff 3px,
        transparent 3px,
        transparent 8px
    );
    animation: wave 2s infinite;
}

@keyframes wave {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.tool-info {
    padding: 25px;
}

.tool-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.tool-info p {
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 20px;
}

.generate-btn {
    background: #4f46e5;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.generate-btn:hover {
    background: #3730a3;
    color: white;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
        max-width: 100%;
    }
    
    .header p {
        max-width: 100%;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
}