/* Главная страница - современный дизайн в стиле SoundWave */
:root {
    --primary: #6C63FF;
    --primary-dark: #554fd8;
    --secondary: #FF6584;
    --dark: #121212;
    --dark-light: #1E1E1E;
    --light: #F5F5F7;
    --text: #E0E0E0;
    --text-secondary: #A0A0A0;
    --gradient: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    --gradient-dark: linear-gradient(135deg, #554fd8 0%, #e04a6d 100%);
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.site-index,
.studio-index,
.studio-view {
    overflow-x: hidden;
    background-color: var(--dark);
    color: var(--text);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(30, 30, 30, 0.8) 100%);
    padding: 6rem 0 4rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><path fill="%236C63FF" d="M500,100 C723,100 900,277 900,500 C900,723 723,900 500,900 C277,900 100,723 100,500 C100,277 277,100 500,100 Z"/></svg>') center/cover no-repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.hero-buttons .btn {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--gradient);
    border: none;
}

.hero-buttons .btn-primary:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.hero-buttons .btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.hero-buttons .btn-outline-primary:hover {
    border-color: var(--primary);
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
}

/* Section Title */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Features/Service Cards */
.features-section,
.section {
    padding: 6rem 0;
}

.section.bg-white {
    background-color: var(--dark);
}

.section.bg-light-gray {
    background-color: var(--dark-light);
}

.feature-card,
.glass-card,
.studio-card {
    background: rgba(30, 30, 30, 0.7);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Карточки в сетке должны растягиваться на всю высоту */
.feature-card,
.glass-card {
    height: 100%;
}

/* Карточки студий в списке тоже должны растягиваться */
.studio-index .studio-card,
.site-index .studio-card {
    height: 100%;
}

.feature-card:hover,
.glass-card:hover,
.studio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(108, 99, 255, 0.3);
}

.feature-icon,
.icon-box {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.feature-card h4,
.glass-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.feature-card p,
.glass-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Studio Cards */
.studio-card {
    overflow: hidden;
}

.studio-image-wrapper,
.studio-gallery-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.studio-image {
    transition: transform 0.3s ease;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    display: block;
}

.studio-card:hover .studio-image {
    transform: scale(1.05);
}

/* Text Colors */
.text-muted {
    color: var(--text-secondary) !important;
}

.neon-text {
    color: var(--text) !important;
}

.text-primary {
    color: var(--primary) !important;
}

/* Buttons */
.btn-primary {
    background: var(--gradient);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.btn-outline-light:hover {
    border-color: var(--primary);
    background-color: rgba(108, 99, 255, 0.1);
    color: var(--primary);
}

/* CTA Section */
.bg-primary {
    background: var(--gradient) !important;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--dark-light);
}

.contact-map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-info {
    padding-left: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Responsive contact */
@media (max-width: 768px) {
    .contact-info {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .contact-map iframe {
        height: 350px !important;
    }
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}