/* ================================
   CSS Variables & Root Styles
================================ */
:root {
    /* Primary Colors - Deep Navy Blue */
    --color-primary: #1B3A57;
    --color-primary-light: #2A5580;
    --color-primary-dark: #0D1E2D;

    /* Accent Colors - Teal/Cyan */
    --color-accent: #2DBDB6;
    --color-accent-light: #4DD4CD;
    --color-accent-dark: #1F9E98;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1B3A57 0%, #0D1E2D 100%);
    --gradient-accent: linear-gradient(135deg, #2DBDB6 0%, #1F9E98 100%);
    --gradient-hero: linear-gradient(135deg, #0D1E2D 0%, #1B3A57 50%, #0D1E2D 100%);
    --gradient-text: linear-gradient(135deg, #2DBDB6 0%, #4DD4CD 100%);

    /* Neutral Colors */
    --color-dark: #0D1E2D;
    --color-gray-900: #1C2D42;
    --color-gray-800: #2D4156;
    --color-gray-700: #4A6380;
    --color-gray-600: #6B849E;
    --color-gray-500: #8FA3B8;
    --color-gray-400: #B3C3D1;
    --color-gray-300: #D1DCE5;
    --color-gray-200: #E5ECF2;
    --color-gray-100: #F4F7FA;
    --color-white: #FFFFFF;

    /* Typography */
    --font-primary: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes - Fluid */
    --text-hero: clamp(3rem, 8vw, 7rem);
    --text-h1: clamp(2.5rem, 5vw, 4rem);
    --text-h2: clamp(2rem, 4vw, 3rem);
    --text-h3: clamp(1.5rem, 3vw, 2rem);
    --text-body: 1rem;
    --text-small: 0.875rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows - Brand colored */
    --shadow-sm: 0 2px 8px rgba(27, 58, 87, 0.08);
    --shadow-md: 0 4px 16px rgba(27, 58, 87, 0.12);
    --shadow-lg: 0 8px 32px rgba(27, 58, 87, 0.16);
    --shadow-xl: 0 20px 60px rgba(27, 58, 87, 0.3);
    --shadow-glow: 0 0 40px rgba(45, 189, 182, 0.4);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Header Height */
    --header-height: 80px;
}

/* ================================
   Reset & Base Styles
================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ================================
   Utility Classes
================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Base button styles - see Hero section for extended button styles */
.btn-text {
    background: transparent;
    color: var(--color-primary);
    padding: var(--space-sm) 0;
}

.btn-text:hover {
    color: var(--color-accent);
}

.btn-full {
    width: 100%;
}

/* ================================
   Banner Slider Styles
================================ */
.banner-slider {
    width: 100%;
    height: 65vh;
    min-height: 450px;
    max-height: 750px;
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
    background: var(--color-gray-200);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

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

.slider-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.slider-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    font-size: 1.2rem;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.slider-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-indicator.active {
    background: var(--color-white);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.slider-arrow:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

@media (max-width: 768px) {
    .banner-slider {
        height: 280px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
}

/* ================================
   Header Styles
================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-white);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all var(--transition-base);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.logo-yourremit {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-primary-light);
    letter-spacing: -0.01em;
}

.logo-yourpay {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

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

.logo-yourpay span {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: -0.01em;
}

.logo-yourpay span em {
    font-style: normal;
    color: var(--color-accent);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    color: var(--color-gray-800);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 0 0.5px currentColor;
}

.dropdown-arrow {
    transition: transform var(--transition-fast);
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: var(--space-md) var(--space-lg);
    color: var(--color-gray-700);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.dropdown li a:hover {
    background: var(--color-gray-100);
    color: var(--color-primary);
}

.dropdown li:first-child a {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.dropdown li:last-child a {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
}

.lang-switch a {
    color: var(--color-gray-500);
    transition: color var(--transition-fast);
}

.lang-switch a:hover,
.lang-active {
    color: var(--color-primary) !important;
}

.lang-divider {
    color: var(--color-gray-400);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-base);
}

/* ================================
   Hero Section - Bold Creative Style
================================ */

.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
    padding: var(--space-2xl) 0;
}

/* Hero 粒子裝飾 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(45, 189, 182, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(45, 189, 182, 0.06) 0%, transparent 25%),
        radial-gradient(circle at 40% 80%, rgba(45, 189, 182, 0.04) 0%, transparent 20%);
    animation: heroParticles 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroParticles {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(45, 189, 182, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(27, 58, 87, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(45, 189, 182, 0.05) 0%, transparent 60%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--color-accent);
    top: -200px;
    right: -100px;
    opacity: 0.1;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--color-primary-light);
    bottom: -100px;
    left: -100px;
    opacity: 0.15;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl);
}

.hero-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-2xl);
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-top: 0;
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding-top: var(--space-2xl);
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(45, 189, 182, 0.12);
    border: 1px solid rgba(45, 189, 182, 0.35);
    border-radius: var(--radius-full);
    color: var(--color-accent-light);
    font-size: var(--text-small);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(45, 189, 182, 0.15);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(45, 189, 182, 0.15); }
    50% { box-shadow: 0 0 30px rgba(45, 189, 182, 0.25); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.hero-title-line {
    display: block;
}

.hero-title-highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 80px rgba(45, 189, 182, 0.5);
}

.hero-title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    opacity: 0.6;
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 0.4; transform: scaleX(0.95); }
    50% { opacity: 0.8; transform: scaleX(1); }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    max-width: 400px;
}

.hero-right .hero-subtitle {
    text-align: right;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-right .hero-cta {
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 20px rgba(45, 189, 182, 0.4),
        0 0 40px rgba(45, 189, 182, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-glow {
    animation: btnGlow 2.5s ease-in-out infinite;
    box-shadow:
        0 0 15px rgba(45, 189, 182, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes btnGlow {
    0%, 100% {
        box-shadow:
            0 0 15px rgba(45, 189, 182, 0.3),
            0 4px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow:
            0 0 25px rgba(45, 189, 182, 0.5),
            0 0 50px rgba(45, 189, 182, 0.2),
            0 4px 20px rgba(0, 0, 0, 0.15);
    }
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline-light:hover::before {
    opacity: 1;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Glassmorphism 光澤效果 */
.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.hero-card:hover::before {
    left: 150%;
}

.hero-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(45, 189, 182, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(45, 189, 182, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-card .card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: 0 4px 15px rgba(45, 189, 182, 0.3);
    transition: all 0.3s ease;
}

.hero-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(45, 189, 182, 0.5);
}

.hero-card span {
    font-size: var(--text-small);
    font-weight: 500;
    transition: color 0.3s ease;
}

.hero-card:hover span {
    color: var(--color-accent-light);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-gray-500);
    font-size: var(--text-small);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: pulse 2s ease-in-out infinite;
}

/* Hero App Download */
.hero-app-download {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.app-download-label {
    font-size: var(--text-small);
    color: var(--color-gray-400);
}

.app-qr-codes {
    display: flex;
    gap: var(--space-lg);
}

.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.qr-code-item img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: var(--color-white);
    padding: 4px;
}

.qr-code-item span {
    font-size: var(--text-small);
    color: var(--color-gray-500);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-lg);
    }

    .hero-left,
    .hero-right {
        align-items: center;
        text-align: center;
        padding-top: 0;
    }

    .hero-right .hero-subtitle {
        text-align: center;
    }

    .hero-right .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
    }

    .hero-container {
        padding: var(--space-lg) var(--space-lg);
    }

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

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-visual {
        gap: var(--space-md);
    }

    .hero-card {
        padding: var(--space-md);
    }

    .hero-card .card-icon {
        width: 48px;
        height: 48px;
    }

    .hero-card span {
        font-size: 0.75rem;
    }
}

/* ================================
   Section Styles
================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    margin: 0 auto;
    border-radius: var(--radius-full);
}

/* ================================
   News Section - Bold Creative Style
================================ */

.news-section {
    padding: var(--space-4xl) 0;
    background: var(--color-gray-100);
    position: relative;
    overflow: hidden;
}

.section-header.offset-title {
    margin-bottom: var(--space-3xl);
}

.section-header.offset-title .section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-accent);
    color: var(--color-white);
    font-size: var(--text-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-header.offset-title .section-title {
    font-size: var(--text-h2);
    font-weight: 800;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.title-decoration {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

.news-section .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.news-section .news-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    transform: rotate(-1deg);
}

.news-section .news-card:nth-child(2) {
    transform: rotate(1deg);
}

.news-section .news-card:nth-child(3) {
    transform: rotate(-0.5deg);
}

.news-section .news-card:hover {
    transform: rotate(0) translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: var(--space-xl);
}

.news-card-date {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.news-card-excerpt {
    color: var(--color-gray-600);
    font-size: var(--text-small);
    line-height: 1.6;
}

/* News Section Responsive */
@media (max-width: 1024px) {
    .news-section .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .news-section .news-grid {
        grid-template-columns: 1fr;
    }

    .news-section .news-card,
    .news-section .news-card:nth-child(2),
    .news-section .news-card:nth-child(3) {
        transform: none;
    }
}

/* ================================
   Services Section
================================ */
.services {
    padding: var(--space-4xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    position: relative;
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.service-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--color-accent);
    color: var(--color-dark);
    transform: scale(1.1);
}

.service-content {
    padding: var(--space-xl);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.service-link:hover {
    color: var(--color-accent);
}

.service-link svg {
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ================================
   About Section - Bold Creative Style
================================ */

.about-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: var(--gradient-primary);
    transform: skewY(-5deg);
    transform-origin: top left;
}

.about-section .about-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-section .about-content {
    color: var(--color-white);
}

.about-section .about-content .section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(45, 189, 182, 0.2);
    color: var(--color-accent);
    font-size: var(--text-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.about-section .about-content .section-title {
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

.about-section .about-content .section-title .title-decoration {
    position: absolute;
    bottom: -8px;
    left: 0;
    transform: none;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

.about-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray-300);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
}

.about-section .about-stats {
    display: flex;
    gap: var(--space-2xl);
    margin: 0;
}

.about-section .stat-item {
    text-align: center;
}

.about-section .stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
}

.about-section .stat-label {
    display: block;
    font-size: var(--text-small);
    color: var(--color-gray-400);
    margin-top: var(--space-xs);
}

.about-section .about-visual {
    position: relative;
}

.about-image-container {
    position: relative;
}

.about-section .about-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* About Section Responsive */
@media (max-width: 1024px) {
    .about-section .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-section .about-content .section-title .title-decoration {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-section .about-stats {
        justify-content: center;
    }

    .about-section .about-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .about-section .about-stats {
        flex-wrap: wrap;
    }

    .about-section .stat-item {
        flex: 1;
        min-width: 100px;
    }

    .about-image-decoration {
        width: 60px;
        height: 60px;
        top: -10px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .about-image-decoration {
        display: none;
    }
}

/* ================================
   Numbers Section
================================ */
.numbers {
    padding: var(--space-4xl) 0;
    background: var(--gradient-primary);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.number-item {
    text-align: center;
    padding: var(--space-xl);
}

.number-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.number-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.number-unit {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.number-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-gray-400);
    margin-top: var(--space-sm);
}

/* ================================
   Contact Section - Bold Creative Style
================================ */

.contact-section {
    padding: var(--space-4xl) 0;
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-2xl);
    background: var(--color-gray-100);
}

.contact-section .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-section .contact-info .section-title {
    position: relative;
    display: inline-block;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.contact-section .contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-section .contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-section .contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    flex-shrink: 0;
}

.contact-section .contact-item h4 {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-xs);
}

.contact-section .contact-item p {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 500;
}

/* Form Container */
.contact-form-container {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* CTA Container (replaces form) */
.contact-cta-container {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-cta-content {
    text-align: center;
    max-width: 400px;
}

.contact-cta-content h3 {
    font-size: 1.5rem;
    color: var(--color-gray-900);
    margin-bottom: var(--space-md);
}

.contact-cta-content p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.contact-cta-content .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-cta-content .btn svg {
    transition: transform 0.3s ease;
}

.contact-cta-content .btn:hover svg {
    transform: translateX(4px);
}

.contact-section .contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Underline Input Style */
.underline-input {
    position: relative;
    margin-bottom: var(--space-xl);
}

.underline-input input,
.underline-input textarea {
    width: 100%;
    padding: var(--space-md) 0;
    border: none;
    border-bottom: 2px solid var(--color-gray-300);
    background: transparent;
    font-size: 1rem;
    color: var(--color-primary);
    transition: border-color var(--transition-base);
}

.underline-input input:focus,
.underline-input textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.underline-input label {
    position: absolute;
    left: 0;
    top: var(--space-md);
    color: var(--color-gray-500);
    font-size: 1rem;
    pointer-events: none;
    transition: all var(--transition-base);
}

.underline-input input:focus ~ label,
.underline-input input:not(:placeholder-shown) ~ label,
.underline-input textarea:focus ~ label,
.underline-input textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    font-size: 0.75rem;
    color: var(--color-accent);
}

.focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-base);
}

.underline-input input:focus ~ .focus-line,
.underline-input textarea:focus ~ .focus-line {
    width: 100%;
}

/* Ripple Button */
.btn-ripple {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: var(--space-lg);
}

.btn-ripple .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Contact Section Responsive */
@media (max-width: 1024px) {
    .contact-section .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: var(--space-lg);
    }
}

/* ================================
   Career Section
================================ */
.career-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-white) 100%);
}

