/* CoffeeWatch CSS - Based on Figma Design */
/* Design: 1440x10684px viewport */

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

/* Typography System */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #FAF7F4;
    overflow-x: hidden;
    color: #000000;
}

/* Container */
.coffeewatch-container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background-color: #FAF7F4;
}

/* Section 1: Header - Fixed Navigation */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 88px;
    background-color: #F9F6F2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 120px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7.11px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 28px;
    color: #000000;
}

.download-button {
    width: 148px;
    height: 42px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.download-button:hover {
    transform: scale(1.05);
}

.download-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Section 2: Hero Section */
.hero-section {
    position: relative;
    margin-top: 88px;
    width: 100%;
    max-width: 1440px;
    height: 1175px;
    border-radius: 80px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(147, 98, 78, 0.88) 0%, rgba(0, 0, 0, 0.2) 100%);
    margin-left: auto;
    margin-right: auto;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    mix-blend-mode: multiply;
}

.hero-content {
    position: absolute;
    top: 57px;
    left: 50%;
    transform: translateX(-50%) !important;
    width: 100%;
    max-width: 1204px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-logo {
    width: 120px;
    height: 120px;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-text {
    text-align: center;
    color: #FFFFFF;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 46px;
    line-height: 63px;
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
}

.hero-text h1 span {
    display: block;
    text-align: center;
}

.hero-text h1 span:first-child {
    font-size: 46px;
}

.hero-text h1 span:last-child {
    font-size: 46px;
    opacity: 0.95;
}

.hero-text p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 38px;
    opacity: 0.9;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.app-store-badge {
    position: absolute;
    top: 435px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 60px;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s ease;
}

.app-store-badge:hover {
    transform: translateX(-50%) scale(1.05);
}

.app-store-badge img {
    width: 100%;
    height: 100%;
}

/* Section 3: Features */
.features-section {
    padding: 138px 116px 200px;
    background-color: #FAF7F4;
}

.features-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 64px;
    text-align: center;
    margin-bottom: 64px;
    color: #000000;
}

.features-container {
    max-width: 1208px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 63px;
    margin-bottom: 120px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-item img {
    width: 550px;
    height: 604px;
    object-fit: contain;
    border-radius: 40px;
}

.feature-text {
    flex: 1;
    max-width: 595px;
}

.feature-text h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 64px;
    margin-bottom: 18px;
    color: #000000;
}

.feature-text p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 40px;
    color: #333333;
}

.divider {
    width: 985px;
    height: 1px;
    margin: 0 auto 120px;
    display: block;
}

/* Section 3-1: Apple Watch */
.watch-section {
    position: relative;
    width: 100%;
    height: 1046px;
    padding: 85px 120px;
    background-color: #FFFFFF;
    box-shadow: inset 0px -4px 4px rgba(174, 174, 174, 0.25),
                inset 0px 4px 4px rgba(196, 196, 196, 0.25);
}

.watch-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 64px;
    text-align: center;
    margin-bottom: 18px;
    color: #000000;
}

.watch-section p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 40px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 40px;
    color: #333333;
}

.watch-section img {
    position: absolute;
    top: 265px;
    left: 50%;
    transform: translateX(-50%);
    width: 1232px;
    height: 835px;
    object-fit: contain;
}

/* Section 4: iOS Widgets */
.widgets-section {
    position: relative;
    width: 100%;
    height: 1046px;
    padding: 106px 120px;
    background: linear-gradient(180deg, #FAF7F4 0%, #FFEEE6 100%);
}

.widgets-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 64px;
    text-align: center;
    margin-bottom: 18px;
    color: #000000;
}

.widgets-section p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #333333;
}

.widgets-section img {
    position: absolute;
    top: 322px;
    left: 0;
    right: 0;
    width: 100%;
    height: 724px;
    object-fit: cover;
}

/* Section 5: Smart Reminders */
.reminders-section {
    position: relative;
    width: 100%;
    height: 1046px;
    background-color: #FFFFFF;
    box-shadow: inset 0px -4px 4px rgba(174, 174, 174, 0.25),
                inset 0px 4px 4px rgba(196, 196, 196, 0.25);
}

.reminders-section img {
    position: absolute;
    top: 219px;
    left: 165px;
    width: 457px;
    height: 693px;
    object-fit: contain;
}

.reminders-text {
    position: absolute;
    top: 405px;
    left: 675px;
    width: 650px;
}

.reminders-text h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 64px;
    margin-bottom: 18px;
    color: #000000;
}

.reminders-text p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 40px;
    margin-bottom: 20px;
    color: #333333;
}

.reminders-text ul {
    list-style: none;
    padding-left: 0;
}

.reminders-text li {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 40px;
    color: #333333;
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}

.reminders-text li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #93624E;
}

/* Section 6: Coming Soon - AI */
.ai-section {
    position: relative;
    width: 100%;
    height: 905px;
    background-color: rgba(255, 255, 255, 0.19);
    padding: 226px 120px;
}

.ai-content {
    position: absolute;
    top: 226px;
    left: 120px;
    width: 681px;
}

.coming-soon {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 40px;
    color: #FF0000;
    text-transform: uppercase;
    letter-spacing: 0.48px;
}

.ai-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 64px;
    color: #333333;
    margin: 14px 0 18px;
}

.ai-content p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 40px;
    color: #666666;
}

.ai-section img {
    position: absolute;
    top: 235px;
    right: 110px;
    width: 457px;
    height: 693px;
    object-fit: contain;
}

