@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --vaudoise-green: #009640;
    --vaudoise-dark-green: #007A33;
    --vaudoise-light-green: #E6F7ED;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --text-light-gray: #6b6b6b;
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-gray: #F5F5F5;
    --border-color: #E5E5E5;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    position: relative;
}

/* Login Screen Styles */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--vaudoise-light-green) 0%, var(--bg-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-container {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 137, 93, 0.15);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: fadeInUp 0.5s ease;
}

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

.vaudoise-logo-big {
    width: 100px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: contain;
}

.login-container h1 {
    color: var(--vaudoise-green);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.login-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form input {
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.login-form input:focus {
    border-color: var(--vaudoise-green);
}

.login-form button {
    padding: 1rem 2rem;
    background-color: var(--vaudoise-green);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-form button:hover {
    background-color: var(--vaudoise-dark-green);
    transform: scale(1.02);
}

.login-error {
    color: #dc2626;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #fee2e2;
    border-radius: 10px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

header {
    background-color: var(--bg-white);
    padding: 1.25rem 2rem;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.vaudoise-logo {
    width: 60px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.logo {
    color: var(--vaudoise-green);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 10rem;
}

.hero {
    text-align: center;
    margin-bottom: 4.5rem;
    padding: 2rem 0;
}

.hero h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-gray);
    max-width: 650px;
    margin: 1.5rem auto 0;
    padding: 0.875rem 1.25rem;
    background-color: #fff8e1;
    border-left: 4px solid #ff9800;
    border-radius: 8px;
    line-height: 1.6;
    font-weight: 400;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.1);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--vaudoise-light-green);
}

.icon-container {
    width: 64px;
    height: 64px;
    background-color: var(--vaudoise-light-green);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.icon {
    width: 30px;
    height: 30px;
    color: var(--vaudoise-green);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.65;
    font-size: 1rem;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-button, .video-button, .podcast-button, .music-button {
    background-color: var(--vaudoise-green);
    color: white;
    border: none;
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: var(--shadow-sm);
}

.cta-button:hover, .video-button:hover, .podcast-button:hover, .music-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button:active, .video-button:active, .podcast-button:active, .music-button:active {
    transform: translateY(0);
}

.video-button {
    background-color: var(--vaudoise-green);
}

.video-button:hover {
    background-color: var(--vaudoise-dark-green);
}

.podcast-button {
    background-color: #2C2C2C;
}

.podcast-button:hover {
    background-color: #1a1a1a;
}

.music-button {
    background-color: #9C27B0;
}

.music-button:hover {
    background-color: #7B1FA2;
}

/* Floating Music Button Container */
.floating-music-container {
    position: fixed;
    top: 20px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 999;
    transition: opacity 0.3s ease;
}

.floating-music-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--vaudoise-green) 0%, var(--vaudoise-dark-green) 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 150, 64, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-music-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(0, 150, 64, 0.6);
}

.floating-music-button:active {
    transform: scale(0.95);
}

.floating-music-button .music-icon {
    width: 28px;
    height: 28px;
    color: white;
}

.floating-music-label {
    background-color: var(--vaudoise-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 600;
    max-width: 160px;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 2px 10px rgba(0, 150, 64, 0.3);
    letter-spacing: 0.3px;
}

/* Animation pulse for floating button */
@keyframes pulseMusic {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 150, 64, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 150, 64, 0.7);
    }
}

.floating-music-button {
    animation: pulseMusic 2s ease-in-out infinite;
}

.chat-icon, .video-icon, .podcast-icon, .music-icon {
    width: 20px;
    height: 20px;
}

.instruction {
    text-align: center;
    color: var(--text-gray);
    margin-top: 2rem;
}

.arrow {
    text-align: center;
    color: var(--vaudoise-green);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--vaudoise-green);
    font-size: 1.25rem;
}

