/* 瑞英车服 Finance Pages — Dark Theme (matches index.html) */
:root {
    --primary: #0a192f;
    --secondary: #00b894;
    --accent: #00b894;
    --accent-glow: #55efc4;
    --bg: #0a192f;
    --card-bg: rgba(255,255,255,0.04);
    --card-border: rgba(255,255,255,0.08);
    --text: #e6f1ff;
    --text-muted: #8892b0;
    --gradient: linear-gradient(135deg, #00b894, #00cec9, #0984e3);

    /* Legacy aliases for pages using different var names */
    --blue: #00b894;
    --cyan: #00cec9;
    --green: #00b894;
    --gold: #00b894;
    --card: rgba(255,255,255,0.04);
    --muted: #8892b0;
    --navy: #0a192f;
}

* { box-sizing: border-box; }

body {
    font-family: 'PingFang SC', '-apple-system', BlinkMacSystemFont, sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0a192f 0%, #112240 50%, #0a192f 100%);
    color: white;
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%2300b894" opacity="0.08"/></svg>') repeat;
    background-size: 50px 50px;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3rem; margin: 0 0 16px; font-weight: 600; }
.hero p { font-size: 1.25rem; opacity: 0.9; margin: 0; }
.hero-tags { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.hero-tag {
    background: rgba(0,184,148,0.15);
    border: 1px solid rgba(0,184,148,0.3);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.9rem;
    color: var(--accent-glow);
}

/* Navigation */
.nav-breadcrumb { max-width: 1200px; margin: -24px auto 0; padding: 0 24px; }
.back-link {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.06);
    padding: 12px 24px;
    border-radius: 12px 12px 0 0;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
    border: 1px solid var(--card-border);
    border-bottom: none;
}
.back-link:hover { background: rgba(0,184,148,0.1); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }

/* Section Title */
.section-title { font-size: 1.75rem; color: var(--text); margin: 0 0 8px; font-weight: 600; }
.section-desc { color: var(--text-muted); margin: 0 0 32px; font-size: 1rem; }

/* Product Cards — Dark */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid var(--card-border);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,184,148,0.15);
    border-color: var(--accent);
}

.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.card-logo {
    width: 48px; height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 600; font-size: 1.1rem;
}
.card-title { font-size: 1.25rem; color: var(--text); margin: 0; font-weight: 600; }

.card-rate {
    background: rgba(0,184,148,0.08);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(0,184,148,0.15);
}
.rate-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.rate-value { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.rate-range { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

.card-details { margin-bottom: 16px; }
.detail-row {
    display: flex; justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--card-border);
    font-size: 0.95rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text-muted); }
.detail-value { color: var(--text); font-weight: 500; }

.card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
    background: rgba(0,184,148,0.1);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    border: 1px solid rgba(0,184,148,0.2);
}
.tag.highlight {
    background: var(--gradient);
    color: white;
    border: none;
}

/* Features Grid */
.features-section { margin: 48px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--card-border);
}
.feature-icon {
    width: 56px; height: 56px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    color: white; font-size: 1.5rem;
}
.feature-title { font-size: 1.1rem; color: var(--text); margin: 0 0 8px; font-weight: 600; }
.feature-desc { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Process Section */
.process-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px;
    margin: 48px 0;
    border: 1px solid var(--card-border);
}
.process-title { font-size: 1.5rem; color: var(--text); margin: 0 0 24px; text-align: center; font-weight: 600; }
.process-steps { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.process-step { flex: 1; min-width: 150px; text-align: center; }
.step-number {
    width: 40px; height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    color: white;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; font-weight: 600;
}
.step-title { font-size: 1rem; color: var(--text); margin: 0 0 4px; font-weight: 500; }
.step-time { font-size: 0.85rem; color: var(--text-muted); }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #112240 0%, #0a192f 100%);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    margin-top: 48px;
    border: 1px solid var(--card-border);
}
.cta-title { font-size: 1.75rem; color: white; margin: 0 0 12px; font-weight: 600; }
.cta-desc { font-size: 1rem; color: rgba(255,255,255,0.8); margin: 0 0 32px; }
.cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gradient);
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.1rem; font-weight: 600;
    cursor: pointer; border: none;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,184,148,0.4);
}

/* CTA Contact Row */
.cta-contact { display: flex; gap: 20px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.cta-contact a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex; align-items: center; gap: 8px;
    transition: color 0.2s;
}
.cta-contact a:hover { color: var(--accent); }

/* Footer */
.site-footer {
    background: #020c1b;
    padding: 32px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--card-border);
}
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
footer { /* legacy class */
    background: #020c1b;
    padding: 32px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--card-border);
}
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* Comparison Tables */
.comparison-section { margin: 48px 0; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}
.comparison-table th {
    background: rgba(0,184,148,0.1);
    color: var(--accent);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}
.comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--card-border);
    font-size: 0.92rem;
    color: var(--text);
}
.comparison-table tr:hover td {
    background: rgba(0,184,148,0.04);
}

/* Info Cards / Panels */
.info-card, .panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}
.info-card h3, .panel h3 {
    color: var(--text);
    margin: 0 0 12px;
    font-weight: 600;
}
.info-card p, .panel p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Grids (for non-product card grids) */
.card-grid, .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}
.badge-green, .badge-success {
    background: rgba(0,184,148,0.15);
    color: var(--accent);
}
.badge-blue {
    background: rgba(9,132,227,0.15);
    color: #0984e3;
}

/* Links */
a { color: var(--accent); }
a:hover { color: var(--accent-glow); }

/* Note / Warning blocks */
.note-block, .tip-block {
    background: rgba(0,184,148,0.06);
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 60px 20px; }
    .hero h1 { font-size: 2rem; }
    .container { padding: 24px 16px; }
    .product-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .process-steps { flex-direction: column; align-items: center; }
    .cta-section { padding: 32px 20px; }
    .comparison-table { font-size: 0.85rem; }
}
