/* roulang page: index */
:root {
            --primary: #0A66C2;
            --primary-hover: #084d91;
            --primary-light: #E8F2FB;
            --accent: #F57C00;
            --accent-hover: #e06b00;
            --bg-light: #F8FAFC;
            --bg-white: #FFFFFF;
            --bg-dark: #1E293B;
            --bg-darker: #0F172A;
            --border: #E5E7EB;
            --text-primary: #1E293B;
            --text-secondary: #4B5563;
            --text-muted: #6B7280;
            --text-light: #CBD5E1;
            --text-white: #FFFFFF;
            --radius-sm: 8px;
            --radius: 12px;
            --radius-lg: 16px;
            --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
            --shadow: 0 4px 16px rgba(0,0,0,0.08);
            --shadow-hover: 0 6px 20px rgba(10,102,194,0.12);
            --shadow-dark: 0 8px 24px rgba(0,0,0,0.25);
            --transition: 0.3s ease;
            --nav-height: 64px;
            --container-max: 1200px;
            --section-gap: 80px;
            --section-gap-mobile: 60px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-primary);
            background-color: var(--bg-white);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button, input, textarea {
            font-family: inherit;
            font-size: inherit;
            border: none;
            outline: none;
            background: none;
        }

        button {
            cursor: pointer;
        }

        .container {
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* 导航栏 */
        #header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--nav-height);
            background: var(--bg-white);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            display: flex;
            align-items: center;
            box-shadow: var(--shadow-sm);
        }

        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: var(--container-max);
            margin: 0 auto;
            padding: 0 24px;
        }

        .logo {
            font-size: 20px;
            font-weight: 700;
            color: var(--primary);
            white-space: nowrap;
        }

        .logo i {
            margin-right: 6px;
            color: var(--accent);
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 32px;
            list-style: none;
        }

        .nav-menu a {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-secondary);
            padding: 8px 0;
            position: relative;
            transition: color var(--transition);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            border-radius: 1px;
        }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: var(--primary);
        }

        .nav-menu a:hover::after,
        .nav-menu a.active::after {
            width: 100%;
        }

        .btn-nav-cta {
            background: var(--accent);
            color: var(--text-white);
            padding: 10px 22px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
            border: none;
            cursor: pointer;
            transition: background var(--transition), transform var(--transition);
        }

        .btn-nav-cta:hover {
            background: var(--accent-hover);
            transform: translateY(-1px);
        }

        .hamburger {
            display: none;
            font-size: 24px;
            color: var(--text-primary);
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            line-height: 1;
        }

        /* Hero */
        #hero {
            padding-top: calc(var(--nav-height) + 60px);
            padding-bottom: 60px;
            background: linear-gradient(135deg, #F0F6FC 0%, #FFFFFF 100%);
            position: relative;
            overflow: hidden;
        }

        #hero .container {
            display: flex;
            align-items: center;
            gap: 60px;
            flex-wrap: wrap;
        }

        .hero-text {
            flex: 1;
            min-width: 300px;
            z-index: 2;
        }

        .hero-text h1 {
            font-size: 38px;
            font-weight: 700;
            color: var(--text-primary);
            line-height: 1.3;
            margin-bottom: 20px;
        }

        .hero-text h1 span {
            color: var(--primary);
        }

        .hero-subtitle {
            font-size: 18px;
            color: var(--text-secondary);
            margin-bottom: 32px;
            line-height: 1.6;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 28px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 16px;
            transition: all var(--transition);
            white-space: nowrap;
            border: 2px solid transparent;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--text-white);
            border-color: var(--primary);
        }

        .btn-primary:hover {
            background: var(--primary-hover);
            border-color: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

        .btn-outline {
            background: transparent;
            color: var(--primary);
            border-color: var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary-light);
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .btn-accent {
            background: var(--accent);
            color: var(--text-white);
            border-color: var(--accent);
        }

        .btn-accent:hover {
            background: var(--accent-hover);
            border-color: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(245,124,0,0.25);
        }

        .hero-visual {
            flex: 1;
            min-width: 280px;
            display: flex;
            justify-content: center;
            z-index: 2;
        }

        .live-score-card {
            background: var(--bg-dark);
            color: var(--text-white);
            border-radius: var(--radius);
            padding: 24px 28px;
            box-shadow: var(--shadow-dark);
            width: 320px;
            max-width: 100%;
            border: 1px solid rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
        }

        .live-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(245,124,0,0.2);
            color: var(--accent);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 18px;
        }

        .live-dot {
            width: 8px;
            height: 8px;
            background: #EF4444;
            border-radius: 50%;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.2); }
        }

        .matchup {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .team {
            font-size: 20px;
            font-weight: 700;
        }

        .score {
            font-size: 32px;
            font-weight: 700;
            color: var(--accent);
            letter-spacing: 2px;
        }

        .match-info {
            font-size: 13px;
            color: var(--text-light);
            margin-top: 14px;
            text-align: center;
        }

        /* 实时指标看板 */
        #dashboard {
            padding: var(--section-gap) 0;
            background: var(--bg-white);
        }

        .section-title {
            font-size: 30px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 40px;
            color: var(--text-primary);
        }

        .section-title span {
            color: var(--primary);
        }

        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .stat-card {
            background: var(--bg-dark);
            color: var(--text-white);
            border-radius: var(--radius);
            padding: 28px 24px;
            text-align: center;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
            transition: transform var(--transition), box-shadow var(--transition);
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 30% 20%, rgba(10,102,194,0.15), transparent 70%);
            pointer-events: none;
        }

        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }

        .stat-icon {
            font-size: 28px;
            color: var(--accent);
            margin-bottom: 12px;
        }

        .stat-number {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .stat-label {
            font-size: 14px;
            color: var(--text-light);
            font-weight: 500;
        }

        /* 服务矩阵 */
        #services {
            padding: var(--section-gap) 0;
            background: var(--bg-light);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .service-card {
            background: var(--bg-white);
            border-radius: var(--radius);
            padding: 32px 28px;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
            border: 1px solid transparent;
        }

        .service-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary-light);
        }

        .service-icon {
            width: 48px;
            height: 48px;
            background: var(--primary-light);
            color: var(--primary);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin-bottom: 20px;
            transition: transform var(--transition);
        }

        .service-card:hover .service-icon {
            transform: scale(1.1);
        }

        .service-card h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        .service-card p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* 战绩对比 */
        #compare {
            padding: var(--section-gap) 0;
            background: var(--bg-white);
        }

        .compare-wrapper {
            display: flex;
            align-items: center;
            gap: 40px;
            background: var(--bg-light);
            border-radius: var(--radius-lg);
            padding: 48px 40px;
            box-shadow: var(--shadow-sm);
        }

        .compare-team {
            flex: 1;
            text-align: center;
        }

        .compare-team h3 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .win-rate-bar {
            width: 100%;
            height: 10px;
            background: #E5E7EB;
            border-radius: 5px;
            overflow: hidden;
            margin-bottom: 20px;
        }

        .win-rate-fill {
            height: 100%;
            background: var(--primary);
            border-radius: 5px;
            width: 65%;
            transition: width 1s ease;
        }

        .win-rate-fill.team-b {
            width: 48%;
            background: var(--accent);
        }

        .recent-form {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 12px;
        }

        .form-dot {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            font-size: 12px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .form-win {
            background: #10B981;
            color: white;
        }

        .form-loss {
            background: #EF4444;
            color: white;
        }

        .vs-divider {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-muted);
            flex-shrink: 0;
        }

        /* 数据案例 */
        #cases {
            padding: var(--section-gap) 0;
            background: var(--bg-light);
        }

        .cases-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .case-card {
            background: var(--bg-white);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
        }

        .case-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }

        .case-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .case-body {
            padding: 20px 24px;
        }

        .case-tag {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .case-card h4 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .case-card p {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* FAQ */
        #faq {
            padding: var(--section-gap) 0;
            background: var(--bg-white);
        }

        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            border-bottom: 1px solid var(--border);
        }

        .faq-question {
            width: 100%;
            text-align: left;
            padding: 18px 20px;
            background: #F9FAFB;
            font-weight: 600;
            font-size: 16px;
            color: var(--text-primary);
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: background var(--transition);
            border: none;
        }

        .faq-question:hover {
            background: #F3F4F6;
        }

        .faq-question i {
            transition: transform var(--transition);
            color: var(--text-muted);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.4s ease;
            background: var(--bg-white);
            padding: 0 20px;
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1.7;
        }

        .faq-item.open .faq-answer {
            max-height: 200px;
            padding: 16px 20px;
        }

        .faq-item.open .faq-question i {
            transform: rotate(180deg);
        }

        /* CTA */
        #cta {
            padding: var(--section-gap) 0;
            background: #EBF3FA;
        }

        .cta-content {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }

        .cta-content h2 {
            font-size: 30px;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .cta-content p {
            color: var(--text-secondary);
            margin-bottom: 32px;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 16px;
            text-align: left;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 14px 18px;
            border: 1px solid #D1D5DB;
            border-radius: var(--radius-sm);
            background: var(--bg-white);
            font-size: 15px;
            transition: border var(--transition), box-shadow var(--transition);
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(10,102,194,0.15);
            outline: none;
        }

        .contact-form textarea {
            min-height: 100px;
            resize: vertical;
        }

        .btn-submit {
            width: 100%;
            padding: 14px;
            background: var(--accent);
            color: var(--text-white);
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: background var(--transition);
            border: none;
        }

        .btn-submit:hover {
            background: var(--accent-hover);
        }

        /* Footer */
        #footer {
            background: var(--bg-dark);
            color: var(--text-light);
            padding: 60px 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h4 {
            color: var(--text-white);
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: var(--text-light);
            font-size: 14px;
            transition: color var(--transition);
        }

        .footer-col ul li a:hover {
            color: var(--accent);
        }

        .copyright {
            background: var(--bg-darker);
            text-align: center;
            padding: 20px 0;
            font-size: 14px;
            color: var(--text-muted);
        }

        /* 响应式 */
        @media (max-width: 1024px) {
            .dashboard-grid,
            .services-grid,
            .cases-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .compare-wrapper {
                flex-direction: column;
                gap: 24px;
            }

            .vs-divider {
                transform: rotate(90deg);
            }
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .hamburger {
                display: block;
            }

            .nav-menu.mobile-open {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: var(--nav-height);
                left: 0;
                width: 100%;
                background: var(--bg-white);
                padding: 24px;
                gap: 16px;
                box-shadow: var(--shadow);
                border-bottom: 1px solid var(--border);
            }

            #hero .container {
                flex-direction: column;
                text-align: center;
            }

            .hero-text h1 {
                font-size: 28px;
            }

            .hero-buttons {
                justify-content: center;
            }

            .dashboard-grid,
            .services-grid,
            .cases-grid {
                grid-template-columns: 1fr;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 26px;
            }

            .live-score-card {
                width: 100%;
            }
        }
