:root {
    --green-50: #ecfdf5;
    --green-100: #d1fae5;
    --green-200: #a7f3d0;
    --green-400: #34d399;
    --green-500: #10b981;
    --green-600: #059669;
    --green-700: #047857;
    --green-800: #065f46;
    --green-900: #064e3b;
    --teal-500: #14b8a6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(16, 185, 129, 0.1);
    --shadow-lg: 0 12px 40px rgba(16, 185, 129, 0.15);
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-full: 50%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-800);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===================== LOGO ===================== */

.logo {
    width: 8rem;
    padding: 1.5rem 0;
}

@media (max-width: 768px) {
    .logo {
        width: 6.5rem;
    }
}

/* ===================== HERO SECTION ===================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 50%, #0d9488 100%);
    padding-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: 60px;
    left: -120px;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 40%;
    right: 30%;
    background: rgba(255, 255, 255, 0.04);
}

.hero-section > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-content {
    flex: 1;
    align-items: center;
    padding-bottom: 5rem;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.text-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.05em 0.25em;
    border-radius: 0.3em;
}

/* Feature list */

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 0.85rem;
    font-size: 1.2rem;
    backdrop-filter: blur(4px);
}

/* CTA button */

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-600);
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 22rem;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
}

.btn-cta:active {
    transform: translateY(-1px);
}

#download-btn {
    border: none;
    background: var(--white);
    color: var(--green-600);
}

/* Device showcase */

.hero-image-area {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
}

.device-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.device-pc {
    width: 100%;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.device-mobile {
    position: absolute;
    width: 28%;
    bottom: -8%;
    left: -5%;
    border-radius: 1rem;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.2));
}

#mobile-pic {
    position: absolute;
    width: 28%;
    bottom: -8%;
    left: -5%;
}

/* Hero wave */

.hero-wave {
    width: 100%;
    line-height: 0;
    margin-top: auto;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ===================== DOWNLOAD SECTION ===================== */

.download-section {
    background: var(--gray-50);
    padding: 5rem 0 6rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 3rem;
    opacity: 0.7;
}

.download-card {
    background: var(--white);
    border: 2px solid var(--green-100);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    max-width: 720px;
    margin: 0 auto;
}

.platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.5rem 1rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    color: var(--gray-800);
    cursor: pointer;
    transition: all 0.25s ease;
}

.platform-btn:hover {
    border-color: var(--green-400);
    background: var(--green-50);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--green-700);
}

.platform-btn:active {
    transform: translateY(-1px);
}

.platform-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.bottom-download-img {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
}

.download-link {
    text-decoration: none;
    cursor: pointer;
    user-select: none;
}

.download-link:hover {
    opacity: 0.8;
}

/* ===================== FOOTER ===================== */

.footer-area {
    background-color: var(--green-900);
    color: var(--white);
    padding: 3.5rem 0 0;
}

.footer-top {
    padding-bottom: 2rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--green-200);
}

.footer-nav .nav-item {
    margin: 0;
}

.footer-nav .nav-link,
.footer-nav .btn {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    padding: 0.3rem 0;
    transition: color 0.2s ease;
}

.footer-nav .nav-link:hover,
.footer-nav .btn:hover {
    color: var(--green-200);
}

.slug {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.2rem;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.social-icon-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.25rem;
}

.address {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
}

.footer-area li {
    margin: 0;
}

/* ===================== RESPONSIVE ===================== */

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

    .hero-content {
        padding-bottom: 3rem;
    }

    .hero-image-area {
        padding-top: 3rem;
    }

    .device-showcase {
        max-width: 380px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        font-size: 0.95rem;
    }

    .feature-icon {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1rem;
        border-radius: 0.7rem;
    }

    .btn-cta {
        max-width: 100%;
        font-size: 1.1rem;
        padding: 0.9rem 2rem;
    }

    .download-section {
        padding: 3.5rem 0 4rem;
    }

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

    .download-card {
        padding: 1.5rem 1rem;
    }

    .platform-btn {
        padding: 1rem 0.5rem;
    }

    .bottom-download-img {
        width: 1.8rem;
        height: 1.8rem;
    }

    .platform-name {
        font-size: 0.85rem;
    }

    .device-mobile {
        width: 25%;
    }

    #mobile-pic {
        width: 25%;
    }
}

@media (max-width: 575px) {
    .hero-section {
        color: var(--white);
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .feature-list {
        gap: 0.85rem;
    }

    .feature-item {
        font-size: 0.9rem;
        gap: 0.75rem;
    }

    .btn-cta {
        font-size: 1.05rem;
    }

    .hero-image-area {
        padding-top: 2rem;
    }

    .device-showcase {
        max-width: 300px;
    }

    .shape-1 {
        width: 350px;
        height: 350px;
    }

    .shape-2 {
        width: 250px;
        height: 250px;
    }

    .shape-3 {
        display: none;
    }

    .hero-wave svg {
        height: 50px;
    }

    .footer-title {
        margin-top: 0.5rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }

    .feature-item {
        font-size: 1.15rem;
    }

    .device-showcase {
        max-width: 540px;
    }
}