/* Section 7: Why Choose */
.why-section {
    position: relative;
    width: 100%;
    height: 572px;
    background-color: #C5A38A;
    overflow: hidden;
    padding: 60px 120px;
}

.why-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 128.6%;
    min-width: 1852px;
    height: 578px;
    object-fit: cover;
    opacity: 0.5;
    mix-blend-mode: multiply;
}

.why-section h2 {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 64px;
    text-align: center;
    color: #FFFFFF;
    letter-spacing: 2px;
    margin-bottom: 20px;
    z-index: 2;
}

.why-section > p {
    position: relative;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 40px;
    z-index: 2;
}

.features-grid {
    position: relative;
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.feature-card {
    flex: 1;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(235, 233, 227, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card .emoji {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 19.5px;
    line-height: 28px;
    color: #040404;
    margin-bottom: 12px;
}

.feature-card p {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #5B5B5B;
}

/* Section 8: Download & Footer */
.download-section {
    position: relative;
    width: 100%;
    height: 1490px;
    background-color: #FAF7F4;
    overflow: hidden;
}

.wave-bg {
    position: absolute;
    top: 423px;
    left: 0;
    right: 0;
    width: 100%;
    height: 756px;
    object-fit: cover;
}

.download-content {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    width: 877px;
    text-align: center;
    z-index: 2;
}

.download-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 9px;
    border-radius: 20px;
}

.download-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 64px;
    margin-bottom: 9px;
    color: #000000;
}

.download-content p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #5B5B5B;
    letter-spacing: 0.78px;
    margin-bottom: 40px;
}

.app-store {
    width: 180px;
    height: 60px;
    cursor: pointer;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

.app-store:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #79553B;
    color: #E4E4E4;
}

.footer-top {
    padding: 40px 120px 60px;
    position: relative;
    min-height: 200px;
}

.footer-top > img,
.footer-top .footer-download-link {
    position: absolute;
    top: 146px;
    left: 121px;
    width: 160px;
    height: 50px;
}

.footer-top .footer-download-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-top .footer-download-link:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-left {
    max-width: 630px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.footer-logo span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 28px;
    color: #FFFFFF;
}

.footer-left p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #E4E4E4;
}

.footer-links {
    display: flex;
    gap: 100px;
}

.footer-column {
    min-width: 120px;
}

.footer-column > img {
    width: 20px;
    height: 20px;
    margin-bottom: 8px;
}

.footer-column h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
    color: #E4E4E4;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding: 20px 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #E4E4E4;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 24px;
    height: 24px;
    display: block;
    transition: opacity 0.2s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.social-links img {
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .coffeewatch-container {
        width: 100%;
    }

    .hero-section,
    .watch-section,
    .widgets-section,
    .reminders-section,
    .ai-section,
    .why-section,
    .download-section {
        width: 100%;
    }

    .hero-bg {
        width: 100%;
    }

    /* 确保hero-content在小屏幕上也保持居中 */
    .hero-content {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .widgets-section img {
        width: 100%;
    }

    .why-bg {
        width: 128.6%;
        min-width: 100%;
    }

    .wave-bg {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .header-section,
    .features-section,
    .watch-section,
    .widgets-section,
    .reminders-section,
    .ai-section,
    .why-section,
    .footer-top,
    .footer-bottom {
        padding-left: 60px;
        padding-right: 60px;
    }

    .hero-content {
        width: 100%;
        max-width: calc(100% - 120px);
        padding: 0 20px;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .features-container {
        width: 100%;
    }

    .feature-item {
        gap: 40px;
    }

    .feature-item img {
        width: 450px;
        height: 494px;
    }
}

@media (max-width: 768px) {
    .header-section {
        padding: 0 20px;
        height: 70px;
    }

    .logo-text {
        font-size: 24px;
    }

    .download-button {
        width: 120px;
        height: 36px;
    }

    .hero-section {
        height: 800px;
        margin-top: 70px;
        border-radius: 40px;
    }

    .hero-text h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .hero-text p {
        font-size: 18px;
        line-height: 28px;
    }

    .features-section {
        padding: 80px 20px 120px;
    }

    .features-section h2 {
        font-size: 36px;
        line-height: 48px;
    }

    .feature-item {
        flex-direction: column;
        gap: 30px;
    }

    .feature-item.reverse {
        flex-direction: column;
    }

    .feature-item img {
        width: 100%;
        max-width: 550px;
        height: auto;
    }

    .feature-text h3 {
        font-size: 32px;
        line-height: 48px;
    }

    .feature-text p {
        font-size: 20px;
        line-height: 32px;
    }

    .watch-section,
    .widgets-section {
        height: auto;
        padding: 60px 20px;
    }

    .watch-section img,
    .widgets-section img {
        position: relative;
        top: 40px;
        width: 100%;
        height: auto;
    }

    .reminders-section {
        height: auto;
        padding: 60px 20px;
    }

    .reminders-section img {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 350px;
        margin: 0 auto 40px;
    }

    .reminders-text {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .ai-section {
        height: auto;
        padding: 60px 20px;
    }

    .ai-content {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .ai-section img {
        position: relative;
        top: 40px;
        right: 0;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .why-section {
        height: auto;
        padding: 60px 20px;
    }

    .features-grid {
        flex-direction: column;
    }

    .download-section {
        height: auto;
        padding-bottom: 400px;
    }

    .download-content {
        width: calc(100% - 40px);
        top: 40px;
    }

    .wave-bg {
        top: 300px;
        height: 500px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
}