.career-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.career-header .section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-gray-600);
}

.career-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.benefit-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27, 58, 87, 0.1) 0%, rgba(45, 189, 182, 0.1) 100%);
    border-radius: 50%;
    color: var(--color-primary);
}

.benefit-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-sm);
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.5;
}

.career-cta {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.career-cta p {
    color: var(--color-gray-700);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.career-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Career Responsive */
@media (max-width: 1024px) {
    .career-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .career-benefits {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: var(--space-lg);
    }
}

/* ================================
   Footer
================================ */
.footer {
    background: var(--color-dark);
    color: var(--color-gray-400);
    position: relative;
}

.footer-top {
    padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    gap: var(--space-xl);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-group {
    gap: var(--space-md);
}

.footer-logo .logo-yourremit {
    font-size: 1.1rem;
    white-space: nowrap;
}

.footer-logo .logo-yourpay span {
    font-size: 1.1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.admin-login-link {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    transition: color var(--transition-fast);
}

.admin-login-link:hover {
    color: var(--color-accent);
}

.footer-desc {
    font-size: 0.95rem;
    margin-bottom: var(--space-xl);
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-gray-400);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-links a {
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: var(--space-sm);
}

.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
}

.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

/* ================================
   Animation Keyframes
================================ */

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(0.5deg);
    }
    50% {
        transform: translateY(-18px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-0.5deg);
    }
}

/* 不同卡片的差異化浮動 */
.hero-card-1 {
    animation: float 5s ease-in-out infinite;
}

.hero-card-2 {
    animation: float 6s ease-in-out infinite;
    animation-delay: -2s;
}

.hero-card-3 {
    animation: float 5.5s ease-in-out infinite;
    animation-delay: -1s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(45, 189, 182, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(45, 189, 182, 0.6);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

/* Animation utility classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Stagger delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Scroll animation states */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ================================
   Responsive Design
================================ */

/* --------------------------------
   Mobile Menu Styles
-------------------------------- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 30, 45, 0.8);
    backdrop-filter: blur(4px);
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--color-white);
    box-shadow: var(--shadow-xl);
    padding: var(--space-xl);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-base);
}

.mobile-menu.active .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    color: var(--color-gray-700);
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.mobile-menu-close:hover {
    background: var(--color-gray-200);
    color: var(--color-dark);
}

.mobile-nav {
    margin-top: var(--space-3xl);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.mobile-nav-item {
    border-bottom: 1px solid var(--color-gray-200);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    color: var(--color-gray-700);
    font-size: 1rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--color-primary);
}

.mobile-nav-link.active {
    color: var(--color-accent);
}

.mobile-dropdown {
    display: none;
    padding-bottom: var(--space-md);
}

.mobile-nav-item.open .mobile-dropdown {
    display: block;
}

.mobile-nav-item.open .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-gray-600);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.mobile-dropdown a:hover {
    color: var(--color-accent);
    background: var(--color-gray-100);
    border-radius: var(--radius-sm);
}

.mobile-menu-footer {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-200);
}

.mobile-lang-switch {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.mobile-lang-switch a {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    color: var(--color-gray-600);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.mobile-lang-switch a:hover,
.mobile-lang-switch a.lang-active {
    background: var(--color-gray-100);
    color: var(--color-primary);
}

/* --------------------------------
   Hamburger Menu Animation
-------------------------------- */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* --------------------------------
   1024px Breakpoint
-------------------------------- */
@media (max-width: 1024px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: var(--space-xl);
    }

    .footer-brand .footer-desc {
        margin: 0 auto var(--space-xl);
    }

    .footer-brand .footer-social {
        justify-content: center;
        text-align: center;
        margin-top: var(--space-xl);
    }

    .footer-app-download .footer-qr-codes {
        justify-content: center;
    }

    .footer-contact {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-contact .contact-list {
        align-items: center;
    }

    .footer-contact .contact-list li {
        justify-content: center;
    }
}

/* --------------------------------
   768px Breakpoint
-------------------------------- */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero adjustments */
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* App download QR codes */
    .hero-app-download {
        margin-top: var(--space-xl);
    }

    .app-qr-codes {
        justify-content: center;
    }

    .qr-code-item img {
        width: 70px;
        height: 70px;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Numbers section */
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .number-item {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
        text-align: left;
        padding: var(--space-lg);
    }

    .number-icon {
        margin-bottom: 0;
        width: 50px;
        height: 50px;
    }

    .number-value {
        font-size: 2.5rem;
    }

    /* Form elements - touch friendly */
    .form-row {
        grid-template-columns: 1fr;
    }

    .underline-input input,
    .underline-input textarea {
        padding: var(--space-lg) 0;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .btn-ripple {
        padding: var(--space-lg) var(--space-xl);
        min-height: 48px; /* Touch-friendly height */
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto var(--space-xl);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-app-download {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-links ul {
        align-items: flex-start;
    }

    .footer-links a:hover {
        padding-left: var(--space-sm);
    }

    /* Banner slider */
    .banner-slider {
        height: 250px;
    }

    .slider-placeholder {
        font-size: 1rem;
    }

    /* Section headers */
    .section-header {
        margin-bottom: var(--space-2xl);
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    /* Scroll indicator - hide on mobile */
    .scroll-indicator {
        display: none;
    }

    /* Back to top button */
    .back-to-top {
        width: 44px;
        height: 44px;
        right: var(--space-md);
        bottom: var(--space-md);
    }
}

/* --------------------------------
   480px Breakpoint
-------------------------------- */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    /* Hero section */
    .hero-badge {
        font-size: 0.7rem;
        padding: var(--space-xs) var(--space-sm);
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    /* Buttons */
    .btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        gap: var(--space-sm);
    }

    .hero-cta .btn {
        max-width: 100%;
    }

    /* App QR codes - smaller on very small screens */
    .qr-code-item img {
        width: 60px;
        height: 60px;
    }

    .qr-code-item span {
        font-size: 0.75rem;
    }

    /* News cards */
    .news-card-content {
        padding: var(--space-lg);
    }

    .news-card-title {
        font-size: 1.1rem;
    }

    /* About section */
    .about-section .stat-number {
        font-size: 2.25rem;
    }

    .about-section .stat-label {
        font-size: 0.75rem;
    }

    /* Contact section */
    .contact-form-container {
        padding: var(--space-lg);
    }

    .contact-section .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-description {
        font-size: 1rem;
    }

    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-qr-codes {
        gap: var(--space-xl);
    }

    .footer-qr-item img {
        width: 70px;
        height: 70px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .copyright {
        font-size: 0.75rem;
    }

    /* Banner slider */
    .banner-slider {
        height: 200px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
    }

    .slider-prev {
        left: var(--space-sm);
    }

    .slider-next {
        right: var(--space-sm);
    }

    .slider-indicators {
        bottom: var(--space-md);
    }

    .slider-indicator {
        width: 8px;
        height: 8px;
    }

    /* Section spacing */
    .news-section,
    .about-section,
    .contact-section {
        padding: var(--space-3xl) 0;
    }
}

/* ================================
   Footer App Download QR Codes
================================ */
.footer-app-download {
    min-width: 180px;
}

.footer-qr-codes {
    display: flex;
    flex-direction: row; /* 確保橫向排列 */
    gap: calc(var(--space-md) * 4); /* 增加間距避免手機掃描錯誤 */
    margin-top: var(--space-md);
}

.footer-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.footer-qr-item img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: white;
    padding: 4px;
    transition: transform var(--transition-base);
}

.footer-qr-item:hover img {
    transform: scale(1.05);
}

.footer-qr-item span {
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

@media (max-width: 768px) {
    .footer-app-download {
        width: 100%;
        text-align: center;
    }

    .footer-qr-codes {
        justify-content: center;
    }
}

/* ================================
   Footer Contact Info
================================ */
.footer-contact {
    min-width: 200px;
}

.footer-contact .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--color-gray-400);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact .contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent);
}

.footer-contact .contact-list li span {
    word-break: break-word;
}

.footer-contact .address-link {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact .address-link:hover {
    color: var(--color-accent);
}

.footer-contact .address-link svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent);
}

/* ================================
   Floating Social Buttons
================================ */
.floating-social {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.floating-social.visible {
    opacity: 1;
    visibility: visible;
}

.floating-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.floating-btn:hover {
    background: var(--color-accent);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(45, 189, 182, 0.3);
}

.floating-btn svg {
    width: 20px;
    height: 20px;
}

/* LinkedIn */
#float-linkedin {
    background: #0A66C2;
}

#float-linkedin:hover {
    background: #004182;
}

/* Facebook */
#float-facebook {
    background: #1877F2;
}

#float-facebook:hover {
    background: #0d5bc4;
}

