.page-register {
    font-family: Arial, sans-serif;
    color: var(--Text-Main); /* Default text color for dark body background */
    background-color: var(--Deep-Navy); /* Ensure content background contrasts with text */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Minimal top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--Deep-Navy); /* Custom Deep Navy */
    overflow: hidden;
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust as needed */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-register__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--Text-Main); /* Custom Text Main */
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.page-register__description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--Text-Secondary); /* Custom Text Secondary */
    margin-bottom: 30px;
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-register__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Custom Button Gradient */
    color: #ffffff; /* White text for primary button */
    border: none;
}

.page-register__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__btn-secondary {
    background: #ffffff; /* White background for secondary button */
    color: var(--Primary-Color); /* Primary color text for secondary button */
    border: 2px solid var(--Primary-Color); /* Primary color border */
}

.page-register__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-register__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    color: var(--Text-Main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-register__section-description {
    font-size: 1.05em;
    color: var(--Text-Secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.page-register__card {
    background-color: var(--Card-BG); /* Custom Card BG */
    border: 1px solid var(--Border-Color); /* Custom Border Color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-register__card:hover {
    transform: translateY(-5px);
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 0;
    background-color: var(--Deep-Navy);
}

.page-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-register__benefit-icon {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-register__benefit-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--Text-Main);
    margin-bottom: 15px;
}

.page-register__benefit-text {
    font-size: 0.95em;
    color: var(--Text-Secondary);
    line-height: 1.6;
}

/* Guide Section */
.page-register__guide-section {
    padding: 80px 0;
    background-color: var(--Deep-Navy);
}

.page-register__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-register__step-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--Text-Main);
    margin-bottom: 15px;
}

.page-register__step-text {
    font-size: 0.95em;
    color: var(--Text-Secondary);
    line-height: 1.6;
}

.page-register__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Security Section */
.page-register__security-section {
    padding: 80px 0;
    background-color: var(--Deep-Navy);
}

.page-register__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-register__security-text-block {
    flex: 1;
}

.page-register__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--Text-Main);
    margin-bottom: 15px;
}

.page-register__text {
    font-size: 1em;
    color: var(--Text-Secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.page-register__security-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-register__security-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
    background-color: var(--Deep-Navy);
}

.page-register__faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-register__faq-item {
    background-color: var(--Card-BG);
    border: 1px solid var(--Border-Color);
    border-radius: 12px;
    overflow: hidden;
    color: var(--Text-Secondary);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--Text-Main);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.page-register__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--Gold); /* Custom Gold */
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg);
}

.page-register__faq-answer {
    padding: 0 30px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--Text-Secondary);
}

/* Final CTA Section */
.page-register__final-cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--Deep-Navy);
}

/* --- Responsive Styles --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-register__hero-content {
        max-width: 700px;
    }

    .page-register__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-register__section-title {
        font-size: clamp(1.6em, 4vw, 2.5em);
    }

    .page-register__benefits-grid,
    .page-register__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-register__security-content {
        flex-direction: column;
        text-align: center;
    }

    .page-register__security-image-wrapper {
        margin-top: 30px;
    }
}

/* Mobile (max-width: 768px) - 必写清单 */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-register__hero-section {
        padding-top: 10px !important; /* Minimal top padding, body handles header offset */
        padding-bottom: 40px;
    }

    .page-register__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-register__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-register__hero-content {
        padding: 0 15px;
    }

    .page-register__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-register__description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    /* 产品展示图区域 (This page doesn't have a gameshow-like product grid, so general grid rules apply) */
    .page-register__benefits-grid,
    .page-register__steps-grid {
        grid-template-columns: 1fr; /* Single column layout for mobile */
        gap: 20px;
    }

    /* 通用图片与容器 */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-register__container,
    .page-register__section,
    .page-register__card,
    .page-register__hero-section,
    .page-register__benefits-section,
    .page-register__guide-section,
    .page-register__security-section,
    .page-register__faq-section,
    .page-register__final-cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 按钮与按钮容器 */
    .page-register__cta-button,
    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    .page-register__button-group {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        margin-top: 30px;
    }

    /* 其他内容模块 */
    .page-register__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
        margin-bottom: 15px;
    }

    .page-register__section-description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    .page-register__benefit-title,
    .page-register__step-title,
    .page-register__sub-title {
        font-size: 1.3em;
    }

    .page-register__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-register__faq-answer {
        padding: 0 20px 15px;
    }

    .page-register__security-content {
        gap: 20px;
    }
}