.header-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.voice-button {
    background: var(--vaudoise-light-green);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.voice-button svg {
    width: 20px;
    height: 20px;
    color: var(--vaudoise-green);
}

.voice-button:hover {
    background: var(--vaudoise-green);
}

.voice-button:hover svg {
    color: white;
}

.voice-button.active {
    background: var(--vaudoise-green);
    animation: pulse 1.5s infinite;
}

.voice-button.active svg {
    color: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 137, 93, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 137, 93, 0);
    }
}

.close-button {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-button:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Chat Styles */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    background-color: var(--vaudoise-light-green);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-message {
    background-color: var(--vaudoise-green);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message p {
    margin: 0;
    line-height: 1.5;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: var(--vaudoise-green);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chat-input-container {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

#chatInput {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

#chatInput:focus {
    border-color: var(--vaudoise-green);
}

#sendButton {
    background-color: var(--vaudoise-green);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

#sendButton:hover {
    background-color: var(--vaudoise-dark-green);
}

#sendButton svg {
    width: 20px;
    height: 20px;
}

.voice-status {
    padding: 0.75rem 1.5rem;
    background: var(--vaudoise-light-green);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vaudoise-green);
    font-size: 0.9rem;
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--vaudoise-green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Video Styles */
.video-container {
    max-width: 800px;
    width: 90%;
}

.video-content {
    padding: 0;
    background: transparent;
}

.video-content video {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: #000;
    outline: none;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.video-content video:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

/* Minimalistic video player controls */
#videoPlayer::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    backdrop-filter: blur(10px);
}

#videoPlayer::-webkit-media-controls-play-button,
#videoPlayer::-webkit-media-controls-pause-button {
    background-color: rgba(0, 150, 64, 0.95);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

#videoPlayer::-webkit-media-controls-play-button:hover,
#videoPlayer::-webkit-media-controls-pause-button:hover {
    background-color: var(--vaudoise-green);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 150, 64, 0.3);
}

#videoPlayer::-webkit-media-controls-timeline {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    height: 5px;
    transition: height 0.2s ease;
}

#videoPlayer::-webkit-media-controls-timeline:hover {
    height: 7px;
}

#videoPlayer::-webkit-media-controls-timeline::-webkit-slider-thumb {
    background-color: var(--vaudoise-green);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 150, 64, 0.5);
    transition: all 0.2s ease;
}

#videoPlayer::-webkit-media-controls-timeline::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

#videoPlayer::-webkit-media-controls-current-time-display,
#videoPlayer::-webkit-media-controls-time-remaining-display {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.875rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

#videoPlayer::-webkit-media-controls-fullscreen-button {
    filter: brightness(0) saturate(100%) invert(100%);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

#videoPlayer::-webkit-media-controls-fullscreen-button:hover {
    opacity: 1;
}

#videoPlayer::-webkit-media-controls-volume-slider {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    height: 5px;
}

#videoPlayer::-webkit-media-controls-volume-slider::-webkit-slider-thumb {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    transition: all 0.2s ease;
}

#videoPlayer::-webkit-media-controls-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

/* Podcast Styles */
.podcast-container {
    max-width: 500px;
}

.podcast-content {
    padding: 2rem;
}

.podcast-player {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    padding: 2rem 1.75rem;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 150, 64, 0.08);
    transition: all 0.3s ease;
}

.podcast-player:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.podcast-info {
    text-align: center;
    padding: 0.5rem 0;
}

.podcast-info h4 {
    color: var(--text-gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.625rem;
    font-weight: 500;
}

.episode-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

#audioPlayer {
    width: 100%;
    outline: none;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(230, 247, 237, 0.6) 0%, rgba(255, 255, 255, 0.4) 100%);
    border: 1px solid rgba(0, 150, 64, 0.12);
    box-shadow: 0 2px 12px rgba(0, 150, 64, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#audioPlayer:hover {
    box-shadow: 0 4px 16px rgba(0, 150, 64, 0.12);
}

#audioPlayer::-webkit-media-controls-panel {
    background: transparent;
    padding: 0 1rem;
}

#audioPlayer::-webkit-media-controls-play-button,
#audioPlayer::-webkit-media-controls-pause-button {
    background-color: var(--vaudoise-green);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin: 0 0.75rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 150, 64, 0.2);
}

