/* =============================================
   ARMLOOP - Figma Design Recreation
   High Fidelity Landing Page Styles
   ============================================= */

/* CSS Variables - Design System */
:root {
    /* Primary Colors */
    --primary-blue: #2194F3;
    --primary-dark: #1976D2;
    --primary-light: #BBDEFB;
    
    /* Neutral Colors */
    --dark-navy: #263238;
    --dark-slate: #1a252a;
    --grey-700: #4D4D4D;
    --grey-600: #717171;
    --grey-500: #89939E;
    --grey-400: #94A3B8;
    --grey-300: #CBD5E1;
    --grey-100: #F5F7FA;
    
    /* Accent Colors */
    --cta-red: #F04438;
    --cta-red-dark: #D92D20;
    --success-green: #10B981;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* =============================================
   RESET & BASE STYLES
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-navy);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 115px; /* 为 fixed header 预留空间 (top-bar + navbar) */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition-normal);
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background-color: var(--dark-navy);
    padding: 10px 0;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    transition: var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
}

.btn-top-cta {
    background-color: var(--cta-red);
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.btn-top-cta:hover {
    background-color: var(--cta-red-dark);
    color: #fff;
}

.btn-top-phone {
    background-color: var(--dark-slate);
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-top-phone:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* =============================================
   LOADING SPINNER
   ============================================= */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    margin-top: 20px;
    color: var(--grey-600);
    font-size: 14px;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =============================================
   NAVIGATION
   ============================================= */
#header-placeholder {
    /* 整个 header 固定在顶部 */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1020 !important;
    background: #fff;
    transition: all 0.3s ease;
}

/* 滚动后隐藏 top-bar */
#header-placeholder.scrolled .top-bar {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.top-bar {
    max-height: 50px; /* 防止过渡时跳动 */
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

#footer-placeholder {
    position: relative;
}

.navbar {
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    background: #fff !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 36px;
    width: auto;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-navy);
    letter-spacing: 1px;
}

.nav-link {
    color: var(--grey-700) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary-blue);
}

/* Remove underline from active links */
.navbar-nav .nav-link.active {
    text-decoration: none;
}

.dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 2px;
    border-top-width: 5px;
    border-right-width: 4px;
    border-left-width: 4px;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    font-size: 14px;
    padding: 0.5rem 1.5rem;
    color: var(--grey-700);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--grey-100);
    color: var(--primary-blue);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Background */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(38, 50, 56, 0.7) 0%,
        rgba(38, 50, 56, 0.5) 50%,
        rgba(38, 50, 56, 0.7) 100%
    );
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title .text-primary {
    color: var(--primary-blue) !important;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta .btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
}

.hero-cta .btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-cta .btn-outline-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--dark-navy);
}

/* Avatar Group */
.avatar-group {
    display: flex;
    align-items: center;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-left: -12px;
    overflow: hidden;
    background: var(--grey-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-navy);
}

.avatar-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.avatar-text .fw-semibold {
    color: #fff;
}

/* =============================================
   CLIENTS SECTION
   ============================================= */
.clients-section {
    background: #fff;
    padding: 0;
    overflow: hidden;
}

.clients-video-wrapper {
    width: 100%;
    position: relative;
}

.clients-video {
    width: 100%;
    height: auto;
    display: block;
}

/* =============================================
   STATISTICS SECTION
   ============================================= */
.stats-section {
    background: var(--dark-navy);
    padding: 60px 0;
    color: #fff;
}

.stats-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4D4D4D;
    margin-bottom: 0.5rem;
    line-height: 1.22;
}

.stats-subtitle {
    color: #fff;
    font-size: 0.75rem;
    max-width: 320px;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.28;
}

.stat-text {
    font-size: 0.7rem;
    color: var(--primary-blue);
    margin: 0;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

/* Background Image */
.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.about-section > .container {
    position: relative;
    z-index: 2;
}

/* Features List - Simple with dark background */
.features-list-simple {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(42, 42, 42, 0.8);

    padding: 2rem;
    border-radius: 12px;
}

.feature-item-simple {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-bullet {
    width: 8px;
    height: 8px;
    min-width: 8px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    margin-top: 8px;
}

.feature-content {
    flex: 1;
}

.feature-title-simple {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* Right Column CTA */
.about-cta-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 100%;
    min-height: 400px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.section-title.text-white {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--grey-600);
    line-height: 1.7;
}

.section-subtitle.text-white {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
    background: #fff;
    padding: var(--section-padding) 0;
}

.section-title-center {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-navy);
    letter-spacing: 1px;
}

.service-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
}