/* Instagram */
#float-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

#float-instagram:hover {
    background: linear-gradient(45deg, #dc2743 0%, #cc2366 50%, #bc1888 100%);
}

/* Email */
#float-email {
    background: var(--color-accent);
}

#float-email:hover {
    background: var(--color-accent-dark);
}

/* Back to Top */
.floating-top {
    height: auto;
    padding: 10px 8px;
    flex-direction: column;
    gap: 2px;
    background: var(--color-primary);
    margin-top: 8px;
}

.floating-top span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.floating-top:hover {
    background: var(--color-accent);
}

/* Hide old back-to-top button when floating social is visible */
.floating-social.visible ~ .footer .back-to-top {
    display: none;
}

@media (max-width: 768px) {
    .floating-social {
        right: 12px;
        gap: 6px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
    }

    .floating-btn svg {
        width: 18px;
        height: 18px;
    }

    .floating-top {
        padding: 8px 6px;
    }

    .floating-top span {
        font-size: 9px;
    }

    .footer-contact {
        width: 100%;
    }
}

/* ================================
   News Page Styles
================================ */

/* Page Hero */
.page-hero {
    background: var(--gradient-hero);
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    text-align: center;
    color: var(--color-white);
}

.page-hero .section-tag {
    color: var(--color-accent);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* News Page Section */
.news-page-section {
    padding: var(--space-3xl) 0;
    background: var(--color-gray-100);
    min-height: 60vh;
}

/* News Filter */
.news-filter {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.filter-btn,
.news-tab {
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-full);
    background: var(--color-white);
    color: var(--color-gray-600);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.news-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-btn.active,
.news-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-item-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: var(--space-md);
    background: var(--color-primary);
    border-radius: var(--radius-md);
    color: var(--color-white);
}

.news-item-date .date-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.news-item-date .date-month {
    font-size: 0.75rem;
    opacity: 0.8;
}

.news-item-content {
    flex: 1;
}

.news-item-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(45, 189, 182, 0.15);
    color: var(--color-accent);
    font-size: var(--text-small);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.news-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-sm);
}