#audioPlayer::-webkit-media-controls-play-button:hover,
#audioPlayer::-webkit-media-controls-pause-button:hover {
    background-color: var(--vaudoise-dark-green);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 150, 64, 0.3);
}

#audioPlayer::-webkit-media-controls-timeline {
    border-radius: 10px;
    background-color: rgba(0, 150, 64, 0.12);
    height: 5px;
    margin: 0 0.75rem;
    transition: height 0.2s ease;
}

#audioPlayer::-webkit-media-controls-timeline:hover {
    height: 6px;
}

#audioPlayer::-webkit-media-controls-timeline::-webkit-slider-thumb {
    background-color: var(--vaudoise-green);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 150, 64, 0.4);
    transition: all 0.2s ease;
}

#audioPlayer::-webkit-media-controls-timeline::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

#audioPlayer::-webkit-media-controls-current-time-display,
#audioPlayer::-webkit-media-controls-time-remaining-display {
    color: var(--vaudoise-green);
    font-size: 0.8125rem;
    font-weight: 500;
}

#audioPlayer::-webkit-media-controls-volume-slider {
    background-color: rgba(0, 150, 64, 0.12);
    border-radius: 10px;
    height: 5px;
}

#audioPlayer::-webkit-media-controls-volume-slider::-webkit-slider-thumb {
    background-color: var(--vaudoise-green);
    border-radius: 50%;
    transition: all 0.2s ease;
}

#audioPlayer::-webkit-media-controls-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.podcast-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Music Album Styles - Side Panel */
#musicAlbumModal {
    background-color: rgba(0, 0, 0, 0.3);
    align-items: flex-end;
    justify-content: flex-start;
}

#musicAlbumModal.active {
    display: flex;
}

/* Hide floating button when modal is open */
#musicAlbumModal.active ~ * .floating-music-container,
body:has(#musicAlbumModal.active) .floating-music-container {
    opacity: 0;
    pointer-events: none;
}

.music-album-container {
    position: fixed;
    right: -450px;
    top: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    animation: none;
    border-radius: 0;
    max-height: 100vh;
    overflow: hidden;
}

#musicAlbumModal.active .music-album-container {
    right: 0;
}

.music-album-container .modal-header {
    background: linear-gradient(135deg, var(--vaudoise-green) 0%, var(--vaudoise-dark-green) 100%);
    border-bottom: none;
    flex-shrink: 0;
}

.music-album-container .modal-header h3 {
    color: white;
    font-size: 1.25rem;
}

.music-album-container .close-button {
    color: white;
}

.music-album-container .close-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.music-album-content {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.album-info {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--vaudoise-light-green) 0%, rgba(230, 247, 237, 0.5) 100%);
    border-radius: 12px;
}

.album-info h4 {
    color: var(--vaudoise-green);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    line-height: 1.5;
    margin: 0;
}

.track-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.track-list::-webkit-scrollbar {
    width: 6px;
}

.track-list::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb {
    background: var(--vaudoise-green);
    border-radius: 3px;
}

.track-list::-webkit-scrollbar-thumb:hover {
    background: var(--vaudoise-dark-green);
}

.track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.track-item:hover {
    background-color: var(--vaudoise-light-green);
    transform: translateX(5px);
}

.track-item.active {
    background-color: var(--vaudoise-light-green);
    border: 2px solid var(--vaudoise-green);
}

