/* -------------------------------------- */
/* Base Styles */
/* -------------------------------------- */
.page-register {
    font-family: 'Arial', sans-serif;
    color: #1F2D3D; /* Text Main */
    background: #F4F7FB; /* Background */
    line-height: 1.6;
}

.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

.page-register__section {
    padding: 60px 0;
}

.page-register__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-register__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4A8BFF 0%, #2F6BFF 100%);
    border-radius: 2px;
}

.page-register__section-title--light {
    color: #ffffff;
}

.page-register__section-title--light::after {
    background: #ffffff;
}

.page-register__text-block {
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #1F2D3D;
}

.page-register__text-block--light {
    color: #f0f0f0;
}

/* -------------------------------------- */
/* Hero Section */
/* -------------------------------------- */
.page-register__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px; /* Ensure hero section has a minimum height */
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default desktop */
}

.page-register__hero-content {
    position: relative;
    padding: 40px 15px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.page-register__main-title {
    font-size: 48px;
    font-weight: 800;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__description {
    font-size: 20px;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-register__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-register__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-register__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-register__btn-primary--large {
    min-width: 220px;
    padding: 18px 35px;
    font-size: 20px;
}

.page-register__btn-secondary {
    background: #ffffff; /* Card BG */
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__btn-secondary:hover {
    background: #f0f0f0;
    color: #2F6BFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-register__btn-secondary--light {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-register__btn-secondary--light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* -------------------------------------- */
/* Why Register Section */
/* -------------------------------------- */
.page-register__why-register {
    background: #F4F7FB; /* Background */
}

.page-register__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-register__feature-card {
    background: #ffffff; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-register__feature-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: contain;
}

.page-register__feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
}

.page-register__feature-text {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
    line-height: 1.6;
}

/* -------------------------------------- */
/* Registration Guide Section */
/* -------------------------------------- */
.page-register__registration-guide {
    background: #ffffff; /* Card BG */
}

.page-register__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-register__step-item {
    text-align: center;
    position: relative;
    padding: 20px;
}

.page-register__step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.2);
}

.page-register__step-title {
    font-size: 22px;
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
}

.page-register__step-text {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
    line-height: 1.6;
}

.page-register__cta-buttons--center {
    margin-top: 50px;
}

/* -------------------------------------- */
/* Security Info Section */
/* -------------------------------------- */
.page-register__security-info {
    background: #2F6BFF;
    color: #ffffff;
}

.page-register__dark-section {
    background: #2F6BFF;
    color: #ffffff;
}

.page-register__security-image {
    width: 100%;
    height: auto;
    max-width: 700px;
    margin: 40px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.page-register__security-list {
    list-style: none;
    padding: 0;
    margin: 30px auto 40px auto;
    max-width: 800px;
    text-align: center;
}

.page-register__security-list li {
    font-size: 18px;
    color: #f0f0f0;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-register__security-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
}

/* -------------------------------------- */
/* FAQ Section */
/* -------------------------------------- */
.page-register__faq-section {
    background: #F4F7FB; /* Background */
}

details.page-register__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #D6E2FF; /* Border */
    overflow: hidden;
    background: #ffffff; /* Card BG */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-register__faq-item summary.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #000000; /* Custom Color_1776249996415 */
}

details.page-register__faq-item summary.page-register__faq-question::-webkit-details-marker {
    display: none;
}

details.page-register__faq-item summary.page-register__faq-question:hover {
    background: #f5f5f5;
}

.page-register__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.page-register__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #2F6BFF;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-register__faq-item .page-register__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #1F2D3D; /* Text Main */
    font-size: 16px;
}

/* -------------------------------------- */
/* Final CTA Section */
/* -------------------------------------- */
.page-register__final-cta {
    background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%);
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-register__cta-content {
    max-width: 900px;
}

.page-register__final-cta .page-register__section-title {
    color: #ffffff;
}

.page-register__final-cta .page-register__section-title::after {
    background: #ffffff;
}

.page-register__final-cta .page-register__text-block {
    color: #f0f0f0;
    margin-bottom: 50px;
}

/* -------------------------------------- */
/* Responsive Styles */
/* -------------------------------------- */
@media (max-width: 1024px) {
    .page-register__main-title {
        font-size: 42px;
    }
    .page-register__description {
        font-size: 18px;
    }
    .page-register__section-title {
        font-size: 32px;
    }
    .page-register__feature-title {
        font-size: 22px;
    }
    .page-register__step-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-register__hero-section {
        padding-top: 10px; /* Small top padding */
    }
    .page-register__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-register__hero-content {
        padding: 30px 15px;
    }
    .page-register__main-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 15px;
    }
    .page-register__description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 20px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-register__btn-primary--large, .page-register__btn-secondary--large {
        min-width: unset;
    }

    /* 通用图片与容器 */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-register__container,
    .page-register__section,
    .page-register__card,
    .page-register__box,
    .page-register__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Decorative H1 + long text SEO area */
    .page-register__section-title {
        font-size: clamp(24px, 7vw, 30px);
        margin-bottom: 30px;
    }
    .page-register__section-title::after {
        width: 60px;
    }
    .page-register__text-block {
        font-size: 15px;
        text-align: left;
        margin-bottom: 20px;
    }
    .page-register__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-register__feature-icon {
        max-width: 100px;
    }
    .page-register__feature-title {
        font-size: 20px;
    }
    .page-register__steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-register__step-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
    }
    .page-register__step-title {
        font-size: 18px;
    }
    .page-register__security-image {
        max-width: 100%;
    }
    .page-register__security-list li {
        font-size: 16px;
        text-align: left;
    }

    /* FAQ Section */
    details.page-register__faq-item summary.page-register__faq-question {
        padding: 15px;
    }
    .page-register__faq-qtext {
        font-size: 16px;
    }
    .page-register__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-register__faq-item .page-register__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }

    .page-register__section {
        padding: 40px 0;
    }
    .page-register__final-cta {
        padding: 60px 0;
    }
}