/* --- CSS Reset & Variables --- */
        :root {
            --primary-color: #FF4757;  /* Vibrant Red */
            --primary-light: #FFE5E7;
            --secondary-color: #FF6B81; /* Lighter Red */
            --accent-color: #C0392B;    /* Dark Red */
            --text-dark: #2F3542;
            --text-light: #57606f;
            --bg-light: #FDFBFB;       /* Warm light bg */
            --white: #ffffff;
            --shadow: 0 4px 20px rgba(255, 71, 87, 0.15); /* Reddish shadow */
            --shadow-lg: 0 8px 32px rgba(255,71,87,.12);
            --gradient: linear-gradient(135deg, #FF4757 0%, #FF6348 100%); /* Red to Orange-Red */
            --radius: 12px;
            --radius-lg: 16px;
        }

        /* ---------- Insights Custom Styles ---------- */
        .insights-section { background-color: #fafafa; padding: 80px 0; }
        .insights-container { display: flex; gap: 40px; margin-top: 50px; }
        @media(max-width: 900px) { .insights-container { flex-direction: column; } }

        .hot-news-col { flex: 1.2; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 35px; }
        .latest-news-col { flex: 1; display: flex; flex-direction: column; gap: 30px; padding-top: 35px; }

        .news-list { display: flex; flex-direction: column; gap: 24px; }
        .news-item { display: flex; gap: 18px; padding: 20px; background: #FFF8F9; border-radius: 12px; transition: .3s; cursor: pointer; border: 1px solid transparent; text-decoration: none; align-items: start; }
        .news-item:hover { transform: translateY(-3px); border-color: var(--primary-light); box-shadow: 0 10px 30px rgba(255,71,87,.08); }
        .news-item.featured { background: #fff5f5; border: 1px solid var(--primary-color); }
        
        .news-thumb { width: 120px; height: 80px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; background-color: #f0f0f0; }
        .news-content { flex: 1; }
        .news-content h4 { font-size: 16px; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4; font-weight: bold; }
        .news-content p { font-size: 13px; color: #666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0; }
        .news-date { font-size: 12px; color: #999; margin-top: 8px; display: block; }

        .simple-news-list { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px; list-style: none; margin: 0; }
        .simple-news-list li { padding: 12px 0; border-bottom: 1px solid #F5F5F5; }
        .simple-news-list li:last-child { border: none; }
        .simple-news-list a { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #444; transition: .2s; text-decoration: none; }
        .simple-news-list a:hover { color: var(--primary-color); }
        .simple-news-list .date { font-size: 12px; color: #999; }

        .subscribe-card { background: var(--gradient); color: #fff; border-radius: var(--radius-lg); padding: 30px; text-align: center; box-shadow: var(--shadow-lg); }
        .subscribe-card h4 { font-size: 18px; margin-bottom: 10px; font-weight: bold; color: white; }
        .subscribe-card p { font-size: 13px; margin-bottom: 20px; opacity: .9; color: white; }
        .subscribe-card .form-control { width: 100%; padding: 12px 15px; border: none; border-radius: 8px; margin-bottom: 15px; font-size: 14px; background: white; color: #333; }
        .subscribe-card .btn-light { width: 100%; background: #fff; color: var(--primary-color); border: none; padding: 12px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: .3s; }
        .subscribe-card .btn-light:hover { background: var(--primary-light); }

        .gradient-title {
            font-size: 24px;
            font-weight: 800;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
            margin-bottom: 10px;
        }
        .section-header {
            border-bottom: 2px solid #f0f0f0;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
        }

        /* --- Fan Carousel Styles --- */
        .fan-carousel-container {
            perspective: 1600px;
            height: 480px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            margin: 20px 0 80px;
            padding: 48px 72px;
            overflow: hidden;
            border-radius: 24px;
            background: linear-gradient(135deg, #fff8f8 0%, #f8fafc 55%, #fff 100%);
            border: 1px solid #f0f0f0;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
        }

        .fan-carousel-stage {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            transform-style: preserve-3d;
        }

        .fan-card-wrapper {
            position: absolute;
            width: 320px;
            transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, filter 0.45s ease;
            cursor: pointer;
            will-change: transform, opacity;
        }

        .fan-card-wrapper.is-active {
            cursor: default;
        }

        .fan-card-wrapper .geo-value-card,
        .fan-card-wrapper .fan-card {
            height: 300px;
            margin: 0;
            backface-visibility: hidden;
            border-radius: 20px;
            padding: 28px 26px 24px;
            background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
            border: 1px solid #eceff3;
            box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 14px;
            overflow: hidden;
            position: relative;
            transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease, filter 0.45s ease;
        }

        .fan-card-wrapper.is-active .fan-card {
            border-color: rgba(255, 71, 87, 0.35);
            box-shadow: 0 20px 45px rgba(255, 71, 87, 0.18);
            transform: translateY(-6px);
        }

        .fan-card-wrapper:not(.is-active) .fan-card {
            filter: saturate(0.92);
        }

        .fan-card-index {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
            color: #fff;
            font-size: 13px;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            letter-spacing: 0.5px;
            box-shadow: 0 8px 18px rgba(255, 71, 87, 0.28);
            flex-shrink: 0;
            transition: background 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
        }

        .fan-card-wrapper:not(.is-active) .fan-card-index {
            background: #e2e8f0;
            color: #64748b;
            box-shadow: none;
        }

        .fan-card .card-title {
            font-size: 19px;
            font-weight: 800;
            color: #1f2937;
            line-height: 1.35;
            margin: 0;
            text-align: left;
        }

        .fan-card .card-desc {
            font-size: 14px;
            color: #64748b;
            line-height: 1.7;
            margin: 0;
            text-align: left;
            flex: 1;
        }

        .fan-card.highlight::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient);
            border-radius: 20px 20px 0 0;
        }

        .carousel-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
            cursor: pointer;
            z-index: 100;
            border: 1px solid #e8edf2;
            transition: 0.25s ease;
            color: var(--primary-color);
            font-size: 22px;
            line-height: 1;
            user-select: none;
        }

        .carousel-nav-btn:hover {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            box-shadow: 0 10px 28px rgba(255, 71, 87, 0.35);
            transform: translateY(-50%) scale(1.05);
        }

        .carousel-nav-btn.prev { left: 18px; }
        .carousel-nav-btn.next { right: 18px; }

        .fan-carousel-dots {
            position: absolute;
            left: 50%;
            bottom: 18px;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 120;
        }

        .fan-carousel-dot {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: #d6dee8;
            border: none;
            padding: 0;
            cursor: pointer;
            transition: width 0.35s ease, background 0.35s ease;
        }

        .fan-carousel-dot.is-active {
            width: 24px;
            background: var(--primary-color);
        }

        @media (max-width: 768px) {
            .fan-carousel-container {
                height: auto;
                display: block;
                perspective: none;
                padding: 24px 18px 56px;
            }

            .fan-carousel-stage {
                display: grid;
                grid-template-columns: 1fr;
                gap: 16px;
                height: auto;
            }

            .fan-card-wrapper {
                position: relative;
                width: 100%;
                transform: none !important;
                opacity: 1 !important;
                z-index: 1 !important;
                filter: none !important;
            }

            .fan-card-wrapper .fan-card {
                height: auto;
                min-height: 0;
            }

            .carousel-nav-btn,
            .fan-carousel-dots { display: none; }
        }

        /* --- GEO Value Cards (shared) --- */
        .geo-value-card {
            background: #fff;
            padding: 30px;
            border-radius: 16px;
            border: 1px solid #f1f1f1;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
            transition: 0.3s;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 280px;
        }

        .geo-value-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(255, 71, 87, 0.08);
            border-color: #fee;
        }

        .geo-value-card.highlight {
            border-top: 4px solid var(--primary-color);
        }

        .card-title {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
            text-align: center;
        }

        .card-desc {
            font-size: 13px;
            color: #666;
            line-height: 1.6;
            text-align: center;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: var(--text-dark); background-color: var(--bg-light); }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }
        
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .btn { display: inline-block; padding: 12px 30px; border-radius: 30px; background: var(--gradient); color: white; font-weight: bold; cursor: pointer; border: none; box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4); transition: transform 0.2s; }
        a.btn, a.btn-outline, a.btn-text { text-decoration: none; }
        a.btn { color: white; }
        a.btn-outline { color: var(--primary-color); }
        .btn:hover { transform: translateY(-2px); }
        .btn-outline { background: white; color: var(--primary-color); border: 1px solid var(--primary-color); }
        .text-center { text-align: center; }
        .mt-20 { margin-top: 20px; }
        
        /* --- Header --- */
        header.site-header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #f1f1f1; }
        .nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 74px; }
        
        /* Logo Design */
        .logo { 
            font-size: 26px; 
            font-weight: 800; 
            color: var(--text-dark); 
            display: flex; 
            align-items: center; 
            gap: 8px; 
            letter-spacing: -0.5px;
            font-family: 'Helvetica Neue', sans-serif; /* Cleaner font for English */
        }
        .logo span.highlight { color: var(--primary-color); }
        .logo-icon {
            width: 12px;
            height: 12px;
            background: var(--primary-color);
            border-radius: 50%;
            display: inline-block;
            box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.2);
        }

        .nav-menu { display: flex; gap: 30px; }
        .nav-item { cursor: pointer; font-size: 16px; font-weight: 500; color: var(--text-dark); padding: 5px 0; position: relative; }
        .nav-item.active { color: var(--primary-color); font-weight: bold; }
        .nav-item.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--primary-color); border-radius: 2px; }
        .header-actions { display: flex; gap: 15px; align-items: center; }

        /* --- Sections Utility --- */
        .legacy-page-section { display: block; padding: 60px 0; animation: fadeIn 0.5s; }
        .legacy-page-section.active { display: block; }
        .section-title { text-align: center; font-size: 32px; margin-bottom: 15px; font-weight: bold; }
        .section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
        
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        [x-cloak] { display: none !important; }

        /* --- Home: Hero --- */
        .hero { background: white; padding: 80px 0; overflow: hidden; }
        .hero-content { display: flex; align-items: center; gap: 50px; }
        .hero-text { flex: 1; }
        .hero-text h1 { font-size: 42px; line-height: 1.2; margin-bottom: 20px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .hero-text p { font-size: 18px; color: var(--text-light); margin-bottom: 30px; }
        .hero-image { flex: 1; position: relative; }
        .hero-card { background: white; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); padding: 20px; transform: perspective(1000px) rotateY(-5deg); transition: 0.5s; }
        .hero-card:hover { transform: perspective(1000px) rotateY(0deg); }
        
        /* --- Grid Layouts --- */
        .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

        /* --- Feature Cards --- */
        .feature-card { background: white; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); transition: 0.3s; border-top: 4px solid transparent; }
        .feature-card:hover { transform: translateY(-5px); border-top-color: var(--accent-color); }
        .feature-icon { font-size: 30px; margin-bottom: 20px; color: var(--accent-color); }
        .feature-card h3 { margin-bottom: 15px; font-size: 18px; }
        .feature-card p { font-size: 14px; color: var(--text-light); }

        /* --- Journey & Process --- */
        .journey-section { background: white; padding: 60px 0; }
        .process-steps { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
        .process-step { flex: 1; min-width: 150px; text-align: center; position: relative; padding: 20px; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
        .step-num { width: 40px; height: 40px; background: var(--gradient); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-weight: bold; }
        .process-step h4 { margin-bottom: 10px; font-size: 16px; font-weight: bold; }
        .process-step p { font-size: 12px; color: var(--text-light); }
        .step-arrow { display: block; font-size: 20px; color: #ddd; margin: 10px 0; }

        /* --- Service Modules (Interactive) --- */
        .service-module-card { 
            background: white; 
            border-radius: var(--radius); 
            padding: 40px; 
            box-shadow: var(--shadow); 
            border: 1px solid #f0f0f0; 
            position: relative; 
            overflow: hidden; 
            height: 480px; 
            display: flex;
            flex-direction: column;
            transition: 0.3s;
        }
        .service-module-card:hover {
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
            border-color: #ffd1d1;
        }
        .service-module-card.core { border: 2px solid var(--primary-color); }
        .service-module-card.core::before { content: var(--core-module-label, 'Core Module'); position: absolute; top: 0; right: 0; background: var(--primary-color); color: white; padding: 5px 15px; font-size: 12px; border-bottom-left-radius: 10px; z-index: 10; }
        
        .card-content-shift {
            transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .service-module-card:hover .card-content-shift {
            transform: translateY(-60px);
        }

        .module-list { margin: 20px 0; padding-left: 20px; flex: 1; }
        .module-list li { list-style-type: disc; margin-bottom: 15px; color: #555; font-size: 14px; line-height: 1.6; }

        /* Deliverable Hint */
        .deliverable-hint {
            margin-top: 20px;
            padding: 15px;
            background: #f9fbfd;
            border-radius: 8px;
            border: 1px dashed #d1d9e6;
            transition: 0.3s;
        }
        .service-module-card:hover .deliverable-hint {
            opacity: 0;
            transform: translateY(20px);
        }
        .deliverable-hint .tag {
            background: var(--primary-color);
            color: white;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 11px;
            margin-right: 5px;
        }
        .hint-text { font-size: 12px; color: #999; margin-top: 5px; text-align: center; }

        /* Sliding Panel */
        .deliverable-slide-panel {
            position: absolute;
            bottom: -220px; /* Start hidden */
            left: 0;
            width: 100%;
            height: 250px;
            background: linear-gradient(to top, #fff 100%, rgba(255,255,255,0));
            transition: bottom 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            justify-content: center;
            align-items: flex-end;
            padding-bottom: 30px;
            z-index: 5;
            pointer-events: none;
        }
        .service-module-card:hover .deliverable-slide-panel {
            bottom: 0;
        }
        .visual-container {
            width: 85%;
            height: 180px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
            border: 1px solid #eee;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: perspective(1000px) rotateX(10deg);
            transform-origin: bottom;
            transition: 0.5s;
        }
        .service-module-card:hover .visual-container {
            transform: perspective(1000px) rotateX(0deg);
        }

        /* Simulated Docs */
        .sim-doc { width: 100%; height: 100%; padding: 15px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
        .sim-header { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
        .sim-dot { width: 8px; height: 8px; background: #ff4757; border-radius: 50%; }
        .sim-line { height: 6px; background: #f0f0f0; border-radius: 3px; width: 100%; }
        .sim-line.sm { width: 40px; }
        
        .sim-row { display: flex; gap: 8px; align-items: center; }
        .sim-col-1 { width: 20%; height: 8px; background: #eee; border-radius: 2px; }
        .sim-col-2 { width: 60%; height: 8px; background: #f9f9f9; border-radius: 2px; }
        .sim-badge { width: 15px; height: 15px; background: #dff9fb; border-radius: 50%; border: 2px solid #c7ecee; }
        
        .sim-list-item { display: flex; gap: 10px; align-items: center; }
        .sim-check { width: 16px; height: 16px; background: #2ed573; color: white; font-size: 10px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
        
        .sim-chart-area { display: flex; align-items: flex-end; justify-content: space-around; height: 80px; border-bottom: 2px solid #eee; padding-bottom: 5px; margin-top: 10px; }
        .sim-bar { width: 12px; background: linear-gradient(to top, #ff6b81, #ff4757); border-radius: 3px 3px 0 0; opacity: 0.8; }
        
        .sim-desc { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; background: rgba(255,255,255,0.9); padding: 8px; font-size: 12px; font-weight: bold; color: #333; border-top: 1px solid #eee; }

        /* --- Case Studies Grid (New) --- */
        .case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-bottom: 60px; }
        .case-card { 
            background: white; 
            border-radius: 12px; 
            box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
            overflow: hidden; 
            transition: 0.3s; 
            border: 1px solid #f0f0f0;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .case-card:hover { 
            transform: translateY(-5px); 
            box-shadow: 0 15px 30px rgba(255, 71, 87, 0.15); 
            border-color: var(--primary-color); 
        }
        .case-img-placeholder {
            height: 180px;
            background: #f8fafc;
            overflow: hidden;
            display: block;
            border-bottom: 1px solid #f0f0f0;
        }
        .case-img-placeholder img {
            width: 100%;
            height: 100%;
            max-height: none;
            max-width: none;
            object-fit: cover;
            display: block;
        }
        .case-content {
            padding: 25px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .case-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 8px;
            color: #333;
        }
        .case-tags {
            font-size: 12px;
            color: var(--primary-color);
            background: #FFF0F1;
            padding: 4px 8px;
            border-radius: 4px;
            margin-bottom: 15px;
            align-self: flex-start;
            font-weight: 600;
        }
        .case-desc {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
            text-align: justify;
        }
        .case-sub-label {
            font-size: 12px;
            color: #999;
            margin-bottom: 5px;
            font-weight: bold;
        }

        /* --- Team Table --- */
        .team-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 30px; }
        .team-table th { background: #f0f4f8; text-align: left; padding: 15px 20px; color: var(--text-dark); }
        .team-table td { padding: 15px 20px; border-bottom: 1px solid #eee; font-size: 14px; color: #666; }
        .team-table tr:last-child td { border-bottom: none; }

        /* --- Footer --- */
        footer { background: #2c3e50; color: white; padding: 50px 0 20px; margin-top: 80px; }
        .footer-content { display: flex; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 30px; }
        .footer-col h4 { margin-bottom: 20px; font-size: 18px; }
        .footer-col ul li { margin-bottom: 10px; color: #bdc3c7; cursor: pointer; }
        .copyright { text-align: center; padding-top: 20px; border-top: 1px solid #34495e; color: #7f8c8d; font-size: 14px; }

        /* --- Simulated Query Page Styles --- */
        .query-box { background: white; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 800px; margin: 0 auto; }
        .form-control { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; margin-bottom: 0; box-sizing: border-box; font-family: inherit; }
        textarea.form-control { resize: vertical; min-height: 96px; }
        .result-area { margin-top: 30px; display: none; padding: 20px; background: #f8f9fa; border-radius: 8px; }
        .loading-bar { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; margin: 20px 0; }
        .loading-progress { height: 100%; width: 0%; background: var(--gradient); transition: width 2s ease-in-out; }

        .step-progress { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; gap: 8px; }
        .step-progress::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: #eee; z-index: 0; transform: translateY(-50%); }
        .step-indicator { position: relative; z-index: 1; background: white; padding: 5px 15px; border-radius: 20px; border: 1px solid #ddd; font-size: 14px; color: #999; font-weight: bold; white-space: nowrap; }
        .step-indicator.active { color: white; background: var(--gradient); border-color: transparent; box-shadow: 0 2px 10px rgba(255, 71, 87, 0.3); }

        .form-step { display: none; animation: fadeIn 0.3s; }
        .form-step.active { display: block; }

        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; margin-bottom: 8px; font-weight: bold; font-size: 14px; color: #333; }
        .form-group label.required::after { content: '*'; color: var(--primary-color); margin-left: 4px; }

        .chip-group { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
        .chip { padding: 8px 15px; border: 1px solid #ddd; border-radius: 20px; cursor: pointer; font-size: 14px; transition: 0.2s; background: white; user-select: none; }
        .chip:hover { border-color: var(--secondary-color); color: var(--secondary-color); }
        .chip.selected { background: var(--primary-color); color: white; border-color: var(--primary-color); }
        .chip-input { border: none; border-bottom: 1px solid #ddd; padding: 8px 5px; outline: none; font-size: 14px; min-width: 120px; transition: 0.3s; background: transparent; }
        .chip-input:focus { border-bottom-color: var(--primary-color); }

        .step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
        .step-actions.right { justify-content: flex-end; }

        .form-check { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
        .form-check input { margin-top: 3px; flex-shrink: 0; }
        .form-check label { font-weight: normal; cursor: pointer; }

        .btn-text {
            display: inline-block;
            padding: 10px 18px;
            border: 1px solid var(--primary-color);
            border-radius: 24px;
            background: white;
            color: var(--primary-color);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.25s ease;
        }
        .btn-text:hover {
            background: var(--primary-color);
            color: white;
        }
        a.btn-text { text-decoration: none; }

        @media (max-width: 600px) {
            .step-indicator { font-size: 12px; padding: 4px 10px; }
            .query-box { padding: 24px 18px; }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-content { flex-direction: column; text-align: center; }
            .hero-text h1 { font-size: 32px; }
            .nav-menu { display: none; }
            .process-steps { flex-direction: column; }
            .step-arrow { transform: rotate(90deg); margin: 5px auto; }
        }
    


    .floating-sidebar {
        position: fixed;
        right: 30px;
        bottom: 50px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .sidebar-card {
        background: white;
        border-radius: 16px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        padding: 8px 0;
        width: 90px;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible;
    }

    .sidebar-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 18px 0;
        cursor: pointer;
        transition: all 0.2s;
        color: #333;
        position: relative;
    }

    .sidebar-item:hover {
        background: transparent;
    }
    
    .sidebar-item:hover .sidebar-icon, .sidebar-item:hover .sidebar-text {
        color: var(--primary-color);
        stroke: var(--primary-color);
        fill: none;
    }
    .sidebar-item:hover .sidebar-icon {
        transform: scale(1.1);
        transition: transform 0.2s;
    }

    .sidebar-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 8px;
        transition: all 0.2s;
    }

    .sidebar-text {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        transition: color 0.2s;
    }

    .sidebar-divider {
        width: 50%;
        height: 1px;
        background: #f0f0f0;
        margin: 0 auto;
    }

    /* Tooltip Styles */
    .phone-tooltip {
        position: absolute;
        right: 105px;
        top: 50%;
        transform: translateY(-50%) translateX(10px);
        background: white;
        padding: 15px 20px;
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        gap: 15px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        pointer-events: none;
        border: 1px solid #f5f5f5;
        z-index: 10000;
    }

    .sidebar-item:hover .phone-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
        pointer-events: auto;
    }

    .phone-tooltip::after {
        content: '';
        position: absolute;
        right: -6px;
        top: 50%;
        margin-top: -6px;
        width: 12px;
        height: 12px;
        background: white;
        transform: rotate(45deg);
        border-top: 1px solid #f5f5f5;
        border-right: 1px solid #f5f5f5;
    }

    .tooltip-icon {
        width: 40px;
        height: 40px;
        background: var(--gradient);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
    }

    .tooltip-content {
        font-size: 14px;
        color: var(--primary-color);
        font-weight: bold;
        line-height: 1.4;
    }

    .back-top {
        padding: 20px 0;
        cursor: pointer;
        color: #333;
        transition: all 0.2s;
        border-radius: 16px;
    }

    .back-top:hover {
        background: white;
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    }
    
    .back-top:hover .sidebar-icon {
        color: var(--primary-color);
        stroke: var(--primary-color);
    }
    
    .back-top .sidebar-icon {
        margin-bottom: 0;
        width: 32px;
        height: 32px;
    }

/* --- Gatsby site header (fix Link/Tailwind conflicts) --- */
.site-header .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.site-header .nav-menu li {
    margin: 0;
    padding: 0;
}

.site-header a.logo,
.site-header .nav-menu a.nav-item,
.site-header .header-actions a {
    text-decoration: none;
}

.site-header a.logo {
    color: var(--text-dark);
}

.site-header .nav-menu a.nav-item {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
}

.site-header .nav-menu a.nav-item:hover {
    color: var(--primary-color);
}

.site-header .nav-menu a.nav-item.active {
    color: var(--primary-color);
    font-weight: bold;
}

.site-header .header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.site-header .header-phone {
    color: var(--text-dark);
    font-size: 14px;
    white-space: nowrap;
}

.site-header .header-cta {
    color: #fff !important;
    font-size: 13px;
    padding: 8px 20px;
    white-space: nowrap;
}

/* --- Brand logo marquee / ecosystem carousel --- */
.marquee-section {
    padding: 60px 0;
    background: #f9fbfd;
    overflow: hidden;
}

.marquee-row {
    margin-bottom: 20px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-row::before,
.marquee-row::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-row::before {
    left: 0;
    background: linear-gradient(to right, #f9fbfd, transparent);
}

.marquee-row::after {
    right: 0;
    background: linear-gradient(to left, #f9fbfd, transparent);
}

.marquee-content-cards {
    display: inline-flex;
    animation: scrollCards 40s linear infinite;
}

.marquee-content-cards.reverse {
    animation-direction: reverse;
}

.logo-card {
    background: white;
    width: 180px;
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.logo-card img {
    max-width: 90%;
    max-height: 80%;
    filter: grayscale(0%);
    opacity: 1;
    transition: 0.3s;
}

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

@keyframes scrollCards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Home page partner ecosystem carousel (narrow side panel) */
.ecosystem-marquee {
    overflow: hidden;
    width: 100%;
}

.ecosystem-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    animation: scrollCards 18s linear infinite;
    width: max-content;
}

.ecosystem-marquee .ecosystem-logo {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Home: GEO value card grid */
@media (min-width: 1024px) {
    .geo-value-card-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (max-width: 1023px) {
    .geo-value-card-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

.geo-value-card .card-visual {
    background: #f8fafc;
    height: 100px;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.geo-value-card .flex-col { flex-direction: column; }
.geo-value-card .visual-text { z-index: 1; text-align: center; font-size: 12px; }
.geo-value-card .data-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

/* Home: service early-bird CTA */
.early-bird-offer {
    text-align: center;
    margin-top: 40px;
    background: #FFF5F5;
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed var(--primary-color);
}

.early-bird-offer h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.early-bird-offer p {
    color: #666;
}

.early-bird-offer .btn {
    margin-top: 15px;
}

/* Home: process steps */
.process-step-new {
    text-align: center;
    padding: 15px 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    position: relative;
    transition: 0.3s;
}

.process-step-new:hover {
    border-color: var(--primary-color);
    background: #fffafb;
}

.process-step-new h4 {
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--text-dark);
}

.process-step-new p {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.5;
}

@media (min-width: 992px) {
    .process-step-new:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -12px;
        top: 50%;
        transform: translateY(-50%);
        color: #eee;
        font-size: 20px;
        z-index: 1;
    }
}

/* Home: AI chat simulation */
.value-prop-header { text-align: center; margin-bottom: 50px; }

.ai-chat-simulation {
    position: relative;
    background: linear-gradient(180deg, #f9fbfd 0%, #fff 100%);
    padding: 60px 20px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    margin-bottom: 60px;
}

.ai-chat-simulation .bubble {
    position: absolute;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    color: #999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    animation: floatBubble 6s ease-in-out infinite;
}

.ai-chat-simulation .b1 { top: 10%; left: 5%; animation-delay: 0s; }
.ai-chat-simulation .b2 { top: 25%; left: -2%; animation-delay: 1s; }
.ai-chat-simulation .b3 { top: 15%; right: 10%; animation-delay: 2s; }
.ai-chat-simulation .b4 { bottom: 15%; left: 10%; animation-delay: 3s; }
.ai-chat-simulation .b5 { bottom: 25%; right: 5%; animation-delay: 1.5s; }
.ai-chat-simulation .b6 { bottom: 10%; right: 20%; animation-delay: 2.5s; }

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ai-icons-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.ai-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100px;
}

.ai-card {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f7f7f7;
    transition: all 0.3s ease;
}

.ai-card img,
.ai-card svg {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: 0.3s;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.ai-icon-box:hover .ai-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #ffeaa7;
}

.ai-icon-box:hover img,
.ai-icon-box:hover svg { transform: scale(1.1); }

.ai-name {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.chat-interaction {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.chat-message.user { flex-direction: row-reverse; }

.chat-interaction .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 14px;
}

.user-av {
    background: #FF4757;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

.ai-av { background: #2d3436; }

.message-bubble {
    padding: 18px 25px;
    border-radius: 15px;
    font-size: 16px;
    position: relative;
    max-width: 85%;
    line-height: 1.6;
}

.user-msg {
    background: #FF4757;
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.2);
}

.ai-msg {
    background: white;
    color: #2d3436;
    border: 1px solid #eee;
    border-bottom-left-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-size: 18px;
}

.ai-msg strong {
    color: #FF4757;
    font-size: 22px;
    font-weight: 800;
}

.implementation-details { margin-top: 60px; }

.impl-title-interactive {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    border: 2px solid #FF4757;
    font-size: 24px;
    font-weight: bold;
    color: #FF4757;
    cursor: pointer;
    transition: 0.3s;
    background: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.1);
    text-decoration: none;
}

.impl-title-interactive:hover {
    background: #FF4757;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.3);
}

.impl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.impl-step {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: 0.3s;
}

.impl-step:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.1);
}

.impl-step h4 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.impl-step p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ai-chat-simulation .bubble { display: none; }
}

/* Blog article detail pages */
.blog-article {
    max-width: 760px;
    margin: 0 auto;
}

.blog-article-header {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
}

.blog-back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.blog-back-link:hover {
    text-decoration: underline;
}

.blog-article-hero {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    margin-bottom: 32px;
}

.blog-article-header h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.blog-article-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 32px;
}

.blog-article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.blog-article-body h2 {
    font-size: 22px;
    margin: 36px 0 16px;
    color: var(--text-dark);
}

.blog-article-body p {
    margin-bottom: 18px;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 18px 24px;
}

.blog-article-body li {
    margin-bottom: 8px;
}

.blog-article-cta {
    margin-top: 48px;
    padding: 28px;
    background: #fff5f5;
    border-radius: 12px;
    border: 1px dashed var(--primary-color);
    text-align: center;
}

.blog-article-cta p {
    margin-bottom: 16px;
    color: #666;
}

/* Product page: custom English file picker */
.file-upload-control {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.file-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-upload-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.file-upload-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.file-upload-status {
    font-size: 14px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .blog-article-header h1 {
        font-size: 26px;
    }

    .blog-article-hero {
        height: 200px;
    }
}
