/* style/register.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General Page Styles */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-register__section-title {
    font-size: 2.8em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-register__section-intro {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    overflow: hidden;
    background: linear-gradient(135deg, #017439, #005f2f); /* Brand color gradient */
    min-height: 600px;
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-register__hero-title {
    font-size: 3.5em;
    color: #FFFF00; /* Register/Login font color */
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
}

.page-register__hero-description {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Buttons */
.page-register__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-register__btn-primary {
    background-color: #C30808; /* Custom Register color */
    color: #FFFF00; /* Custom Register/Login font color */
    border: 2px solid #C30808;
}

.page-register__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    transform: translateY(-2px);
}

.page-register__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-register__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    transform: translateY(-2px);
}

.page-register__btn-link {
    background-color: transparent;
    color: #FFFF00; /* Custom Register/Login font color */
    border: 1px solid #FFFF00;
    padding: 10px 20px;
    font-size: 1em;
}

.page-register__btn-link:hover {
    background-color: #FFFF00;
    color: #017439;
}

.page-register__btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Dark Background Sections */
.page-register__dark-bg {
    background-color: #1a1a2e; /* Body background color */
    color: #ffffff;
    padding: 60px 0;
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 60px 0;
}

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

.page-register__benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.page-register__benefit-title {
    font-size: 1.6em;
    color: #FFFF00; /* Custom Register/Login font color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__benefit-text {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1; /* Allow text to grow */
}

/* Guide Section */
.page-register__guide-section {
    padding: 60px 0;
    background-color: #0d0d0d; /* Slightly darker background for contrast */
}

.page-register__guide-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 25px;
}

.page-register__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #C30808; /* Custom Register color */
    background-color: #FFFF00; /* Custom Register/Login font color */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-register__step-content {
    flex-grow: 1;
}

.page-register__step-title {
    font-size: 1.8em;
    color: #FFFF00; /* Custom Register/Login font color */
    margin-bottom: 10px;
    font-weight: bold;
}