/* 优信云 (YANGFANYUN) Official Website Styles - Updated */
:root {
    /* New Vibrant Style - Differentiated */
    --primary-color: #779DE8; /* Light Sapphire Blue */
    --secondary-color: #F8C1B7; /* Nude Pink */
    --color-bg-body: #f8fafc;
    --color-bg-card: #ffffff;
    --color-accent: #779DE8;
    --color-accent-hover: #5a85db;
    --color-text-main: #334155;
    --color-text-muted: #64748b;
    --color-success: #10b981;
    
    /* Utilities */
    --border-radius: 16px; /* Slightly softer radius */
    --border-radius-btn: 24px;
    --transition: all 0.25s ease;
    --shadow: 0 4px 15px rgba(0,0,0,0.03);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Base Card Style */
.base-card {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.base-card:hover {
    box-shadow: var(--shadow-hover);
}

/* Top Horizontal Navbar */
.top-navbar {
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 22px;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    font-size: 12px;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    border-left: 1px solid #eee;
    padding-left: 10px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    font-size: 15px;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Buttons (Matching Image 1) */
.btn {
    padding: 8px 24px;
    border-radius: var(--border-radius-btn);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #5a85db);
    color: #ffffff !important;
    border: none;
    width: 100%;
    padding: 14px 20px;
    border-radius: 24px;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(119,157,232,0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a85db, var(--primary-color));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(119,157,232,0.6);
    color: #ffffff !important;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background-color: #faf8f5;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(134, 116, 95, 0.3);
}

/* Search Bar in Nav */
.search-bar {
    position: relative;
    width: 220px;
}

.search-bar input {
    width: 100%;
    padding: 8px 15px 8px 35px;
    border-radius: 20px;
    border: 1px solid #eee;
    background: #f8f8f8;
    color: var(--color-text-main);
    outline: none;
    transition: var(--transition);
    font-size: 13px;
}

.search-bar input:focus {
    background: #fff;
    border-color: var(--color-accent);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 13px;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 10px;
    display: none;
    overflow: hidden;
    z-index: 101;
    border: 1px solid #eee;
}

.search-dropdown.active {
    display: block;
}

.dropdown-header {
    padding: 10px 15px;
    font-size: 12px;
    color: var(--color-text-muted);
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    font-size: 13px;
    color: var(--color-text-main);
    border-bottom: 1px solid #f9f9f9;
}

.dropdown-content a:hover {
    background: #fdfdfd;
    color: var(--color-accent);
}

/* Main Content Wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.section-block {
    margin-bottom: 60px;
    scroll-margin-top: 90px;
}

/* Hero Banner (Matching Image 3 vibe but adapted to YANGFANYUN) */
.hero-banner {
    background: linear-gradient(120deg, var(--secondary-color) 0%, #fff0ed 100%);
    padding: 120px 20px 100px;
    text-align: center;
    border-radius: 0 0 50px 50px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(248,193,183,0.3);
}

.hero-text h1 {
    font-size: 52px;
    color: var(--color-accent); /* Use main theme color */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero-text h2 {
    font-size: 32px; /* Slightly smaller for subtitle */
    color: var(--color-text-main);
    font-weight: 500;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
}

.hero-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
}

.hero-features {
    margin-top: 20px;
    margin-bottom: 35px;
    list-style: none;
}

.hero-features li {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
}

.hero-features li::before {
    content: '✓'; /* Change to checkmark for features */
    margin-right: 15px;
    font-weight: bold;
    font-size: 16px;
    color: var(--color-accent);
}

.hero-graphic {
    font-size: 200px;
    color: var(--color-accent);
    opacity: 0.15;
    transform: rotate(45deg);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 30px;
}
.section-title p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Dashboard Cards (Matching Image 2 exactly) */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.data-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px 25px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    overflow: hidden;
}

.data-card-title {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.data-card-value {
    font-size: 38px;
    font-weight: bold;
    color: #222;
}

.data-card-value span {
    font-size: 14px;
    font-weight: normal;
}

.data-card-sub {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.data-card-sub .status-online {
    color: var(--color-success);
    font-weight: bold;
}

/* Watermark icon on cards */
.card-watermark {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 120px;
    color: #f5f5f5;
    z-index: 0;
    pointer-events: none;
}

.data-card > * {
    position: relative;
    z-index: 1;
}

/* Chart and Progress inside cards */
.mini-chart-container {
    height: 40px;
    width: 100%;
    margin-top: 15px;
}

.custom-progress-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    margin-top: 20px;
    width: 100%;
    position: relative;
}

.custom-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--color-accent);
    border-radius: 3px;
    width: 75%;
}

/* Nodes Section */
.actions-row {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nodes-table {
    width: 100%;
    border-collapse: collapse;
}

.nodes-table th, .nodes-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}

.nodes-table th {
    font-weight: normal;
    color: var(--color-text-muted);
}

.nodes-table tr:last-child td {
    border-bottom: none;
}

.flag-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}
.badge.online {
    background: #e8f5e9;
    color: var(--color-success);
}

/* Pricing Section */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pricing-card {
    padding: 30px;
    border: 1px solid #eee;
}

.pricing-card.recommended {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(134, 116, 95, 0.1);
    position: relative;
}

.badge-recommended {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    padding: 4px 15px;
    border-radius: 12px;
    font-size: 12px;
}

.pricing-header {
    text-align: center;
    border-bottom: 1px dashed #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.pricing-header h3 {
    font-size: 18px;
    font-weight: normal;
}

.price {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
    color: var(--color-accent);
}
.price span {
    font-size: 14px;
    font-weight: normal;
    color: var(--color-text-muted);
}

.pricing-details h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.pricing-details ul, .pricing-details ol {
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.pricing-details ul { list-style: none; }
.pricing-details ol { padding-left: 20px; }
.pricing-details li { margin-bottom: 8px; }

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.client-card {
    padding: 30px 20px;
    text-align: center;
}

.client-icon {
    font-size: 40px;
    color: #bbb;
    margin-bottom: 15px;
    transition: var(--transition);
}

.client-card:hover .client-icon {
    color: var(--color-accent);
}

.client-card h4 { font-size: 16px; margin-bottom: 5px; }
.client-card p { font-size: 12px; color: var(--color-text-muted); margin-bottom: 20px; }

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.article-card {
    padding: 25px;
    border: 1px solid #eee;
}

.article-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.article-card p {
    font-size: 13px;
    color: var(--color-text-muted);
}

.article-card:hover h4 {
    color: var(--color-accent);
}

/* Reviews and FAQ */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.review-box { padding: 25px; }
.stars { color: #fbc02d; margin-bottom: 10px; }
.review-box p { font-size: 13px; color: #555; margin-bottom: 15px; font-style: italic; }
.review-box span { font-size: 12px; color: var(--color-accent); font-weight: bold; }

.faq-container { display: grid; gap: 15px; max-width: 900px; margin: 0 auto; }
.faq-item { padding: 20px; border: 1px solid #eee; }
.faq-item h4 { font-size: 15px; margin-bottom: 10px; }
.faq-item p { font-size: 14px; color: #666; }

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px 0;
    color: var(--color-text-muted);
    font-size: 13px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .dashboard-cards, .pricing-container, .clients-grid, .reviews-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-banner {
    background: linear-gradient(120deg, var(--secondary-color) 0%, #fff0ed 100%);
    padding: 120px 20px 100px;
    text-align: center;
    border-radius: 0 0 50px 50px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(248,193,183,0.3);
}
    .hero-features li {
        justify-content: center;
    }
    .hero-graphic {
        display: none;
    }
}
@media (max-width: 768px) {
    .dashboard-cards, .pricing-container, .clients-grid, .articles-grid, .reviews-container {
        grid-template-columns: 1fr;
    }
    .nav-menu { display: none; }
    .nav-right .search-bar { display: none; }
}

.pricing-card {
    border: none;
    box-shadow: 0 12px 35px rgba(119,157,232,0.15);
    border-radius: 8px;
    background: #fff;
    padding: 30px;
    transition: transform 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.pricing-header h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}
.pricing-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: right;
    margin-bottom: 20px;
}
.pricing-price span {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #5a85db);
    color: #ffffff !important;
    border: none;
    width: 100%;
    padding: 14px 20px;
    border-radius: 24px;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(119,157,232,0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #5a85db, var(--primary-color));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(119,157,232,0.6);
    color: #ffffff !important;
}
.pricing-features {
    text-align: left;
    margin-top: 20px;
}
.pricing-features h4 {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}
.pricing-features ul {
    list-style: none;
    padding: 0;
}
.pricing-features li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

/* --- NEW HERO BANNER STYLES --- */
.hero-banner {
    background: linear-gradient(135deg, #f0fdfa 0%, #f4fbfa 50%, #ffffff 100%);
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    z-index: 1;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
}
.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: center;
}
.btn-hero-primary {
    background: #779DE8;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(119, 157, 232, 0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-hero-primary:hover {
    background: #5a85db;
    transform: translateY(-2px);
    color: #fff;
}
.btn-hero-secondary {
    background: #e2e8f0;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-hero-secondary:hover {
    background: #cbd5e1;
    transform: translateY(-2px);
    color: #334155;
}
.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-badge {
    background: #ffffff;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #475569;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-badge i {
    color: #779DE8;
}
