﻿/* Global Design System - Apple Aesthetic (Minimalist & Premium) */
:root {
    /* Colors - Apple Palette */
    --primary-color: #0071e3;
    /* Apple Link Blue */
    --primary-dark: #0077ED;
    /* Slightly lighter for hover states in dark mode context, but for light mode we use standard */
    --secondary-color: #2997ff;
    /* Lighter Blue */
    --accent-color: #06c;
    /* Classic Deep Blue */

    --text-main: #1d1d1f;
    /* Almost Black (Apple Standard) */
    --text-light: #86868b;
    /* Apple Grey */
    --text-lighter: #a1a1a6;
    /* Lighter Grey for subtle details */

    /* Backgrounds */
    --bg-color: #f5f5f7;
    /* Apple Light Grey Background */
    --bg-white: #ffffff;
    /* Pure White for Cards */
    --bg-gradient: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    /* Subtle transition */

    /* Glassmorphism Refined (iOS Style) */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    --glass-blur: blur(20px);
    --nav-height: 44px;
    /* More compact */

    /* Layout & Spacing */
    --header-height: 52px;
    --container-width: 980px;
    /* Tighter container for better readability */
    --container-wide: 1200px;
    /* For grids */

    /* Radius */
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    /* Apple-like continuous curvature feel */

    /* Shadows - Soft & Diffused */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* Apple "Depth" shadow */
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
    /* Tighten up generic fonts */
}

body {
    /* Apple System Font Stack */
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.47059;
    /* Standard Apple Line Height for body text */
    font-weight: 400;
    overflow-x: hidden;
    margin: 0;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.015em;
    font-weight: 600;
}

/* Layout Utilities */
.container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 22px;
    position: relative;
    width: 100%;
}

.section {
    padding: 120px 0;
    /* More whitespace */
    position: relative;
}

.section-title {
    font-size: 56px;
    /* Impactful size */
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-main);
    /* Remove gradient text, go for solid clean black/grey */
    background: none;
    -webkit-text-fill-color: initial;
}

.section-subtitle {
    text-align: center;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
    color: var(--text-main);
    /* Black for subtitle in new Apple style */
    max-width: 700px;
    margin: 0 auto 80px;
}

/* Hero Section Refined */
.hero {
    height: 90vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    /* Flex alignment */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    text-align: center;
    background: var(--bg-color);
    /* Fallback */
}

/* Background Image with Slow Zoom Animation */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* New Generated Background */
    background: url('https://eduproductwebsite.tos-cn-beijing.volces.com/assets/apple_style_hero_bg.webp') no-repeat center center;
    background-size: cover;
    z-index: 0;
    /* Slow breathing zoom animation */
    animation: breatheZoom 24s infinite alternate ease-in-out;
    opacity: 1;
}