.service-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 0.875rem;
    color: var(--grey-600);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   SOLUTIONS SECTION
   ============================================= */
.solutions-section {
    background: #fff;
    padding: var(--section-padding) 0;
}

.solution-card {
    display: flex;
    flex-direction: column;
}

.solution-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.solution-footer {
    display: flex;
    align-items: center;
    padding: 0;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    color: inherit;
}

a.solution-footer {
    text-decoration: none;
    color: inherit;
}

a.solution-footer:hover {
    text-decoration: none;
}

.solution-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-navy);
    margin: 0;
    transition: var(--transition-fast);
}

.solution-footer:hover .solution-title {
    color: var(--primary-blue);
}

.solution-footer i {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-left: 4px;
    transition: var(--transition-fast);
}

.solution-footer:hover i {
    transform: translateX(5px);
}

/* =============================================
   GUIDE SECTION
   ============================================= */
.guide-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

/* Background Image */
.guide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.guide-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.guide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.guide-section > .container {
    position: relative;
    z-index: 2;
}

.guide-content {
    max-width: 100%;
}

.guide-image-wrapper {
    margin-top: 2rem;
}

.guide-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
}

/* Right Column CTA */
.guide-cta-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    height: 100%;
    min-height: 400px;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: #fff;
    padding: 80px 0;
}

.cta-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    background: var(--grey-100);
    color: var(--grey-600);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--cta-red);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--grey-600);
    margin-bottom: 2rem;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 6px;
    transition: var(--transition-normal);
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 148, 243, 0.35);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}

.btn-outline-dark {
    color: var(--dark-navy);
    border-color: var(--dark-navy);
    background: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--dark-navy);
    border-color: var(--dark-navy);
    color: #fff;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

/* =============================================
   FOOTER
   ============================================= */
.main-footer {
    background: var(--dark-navy);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--primary-blue);
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0 1.5rem;
}

.footer-bottom .logo-text {
    color: #fff;
    font-size: 1rem;
}

