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

:root {
    --pastel-pink: #f8e7e9;
    --pastel-lavender: #e8e4f3;
    --pastel-sage: #e8f5e8;
    --pastel-peach: #fef2e8;
    --soft-gray: #f7f7f7;
    --text-primary: #000;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --white: #ffffff;
    --accent: #d6336c;
    --gradient: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-lavender) 50%, var(--pastel-sage) 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #ffffff;
    min-height: 100vh;
}



.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 35px;
    align-items: center;
}

/* Hero section - new layout */
.hero-section {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
    width: 100%;
    max-width: 1200px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

/* Header styles */
.hero {
    text-align: left;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-left: -270px;
    margin-bottom: -10px;
}

.muse-logo {
    width: 150px;
    height: auto;
    display: block;
    margin-right: -50px;
}

.muse-text {
    font-family: 'Avenir', 'Arial', sans-serif;
    font-size: 2rem;
    font-weight: 450;
    color: var(--text-primary);
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.logo {
    font-size: 3rem;
    font-weight: 300;
    color: var(--accent);
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.headline {
    font-size: 3.4rem;
    font-weight: 650;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 30px;
    margin-left: 90px;
    line-height: 1.2;
}


.slide-left, .slide-right, .slide-down {
    opacity: 0;
    animation-fill-mode: forwards;
}

.slide-left {
    transform: translateX(-100px);
    animation: slideInLeft 0.8s ease-out 0.2s forwards;
}

.slide-right {
    transform: translateX(100px);
    animation: slideInRight 0.8s ease-out 0.7s forwards;
}

.slide-down {
    transform: translateY(40px);
    animation: slideInDown 0.8s ease-out 1.2s forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.subheadline {
    font-size: 1rem;
    font-weight: 450;
    margin-left: 95px;
    margin-bottom: -30px;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.6;
}

/* Video section */
.video-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 50%;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.muse-demo-video {
    width: 100%;
    height: auto;
    max-height: 700px;
    display: block;
    border-radius: 30px;
}

/* Features section */
.features-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px 0;
    text-align: center;
}

.frames-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    max-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* CTA section */
.cta-section {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 20px;
    text-align: left;
    max-width: 500px;
    width: 100%;
    margin-left: 50px;
}

.cta-headline {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.cta-subtext {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Form styles */
.email-form {
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-bottom: 15px;
    align-items: center;
}

.email-input {
    flex: 1 1 50%;
    min-width: 0;
    padding: 15px 20px;
    border: 1.6px solid black;
    border-right: none;
    border-radius: 20px 0 0 20px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    height: 54px;
    box-sizing: border-box;
}

.email-input:focus {
    outline: none;
    border-color: #D4A574;
}

.email-input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    flex: 1 1 27%;
    min-width: 0;
    padding: 15px 20px;
    background: #BCB88A;
    color: black;
    border: 1.6px solid black;
    border-left: none;
    border-radius: 0 20px 20px 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 164, 122, 0.3);
    height: 54px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.submit-btn:hover {
    background: #a8a47a;
    box-shadow: 0 6px 20px rgba(188, 184, 138, 0.4);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: -10px;
}

.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.success-message p {
    color: #2e7d32;
    font-weight: 500;
    margin: 0;
}


.footer {
    text-align: center;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Scroll arrow animation */
.scroll-arrow {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--text-muted);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

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

@keyframes mobileBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Mobile scroll indicator */
.mobile-scroll-indicator {
    display: none;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--text-muted);
    animation: mobileBounce 2s infinite;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.mobile-scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 1024px) {
    .logo-container {
        margin-left: -150px;
    }
    
    .headline {
        margin-left: 50px;
        font-size: 3rem;
    }
    
    .subheadline {
        margin-left: 55px;
    }
    
    .cta-section {
        margin-left: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 20px 40px;
        margin-top: 20px;
    }

    .hero-section {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .hero-content {
        order: 2;
        margin-top: 20px;
        text-align: center;
    }

    .subheadline{
        margin-top: 20px;
    }

    .video-section {
        order: 1;
        max-width: 100%;
        margin-top: 60px;
        margin-bottom: -70px;
    }
    
    .logo-container {
        display: flex;
        position: absolute;
        top: 20px;
        left: 20px;
        margin: 0;
        margin-top: -20px;
        margin-left: -20px;
        z-index: 1000;
        gap: 8px;
    }
    
    .muse-logo {
        width: 100px;
        height: auto;
        margin-right: -30px;
    }
    
    .muse-text {
        font-size: 1rem;
    }

    .headline {
        font-size: 2.5rem;
        margin-left: 0;
        text-align: center;
    }

    .subheadline {
        font-size: 1.1rem;
        margin-left: 0;
        text-align: center;
        margin-bottom: 0;
    }

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

    .muse-demo-video {
        max-height: 500px;
    }

    .cta-section {
        padding: 25px 20px;
        margin-left: 0;
        margin-top: -40px;
        text-align: center;
    }

    .form-group {
        flex-direction: column;
        gap: 15px;
    }

    .email-input {
        border-radius: 15px;
        border-right: 1.6px solid black;
        width: 100%;
    }

    .submit-btn {
        border-radius: 15px;
        border-left: 1.6px solid black;
        width: 100%;
        padding: 15px 25px;
    }
    
    .frames-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: -120px;
        margin-bottom: -40px;
    }
    
    .feature-card {
        max-width: 320px;
        width: 100%;
    }
    
    .scroll-arrow {
        display: none;
    }
    
    .mobile-scroll-indicator {
        display: flex;
        margin-top: -20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px 15px 30px;
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .muse-text {
        font-size: 1.5rem;
    }
    
    .subheadline {
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 20px 15px;
    }
    
    .email-input, .submit-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
        height: 48px;
    }
    
    .muse-demo-video {
        border-radius: 20px;
        max-height: 400px;
    }
    
    .feature-card {
        max-width: 280px;
    }
    
    .card-image {
        height: 300px;
    }
    
    .scroll-arrow {
        bottom: 15px;
        font-size: 18px;
    }
}