/* ========================================
   北京大运河康养论坛 专题页样式
   主色：#1A5276 深蓝 / #2D8C87 青绿 / #C8962E 金色
   适老化设计：大字号、大按钮、高对比度
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1A5276;
    --primary-teal: #2D8C87;
    --accent-gold: #C8962E;
    --accent-gold-light: #E8C872;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-gray: #5D6D7E;
    --text-light: #7F8C8D;
    --border-color: #E8ECF0;
    --shadow-sm: 0 2px 8px rgba(26, 82, 118, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 82, 118, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 82, 118, 0.16);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

/* ========== 导航栏（复用官网风格） ========== */
.forum-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.forum-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.forum-nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.forum-nav-logo span {
    color: var(--accent-gold);
}

.forum-nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.forum-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.forum-nav-links a:hover {
    color: var(--primary-teal);
}

.forum-nav-cta {
    background: var(--accent-gold);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
    font-size: 16px;
}

.forum-nav-cta:hover {
    background: #B8860B;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ========== Hero Banner ========== */
.forum-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0E3D5C 50%, #1A5276 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.forum-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200, 150, 46, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(45, 140, 135, 0.2) 0%, transparent 50%);
}

.forum-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
    z-index: 1;
}

.forum-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 100px;
    width: 100%;
    text-align: center;
}

.forum-hero-tag {
    display: inline-block;
    background: rgba(200, 150, 46, 0.2);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold-light);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.forum-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.forum-hero-title .gold {
    color: var(--accent-gold-light);
}

.forum-hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.6;
}

.forum-hero-info {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.forum-hero-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 18px;
}

.forum-hero-info-item .icon {
    width: 44px;
    height: 44px;
    background: rgba(200, 150, 46, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.forum-hero-info-item .label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2px;
}

.forum-hero-info-item .value {
    font-size: 18px;
    font-weight: 600;
}

.forum-hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold);
    color: #fff;
    padding: 16px 48px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 56px;
    min-width: 180px;
    box-shadow: 0 4px 16px rgba(200, 150, 46, 0.4);
}

.btn-primary:hover {
    background: #B8860B;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200, 150, 46, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    min-height: 56px;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ========== 通用区块 ========== */
.forum-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.forum-section-title {
    text-align: center;
    margin-bottom: 56px;
}

.forum-section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.forum-section-title .subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.forum-section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ========== 四大亮点 ========== */
.forum-highlights {
    background: var(--bg-light);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.highlight-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-teal);
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.highlight-card:nth-child(2) { border-top-color: var(--accent-gold); }
.highlight-card:nth-child(3) { border-top-color: var(--primary-dark); }
.highlight-card:nth-child(4) { border-top-color: #E67E22; }

.highlight-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
}

.highlight-card:nth-child(2) .highlight-icon {
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
}

.highlight-card:nth-child(3) .highlight-icon {
    background: linear-gradient(135deg, var(--primary-dark), #0E3D5C);
}

.highlight-card:nth-child(4) .highlight-icon {
    background: linear-gradient(135deg, #E67E22, #D35400);
}

.highlight-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.highlight-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== 议程概览 ========== */
.agenda-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.agenda-tab {
    padding: 12px 32px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background: var(--bg-white);
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 48px;
}

.agenda-tab:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.agenda-tab.active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.agenda-content {
    display: none;
}

.agenda-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.agenda-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.agenda-list::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.agenda-item {
    position: relative;
    padding: 16px 0 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.agenda-item:last-child {
    border-bottom: none;
}

.agenda-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-teal);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--primary-teal);
}

.agenda-item.ceremony::before {
    background: var(--accent-gold);
    box-shadow: 0 0 0 2px var(--accent-gold);
}

.agenda-time {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-family: "SF Mono", Monaco, monospace;
}

.agenda-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.agenda-title .ceremony-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    color: #fff;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 500;
    vertical-align: middle;
}

.agenda-speaker {
    font-size: 15px;
    color: var(--text-gray);
}

/* ========== 四项仪式 ========== */
.forum-ceremonies {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0E3D5C 100%);
    color: #fff;
}

.forum-ceremonies .forum-section-title h2 {
    color: #fff;
}

.forum-ceremonies .forum-section-title .subtitle {
    color: rgba(255,255,255,0.7);
}

.ceremonies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ceremony-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(200, 150, 46, 0.3);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.ceremony-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.ceremony-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.ceremony-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.ceremony-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ========== 组织机构 ========== */
.org-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.org-item {
    padding: 24px 16px;
}