.footer-logo-img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    color: var(--grey-500);
    font-size: 0.8rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .stats-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 991px) {
    :root {
        --section-padding: 80px;
    }
    
    /* Keep top bar visible on tablets, optimize layout */
    .top-bar .d-flex {
        gap: 1rem;
    }
    
    .btn-top-cta,
    .btn-top-phone {
        font-size: 13px;
        padding: 7px 14px;
    }
    
    /* Mobile Dropdown Menu Styles */
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin: 0;
        position: static !important;
        transform: none !important;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease, margin 0.3s ease;
    }
    
    .navbar-nav .dropdown.show .dropdown-menu {
        max-height: 400px;
        opacity: 1;
        padding: 0.25rem 0;
        margin: 0 0 0 1rem;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.5rem 1rem 0.5rem 1.5rem;
        font-size: 14px;
        color: var(--grey-600);
        background: transparent;
        position: relative;
        transition: color 0.2s ease, padding-left 0.2s ease;
        text-decoration: none;
        border-radius: 0;
        margin: 0;
    }
    
    .navbar-nav .dropdown-item::before {
        content: '—';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        color: var(--grey-400);
        transition: color 0.2s ease;
    }
    
    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus,
    .navbar-nav .dropdown-item:active {
        background: transparent;
        color: var(--primary-blue);
        padding-left: 1.75rem;
        text-decoration: none;
        box-shadow: none;
    }
    
    .navbar-nav .dropdown-item:hover::before,
    .navbar-nav .dropdown-item:focus::before,
    .navbar-nav .dropdown-item:active::before {
        color: var(--primary-blue);
    }
    
    .navbar-nav .dropdown-toggle {
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-nav .dropdown-toggle::after {
        margin-left: auto;
        margin-right: 0;
        transition: transform 0.25s ease;
        border-top-color: var(--grey-500);
    }
    
    .navbar-nav .dropdown.show .dropdown-toggle {
        color: var(--primary-blue) !important;
    }
    
    .navbar-nav .dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
        border-top-color: var(--primary-blue);
    }
    
    /* Remove active underline on mobile */
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    
    .navbar-nav .nav-link.active {
        background: rgba(33, 148, 243, 0.08);
        border-radius: 6px;
        text-decoration: none;
        color: var(--primary-blue) !important;
    }
    
    /* Nav item styling */
    .navbar-nav .nav-item {
        margin: 0.15rem 0;
    }
    
    .navbar-nav .nav-link {
        border-radius: 6px;
        transition: background 0.2s ease, color 0.2s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(33, 148, 243, 0.05);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .hero-content-wrapper {
        padding: 100px 0 60px;
    }
    
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-title {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .stats-subtitle {
        text-align: center;
        max-width: none;
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        gap: 16px 12px;
    }
    
    .stat-item {
        gap: 8px;
    }
    
    .stat-icon {
        width: 28px;
        height: 28px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-text {
        font-size: 0.65rem;
    }
    
    .features-list-simple {
        gap: 1.25rem;
        padding: 1.75rem 1.5rem;
    }
    
    .feature-title-simple {
        font-size: 0.95rem;
    }
    
    .about-cta-wrapper {
        justify-content: center;
        align-items: center;
        min-height: auto;
        margin-top: 3rem;
    }
    
    .section-title.text-white {
        text-align: left;
    }
    
    .guide-content {
        max-width: none;
    }
    
    .guide-image {
        max-width: 100%;
    }
    
    .guide-cta-wrapper {
        justify-content: center;
        align-items: center;
        min-height: auto;
        margin-top: 3rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand .navbar-logo {
        height: 30px;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 0 !important;
        font-size: 15px;
    }
    
    .navbar-toggler {
        padding: 0.5rem;
        font-size: 1.1rem;
    }
    
    /* Mobile Dropdown - Show/Hide Animation */
    .navbar-nav .dropdown-menu {
        display: block;
    }
    
    /* Mobile collapse animation */
    .navbar-collapse {
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .navbar-collapse.collapsing {
        transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Hospitality Section Responsive - Tablet */
    .hospitality-grid {
        grid-template-columns: 1fr;
    }
    
    /* Retail Section Responsive - Tablet */
    .retail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Prevent horizontal scroll on mobile */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row > * {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    section {
        overflow-x: hidden;
    }
    
    /* Hide top bar on mobile */
    .top-bar {
        display: none;
    }
    
    /* 调整移动端 body padding（因为 top-bar 被隐藏） */
    body {
        padding-top: 70px; /* 仅 navbar 的高度 */
    }
    
    /* Mobile Menu Improvements */
    .navbar-collapse {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        background: #fff;
        border-radius: 0 0 16px 16px;
        margin: 0 -12px;
        padding: 0 12px;
    }
    
    .navbar-nav {
        padding: 1rem 0.5rem !important;
    }
    
    .navbar-nav .nav-item {
        border-bottom: none;
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .dropdown-menu {
        margin-left: 0.5rem;
        border-radius: 10px;
    }
    
    /* Mobile nav link styling */
    .navbar-nav .nav-link {
        padding: 0.85rem 1rem !important;
        font-size: 15px;
        font-weight: 500;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-content-wrapper {
        padding: 80px 0 50px;
    }
    
    .avatar {
        width: 38px;
        height: 38px;
    }
    
    .avatar-text {
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .clients-title {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-title-simple {
        font-size: 0.9rem;
    }
    
    .features-list-simple {
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .about-cta-wrapper {
        margin-top: 2.5rem;
    }
    
    .about-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .guide-section {
        padding: 60px 0;
    }
    
    .guide-image-wrapper {
        margin-top: 1.5rem;
    }
    
    .guide-cta-wrapper {
        margin-top: 2.5rem;
    }
    
    .guide-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto;
    }
    
    .solution-title {
        font-size: 0.9rem;
    }
    
    .solution-image {
        margin-bottom: 0.75rem;
        border-radius: 10px;
    }
    
    .solution-image img {
        border-radius: 10px;
    }
    
    .solutions-section .row {
        row-gap: 2.5rem !important;
    }
    
    .main-footer {
        padding: 40px 0 20px;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .avatar {
        width: 34px;
        height: 34px;
        margin-left: -8px;
    }
    
    .avatar:first-child {
        margin-left: 0;
    }
    
    .avatar-text {
        font-size: 12px;
    }
    
    .avatar-group {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* Extra Small Devices (< 400px) */
@media (max-width: 400px) {
    .navbar-brand .navbar-logo {
        height: 26px;
    }
    
    .hero-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
    
    .hero-title {
        font-size: 1.35rem;
    }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-primary {
    color: var(--primary-blue) !important;
}

.text-dark {
    color: var(--dark-navy) !important;
}

.bg-light {
    background-color: var(--grey-100) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--grey-100);
}

::-webkit-scrollbar-thumb {
    background: var(--grey-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--grey-600);
}

/* Selection */
::selection {
    background: var(--primary-blue);
    color: #fff;
}

/* Focus States */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(33, 148, 243, 0.25);
}


.theme-color{
    color: var(--primary-blue);
}

