/* ========================================
   Access 开发框架页面样式
   字体基准与首页一致: body 14px / line-height 26px
   ======================================== */

/* Hero Section */
.framework-hero {
    background: #ffffff;
}

.framework-hero-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.framework-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.framework-hero-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 30px;
    margin-bottom: 30px;
}

.framework-hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.framework-hero-actions .btn {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 30px;
    font-weight: 600;
}

.framework-hero-actions .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.framework-hero-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

.framework-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.framework-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 15px;
}

.framework-stats .stat-item i {
    color: var(--primary-color);
    font-size: 16px;
}

.framework-hero-image {
    padding: 40px;
}

.framework-icon-large {
    font-size: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.85;
}

/* Feature Cards */
.framework-features .feature-row {
    display: flex;
    flex-wrap: wrap;
}

.framework-features .feature-row > [class*="col-"] {
    display: flex;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    width: 100%;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 75px;
    height: 75px;
    line-height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 26px;
    margin: 0 auto 20px;
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 28px;
}

/* Architecture Section */
.architecture-layers {
    max-width: 800px;
    margin: 0 auto;
}

.arch-layer {
    display: flex;
    align-items: stretch;
    margin-bottom: 8px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.layer-label {
    width: 150px;
    min-width: 150px;
    padding: 20px 15px;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.layer-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    background: #fff;
}

.layer-content span {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.layer-ui .layer-label {
    background: linear-gradient(135deg, #0078d4, #00a4ef);
}
.layer-ui .layer-content span {
    background: rgba(0, 120, 212, 0.1);
    color: #0078d4;
}

.layer-biz .layer-label {
    background: linear-gradient(135deg, #00cdcd, #00b4d8);
}
.layer-biz .layer-content span {
    background: rgba(0, 205, 205, 0.1);
    color: #00a5a5;
}

.layer-data .layer-label {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}
.layer-data .layer-content span {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.layer-db .layer-label {
    background: linear-gradient(135deg, #32688C, #4a8db7);
}
.layer-db .layer-content span {
    background: rgba(50, 104, 140, 0.1);
    color: #32688C;
}

/* Download Cards */
.download-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.download-card-featured {
    border-color: var(--primary-color);
}

.download-card-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-color);
    color: #fff;
    padding: 4px 40px;
    font-size: 13px;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.download-card-header {
    text-align: center;
    padding: 30px 25px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.download-card-header i {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.download-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.price-tag {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.9;
}

.download-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    flex: 1;
}

.download-features li {
    padding: 9px 0;
    color: var(--text-light);
    font-size: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.download-features li:last-child {
    border-bottom: none;
}

.download-features li i {
    color: #27ae60;
    margin-right: 10px;
    font-size: 14px;
}

.download-card-body .btn-block {
    border-radius: 30px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
}

.download-note {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Version History */
.version-history {
    background: #ffffff;
}

.version-timeline {
    position: relative;
    padding-left: 40px;
}

.version-timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.version-item {
    position: relative;
    margin-bottom: 35px;
    padding: 25px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.version-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.version-item:last-child {
    margin-bottom: 0;
}

.version-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 30px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.version-item.version-latest::before {
    background: var(--secondary-color);
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.version-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.version-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.version-date {
    font-size: 14px;
    color: #999;
}

.version-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.version-tag.tag-latest {
    background: rgba(0, 205, 205, 0.15);
    color: #00a5a5;
}

.version-tag.tag-stable {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.version-tag.tag-initial {
    background: rgba(0, 120, 212, 0.15);
    color: #0078d4;
}

.version-changes h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.version-changes ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.version-changes ul li {
    position: relative;
    padding: 4px 0 4px 22px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 26px;
}

.version-changes ul li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.version-changes ul.changes-new li::before {
    background: #27ae60;
}

.version-changes ul.changes-improve li::before {
    background: var(--primary-color);
}

.version-changes ul.changes-fix li::before {
    background: #f39c12;
}

/* Help Cards */
.help-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.help-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
}

.help-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.help-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 28px;
    margin-bottom: 18px;
}

.help-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-topics li {
    padding: 7px 0;
    color: var(--text-dark);
    font-size: 15px;
}

.help-topics li i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 13px;
}

/* FAQ Section */
.faq-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: var(--shadow-light);
}

.faq-section h3 {
    color: var(--text-dark);
    font-weight: 600;
}

.faq-section h3 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.faq-item h5 i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 13px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 26px;
    margin-bottom: 0;
    padding-left: 22px;
}

/* CTA Area */
.cta-area {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
    padding: 60px 0;
}

.cta-content {
    text-align: center;
}

.cta-content .cta-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-content h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn-light {
    border-radius: 30px;
    padding: 12px 35px;
    font-weight: 600;
    color: var(--primary-color);
}

.cta-content .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Section Title (match homepage) */
.site-heading .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.site-heading .section-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 28px;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 768px) {
    .framework-hero-content h2 {
        font-size: 26px;
    }

    .framework-icon-large {
        font-size: 120px;
    }

    .framework-hero-actions {
        justify-content: center;
    }

    .framework-stats {
        justify-content: center;
    }

    .arch-layer {
        flex-direction: column;
    }

    .layer-label {
        width: 100%;
        min-width: auto;
        padding: 12px;
    }

    .download-card-badge {
        right: -25px;
        top: 12px;
        padding: 3px 35px;
        font-size: 12px;
    }

    .faq-section {
        padding: 25px 20px;
    }

    .version-timeline {
        padding-left: 30px;
    }

    .version-item {
        padding: 20px;
    }

    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 576px) {
    .framework-hero-content h2 {
        font-size: 22px;
    }

    .framework-hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .framework-icon-large {
        font-size: 80px;
    }

    .version-item::before {
        left: -24px;
    }
}
