/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #F08E80;
    color: #FFFFFF;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
header {
    padding: 1.5rem 3rem;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #FFFFFF;
}

/* Hero Section */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-bottom: clamp(200px, 25vw, 450px);
    position: relative;
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 1500px;
    width: 100%;
    position: relative;
}

.hero-title {
    font-size: clamp(4rem, 16vw, 14rem);
    line-height: 0.85;
    letter-spacing: -0.03em;
    text-align: center;
    color: #FFFFFF;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.title-line {
    display: block;
}

/* Hero Image - Tilted and Behind Text */
.hero-image-container {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -40%) rotate(-12deg);
    width: clamp(400px, 50vw, 1000px);
    height: clamp(280px, 40vw, 750px);
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    clip-path: ellipse(48% 40% at 50% 50%);
}

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

/* Newsletter Section */
.newsletter {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.newsletter-content {
    max-width: 650px;
    width: 100%;
    text-align: center;
}

.newsletter-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 500;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.newsletter-subtitle {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: #FFFFFF;
    opacity: 0.95;
    line-height: 1.5;
}

/* Email Form */
.email-form {
    width: 100%;
}

.form-group {
    display: flex;
    gap: 1rem;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: center;
    margin-bottom: 1.5rem;
    align-items: center;
}

#email {
    flex: 1;
    max-width: 350px;
    padding: 0.9rem 1.3rem;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    border: none;
    background: #FFFFFF;
    color: #333333;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#email::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

#email:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.submit-btn {
    padding: 0.9rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-footnote {
    font-size: 0.85rem;
    color: #FFFFFF;
    opacity: 0.85;
    font-weight: 400;
}

/* Form Messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.form-message.error {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Marquee Section - Sine Wave Style */
.marquee-section {
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
    height: clamp(120px, 20vw, 200px);
}

.marquee-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.marquee-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.marquee-text {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 400;
    fill: #FFFFFF;
    letter-spacing: 0.01em;
}

/* Footer - White Background */
.footer {
    background-color: #FFFFFF;
    padding: 2.5rem 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-left {
    text-align: center;
}

.footer-right {
    text-align: center;
}

.footer h4 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.05em;
}

.footer a {
    color: #F08E80;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 1.5rem;
    }

    .logo {
        font-size: 0.75rem;
    }

    .hero {
        min-height: 65vh;
        margin-bottom: 1rem;
        padding-bottom: clamp(150px, 30vw, 300px);
    }

    .hero-title {
        font-size: clamp(3rem, 13vw, 7rem);
    }

    .hero-image-container {
        width: clamp(300px, 60vw, 500px);
        height: clamp(210px, 42vw, 350px);
        transform: translate(-50%, -50%) rotate(-3deg);
    }

    .newsletter {
        padding: 3rem 1.5rem;
    }

    .newsletter-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .newsletter-subtitle {
        font-size: clamp(0.8rem, 3vw, 0.95rem);
        margin-bottom: 2rem;
    }

    .form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    #email {
        max-width: 100%;
    }

    .submit-btn {
        width: 100%;
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer h4 {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }
}

@media (max-width: 480px) {
    .hero {
        padding-bottom: 180px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 14vw, 5rem);
    }

    .hero-image-container {
        width: 280px;
        height: 196px;
    }
}
