/* 【winrar 解压软件官网】模板 2 - 主题：green_fresh */

:root {
    --primary-color: #1a472a;
    --secondary-color: #145a32;
    --accent-color: #2ea043;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #f5f5f5;
    --white: #ffffff;
    --card-radius: 12px;
    --btn-radius: 50px;
}

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Header ── */
.header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--white);
    gap: 12px;
}

.logo img { height: 38px; }

.logo h1 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav ul { display: flex; gap: 28px; }

.nav a {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.25s;
}

.nav a:hover, .nav a.active {
    color: var(--white);
    border-bottom-color: var(--accent-color);
}

/* ── Banner Slider ── */
.banner-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.slide.active { opacity: 1; z-index: 1; }

.banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 580px;
}

.banner-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 28px;
    opacity: 0.92;
}

.btn-download {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 14px 38px;
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--btn-radius);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.btn-download:hover {
    background-color: #fff;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0 16px;
}

.slider-nav button {
    background: rgba(0,0,0,0.45);
    color: white;
    border: none;
    font-size: 22px;
    width: 46px;
    height: 46px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.slider-nav button:hover { background: rgba(0,0,0,0.75); }

.slider-dots {
    position: absolute;
    bottom: 18px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.45);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active { background: var(--accent-color); }

/* ── Features ── */
.features {
    padding: 70px 0;
    background: var(--white);
}

.features h3 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 45px;
    color: var(--primary-color);
    position: relative;
}

.features h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--bg-color);
    border-radius: var(--card-radius);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    background: var(--white);
}

.feature-card img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.feature-text p {
    font-size: 14px;
    color: var(--light-text);
    line-height: 1.6;
}

/* ── Notice ── */
.notice { padding: 50px 0; background: var(--bg-color); }

.notice-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 44px;
    border-radius: var(--card-radius);
}

.notice-box h3 {
    font-size: 26px;
    margin-bottom: 18px;
}

.notice-box p {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.92;
}

.notice-actions {
    margin-top: 28px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-video {
    background-color: var(--accent-color);
    color: white;
    padding: 11px 28px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-faq {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: white;
    padding: 11px 28px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-video:hover, .btn-faq:hover { opacity: 0.82; }

/* ── Stats Bar ── */
.stats-bar {
    background: var(--secondary-color);
    padding: 30px 0;
}

.stats-bar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 34px;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    line-height: 1.1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
    display: block;
}

/* ── Tutorials ── */
.tutorials {
    padding: 70px 0;
    background: var(--white);
}

.tutorials h3 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 45px;
    color: var(--primary-color);
    position: relative;
}

.tutorials h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tutorial-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid #eee;
}

.tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}

.tutorial-card img {
    width: 100%;
    height: 195px;
    object-fit: cover;
}

.card-content { padding: 20px; }

.card-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-content p {
    font-size: 13px;
    color: var(--light-text);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-content .date {
    display: block;
    font-size: 12px;
    color: #aaa;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

/* ── Footer ── */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 0 28px;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.footer-logo img { height: 38px; }

.footer-logo h2 {
    font-size: 22px;
    font-weight: 700;
}

.footer-links {
    margin-bottom: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.65);
    margin: 0 14px;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-info p {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    margin-bottom: 8px;
}

/* ── Page Banner (Download Page) ── */
.page-banner {
    height: 240px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.page-banner h2 {
    position: relative;
    z-index: 1;
    font-size: 34px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ── Download Section ── */
.download-section {
    padding: 65px 0;
    background: var(--white);
}

.dl-intro {
    text-align: center;
    margin-bottom: 40px;
}

.dl-intro h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.dl-intro p { color: var(--light-text); }

.download-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.download-table th, .download-table td {
    padding: 18px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.download-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.download-table tr:hover td { background: #fafafa; }

.tag-recommend {
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
}

.btn-dl-small {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 8px 22px;
    border-radius: var(--card-radius);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-dl-small:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
}

.install-tips {
    margin-top: 44px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: var(--card-radius);
    border-left: 4px solid var(--accent-color);
}

.install-tips h4 {
    font-size: 17px;
    margin-bottom: 14px;
    color: var(--primary-color);
}

.install-tips ul {
    list-style: disc;
    margin-left: 22px;
    color: var(--light-text);
}

.install-tips li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .tutorial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 14px; }
    .nav ul { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .banner-slider { height: 280px; }
    .banner-content h2 { font-size: 24px; }
    .banner-content p { font-size: 14px; }
    .btn-download { padding: 10px 24px; font-size: 15px; }
    .feature-grid { grid-template-columns: 1fr; }
    .tutorial-grid { grid-template-columns: 1fr; }
    .stats-bar .container { flex-wrap: wrap; gap: 24px; }
    .download-table { font-size: 12px; }
    .download-table th, .download-table td { padding: 10px; }
    .notice-box { padding: 28px; }
    .notice-actions { flex-direction: column; }
}