/* Overlay Gradient to ensure text readability on light background */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Smooth gradient: mostly transparent middle, white fade at bottom/top */
    background: linear-gradient(180deg,
            rgba(245, 245, 247, 0.9) 0%,
            rgba(245, 245, 247, 0.4) 15%,
            rgba(255, 255, 255, 0.0) 40%,
            rgba(255, 255, 255, 0.0) 60%,
            rgba(255, 255, 255, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 2;
    /* Above background and overlay */
    max-width: 900px;
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    /* Glass capsule for logos */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 32px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.hero-logo-item {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.hero-logo-divider {
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.15);
}

.hero-text-block {
    max-width: 860px;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-main);
    background: linear-gradient(135deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 4px;
    /* Fix clipping */
}

.hero-subtitle {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 0;
}

.hero-desc {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.hero-desc strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Stagger Animation Base */
.fade-up-stagger {
    opacity: 0;
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    display: none;
}

/* Keyframes */
@keyframes breatheZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes scaleFadeIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 战略双航道 (Strategic Dual Channels) */
.strategy-section {
    position: relative;
    z-index: 2;
    margin-top: -100px;
    /* Overlap hero slightly */
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.strategy-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.strategy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(47, 112, 242, 0.15);
}

.strategy-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.8;
}

.strategy-icon {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.strategy-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.strategy-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.strategy-info .tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(47, 112, 242, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.strategy-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Core Products Section - Redesigned */
.products-section {
    background: transparent;
    padding-top: 60px;
    /* Adjust spacing */
}

.products-grid {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    margin-top: 40px;
    padding: 10px 4px 40px 4px;
    cursor: grab;

    /* Auto Scroll Setup */
    scroll-snap-type: none;
    /* Disable snap */
    scroll-behavior: auto;
    /* JS controls flow */
    -webkit-overflow-scrolling: touch;
    user-select: none;

    /* Hide Scrollbar Forcefully */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-grid::-webkit-scrollbar {
    display: none;
}

.products-grid.active {
    cursor: grabbing;
    scroll-snap-type: none;
    /* Disable snap while dragging for smoothness */
    scroll-behavior: auto;
}

/* Custom Scrollbar removed for auto-scroll */

.products-grid::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.04);
    min-width: 340px;
    width: 340px;
    flex: 0 0 auto;
    /* scroll-snap-align: center;  -> Moved to inline or keep here? Keep here. */
    scroll-snap-align: center;
}

.product-card:first-child {
    margin-left: 0;
}

.product-card:last-child {
    margin-right: 0;
}

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

.product-card:active {
    transform: scale(0.98);
    transition: transform 0.1s;
}

.product-img {
    width: 100%;
    height: 280px;
    /* Fixed height for consistency */
    overflow: hidden;
    background: transparent;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-info {
    padding: 30px;
    flex: 1;
    /* Push footer down if we had one, basically fill space */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: inline-block;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.2;
}

.product-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
    /* Ensure buttons align if we want, or just spacing */
}

.link-arrow {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.link-arrow:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.link-arrow .arrow {
    transition: transform 0.2s ease;
}

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

/* Computing Section Refined (Bento Grid) */
/* Computing Section Refined (Bento Grid - Template Areas) */
.computing-section {
    padding: 80px 0;
    position: relative;
    background: transparent;
}

.computing-grid {
    display: grid;
    grid-template-areas:
        "overview overview main1 main2"
        "overview overview main3 main4"
        "serv1 serv1 serv2 serv2";
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 24px;
    width: 100%;
}

/* Assign Grid Areas */
.overview-card {
    grid-area: overview;
}

.card-h100 {
    grid-area: main1;
}

.card-a6000 {
    grid-area: main2;
}

.card-ascend {
    grid-area: main3;
}

.card-zw810 {
    grid-area: main4;
}

.service-internal {
    grid-area: serv1;
}

.service-external {
    grid-area: serv2;
}

/* General Card Style */
.computing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

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

/* Overview Card specific */
.overview-card {
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    /* Ensure height matches right side */
}

.overview-card h3 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
}

.overview-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
}

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

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    font-family: "SF Pro Display", sans-serif;
}

.stat-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

.visual-center {
    flex: 1;
    min-height: 200px;
}

/* Chip Cards */
.chip-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.card-visual-mini {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: #f5f5f7;
}

.chip-icon {
    font-size: 12px;
    font-weight: 800;
    border-radius: 8px;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: monospace;
}

/* Icon Colors */
.icon-green {
    background: linear-gradient(135deg, #76b900 0%, #5d9300 100%);
}

.icon-gold {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    color: #4a3b00;
}

.icon-red {
    background: linear-gradient(135deg, #c0392b 0%, #8e44ad 100%);
}

.icon-blue {
    background: linear-gradient(135deg, #2980b9 0%, #2c3e50 100%);
}

.card-info-mini h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.card-info-mini p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.3;
    max-width: 90%;
    margin: 0 auto;
}

/* Services */
.service-card {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-info {
    flex: 1;
}

.service-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.service-info p {
    font-size: 14px;
    color: var(--text-light);
}

.service-action-btn {
    margin-left: auto;
}

/* Responsive */
@media (max-width: 968px) {
    .computing-grid {
        grid-template-areas:
            "overview overview"
            "main1 main2"
            "main3 main4"
            "serv1 serv1"
            "serv2 serv2";
        grid-template-columns: 1fr 1fr;
    }

    .overview-card {
        min-height: auto;
    }

    .service-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-action-btn {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 968px) {

    .strategy-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-block {
        margin: 0 auto;
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* Research Team Section (Redesigned - Apple Bento) */
.research-team-section {
    background-color: var(--bg-color);
    padding-top: 40px;
    padding-bottom: 20px;
}

.team-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-card-bento {
    background: var(--bg-white);
    border-radius: 28px;
    /* Larger radius for modern Apple feel */
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    /* Ultra subtle shadow base */
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
    overflow: hidden;
}

.team-card-bento:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Icon Container */
.team-icon-box {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    background: #f5f5f7;
    border-radius: 20px;
    /* Squircle */
    margin-bottom: 30px;
}

/* Titles */
.team-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

/* Badge/Tag */
.team-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(0, 113, 227, 0.08);
    /* Transparent Blue */
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Description */
.team-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 90%;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 968px) {
    .team-bento-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Contact Modal Styles - Apple iOS Aesthetic */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Lighter backdrop */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content.apple-card-style {
    background: rgba(255, 255, 255, 0.85);
    /* Translucent material */
    width: 90%;
    max-width: 380px;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12),
        0 10px 30px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transform: scale(0.94) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.modal-overlay.active .modal-content.apple-card-style {
    transform: scale(1) translateY(0);
}

/* Close Button (Circle X) */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(120, 120, 128, 0.12);
    /* systemGray5 */
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #8e8e93;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(120, 120, 128, 0.24);
    color: #1d1d1f;
}

/* Header */
.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.modal-header p {
    font-size: 13px;
    color: #86868b;
    /* systemGray */
    font-weight: 500;
}

/* iOS List Style */
.ios-list-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    border-radius: 16px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    position: relative;
    /* Hairline border */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.ios-list-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
}

.ios-list-item:active {
    transform: scale(0.98);
}

/* Icon Box (Squircle) */
.ios-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    /* Squircle approximation */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ios-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ios-label {
    font-size: 11px;
    color: #86868b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
}

.ios-value {
    font-size: 16px;
    color: #1d1d1f;
    font-weight: 500;
}

.ios-arrow {
    margin-left: 12px;
    opacity: 0.4;
}

.wechat-preview {
    font-size: 14px;
    color: #86868b;
}

/* WeChat QR Container */
.wechat-qr-container {
    margin-top: 10px;
    background: white;
    padding: 16px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    /* Optional: Animate in */
    animation: fadeIn 0.4s ease;
}

.wechat-qr-container img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 12px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .modal-content.apple-card-style {
        background: rgba(30, 30, 30, 0.85);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    .modal-header h3 {
        color: #f5f5f7;
    }

    .ios-list-item {
        background: rgba(255, 255, 255, 0.05);
    }

    .ios-list-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .ios-value {
        color: #f5f5f7;
    }

    .modal-close {
        background: rgba(255, 255, 255, 0.08);
        color: #86868b;
    }

    .modal-close:hover {
        background: rgba(255, 255, 255, 0.16);
        color: #f5f5f7;
    }

    .wechat-qr-container {
        background: #2c2c2e;
    }
}