.org-label {
    display: inline-block;
    background: var(--primary-teal);
    color: #fff;
    font-size: 14px;
    padding: 4px 16px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-weight: 500;
}

.org-item:nth-child(2) .org-label { background: var(--primary-dark); }
.org-item:nth-child(3) .org-label { background: var(--accent-gold); }
.org-item:nth-child(4) .org-label { background: #7F8C8D; }

.org-name {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.6;
}

/* ========== 报名区域 ========== */
.forum-register {
    background: var(--bg-light);
}

.register-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
    border-top: 6px solid var(--accent-gold);
}

.register-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 8px;
}

.register-card .register-desc {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 32px;
    font-size: 16px;
}

/* ========== 报名表单 ========== */
.register-form {
    margin-bottom: 32px;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 17px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(45, 140, 135, 0.15);
}

.form-group input::placeholder {
    color: #aaa;
}

.radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-primary);
    transition: all 0.2s;
    flex: 1;
    min-width: 100px;
    justify-content: center;
}

.radio-item:hover {
    border-color: var(--primary-teal);
    background: rgba(45, 140, 135, 0.05);
}

.radio-item input[type="radio"] {
    accent-color: var(--primary-teal);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-item:has(input:checked) {
    border-color: var(--primary-teal);
    background: rgba(45, 140, 135, 0.1);
    font-weight: 500;
}

.form-actions {
    text-align: center;
    margin-top: 28px;
}

.btn-submit {
    min-width: 200px;
    min-height: 52px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-error {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fef0f0;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 15px;
    text-align: center;
}

/* 报名成功提示 */
.register-success {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 32px;
    background: linear-gradient(135deg, rgba(45, 140, 135, 0.08), rgba(200, 150, 46, 0.08));
    border-radius: 12px;
    border: 2px solid rgba(45, 140, 135, 0.2);
}

.success-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto 16px;
    background: var(--primary-teal);
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    border-radius: 50%;
}

.register-success h4 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.register-success p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.register-success .success-tip {
    font-size: 14px;
    color: var(--text-secondary);
}

.register-success a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 500;
}

.register-hours {
    font-size: 14px !important;
    color: var(--text-secondary) !important;
    margin-top: 8px !important;
}

.register-contact {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.register-contact h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.register-contact p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.register-contact a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 500;
}

.register-contact a:hover {
    text-decoration: underline;
}

/* ========== 页脚 ========== */
.forum-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 24px 24px;
    text-align: center;
    font-size: 14px;
}

.forum-footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.forum-footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.forum-footer-links a:hover {
    color: var(--accent-gold-light);
}

.forum-footer-copy {
    margin-bottom: 8px;
}

.forum-footer-icp a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.forum-footer-icp a:hover {
    color: var(--accent-gold-light);
}

/* ========== 响应式 ========== */
@media (max-width: 960px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ceremonies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .org-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .forum-hero-title {
        font-size: 32px;
    }
    .forum-hero-subtitle {
        font-size: 18px;
    }
    .forum-section {
        padding: 60px 20px;
    }
    .forum-section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .forum-nav-links {
        display: none;
    }
    .forum-hero {
        min-height: 480px;
    }
    .forum-hero-inner {
        padding: 60px 20px 80px;
    }
    .forum-hero-title {
        font-size: 26px;
    }
    .forum-hero-subtitle {
        font-size: 16px;
    }
    .forum-hero-info {
        gap: 24px;
        flex-direction: column;
        align-items: center;
    }
    .forum-hero-info-item {
        text-align: center;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .ceremonies-grid {
        grid-template-columns: 1fr;
    }
    .org-grid {
        grid-template-columns: 1fr 1fr;
    }
    .register-card {
        padding: 32px 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .radio-group {
        flex-direction: column;
    }
    .radio-item {
        flex: none;
        justify-content: flex-start;
    }
    .btn-submit {
        width: 100%;
    }
    .btn-primary {
        padding: 14px 32px;
        font-size: 18px;
        width: 100%;
    }
    .btn-outline {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
    }
    .forum-hero-cta {
        flex-direction: column;
    }
    .agenda-tabs {
        gap: 8px;
    }
    .agenda-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    .forum-section {
        padding: 48px 16px;
    }
    .forum-section-title h2 {
        font-size: 24px;
    }
}
