/* SoundCollision Landing Page Styles */

:root {
    --primary-color: #e91e63;
    --secondary-color: #9c27b0;
    --accent-color: #00bcd4;
    --mint-color: #4caf50;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --gradient: linear-gradient(135deg, #e91e63 0%, #9c27b0 25%, #00bcd4 50%, #4caf50 75%, #e91e63 100%);
    --gradient-secondary: linear-gradient(135deg, #ff4081 0%, #e91e63 50%, #9c27b0 100%);
    --gradient-soft: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(156, 39, 176, 0.1) 25%, rgba(0, 188, 212, 0.1) 50%, rgba(76, 175, 80, 0.1) 75%, rgba(233, 30, 99, 0.1) 100%);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    background: var(--gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="musicNotes" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="30" r="1.5" fill="white" opacity="0.1"/><circle cx="40" cy="70" r="2.5" fill="white" opacity="0.1"/><circle cx="70" cy="80" r="1" fill="white" opacity="0.1"/><path d="M10,50 Q30,20 50,50 T90,50" stroke="white" stroke-width="1" fill="none" opacity="0.1"/><path d="M10,50 Q30,80 50,50 T90,50" stroke="white" stroke-width="1" fill="none" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23musicNotes)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-hero {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

.phone-mockup img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
    border-radius: 20px;
}

.phone-mockup img:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.2));
}

/* Layout Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-text {
    color: #6B7280;
    line-height: 1.6;
}

/* Genre Cards */
.genre-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.genre-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-soft);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.genre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2);
    border-color: var(--primary-color);
}

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

.genre-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

/* Genre-specific colors */
.genre-card:nth-child(1) .genre-icon { background: linear-gradient(135deg, #e91e63, #f8bbd9); }
.genre-card:nth-child(2) .genre-icon { background: linear-gradient(135deg, #9c27b0, #ce93d8); }
.genre-card:nth-child(3) .genre-icon { background: linear-gradient(135deg, #00bcd4, #80deea); }
.genre-card:nth-child(4) .genre-icon { background: linear-gradient(135deg, #ff9800, #ffcc02); }
.genre-card:nth-child(5) .genre-icon { background: linear-gradient(135deg, #4caf50, #a5d6a7); }
.genre-card:nth-child(6) .genre-icon { background: linear-gradient(135deg, #2196f3, #90caf9); }
.genre-card:nth-child(7) .genre-icon { background: linear-gradient(135deg, #f44336, #ef9a9a); }

.genre-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    position: relative;
    z-index: 1;
}

.genre-bpm {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.genre-description {
    color: #6B7280;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-secondary);
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.store-badge {
    height: 60px;
    margin: 0 10px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.store-badge:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer .text-muted {
    color: #9CA3AF !important;
}

.footer h5, .footer h6 {
    color: white;
}

.footer-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* SoundCollision Specific Styles */
.music-effect {
    position: relative;
    overflow: hidden;
}

.music-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: musicWave 4s infinite;
}

@keyframes musicWave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.safety-badge {
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin: 10px 5px;
}

.age-badge {
    background: #FF9800;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin: 10px 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 40px 0;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-hero {
        padding: 12px 30px;
        font-size: 1rem;
    }

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

    .phone-mockup {
        margin-top: 2rem;
    }

    .phone-mockup img {
        max-width: 250px;
    }

    .genre-card {
        padding: 1.5rem;
    }

    .genre-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn-hero {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .phone-mockup img {
        max-width: 200px;
    }

    .store-badge {
        height: 50px;
        margin: 5px;
    }

    .genre-card {
        padding: 1rem;
    }

    .genre-title {
        font-size: 1rem;
    }

    .genre-bpm {
        font-size: 0.9rem;
    }

    .genre-description {
        font-size: 0.8rem;
    }
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    z-index: 9999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force language switcher visibility - Override Bootstrap */
.language-switcher select,
.language-switcher .form-select,
.form-select.language-switcher,
select.language-switcher,
#languageSelect {
    max-width: 200px !important;
    display: inline-block !important;
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    color: #212529 !important;
    transition: all 0.3s ease;
    min-width: 180px !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    border-radius: 0.375rem !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 9999 !important;
    height: auto !important;
    width: auto !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    padding-right: 2.5rem !important;
}

.language-switcher select:hover,
.language-switcher .form-select:hover {
    background-color: #e9ecef !important;
    border-color: #adb5bd !important;
}

.language-switcher select:focus,
.language-switcher .form-select:focus {
    background-color: #ffffff !important;
    border-color: #9c27b0 !important;
    box-shadow: 0 0 0 0.2rem rgba(156, 39, 176, 0.25) !important;
    outline: none !important;
}

/* Dark background compatibility for hero section */
.hero-section .language-switcher select,
.hero-section .language-switcher .form-select {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #212529 !important;
}

.hero-section .language-switcher select:hover,
.hero-section .language-switcher .form-select:hover {
    background-color: rgba(255, 255, 255, 1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.hero-section .language-switcher select:focus,
.hero-section .language-switcher .form-select:focus {
    background-color: rgba(255, 255, 255, 1) !important;
    border-color: #9c27b0 !important;
    box-shadow: 0 0 0 0.2rem rgba(156, 39, 176, 0.25) !important;
}

/* Additional Styles for SoundCollision Pages */

/* Background Colors */
.bg-light-section {
    background-color: #f8f9fa;
}

/* Step Numbers */
.step-number {
    font-weight: bold;
    font-size: 2rem;
}

/* Section Icons */
.section-icon {
    font-size: 3rem;
    color: #9c27b0;
}

/* Subsection Titles */
.subsection-title {
    color: #333;
}

/* Platform Icons */
.platform-icon {
    font-size: 2rem;
}

.platform-icon.apple {
    color: #007aff;
}

.platform-icon.android {
    color: #3ddc84;
}

/* FAQ Icons */
.faq-icon {
    color: #9c27b0;
    font-size: 1rem;
}

/* Contact Icons */
.contact-icon {
    font-size: 2rem;
}

.contact-icon.question {
    color: #4CAF50;
}

.contact-icon.bug {
    color: #f44336;
}

.contact-icon.lightbulb {
    color: #ff9800;
}

/* Footer */
.footer hr {
    border-color: #4B5563;
    opacity: 0.3;
}

/* Small Text */
.small-text {
    opacity: 0.8;
    font-size: 0.9rem;
}
