/*-----------------------------------------------------------------------------------
    Modern Tech Theme for DigitalMint - Payment Services
    Color Scheme: Blue gradient theme
    With i18n Multi-language Support
-----------------------------------------------------------------------------------*/

/*-- Google Fonts - Modern Tech Fonts --*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;600;700&family=Noto+Sans+TC:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary Blue Color Palette */
    --primary-blue: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    
    /* Neutral Colors */
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-light: #e2e8f0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
    
    /* Spacing */
    --section-padding: 120px;
    --container-max-width: 1280px;
}

/*-- Font Families for Different Languages --*/
html[lang="zh-Hans"] body,
html[lang="zh-CN"] body {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html[lang="zh-Hant"] body,
html[lang="zh-HK"] body,
html[lang="zh-TW"] body {
    font-family: 'Noto Sans TC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/*-- Global Reset for Modern Theme --*/
.modern-theme {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.modern-theme * {
    box-sizing: border-box;
}

/*-- Modern Header --*/
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.modern-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modern-header .logo-img {
    height: 40px;
    width: auto;
    /* 4K/High-DPI optimization for PNG */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated; /* Sharp edges on upscale */
    transform: translateZ(0); /* Force GPU acceleration */
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent blur from browser scaling */
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
}

/* High-DPI screen optimization - keep sharp at native resolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .modern-header .logo-img {
        height: 40px;
        image-rendering: pixelated;
    }
}

/* 4K screens - limit max height to prevent excessive blur */
@media (min-width: 2560px) {
    .modern-header .logo-img {
        height: 40px;
        max-height: 40px;
    }
}

@media (min-width: 3840px) {
    .modern-header .logo-img {
        height: 40px;
        max-height: 40px;
        /* On 4K, use nearest-neighbor for sharper edges */
        image-rendering: pixelated;
    }
}

.modern-header .logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.modern-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.modern-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.modern-nav a:hover {
    color: var(--primary-blue);
}

.modern-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.modern-nav a:hover::after {
    width: 100%;
}

.modern-nav a.active {
    color: var(--primary-blue);
}

.modern-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/*-- Language Switcher --*/
.language-switcher {
    position: relative;
}

.language-switcher .current-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.language-switcher .current-lang:hover {
    background: var(--bg-gray);
    border-color: var(--primary-light);
}

.language-switcher .lang-flag {
    font-size: 18px;
}

.language-switcher .lang-code {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
}

.language-switcher .current-lang i {
    font-size: 12px;
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.language-switcher.open .current-lang i {
    transform: rotate(180deg);
}

.language-switcher .lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    min-width: 180px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.language-switcher.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-switcher .lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.2s ease;
    text-align: left;
}

.language-switcher .lang-option:hover {
    background: var(--bg-light);
}

.language-switcher .lang-option.active {
    background: var(--bg-light);
    color: var(--primary-blue);
    font-weight: 600;
}

.language-switcher .lang-option:disabled {
    opacity: 0.6;
    cursor: default;
}

.language-switcher .lang-option .lang-flag {
    font-size: 20px;
}

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

/*-- Modern Buttons --*/
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-gray);
}

.btn-ghost:hover {
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/*-- Modern Hero Section --*/
.modern-hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.modern-hero .hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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;
    opacity: 0.5;
}

.modern-hero .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.modern-hero .hero-content {
    max-width: 720px;
}

.modern-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.modern-hero .hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.modern-hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* Chinese font size adjustment */
html[lang="zh-Hans"] .modern-hero h1,
html[lang="zh-Hant"] .modern-hero h1 {
    font-size: 56px;
}

.modern-hero h1 span {
    background: linear-gradient(135deg, #60a5fa 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-hero .hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 560px;
}

/* Chinese description adjustment */
html[lang="zh-Hans"] .modern-hero .hero-description,
html[lang="zh-Hant"] .modern-hero .hero-description {
    font-size: 18px;
    line-height: 1.8;
}

.modern-hero .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.modern-hero .hero-actions .btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.modern-hero .hero-actions .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.modern-hero .hero-actions .btn-ghost {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-hero .hero-actions .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.modern-hero .hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-hero .stat-item {
    display: flex;
    flex-direction: column;
}

.modern-hero .stat-value {
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.modern-hero .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* Floating Cards Animation */
.modern-hero .floating-cards {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 40%;
    right: 30%;
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    top: 70%;
    right: 15%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/*-- Modern Section Styles --*/
.modern-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.modern-section.bg-light {
    background: var(--bg-light);
}

.modern-section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header-left {
    text-align: left;
    margin: 0 0 64px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* Chinese section label adjustment */
html[lang="zh-Hans"] .section-label,
html[lang="zh-Hant"] .section-label {
    text-transform: none;
    letter-spacing: 0.1em;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gradient-primary);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* Chinese title adjustment */
html[lang="zh-Hans"] .section-title,
html[lang="zh-Hant"] .section-title {
    font-size: 38px;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
}

/*-- Modern Cards --*/
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.modern-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card .card-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.modern-card:hover .card-icon {
    background: var(--gradient-primary);
    color: white;
}

.modern-card .card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

/* Chinese card title adjustment */
html[lang="zh-Hans"] .modern-card .card-title,
html[lang="zh-Hant"] .modern-card .card-title {
    font-size: 18px;
}

.modern-card .card-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Chinese card text adjustment */
html[lang="zh-Hans"] .modern-card .card-text,
html[lang="zh-Hant"] .modern-card .card-text {
    line-height: 1.8;
}

.modern-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.modern-card .card-link:hover {
    gap: 12px;
}

/* Feature Card Variation */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card .feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.feature-card .feature-icon-wrapper img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

/*-- Stats Section --*/
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 24px;
}

.stat-card .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/*-- Trust/Logo Section --*/
.trust-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.trust-header {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-grid img {
    height: 32px;
    width: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/*-- CTA Section --*/
.cta-section {
    background: var(--gradient-hero);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

/* Chinese CTA title adjustment */
html[lang="zh-Hans"] .cta-content h2,
html[lang="zh-Hant"] .cta-content h2 {
    font-size: 38px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/*-- Modern Footer --*/
.modern-footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand .footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact .contact-item i {
    color: var(--primary-blue);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/*-- Mobile Responsive --*/
@media (max-width: 1024px) {
    .modern-hero h1 {
        font-size: 48px;
    }
    
    html[lang="zh-Hans"] .modern-hero h1,
    html[lang="zh-Hant"] .modern-hero h1 {
        font-size: 42px;
    }
    
    .floating-cards {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-header .modern-nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .modern-hero h1 {
        font-size: 36px;
    }
    
    html[lang="zh-Hans"] .modern-hero h1,
    html[lang="zh-Hant"] .modern-hero h1 {
        font-size: 32px;
    }
    
    .modern-hero .hero-description {
        font-size: 17px;
    }
    
    .modern-hero .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    html[lang="zh-Hans"] .section-title,
    html[lang="zh-Hant"] .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Mobile language switcher adjustment */
    .language-switcher .lang-menu {
        right: -50px;
    }
}

/*-- Animation Utilities --*/
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

/*-- Gradient Text --*/
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
