/* roulang page: index */
:root {
            --primary: #FF3B0F;
            --dark: #1A1A2E;
            --gold: #FFD700;
            --bg: #F5F0EB;
            --text-secondary: #5C5C6B;
            --card-shadow: 0 4px 20px rgba(255, 59, 15, 0.08);
            --card-shadow-hover: 0 8px 30px rgba(255, 59, 15, 0.15);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #F5F0EB;
            color: #1A1A2E;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button {
            cursor: pointer;
            border: none;
            background: none;
            font-family: inherit;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 16px;
            }
        }

        /* 导航栏 */
        #navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 50;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            padding: 16px 0;
        }
        #navbar.scrolled {
            background-color: #1A1A2E;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        }
        .nav-link {
            position: relative;
            font-size: 15px;
            font-weight: 500;
            padding: 4px 0;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #FF3B0F;
            transition: width 0.3s ease;
        }
        .nav-link:hover::after {
            width: 100%;
        }
        .nav-link:hover {
            color: #FF3B0F;
        }
        .btn-primary {
            background-color: #FF3B0F;
            color: white;
            border-radius: 40px;
            padding: 10px 24px;
            font-weight: 600;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            display: inline-block;
            text-align: center;
        }
        .btn-primary:hover {
            background-color: #E63200;
            box-shadow: 0 0 12px rgba(255, 59, 15, 0.4);
        }
        .btn-outline {
            border: 2px solid #FF3B0F;
            color: #FF3B0F;
            background: transparent;
            border-radius: 40px;
            padding: 10px 24px;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
            text-align: center;
        }
        .btn-outline:hover {
            background-color: #FF3B0F;
            color: white;
        }
        .btn-white {
            background-color: white;
            color: #FF3B0F;
            border-radius: 40px;
            padding: 12px 28px;
            font-weight: 700;
            transition: all 0.3s ease;
            display: inline-block;
            text-align: center;
        }
        .btn-white:hover {
            background-color: #FF3B0F;
            color: white;
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
        }

        /* 搜索框 */
        .search-input {
            width: 0;
            opacity: 0;
            transition: width 0.3s ease, opacity 0.3s ease;
            background: transparent;
            border: 1px solid transparent;
            border-radius: 20px;
            padding: 5px 10px;
            color: white;
            font-size: 14px;
            outline: none;
        }
        .search-input.active {
            width: 180px;
            opacity: 1;
            border-color: rgba(255, 255, 255, 0.4);
            background: rgba(255, 255, 255, 0.1);
        }
        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        /* 汉堡菜单 */
        .mobile-menu {
            display: none;
            flex-direction: column;
            position: fixed;
            top: 70px;
            left: 0;
            width: 100%;
            background: #1A1A2E;
            padding: 20px;
            z-index: 49;
            transform: translateY(-100%);
            opacity: 0;
            transition: transform 0.4s ease, opacity 0.3s ease;
        }
        .mobile-menu.active {
            transform: translateY(0);
            opacity: 1;
        }

        /* Hero粒子动画 */
        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-20px);
            }
        }
        @keyframes pulse {
            0%, 100% {
                opacity: 0.6;
                transform: scale(1);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
        }
        @keyframes countUp {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .count-animate {
            animation: countUp 0.8s ease-out forwards;
        }
        .arrow-float {
            animation: float 2s infinite ease-in-out;
        }
        .pulse-animate {
            animation: pulse 2s infinite;
        }

        /* FAQ手风琴 */
        .faq-answer {
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.4s ease, padding 0.3s ease;
            background-color: #FAF7F4;
            border-radius: 8px;
            margin-top: 8px;
        }
        .faq-item.active .faq-answer {
            max-height: 200px;
            padding: 16px;
        }
        .faq-item.active .faq-question-text {
            color: #FF3B0F;
        }
        .faq-arrow {
            transition: transform 0.3s ease;
        }
        .faq-item.active .faq-arrow {
            transform: rotate(180deg);
        }

        /* 卡片hover */
        .card-hover {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-radius: 16px;
            background: white;
            box-shadow: 0 4px 20px rgba(255, 59, 15, 0.08);
        }
        .card-hover:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(255, 59, 15, 0.15);
            border-top: 3px solid #FF3B0F;
        }
        .icon-circle {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #FF3B0F, #FF5A2A);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }
        .card-hover:hover .icon-circle {
            transform: scale(1.1);
        }
        .case-img-wrapper {
            overflow: hidden;
            border-radius: 16px 16px 0 0;
        }
        .case-img-wrapper img {
            transition: transform 0.4s ease;
        }
        .card-hover:hover .case-img-wrapper img {
            transform: scale(1.03);
        }

        /* 响应式 */
        @media (max-width: 768px) {
            .desktop-nav-links {
                display: none !important;
            }
            .hamburger-btn {
                display: block !important;
            }
            .mobile-menu {
                display: flex;
            }
            #hero {
                height: 80vh;
            }
            #hero h1 {
                font-size: 32px;
            }
            .service-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .case-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .advantage-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 480px) {
            .service-grid {
                grid-template-columns: 1fr;
            }
            .case-grid {
                grid-template-columns: 1fr;
            }
            .advantage-grid {
                grid-template-columns: 1fr 1fr;
            }
            .nav-cta {
                display: none;
            }
            .footer-grid {
                grid-template-columns: 1fr !important;
            }
        }
        .hamburger-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
        }
