:root {
    --bg-dark: #121212;
    --bg-card: #1a1a1a;
    --gold-primary: #D4AF37;
    --gold-dim: #C5A059;
    --gold-highlight: #F5E1A4;
    --text-primary: #E5E5E5;
    --text-secondary: #A0A0A0;
    --border-color: #2a2a2a;
    --transition-base: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 4px; }

/* Global Utilities */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 8rem 0; }
.text-gold { color: var(--gold-primary); }
.bg-gold { background-color: var(--gold-primary); }
.border-gold { border: 1px solid var(--gold-primary); }

h1, h2, h3 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-primary); }
p { color: var(--text-secondary); }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition-base);
    letter-spacing: 1px;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://tse-mm.bing.com/th?q=KY集团总部') center/cover;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: var(--transition-base);
    position: relative;
}

.card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

/* Animations */
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

/* Footer Items & Socials */
.footer {
    background: #0a0a0a;
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }

/* Contact Specific */
.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

input, textarea, select {
    width: 100%;
    background: #222;
    border: 1px solid var(--border-color);
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: white;
    outline: none;
}

input:focus, textarea:focus { border-color: var(--gold-primary); }

.btn {
    padding: 1rem 2.5rem;
    background: var(--gold-primary);
    color: black;
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition-base);
}

.btn:hover { background: var(--gold-highlight); }

/* Floating Online Service */
.online-service {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gold-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    z-index: 999;
}