.news-item-excerpt {
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.news-item-link {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-base);
}

.news-item-link:hover {
    color: var(--color-accent);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.pagination-btn {
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    background: var(--color-white);
    color: var(--color-gray-600);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: var(--space-xs);
}

.pagination-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.pagination-num:hover {
    background: var(--color-gray-200);
}

.pagination-num.active {
    background: var(--color-primary);
    color: var(--color-white);
}

/* News Page Responsive */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: var(--space-md);
    }

    .news-item-date {
        flex-direction: row;
        min-width: auto;
        gap: var(--space-sm);
        align-self: flex-start;
    }

    .news-item-date .date-day {
        font-size: 1.5rem;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* ================================
   Viewport Fill - Desktop
   Header + Banner + Hero = 100vh
   Ratio: Nav : Banner : Hero = 1 : 5.8 : 4.2
   Banner = 58%, Hero = 42% of remaining space
================================ */
@media (min-width: 1025px) {
    .home-viewport-fill .banner-slider {
        height: calc((100vh - var(--header-height)) * 0.58);
        min-height: 380px;
        max-height: 700px;
    }

    .home-viewport-fill .hero {
        height: calc((100vh - var(--header-height)) * 0.42);
        min-height: 320px;
    }
}

/* For larger screens (1440p+) */
@media (min-width: 1025px) and (min-height: 900px) {
    .home-viewport-fill .banner-slider {
        height: calc((100vh - var(--header-height)) * 0.58);
        max-height: 750px;
    }

    .home-viewport-fill .hero {
        height: calc((100vh - var(--header-height)) * 0.42);
    }
}

/* For very large screens (4K) */
@media (min-width: 1025px) and (min-height: 1200px) {
    .home-viewport-fill .banner-slider {
        height: calc((100vh - var(--header-height)) * 0.58);
        max-height: 850px;
    }

    .home-viewport-fill .hero {
        height: calc((100vh - var(--header-height)) * 0.42);
    }
}

/* ================================
   CSR Page Styles
================================ */

/* CSR Hero Section */
.csr-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    margin-top: var(--header-height);
}

