.page-register {
    color: #ffffff; /* Body background is dark, so text should be light */
    background-color: #0a0a0a; /* Ensure consistency with shared body background */
    padding-top: var(--header-offset, 120px); /* Fixed header offset, assuming shared.css doesn't set it on body */
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Brand colors gradient */
    color: #ffffff;
    overflow: hidden;
}

.page-register__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-register__hero-content {
    flex: 1;
    z-index: 1;
}

.page-register__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-register__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-register__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FFD700;
    color: #0a0a0a; /* Dark text for gold button */
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-register__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-register__hero-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 20px;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

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

.page-register__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    color: #FFD700; /* Gold title */
}

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

.page-register__benefit-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.page-register__benefit-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.page-register__benefit-icon img {
     /* Display size, actual image generated is larger */
    
    object-fit: contain;
}

.page-register__benefit-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-register__benefit-description {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Form Section */
.page-register__form-section {
    padding: 80px 20px;
    background-color: #1a1a1a; /* Slightly lighter dark background for form */
    color: #ffffff;
}

.page-register__form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-register__form-group {
    margin-bottom: 25px;
}

.page-register__form-label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #f0f0f0;
}

.page-register__form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    font-size: 16px;
    color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-register__form-input::placeholder {
    color: #cccccc;
    opacity: 0.7;
}

.page-register__form-input:focus {
    outline: none;
    border-color: #FFD700;
    background-color: rgba(255, 255, 255, 0.15);
}

.page-register__phone-input-group {
    display: flex;
    gap: 10px;
}

.page-register__form-input--phone {
    flex: 1;
}

.page-register__btn-secondary {
    display: inline-block;
    padding: 12px 20px;
    background-color: #8B0000; /* Dark red */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.4);
}

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

.page-register__form-checkbox {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.page-register__form-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #FFD700; /* Gold checkbox */
}

.page-register__form-checkbox label {
    font-size: 15px;
    color: #f0f0f0;
}

.page-register__link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-register__link:hover {
    color: #e6c200;
}

.page-register__form-submit {
    width: 100%;
    padding: 15px;
    font-size: 22px;
    border-radius: 8px;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 20px;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-register__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ容器样式 */
.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border: 1px solid rgba(255, 215, 0, 0.2);
}

/* FAQ默认状态 - 答案隐藏 */
.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px; /* Adjusted padding */
  opacity: 0;
  color: #f0f0f0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* 🚨 Use !important, value large enough */
  padding: 20px !important; /* Adjusted padding */
  opacity: 1;
  background: rgba(255, 215, 0, 0.05); /* Lighter background for active answer */
  border-radius: 0 0 8px 8px;
}

/* 问题样式 */
.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px; /* Adjusted padding */
  background: rgba(255, 255, 255, 0.1); /* Slightly lighter background */
  border: none; /* Border handled by parent item */
  border-radius: 8px; /* Handled by parent item, only top corners visually */
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
  color: #FFD700; /* Gold question text */
}

.page-register__faq-question:hover {
  background: rgba(255, 255, 255, 0.15); /* Lighter hover background */
}

.page-register__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

/* 问题标题样式 */
.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevents h3 from blocking click event */
  color: inherit; /* Inherit color from parent */
}

/* 切换图标 */
.page-register__faq-toggle {
  font-size: 28px; /* Slightly larger icon */
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px; /* Adjusted margin */
  pointer-events: none; /* Prevents icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* Slightly larger size */
  height: 32px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: #8B0000; /* Dark red when active */
  transform: rotate(45deg); /* Use rotation for '+' to 'x' effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-register__hero-content {
        order: 2;
    }

    .page-register__hero-image-wrapper {
        order: 1;
        margin-bottom: 40px;
    }

    .page-register__hero-title {
        font-size: 42px;
    }

    .page-register__hero-description {
        font-size: 17px;
    }

    .page-register__benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-register {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }

    .page-register__hero-section {
        padding: 60px 15px;
    }

    .page-register__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-register__hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .page-register__btn-primary {
        padding: 12px 25px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-register__section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .page-register__benefits-section,
    .page-register__form-section,
    .page-register__faq-section {
        padding: 50px 15px;
    }

    .page-register__benefits-grid {
        grid-template-columns: 1fr;
    }

    .page-register__benefit-card {
        padding: 25px;
    }

    .page-register__benefit-title {
        font-size: 20px;
    }

    .page-register__benefit-description {
        font-size: 15px;
    }

    .page-register__form {
        padding: 30px 20px;
    }

    .page-register__form-group {
        margin-bottom: 20px;
    }

    .page-register__form-label {
        font-size: 14px;
    }

    .page-register__form-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .page-register__phone-input-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-register__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-register__form-submit {
        font-size: 20px;
        padding: 14px;
    }

    .page-register__form-checkbox label {
        font-size: 14px;
    }

    /* FAQ Mobile */
    .page-register__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-register__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px); /* Adjust width for toggle icon */
    }
    
    .page-register__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .page-register__faq-answer {
        padding: 0 15px;
    }
    
    .page-register__faq-item.active .page-register__faq-answer {
        padding: 15px !important;
    }

    /* All images responsive */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    /* All containers responsive */
    .page-register__container,
    .page-register__hero-container,
    .page-register__benefits-section,
    .page-register__form-section,
    .page-register__faq-section,
    .page-register__benefits-grid,
    .page-register__benefit-card,
    .page-register__form,
    .page-register__form-group,
    .page-register__phone-input-group,
    .page-register__faq-list,
    .page-register__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Specific padding for sections to avoid content touching edges on mobile */
    .page-register__hero-section,
    .page-register__benefits-section,
    .page-register__form-section,
    .page-register__faq-section {
      padding-left: 15px;
      padding-right: 15px;
    }
}

/* Ensure no filter on images */
.page-register img {
  filter: none !important;
}