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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 2px solid #e74c3c;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header h1 {
    font-size: 1.8em;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
}

header p {
    color: #888;
    font-size: 0.9em;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    color: #e74c3c;
    display: inline-block;
    background: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #f9f9f9;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    margin-left: 10px;
}

.btn-outline:hover {
    background: #fff;
}

/* Tutorials */
.tutorials {
    padding: 80px 0;
    background: #f8f9fa;
}

.tutorials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2em;
    color: #2c3e50;
}

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

.tutorial-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.tutorial-card .icon,
.tutorial-icon {
    height: 48px;
    width: auto;
    margin: 0 auto 15px auto;
    display: block;
    border-radius: 8px;
}

.tutorial-card h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.3em;
}

.tutorial-card p {
    color: #777;
    font-size: 0.95em;
}

/* Section desc */
.section-desc {
    text-align: center;
    color: #888;
    font-size: 1.05em;
    margin-top: 5px;
    margin-bottom: 30px;
}

/* Reviews */
.reviews {
    padding: 80px 0;
    background: #fff;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2em;
    color: #2c3e50;
}

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

.review-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}


.review-card-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}


.review-card-header .brand {
    font-size: 0.85em;
    opacity: 0.7;
    margin-bottom: 4px;
}

.review-card-header .name {
    font-size: 1.3em;
    font-weight: 700;
}

.review-card-header .category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    margin-top: 8px;
}

.review-card-body {
    padding: 20px;
}


.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: #999;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.reviewer {
    font-weight: 600;
    color: #666;
}

.review-date {
    color: #aaa;
}
.review-card-body .summary {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-scores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: #666;
}

.score-bar {
    width: 60%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.score-bar-fill.high { background: #27ae60; }
.score-bar-fill.mid { background: #f39c12; }
.score-bar-fill.low { background: #e74c3c; }

.review-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.review-rating .rating-number {
    font-size: 1.8em;
    font-weight: 700;
    flex-shrink: 0;
}

.review-rating .rating-label {
    font-size: 0.82em;
    color: #888;
    line-height: 1.4;
}

.review-bestfor {
    margin-top: 12px;
}

.review-bestfor .label {
    font-size: 0.8em;
    color: #999;
    margin-bottom: 4px;
}

.review-bestfor .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.review-bestfor .tag {
    background: #e8f4fd;
    color: #2980b9;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8em;
}

/* References */
.references {
    padding: 60px 0;
    background: #f8f9fa;
}

.references h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6em;
    color: #2c3e50;
}

.references ol {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
    list-style: decimal;
}

.references li {
    font-size: 0.9em;
    color: #555;
    line-height: 1.8;
    padding: 4px 0;
}

.references a {
    color: #2980b9;
    text-decoration: none;
}

.references a:hover {
    text-decoration: underline;
}

/* About */
.about {
    padding: 80px 0;
    text-align: center;
}

.about h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #2c3e50;
}

.about p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1em;
    line-height: 1.8;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #bbb;
    text-align: center;
    padding: 25px 0;
}

footer p {
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 1.8em;
    }
    .hero {
        padding: 50px 0;
    }
    .tutorials, .about, .reviews {
        padding: 50px 0;
    }
    .review-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 1.8em;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.modal-close:hover { color: #333; }

.modal-content h2 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.modal-brand {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.modal-summary {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.modal-scores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-score {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9em;
}

.modal-score strong { color: #e74c3c; }

.modal-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-pros h3, .modal-cons h3 {
    font-size: 0.95em;
    margin-bottom: 8px;
}

.modal-pros ul, .modal-cons ul {
    list-style: none;
    padding: 0;
}

.modal-pros li, .modal-cons li {
    font-size: 0.9em;
    padding: 4px 0;
    color: #555;
}

.modal-verdict {
    background: #fef9e7;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
    font-size: 0.95em;
    color: #555;
}





