/* ============================================================
 * by 诗航软件-凯哥 2026.6.16
 * ============================================================ */

/* ============================================================
 * esa.css - ESA边缘安全加速页专用样式
 * ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.5;
    scroll-behavior: smooth;
}
.esa-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem 1.5rem;
}
.card {
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(105deg, #f0501e 0%, #ff6a2e 100%);
    color: white;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 3rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.95rem;
    box-shadow: 0 4px 8px rgba(240, 80, 30, 0.2);
}
.btn-primary:hover {
    background: linear-gradient(105deg, #e04410 0%, #f55a1a 100%);
    transform: scale(1.02);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    font-weight: 500;
    padding: 0.7rem 1.6rem;
    border-radius: 3rem;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-outline:hover {
    border-color: #ff6a2e;
    color: #ff6a2e;
    background: #fff5ef;
}
.hero {
    text-align: center;
    padding: 2rem 0 1rem 0;
}
.badge {
    background: #fff1e6;
    color: #e65c1e;
    padding: 0.25rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #0f2b3d, #e55a1c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}
.hero .sub {
    font-size: 1.2rem;
    color: #334155;
    max-width: 750px;
    margin: 0 auto;
}
.hl-badge {
    background: #fef3e8;
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #c2410c;
}
.grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
    margin: 2rem 0 2rem;
}
.feature-item {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #f0f2f5;
    box-shadow: 0 5px 12px rgba(0,0,0,0.02);
}
.feature-icon {
    width: 48px;
    height: 48px;
    background: #fff1e8;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: #e65c1e;
    font-size: 1.6rem;
}
.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.feature-item p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
}
.pricing-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0 1.5rem;
}
.price-card {
    flex: 1;
    min-width: 260px;
    border-radius: 2rem;
    overflow: hidden;
}
.price-card-main {
    background: #ffffff;
    border: 1px solid #f0e7df;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
}
.price-card-main .card-header {
    background: linear-gradient(135deg, #ffefe5, #ffffff);
    padding: 1.5rem;
    border-bottom: 1px solid #ffe0d0;
}
.price-tag {
    font-size: 2.8rem;
    font-weight: 800;
    color: #e65319;
    line-height: 1;
}
.price-tag small {
    font-size: 1rem;
    font-weight: 500;
    color: #5b6e8c;
}
.price-features {
    padding: 1.5rem;
}
.price-features ul {
    list-style: none;
    margin: 0;
}
.price-features li {
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #1e293b;
}
.price-features i.fa-check-circle {
    color: #ff6a2e;
    font-size: 1.1rem;
    width: 1.4rem;
}
.traffic-card {
    background: #fefcf9;
    border: 1px solid #ffdec9;
}
.traffic-card .card-header {
    background: linear-gradient(135deg, #fff3e9, #fefaf5);
    padding: 1.5rem;
    border-bottom: 1px solid #ffe0d0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.traffic-card .card-header i {
    font-size: 2.2rem;
    color: #ff6a2e;
    background: rgba(255,106,46,0.1);
    padding: 0.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.traffic-card .card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}
.badge-light {
    background: #f1f5f9;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
}
.inline-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e65319;
}
.inline-price small {
    font-size: 1rem;
    font-weight: 500;
    color: #5b6e8c;
}
hr {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid #edf2f7;
}
.footnote {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    color: #5b6e8c;
    border-left: 4px solid #ff9f6e;
    margin-top: 1.5rem;
}
.trust-badge {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #ffffffd9;
}

.footer-copyright-area {
    background: #0f172a;
    border-radius: 1.5rem;
    max-width: 1280px;
    margin: 1.5rem auto 2rem auto;
    padding: 1.2rem 1.8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #e2e8f0;
}
.copyright-text {
    font-size: 0.75rem;
    line-height: 1.5;
}
.copyright-text a { color: #7aa9d9; text-decoration: none; }
.copyright-text a:hover { color: #ffd966; }
.qr-widget-footer {
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.qr-widget-footer img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: contain;
    display: block;
}
.qr-widget-footer span {
    font-size: 0.8rem;
    color: #f1f5f9;
    font-weight: 500;
    background: rgba(255,255,255,0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
}

.text-center { text-align: center; }
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}
.section-desc {
    color: #4b5565;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

@media (max-width: 780px) {
    .hero h1 { font-size: 2rem; }
    .grid-2col { grid-template-columns: 1fr; gap: 1.2rem; }
    .container { padding: 1.5rem; }
    .pricing-wrapper { flex-direction: column; }
    .traffic-card .card-header { flex-direction: column; text-align: center; }
}

@media (max-width: 700px) {
    .footer-copyright-area {
        flex-direction: column;
        text-align: center;
        margin: 1rem 1rem 1.5rem;
    }
    .qr-widget-footer { justify-content: center; }
}