.csr-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

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

.csr-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 58, 87, 0.85) 0%,
        rgba(45, 189, 182, 0.7) 100%
    );
    z-index: 1;
}

.csr-hero .container {
    position: relative;
    z-index: 2;
    padding: var(--space-3xl) var(--space-lg);
}

.csr-hero .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    backdrop-filter: blur(4px);
}

.csr-hero .page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.csr-hero .page-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* CSR Values Section */
.csr-values {
    padding: var(--space-3xl) 0;
    background: var(--color-gray-100);
}

.csr-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.csr-value-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.csr-value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.csr-value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    color: var(--color-white);
}

.csr-value-icon svg {
    stroke: var(--color-white);
}

.csr-value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-sm);
}

.csr-value-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CSR Content Section */
.csr-content {
    padding: var(--space-3xl) 0;
}

.csr-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.csr-article:last-child {
    margin-bottom: 0;
}

.csr-article.reverse {
    direction: rtl;
}

.csr-article.reverse > * {
    direction: ltr;
}

.csr-article-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.csr-article-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.csr-article:hover .csr-article-image img {
    transform: scale(1.05);
}

.csr-article-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
}

.csr-article.reverse .csr-article-badge {
    left: auto;
    right: var(--space-md);
}

.csr-article-content h2 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.csr-article-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-md);
}

