/* ==========================================================================
   Design System & Premium Theme (Deep Ocean & Global Publishing)
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #020b18;          /* Midnight Deep Ocean */
    --bg-darker: #01060f;        /* Abyssal Black */
    --bg-light-blue: #071936;    /* Dark Navy for Section contrast */
    --primary-blue: #0070e3;     /* Sleek Digital Blue */
    --primary-hover: #1480f2;
    --accent-gold: #e2b740;      /* TTW International Gold */
    --accent-gold-hover: #f1ca56;
    
    /* Text Colors */
    --text-main: #f5f7fa;        /* Clean Off-white */
    --text-muted: #9ab0c2;       /* Ocean Slate Slate-gray */
    --text-light: #ffffff;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(7, 23, 49, 0.6);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    --glass-blur: blur(16px);

    /* Golden Theme Glass */
    --glass-gold-bg: rgba(226, 183, 64, 0.05);
    --glass-gold-border: rgba(226, 183, 64, 0.15);

    /* Fonts */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}


/* ==========================================================================
   Base Elements
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Prevent single-character line wraps (orphans) in Chinese copy */
h1, h2, h3, h4, h5, h6, .logo-text, .btn, .timeline-year, .stat-number {
    word-break: keep-all;
}

/* Left-aligned body descriptions (Justified for premium reading, preventing orphans) */
.pillar-desc, .timeline-content p, .about-paragraph, .ttw-desc, .footer-desc {
    text-align: justify;
    text-justify: inter-ideograph;
    word-break: normal;
}

/* Center-aligned elements (Keeping header and card layouts perfectly centered & beautiful) */
.hero-desc, .section-subtitle, .matrix-subtitle, .partner-desc {
    text-align: center;
    word-break: normal;
}

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

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

li {
    list-style: none;
}

/* ==========================================================================
   Modern Typography & Text Effects
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-gold .text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Layout Containers & Buttons
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-gold .section-line {
    background: var(--accent-gold);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 30px;
    gap: 0.5rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(0, 112, 227, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 112, 227, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header / Navigation Bar (Glassmorphic)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 8px 30px var(--glass-shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #00d4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 112, 227, 0.3);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Custom Cartoon Fish Logo Container & Micro-interaction */
.logo-icon-svg {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.logo-icon-svg svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 112, 227, 0.35));
}

.logo:hover .logo-icon-svg {
    transform: scale(1.1) rotate(-5deg);
}

/* Premium Bilingual Switcher (CN / EN Toggle) */
.lang-toggle-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.lang-toggle-container:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(0, 112, 227, 0.15);
}

.lang-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05em;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--electric-blue) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 112, 227, 0.35);
}

.lang-btn:not(.active):hover {
    color: var(--text-light);
}

/* ==========================================================================
   Hero Section (Premium Visuals)
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 112, 227, 0.12) 0%, rgba(2, 11, 24, 0) 60%),
                radial-gradient(circle at 10% 80%, rgba(226, 183, 64, 0.06) 0%, rgba(2, 11, 24, 0) 50%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10 10 H 90 V 90 H 10 Z' fill='none' stroke='rgba(255,255,255,0.015)' stroke-width='1'/%3E%3C/svg%3E");
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 3;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 112, 227, 0.1);
    border: 1px solid rgba(0, 112, 227, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #4da6ff;
    margin-bottom: 2.5rem;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Mouse Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

/* ==========================================================================
   Domestic Fishing Media & Event Section Redesigned (Services & QR Matrix)
   ========================================================================== */
.business-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
}

.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 10px 40px var(--glass-shadow);
    transition: var(--transition-smooth);
}

.pillar-card {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 112, 227, 0.2);
    box-shadow: 0 20px 50px rgba(0, 112, 227, 0.1);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 112, 227, 0.1);
    border: 1px solid rgba(0, 112, 227, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 112, 227, 0.3);
}

.pillar-title {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

.pillar-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

/* QR Code Matrix Elements */
.matrix-showcase {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
}

.matrix-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.matrix-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.qr-card {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

.qr-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 112, 227, 0.25);
    background: rgba(0, 112, 227, 0.03);
    box-shadow: 0 12px 30px rgba(0, 112, 227, 0.1);
}

.qr-img-wrapper {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.qr-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

/* ==========================================================================
   International Media TTW Section (Authoritative Gold Accent)
   ========================================================================== */
.section-gold {
    background-color: var(--bg-light-blue);
    border-top: 1px solid rgba(226, 183, 64, 0.05);
    border-bottom: 1px solid rgba(226, 183, 64, 0.05);
    position: relative;
    overflow: hidden;
}

.section-gold::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(226, 183, 64, 0.04) 0%, rgba(0,0,0,0) 70%);
    transform: translateY(-50%);
    z-index: 0;
}

.ttw-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.ttw-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(226, 183, 64, 0.08);
    border: 1px solid rgba(226, 183, 64, 0.2);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.ttw-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.ttw-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 3.5rem;
}

