/* 
   Global Tech Aesthetic - Inspired by Tencent.com
   Style: Ultra-Clean, High Contrast, Precision Layout
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #0052D9; /* Tencent Blue inspired */
    --bg-main: #ffffff;
    --bg-dark: #000000;
    --text-main: #000000;
    --text-inverse: #ffffff;
    --text-muted: #666666;
    --border: #eeeeee;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* --- Clean Navigation --- */

nav {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.5rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transition: all 0.4s;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    padding: 1rem 8%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--bg-dark);
    letter-spacing: -0.03em;
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* --- Hero Section --- */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-dark);
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
}

/* Background Image Overlay */
.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('hero_real.png') center/cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

/* --- Buttons --- */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 4px;
}

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

.btn-primary:hover {
    background: #0044bb;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    margin-left: 1.5rem;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* --- Section Styling --- */

.section {
    padding: 10rem 8%;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
    letter-spacing: 0.1em;
}

.section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5rem;
    letter-spacing: -0.02em;
}

/* --- Modular Grid --- */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.card {
    transition: all 0.4s;
}

.card-img {
    height: 400px;
    background: #f8f8f8;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px;
}

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

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

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Footer --- */

footer {
    background: #f8f8f8;
    padding: 6rem 8% 4rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 1rem;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p, .footer-bottom a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
