:root {
    --primary-color: #0066CC;
    --secondary-color: #F5F5F7;
    --accent-color: #FF3B30;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #eaeaea;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --error-color: #FF3B30;
    --info-color: #2196F3;
    --box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: #FFFFFF;
}

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

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 20px;
    font-weight: 500;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Common Button Styles */
.btn {
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: #0055b3;
}

.btn-secondary:hover {
    background-color: #f5f5f7;
}

/* Content Styles */
.content-container {
    padding-top: 100px;
    padding-bottom: 60px;
}

.bank-guide {
    max-width: 800px;
    margin: 0 auto;
}

.bank-guide h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.bank-guide section {
    margin-bottom: 40px;
}

.bank-guide h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.bank-guide h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.bank-guide ul, .bank-guide ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.bank-guide li {
    margin-bottom: 10px;
}

/* Common Components */
.note {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    position: relative;
    border-left: 4px solid var(--info-color);
}

.warning {
    background-color: #FFF3F3;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 20px 0;
    font-size: 15px;
}

.tip {
    background-color: #E3F2FD;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 20px 0;
    font-size: 15px;
}

.important-notice {
    background-color: #FFF8E1;
    border: 1px solid #FFC107;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.avoid-branches {
    color: #D32F2F;
    font-weight: 500;
}

.materials-list {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 20px;
}

.notice-box {
    background-color: #FFF3F3;
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.page-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.page-navigation a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.page-navigation a.prev:before {
    content: '←';
    margin-right: 5px;
}

.page-navigation a.next:after {
    content: '→';
    margin-left: 5px;
}

.page-navigation a:hover {
    transform: translateX(-3px);
}

.page-navigation a.next:hover {
    transform: translateX(3px);
}

/* Card Styles */
.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Bank Intro Section */
.bank-intro {
    padding: 40px 0 80px;
    background-color: var(--secondary-color);
}

.bank-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.bank-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bank-card:hover {
    transform: translateY(-10px);
}

.bank-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.bank-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-logo img {
    max-width: 100%;
    max-height: 100%;
}

.bank-header h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.bank-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.bank-features {
    padding: 20px;
    flex-grow: 1;
}

.bank-features p {
    margin-bottom: 10px;
    font-size: 15px;
}

.bank-card .btn {
    display: block;
    margin: 0 20px 20px;
    text-align: center;
}

.account-info {
    margin-top: 20px;
    background-color: #F9F9F9;
    border-radius: var(--border-radius);
    padding: 20px;
}

/* Section styles */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Footer Styles */
footer {
    background-color: #1D1D1F;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #A1A1A6;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(3px);
}

.copyright {
    border-top: 1px solid #3A3A3C;
    padding-top: 20px;
    text-align: center;
    color: #A1A1A6;
    font-size: 14px;
}

/* Card shadows and animations */
.elevation-1 {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.elevation-2 {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.elevation-3 {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Progress indicator */
.progress-bar {
    height: 4px;
    background-color: var(--primary-color);
    width: 0;
    transition: width 0.3s ease;
}

/* Custom checkbox and radio styles */
.custom-control {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
}

.custom-control input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.custom-radio .checkmark {
    border-radius: 50%;
}

.custom-control:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.custom-control input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-control input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-radio .checkmark:after {
    left: 6px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .bank-guide h1 {
        font-size: 28px;
    }
    
    .bank-guide h2 {
        font-size: 22px;
    }
    
    .bank-cards {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 16px;
    }
    
    .logo img {
        height: 30px;
    }
    
    nav ul {
        gap: 10px;
    }
    
    nav ul li a {
        font-size: 14px;
    }
    
    .bank-guide h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #FFFFFF;
        --text-secondary: #CCCCCC;
        --secondary-color: #222222;
        --border-color: #444444;
    }
    
    body {
        background-color: #121212;
    }
    
    header {
        background-color: rgba(18, 18, 18, 0.95);
    }
    
    .card, .bank-card, .materials-container {
        background-color: #1E1E1E;
    }
    
    .bank-header {
        border-bottom-color: #333333;
    }
    
    .btn-secondary, .btn-white {
        background-color: #333333;
    }
    
    .note, .requirements-list, .account-info {
        background-color: #2A2A2A;
    }
} 