.csr-article-content > p {
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

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

.csr-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--color-gray-700);
    line-height: 1.5;
}

.csr-list li:last-child {
    margin-bottom: 0;
}

.csr-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--color-accent);
}

/* CSR Stats Section */
.csr-stats {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #234d6e 100%);
    color: var(--color-white);
}

.csr-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.csr-stat-item {
    padding: var(--space-xl);
}

.csr-stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-en);
    line-height: 1;
}

.csr-stat-unit {
    font-size: 1.5rem;
    font-weight: 500;
    margin-left: var(--space-xs);
}

.csr-stat-label {
    display: block;
    margin-top: var(--space-sm);
    font-size: 1rem;
    opacity: 0.9;
}

/* CSR Download Section */
.csr-download {
    padding: var(--space-3xl) 0;
    background: var(--color-gray-100);
}

.csr-download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-3xl);
    box-shadow: var(--shadow-md);
}

.csr-download-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-sm);
}

.csr-download-content p {
    color: var(--color-gray-600);
    max-width: 500px;
}

.csr-download-actions {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}

.csr-download-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
}

/* CSR Page Responsive */
@media (max-width: 1024px) {
    .csr-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .csr-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .csr-hero {
        min-height: 300px;
    }

    .csr-values-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .csr-value-card {
        padding: var(--space-xl);
    }

    .csr-article {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .csr-article.reverse {
        direction: ltr;
    }

    .csr-article.reverse .csr-article-badge {
        left: var(--space-md);
        right: auto;
    }

    .csr-article-image img {
        height: 250px;
    }

    .csr-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .csr-stat-item {
        padding: var(--space-md);
    }

    .csr-download-card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
    }

    .csr-download-content p {
        max-width: none;
    }

    .csr-download-actions {
        flex-direction: column;
        width: 100%;
    }

    .csr-download-actions .btn {
        justify-content: center;
    }
}

