
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 100px 0;
    height: 600px;
    text-align: center;
    background-image: url(../image/images/home/banner1.jpg);
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.chart-placeholder {
    width: 100%;
    height: 300px;
    background: #e9ecef;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    border-radius: 8px;
}

.stats-right h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.stats-right p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.user-testimonial {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
}

.testimonial-text {
    font-style: italic;
    color: #666;
}

/* Domain Section */
.domain-section {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
}

.domain-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.domain-left h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #3498db;
}

.domain-left p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.domain-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.domain-card {
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.domain-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.domain-card .btn {
    background: #2c3e50;
    font-size: 0.9rem;
    padding: 8px 20px;
}

/* Revenue Section */
.revenue-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.revenue-section h2 {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.revenue-amount {
    font-size: 4rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 20px;
}

.revenue-subtitle {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.revenue-description {
    max-width: 800px;
    margin: 0 auto 60px;
    color: #666;
    line-height: 1.8;
}

.partners {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    opacity: 0.6;
}

.partner-logo {
    height: 40px;
    width: 120px;
    background: #ddd;
    border-radius: 4px;
}

/* Legal Section */
.legal-section {
    padding: 80px 0;
    background: white;
}

.legal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.legal-left {
    display: flex;
    gap: 30px;
}

.lawyer-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #ddd;
}

.lawyer-info {
    flex: 1;
}

.lawyer-card {
    background: #2c3e50;
    color: white;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.lawyer-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.lawyer-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.lawyer-stat {
    text-align: center;
}

.lawyer-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
}

.lawyer-stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.legal-right h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.legal-right p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    gap: 30px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    gap: 30px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #3498db;
    border-radius: 8px;
    flex-shrink: 0;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

.service-number {
    width: 40px;
    height: 40px;
    background: #2c3e50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-left: auto;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-left h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-left p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 30px;
    text-align: center;
    opacity: 0.6;
}

/* Navigation Styles */
.main-nav {
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #3498db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.nav-logo span {
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #2c3e50;
    padding: 20px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-nav-links li {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        height: auto;
        padding: 60px 0;
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 20px;
        margin-bottom: 25px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    /* Stats Section */
    .stats-section {
        padding: 40px 0;
    }

    .stats-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-left {
        gap: 20px;
    }

    .chart-placeholder {
        height: 200px;
        font-size: 16px;
    }

    .stats-right h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        text-align: center;
    }

    .stats-right p {
        font-size: 1rem;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Domain Section */
    .domain-section {
        padding: 40px 0;
    }

    .domain-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .domain-left h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .domain-left p {
        text-align: center;
    }

    .domain-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Revenue Section */
    .revenue-section {
        padding: 40px 0;
    }

    .revenue-amount {
        font-size: 2.5rem;
    }

    .revenue-subtitle {
        font-size: 1.2rem;
    }

    .revenue-description {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .partners {
        flex-wrap: wrap;
        gap: 20px;
        padding: 0 15px;
    }

    .partner-logo {
        width: calc(50% - 10px);
        height: 35px;
    }

    /* Legal Section */
    .legal-section {
        padding: 40px 0;
    }

    .legal-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .legal-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .lawyer-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .lawyer-card {
        padding: 20px;
    }

    .lawyer-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .legal-right h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .legal-right p {
        text-align: center;
    }

    /* Services Section */
    .services-section {
        padding: 40px 0;
    }

    .services-header h2 {
        font-size: 1.8rem;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .service-icon {
        margin: 0 auto 15px;
    }

    .service-number {
        margin: 15px auto 0;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Navigation Improvements */
    .nav-links {
        display: none; /* 移动端导航需要单独处理，建议添加汉堡菜单 */
    }

    .hamburger-menu {
        display: flex;
    }

    /* Hamburger Menu Animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .container {
        padding: 0 15px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .revenue-amount {
        font-size: 2rem;
    }

    .partner-logo {
        width: 100%;
    }

    .lawyer-stats {
        grid-template-columns: 1fr;
    }
}

/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 优化触摸体验 */
@media (hover: none) {
    .btn:hover,
    .service-item:hover,
    .domain-card:hover {
        transform: none;
    }
}


/* 添加暗色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #f0f0f0;
    }

    .stats-section,
    .services-section {
        background: #222;
    }

    .service-item,
    .domain-card {
        background: #2c2c2c;
    }

    .stat-label,
    .service-content p {
        color: #ccc;
    }
}

/* Navigation Scroll Effects */
.main-nav.scroll-down {
    transform: translateY(-100%);
}

.main-nav.scroll-up {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Add smooth transitions */
.main-nav {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