.ttw-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(226, 183, 64, 0.1);
    border: 1px solid rgba(226, 183, 64, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.highlight-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 3D Magazine Mockup CSS (Compatible with any user uploaded covers) */
.ttw-image-panel {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.magazine-3d-wrapper {
    position: relative;
    width: 320px;
    height: 420px;
    perspective: 1200px;
    transition: var(--transition-smooth);
}

.ttw-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Absolutely guarantees no distortion for user uploads */
    border-radius: 8px 16px 16px 8px;
    box-shadow: 10px 15px 40px rgba(0,0,0,0.5),
                inset 1px 0px 0px rgba(255,255,255,0.2);
    transform: rotateY(-18deg) rotateX(8deg) rotateZ(-3deg);
    transition: var(--transition-smooth);
    border-left: 5px solid #222; /* Book Spine */
}

.magazine-3d-wrapper:hover .ttw-img {
    transform: rotateY(-8deg) rotateX(4deg) rotateZ(-1deg) scale(1.03);
    box-shadow: 15px 25px 50px rgba(226, 183, 64, 0.15);
}

.magazine-shadow {
    position: absolute;
    bottom: -20px;
    left: 5%;
    width: 90%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 80%);
    z-index: -1;
}

/* ==========================================================================
   Partners Section (Exhibit & Associations Grid)
   ========================================================================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.partner-card {
    padding: 3rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.partner-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.partner-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.partner-card:hover .partner-icon {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 112, 227, 0.3);
    transform: scale(1.1);
}

.partner-name {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.partner-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   Timeline / Milestones Section (大事记 - Elegant Vertical Layout)
   ========================================================================== */
.timeline-section {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--accent-gold) 50%, var(--primary-blue) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 50%;
    margin-bottom: 3.5rem;
    z-index: 2;
}

/* Stagger items left and right */
.timeline-item:nth-child(even) {
    align-self: flex-end;
    margin-left: 50%;
    justify-content: flex-start;
}

.timeline-dot {
    position: absolute;
    right: -6px;
    top: 2rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 10px var(--primary-blue);
    z-index: 3;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -6px;
    right: auto;
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
}

.timeline-content {
    width: 88%;
    padding: 2rem;
    border-radius: 18px;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.4);
    background: #fff;
    box-shadow: 0 0 15px #fff;
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.timeline-item:nth-child(even) .timeline-year {
    color: var(--accent-gold);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Premium Timeline Image Integration */
.timeline-img-wrapper {
    margin-top: 1.2rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-img-wrapper:hover {
    border-color: rgba(0, 114, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: inset 0 0 10px rgba(0, 114, 255, 0.1), 0 15px 30px rgba(0, 0, 0, 0.4);
}

.timeline-img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    object-position: top center;
    opacity: 0.75;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-img-wrapper:hover .timeline-img {
    opacity: 1;
    max-height: 500px; /* Expands smoothly to show the full paper */
}

/* ==========================================================================
   About Us Section (Legacy & Numbers)
   ========================================================================== */
.about-section {
    background-color: var(--bg-dark);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 6rem;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-box {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box.animate-pulse .stat-number {
    background: linear-gradient(135deg, #ffffff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.about-paragraph {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-paragraph strong {
    color: #fff;
}

/* ==========================================================================
   Footer Section (Premium Legal Footer)
   ========================================================================== */
.footer {
    background-color: #01040a;
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    margin-bottom: 4rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1.5rem;
    max-width: 450px;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.icp-info {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icp-info a:hover {
    color: #fff;
}

.icp-info i {
    font-size: 0.82rem;
}

.divider {
    color: rgba(255,255,255,0.1);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -8px); }
    60% { transform: translate(-50%, -4px); }
}

/* Scroll reveal classes handles by JS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Toggle Bar */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Premium TTW Contact Card (Golden Glass Theme) */
.ttw-contact-card {
    margin-top: 3.5rem;
    padding: 2.25rem 2.5rem;
    background: var(--glass-gold-bg);
    border: 1px solid var(--glass-gold-border);
    box-shadow: 0 10px 30px rgba(226, 183, 64, 0.05);
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-title i {
    font-size: 1.2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* WeChat & Email side-by-side symmetrically */
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 1.25rem 2rem; /* More generous padding for high-end feel */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: rgba(226, 183, 64, 0.04);
    border-color: rgba(226, 183, 64, 0.25);
    transform: translateX(6px); /* Dynamic sliding enter on hover */
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1.15rem; /* Larger, bold and premium typography */
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap; /* Strictly prevents text wrapping */
}

/* ==========================================================================
   Responsive Media Queries (Fully Responsive Layout)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.8rem;
    }
    
    .business-pillars {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .qr-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ttw-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.25rem 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: #020914;
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-desc {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .ttw-title {
        font-size: 2.4rem;
    }

    .qr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Mobile Timeline Layout (Collapses to single left-aligned line) */
    .timeline-line {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 2.5rem;
        justify-content: flex-start;
        padding-left: 45px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        justify-content: flex-start;
        padding-left: 45px;
    }

    .timeline-dot {
        left: 14px !important;
        right: auto !important;
    }

    .timeline-content {
        width: 100%;
        padding: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Mobile collapse to single stacked list */
        gap: 1rem;
    }

    /* Prevent awkward layout shifts and hovers for timeline image on mobile */
    .timeline-img-wrapper {
        margin-top: 1rem;
        transform: none !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .timeline-img-wrapper:hover {
        transform: none !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .timeline-img {
        max-height: 140px !important;
        opacity: 0.95 !important;
    }
}

@media (max-width: 480px) {
    .qr-grid {
        grid-template-columns: 1fr;
    }
}