/* ================================
   Cookie Consent Banner
================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(13, 30, 45, 0.98) 0%, rgba(27, 58, 87, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-lg) var(--space-xl);
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(45, 189, 182, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cookie-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(45, 189, 182, 0.2) 0%, rgba(45, 189, 182, 0.1) 100%);
    border-radius: var(--radius-lg);
    color: var(--color-accent);
    border: 1px solid rgba(45, 189, 182, 0.3);
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.cookie-text p {
    color: var(--color-gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.cookie-btn {
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-accept {
    background: var(--gradient-accent);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(45, 189, 182, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(45, 189, 182, 0.4);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-link {
    color: var(--color-accent);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.cookie-link:hover {
    color: var(--color-accent-light);
    text-decoration: underline;
}

/* Cookie Banner 響應式 */
@media (max-width: 768px) {
    .cookie-banner {
        padding: var(--space-md);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .cookie-icon {
        display: none;
    }

    .cookie-text {
        min-width: auto;
    }

    .cookie-text h4 {
        font-size: 1rem;
    }

    .cookie-text p {
        font-size: 0.85rem;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .cookie-btn {
        width: 100%;
        padding: var(--space-md);
    }

    .cookie-link {
        margin-top: var(--space-xs);
    }
}

/* ================================
   Language Switcher
================================ */
.language-switcher {
    position: relative;
    margin-left: var(--space-md);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(45, 189, 182, 0.1);
    border: 1px solid rgba(45, 189, 182, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: rgba(45, 189, 182, 0.15);
    border-color: rgba(45, 189, 182, 0.3);
}

.lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-code {
    font-weight: 600;
}

.lang-arrow {
    transition: transform 0.3s ease;
}

.lang-dropdown.show + .lang-toggle .lang-arrow,
.lang-toggle:focus + .lang-dropdown.show ~ .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    color: var(--color-gray-700);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.lang-option:hover {
    background: var(--color-gray-100);
    color: var(--color-primary);
}

.lang-option.active {
    background: rgba(45, 189, 182, 0.1);
    color: var(--color-accent-dark);
    font-weight: 600;
}

.lang-option .lang-flag {
    font-size: 1.2rem;
}

.lang-option .lang-name {
    flex: 1;
}

/* 手機版語言切換器 */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: auto;
        margin-right: var(--space-md);
    }

    .lang-toggle {
        padding: var(--space-xs);
    }

    .lang-code {
        display: none;
    }

    .lang-dropdown {
        right: 0;
        min-width: 140px;
    }
}

/* ================================
   SPA 路由器載入指示器
================================ */
#spa-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#spa-loader.active {
    opacity: 1;
}

.spa-loader-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    animation: spa-loading 1.5s ease-in-out infinite;
}

@keyframes spa-loading {
    0% {
        width: 0;
        margin-left: 0;
    }
    50% {
        width: 70%;
        margin-left: 0;
    }
    100% {
        width: 100%;
        margin-left: 0;
    }
}

/* 導航連結 active 狀態 */
.nav-link.active {
    color: var(--color-primary);
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

/* ================================
   Font Size Adjustments - Frontend
   增加文字大小 2px（標題除外）
================================ */

body {
    font-size: 1.125rem;
}

p,
li,
span:not(.hero-title-line):not(.section-tag):not(.stat-number):not(.logo-yourremit),
label,
td,
th,
.nav-link,
.dropdown a,
.footer-desc,
.footer-links a,
.contact-list,
.about-text,
.about-description,
.hero-subtitle,
.contact-description,
.benefit-card p,
.faq-question span,
.faq-answer-content,
.policy-section p,
.policy-section li {
    font-size: 1.125rem;
}

input,
select,
textarea,
button,
.btn {
    font-size: 1.0625rem;
}