.track-number {
    width: 32px;
    height: 32px;
    background-color: var(--vaudoise-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-duration {
    color: var(--text-gray);
    font-size: 0.8125rem;
}

.play-track-btn {
    width: 40px;
    height: 40px;
    background-color: var(--vaudoise-green);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.play-track-btn svg {
    width: 18px;
    height: 18px;
    color: white;
    transition: all 0.2s ease;
}

.play-track-btn svg polygon {
    stroke: white;
}

.play-track-btn svg rect {
    fill: white;
}

.track-item.active .play-track-btn {
    background-color: var(--vaudoise-dark-green);
}

.play-track-btn:hover {
    background-color: var(--vaudoise-dark-green);
    transform: scale(1.1);
}

.play-track-btn:active {
    transform: scale(0.95);
}

.album-player {
    border-top: 1px solid rgba(0, 150, 64, 0.08);
    padding: 1.75rem 1.25rem 0;
    margin-top: auto;
    flex-shrink: 0;
    background: linear-gradient(to top, rgba(250, 250, 250, 0.8), transparent);
    backdrop-filter: blur(10px);
}

#albumAudioPlayer {
    width: 100%;
    outline: none;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(230, 247, 237, 0.6) 0%, rgba(255, 255, 255, 0.4) 100%);
    border: 1px solid rgba(0, 150, 64, 0.12);
    box-shadow: 0 2px 12px rgba(0, 150, 64, 0.06);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#albumAudioPlayer:hover {
    box-shadow: 0 4px 16px rgba(0, 150, 64, 0.12);
}

#albumAudioPlayer::-webkit-media-controls-panel {
    background: transparent;
    padding: 0 1rem;
}

#albumAudioPlayer::-webkit-media-controls-play-button,
#albumAudioPlayer::-webkit-media-controls-pause-button {
    background-color: var(--vaudoise-green);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin: 0 0.75rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 150, 64, 0.2);
}

#albumAudioPlayer::-webkit-media-controls-play-button:hover,
#albumAudioPlayer::-webkit-media-controls-pause-button:hover {
    background-color: var(--vaudoise-dark-green);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 150, 64, 0.3);
}

#albumAudioPlayer::-webkit-media-controls-timeline {
    border-radius: 10px;
    background-color: rgba(0, 150, 64, 0.12);
    height: 5px;
    margin: 0 0.75rem;
    transition: height 0.2s ease;
}

#albumAudioPlayer::-webkit-media-controls-timeline:hover {
    height: 6px;
}

#albumAudioPlayer::-webkit-media-controls-timeline::-webkit-slider-thumb {
    background-color: var(--vaudoise-green);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 150, 64, 0.4);
    transition: all 0.2s ease;
}

#albumAudioPlayer::-webkit-media-controls-timeline::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

#albumAudioPlayer::-webkit-media-controls-current-time-display,
#albumAudioPlayer::-webkit-media-controls-time-remaining-display {
    color: var(--vaudoise-green);
    font-size: 0.8125rem;
    font-weight: 500;
}

#albumAudioPlayer::-webkit-media-controls-volume-slider {
    background-color: rgba(0, 150, 64, 0.12);
    border-radius: 10px;
    height: 5px;
}

#albumAudioPlayer::-webkit-media-controls-volume-slider::-webkit-slider-thumb {
    background-color: var(--vaudoise-green);
    border-radius: 50%;
    transition: all 0.2s ease;
}

#albumAudioPlayer::-webkit-media-controls-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

/* Styles for Firefox */
#albumAudioPlayer::-moz-range-progress {
    background-color: var(--vaudoise-green);
}

#albumAudioPlayer::-moz-range-thumb {
    background-color: var(--vaudoise-green);
}

/* Eleven Labs Widget Customization */
elevenlabs-convai {
    /* Widget appears as floating button - customize if needed */
    --convai-primary-color: var(--vaudoise-green);
    --convai-secondary-color: var(--vaudoise-dark-green);
}

/* Responsive Design */

/* Large tablets and below */
@media (max-width: 1024px) {
    main {
        padding: 3rem 1.5rem 5rem;
    }

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

    .subtitle {
        font-size: 1.125rem;
    }

    .features {
        gap: 2rem;
    }

    .modal-content {
        max-width: 90%;
    }

    .video-container {
        max-width: 700px;
    }

    .music-album-container {
        max-width: 500px;
    }
}

/* Medium tablets and below */
@media (max-width: 900px) {
    .hero h2 {
        font-size: 2.25rem;
    }

    .features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.75rem;
    }

    .modal-content {
        max-width: 85%;
    }

    .floating-music-container {
        top: 20px;
        right: 25px;
    }

    .floating-music-label {
        font-size: 0.6875rem;
        max-width: 160px;
    }
}

/* Mobile landscape and below */
@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    .logo-container {
        gap: 0.75rem;
    }

    .vaudoise-logo {
        width: 40px;
        height: auto;
    }

    .logo {
        font-size: 1.2rem;
    }

    main {
        padding: 2rem 1.25rem 12rem;
    }

    .hero {
        margin-bottom: 2.5rem;
        padding: 1rem 0;
    }

    .hero h2 {
        font-size: 1.875rem;
        margin-bottom: 0.875rem;
        line-height: 1.3;
    }

    .subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .disclaimer {
        font-size: 0.8125rem;
        padding: 0.75rem 1rem;
        margin: 1.25rem auto 0;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .feature-card {
        padding: 1.5rem 1.25rem;
    }

    .icon-container {
        width: 52px;
        height: 52px;
        margin-bottom: 1.25rem;
    }

    .icon {
        width: 26px;
        height: 26px;
    }

    .feature-card h3 {
        font-size: 1.125rem;
        margin-bottom: 0.625rem;
    }

    .feature-card p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .cta-container {
        gap: 1rem;
        margin-bottom: 3rem;
        flex-direction: column;
    }

    .cta-button, .video-button, .podcast-button, .music-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    .floating-music-container {
        top: 20px;
        right: 20px;
        z-index: 998;
    }

    .floating-music-button {
        width: 56px;
        height: 56px;
    }

    .floating-music-button .music-icon {
        width: 26px;
        height: 26px;
    }

    .floating-music-label {
        font-size: 0.625rem;
        padding: 0.4rem 0.875rem;
        max-width: 140px;
        text-align: center;
        line-height: 1.35;
    }

    .music-album-container {
        width: 90vw;
        max-width: 420px;
    }

    .music-album-content {
        padding: 1.25rem;
    }

    .album-info {
        padding: 0.875rem;
        margin-bottom: 1rem;
    }

    .album-info h4 {
        font-size: 1rem;
        line-height: 1.5;
    }

    .track-item {
        padding: 0.875rem 0.75rem;
    }

    .track-name {
        font-size: 0.9375rem;
    }

    .track-duration {
        font-size: 0.75rem;
    }

    #albumAudioPlayer {
        height: 64px;
    }

    #audioPlayer {
        height: 64px;
    }

    /* Larger touch targets for mobile audio/video players */
    #audioPlayer::-webkit-media-controls-play-button,
    #audioPlayer::-webkit-media-controls-pause-button,
    #albumAudioPlayer::-webkit-media-controls-play-button,
    #albumAudioPlayer::-webkit-media-controls-pause-button {
        width: 48px;
        height: 48px;
        margin: 0 0.75rem;
    }

    #videoPlayer::-webkit-media-controls-play-button,
    #videoPlayer::-webkit-media-controls-pause-button {
        width: 56px;
        height: 56px;
    }

    #audioPlayer::-webkit-media-controls-timeline,
    #albumAudioPlayer::-webkit-media-controls-timeline {
        height: 8px;
    }

    #audioPlayer::-webkit-media-controls-timeline::-webkit-slider-thumb,
    #albumAudioPlayer::-webkit-media-controls-timeline::-webkit-slider-thumb {
        width: 18px;
        height: 18px;
    }

    /* Modal responsiveness */
    .modal-content {
        max-width: 95%;
        max-height: 90vh;
        width: calc(100% - 2rem);
        margin: 1rem;
        border-radius: 16px;
    }

    .video-container {
        max-width: 100%;
    }

    .video-content {
        padding: 1rem;
        border-radius: 12px;
    }

    .video-content video {
        border-radius: 8px;
    }

    .modal-header {
        padding: 1.25rem;
    }

    .modal-header h3 {
        font-size: 1.1875rem;
    }

    .chat-container {
        max-width: 95%;
    }

    .chat-messages {
        padding: 1.25rem;
        max-height: 50vh;
    }

    .message {
        font-size: 0.9375rem;
        padding: 0.875rem 1rem;
    }

    .chat-input-container {
        padding: 1rem;
    }

    #chatInput {
        font-size: 0.9375rem;
        padding: 0.875rem 1rem;
    }

    .podcast-container {
        max-width: 95%;
    }

    .podcast-content {
        padding: 1.5rem;
    }

    .podcast-player {
        padding: 1.25rem;
    }

    .podcast-info h4 {
        font-size: 1rem;
    }

    .episode-title {
        font-size: 0.9375rem;
    }

    .podcast-description {
        margin-top: 1.25rem;
    }

    .podcast-description p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .login-container {
        padding: 2.5rem 1.5rem;
        width: 95%;
    }

    .vaudoise-logo-big {
        width: 80px;
        margin-bottom: 1.25rem;
    }

    .login-container h1 {
        font-size: 1.625rem;
    }

    .login-subtitle {
        font-size: 0.9375rem;
    }

    .login-form input {
        font-size: 0.9375rem;
        padding: 0.875rem 1.25rem;
    }

    .login-form button {
        font-size: 0.9375rem;
        padding: 0.875rem 1.5rem;
    }

    header {
        padding: 0.875rem 1rem;
    }

    .vaudoise-logo {
        width: 36px;
    }

    .logo {
        font-size: 1.125rem;
    }

    main {
        padding: 1.5rem 1rem 14rem;
    }

    .hero {
        margin-bottom: 2rem;
        padding: 0.75rem 0;
    }

    .hero h2 {
        font-size: 1.625rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .subtitle {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .disclaimer {
        font-size: 0.75rem;
        padding: 0.625rem 0.875rem;
        margin: 1rem auto 0;
    }

    .features {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.25rem 1rem;
        border-radius: 14px;
    }

    .feature-card h3 {
        font-size: 1.0625rem;
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .icon-container {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .icon {
        width: 24px;
        height: 24px;
    }

    .cta-container {
        gap: 0.875rem;
        margin-bottom: 2.5rem;
    }

    .cta-button, .video-button, .podcast-button, .music-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        border-radius: 10px;
    }

    .floating-music-container {
        top: 15px;
        right: 12px;
        gap: 0.375rem;
    }

    .floating-music-button {
        width: 52px;
        height: 52px;
        box-shadow: 0 4px 12px rgba(0, 150, 64, 0.25);
    }

    .floating-music-button .music-icon {
        width: 24px;
        height: 24px;
    }

    .floating-music-label {
        font-size: 0.5625rem;
        padding: 0.375rem 0.75rem;
        max-width: 130px;
        line-height: 1.4;
        text-align: center;
    }

    .music-album-container {
        width: 100vw;
        right: -100vw;
        border-radius: 20px 0 0 20px;
        max-height: 85vh;
    }

    .music-album-content {
        padding: 1rem;
        max-height: calc(85vh - 70px);
        overflow-y: auto;
    }

    .album-info {
        padding: 0.875rem;
        margin-bottom: 1.25rem;
        border-radius: 10px;
    }

    .album-info h4 {
        font-size: 0.9375rem;
        line-height: 1.45;
    }

    .track-list {
        margin-bottom: 1rem;
    }

    .track-item {
        padding: 0.75rem 0.625rem;
        gap: 0.625rem;
        border-radius: 10px;
    }

    .track-number {
        width: 30px;
        height: 30px;
        font-size: 0.8125rem;
    }

    .track-name {
        font-size: 0.875rem;
    }

    .track-duration {
        font-size: 0.6875rem;
    }

    .play-track-btn {
        width: 38px;
        height: 38px;
    }

    .play-track-btn svg {
        width: 16px;
        height: 16px;
    }

    .music-album-container .modal-header {
        padding: 1rem;
    }

    .music-album-container .modal-header h3 {
        font-size: 1.0625rem;
    }

    .album-player {
        padding-top: 1.25rem;
        position: sticky;
        bottom: 0;
        background: var(--bg-white);
    }

    #albumAudioPlayer {
        height: 54px;
    }

    #audioPlayer {
        height: 54px;
    }

    .modal-content {
        border-radius: 18px;
        max-height: 85vh;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h3 {
        font-size: 1.0625rem;
    }

    .close-button {
        font-size: 1.75rem;
        width: 36px;
        height: 36px;
    }

    .video-content {
        padding: 0.75rem;
    }

    .video-content video {
        border-radius: 10px;
    }

    .chat-container {
        max-width: 100%;
    }

    .chat-messages {
        padding: 1rem;
        max-height: 45vh;
    }

    .message {
        max-width: 88%;
        font-size: 0.875rem;
        padding: 0.75rem 0.875rem;
    }

    .chat-input-container input {
        font-size: 0.875rem;
        padding: 0.75rem 0.875rem;
    }

    #sendButton {
        width: 42px;
        height: 42px;
    }

    .podcast-container {
        max-width: 100%;
    }

    .podcast-content {
        padding: 1rem;
    }

    .podcast-player {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .podcast-info {
        padding: 0.75rem 0;
    }

    .podcast-info h4 {
        font-size: 0.9375rem;
    }

    .episode-title {
        font-size: 1rem;
        line-height: 1.45;
    }

    .podcast-description {
        margin-top: 1rem;
    }

    .podcast-description p {
        font-size: 0.8125rem;
        line-height: 1.65;
    }

    .album-player {
        padding: 1.25rem 1rem 0;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .login-container {
        padding: 2rem 1.25rem;
    }

    .login-container h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .floating-music-container {
        top: 12px;
        right: 10px;
    }

    .floating-music-button {
        width: 48px;
        height: 48px;
    }

    .floating-music-label {
        font-size: 0.5rem;
        max-width: 120px;
        padding: 0.35rem 0.65rem;
        line-height: 1.4;
    }
}

/* Landscape mode on mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .login-screen {
        overflow-y: auto;
    }

    .login-container {
        margin: 2rem auto;
    }

    main {
        padding: 1.5rem 1rem 3rem;
    }

    .hero {
        margin-bottom: 1.5rem;
    }

    .features {
        margin-bottom: 1.5rem;
    }

    .cta-container {
        margin-bottom: 2rem;
    }

    .modal-content {
        max-height: 95vh;
        overflow-y: auto;
    }

    .chat-messages {
        max-height: 30vh;
    }

    .music-album-content {
        max-height: 70vh;
    }

    .floating-music-container {
        top: 10px;
    }
}

/* Ensure videos and audio are responsive */
video, audio {
    max-width: 100%;
    height: auto;
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
    .cta-button, .video-button, .podcast-button, .music-button {
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }

    .close-button {
        min-width: 44px;
        min-height: 44px;
        -webkit-tap-highlight-color: transparent;
    }

    .voice-button {
        min-width: 44px;
        min-height: 44px;
        -webkit-tap-highlight-color: transparent;
    }

    #sendButton {
        min-width: 48px;
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }

    .play-track-btn {
        min-width: 44px;
        min-height: 44px;
        -webkit-tap-highlight-color: transparent;
    }

    .floating-music-button {
        -webkit-tap-highlight-color: transparent;
    }

    /* Improve scrolling on mobile */
    .modal-content {
        -webkit-overflow-scrolling: touch;
    }

    .chat-messages {
        -webkit-overflow-scrolling: touch;
    }

    .music-album-content {
        -webkit-overflow-scrolling: touch;
    }
}

/* Prevent horizontal scrolling and pinch zoom on mobile */
@media (max-width: 768px) {
    * {
        max-width: 100vw;
    }

    body {
        touch-action: pan-y;
        overscroll-behavior-x: none;
    }

    .login-screen,
    header,
    main,
    .hero,
    .features,
    .cta-container,
    .modal-content {
        max-width: 100vw;
        overflow-x: hidden;
    }

    img, video, audio {
        max-width: 100%;
        height: auto;
    }
}
