/* ============================================
   LFT (HK) COMPANY LIMITED - Corporate Website
   利富達（香港）有限公司企業官網
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f2744;
    --accent: #c9a227;
    --accent-light: #d4b43a;
    --text: #2d3748;
    --text-light: #718096;
    --text-muted: #a0aec0;
    --bg: #ffffff;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Noto Sans SC', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-small {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

.text-center {
    text-align: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-en {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-cn {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
    padding-left: 10px;
    border-left: 2px solid var(--accent);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::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.03'%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");
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-family: var(--font-body);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.title-line-en {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-desc {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 8px;
    background: var(--bg-light);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text .btn {
    margin-top: 20px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.image-placeholder.large {
    width: 400px;
    height: 400px;
}

.image-placeholder span {
    font-family: var(--font-display);
    font-size: 64px;
    color: white;
    font-weight: 700;
    letter-spacing: 4px;
}

/* ============================================
   PRODUCTS PREVIEW & SECTION
   ============================================ */
.products-preview {
    padding: 100px 0;
    background: var(--bg);
}

.products-section {
    padding: 80px 0;
    background: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.products-grid.full {
    margin-bottom: 0;
}

.products-grid.small {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    background: var(--bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 500;
}

.product-info {
    padding: 25px;
}

.product-category {
    display: inline-block;
    font-size: 12px;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text);
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-detail {
    padding: 80px 0;
    background: var(--bg);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.detail-image {
    position: sticky;
    top: 100px;
}

.image-main .product-placeholder.large {
    width: 100%;
    height: 500px;
    font-size: 48px;
}

.detail-category {
    display: inline-block;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.detail-title {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.detail-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.detail-features h3,
.detail-specs h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
}

.detail-features ul {
    margin-bottom: 30px;
}

.detail-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
}

.detail-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.detail-specs table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.detail-specs td {
    padding: 12px 16px;
    border: 1px solid var(--border);
}

.detail-specs td:first-child {
    background: var(--bg-light);
    font-weight: 500;
    color: var(--primary);
    width: 30%;
}

.detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Related Products */
.related-products {
    padding: 80px 0;
    background: var(--bg-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::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.03'%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");
}

.cta h2 {
    font-family: var(--font-display);
    font-size: 36px;
    margin-bottom: 16px;
    position: relative;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    text-align: center;
    color: white;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.8;
    letter-spacing: 4px;
}

/* ============================================
   COMPANY INTRO
   ============================================ */
.company-intro {
    padding: 80px 0;
    background: var(--bg);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content h2 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 24px;
}

.intro-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* ============================================
   MISSION & VISION
   ============================================ */
.mission-vision {
    padding: 80px 0;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mv-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.mv-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose {
    padding: 80px 0;
    background: var(--bg);
}

.advantages-list {
    max-width: 800px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.advantage-item:last-child {
    border-bottom: none;
}

.advantage-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    min-width: 80px;
}

.advantage-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.advantage-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 80px 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-panel h2,
.contact-form-panel h2 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-info-panel > p,
.contact-form-panel > p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-items {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 24px;
    min-width: 40px;
}

.contact-detail h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-detail p {
    color: var(--text-light);
    line-height: 1.6;
}

.business-hours h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.business-hours p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.map-content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 12px;
}

.map-content p {
    opacity: 0.9;
    line-height: 1.8;
}

.map-phone {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 0;
}

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

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-brand p {
    opacity: 0.7;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

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

.footer-links a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact p {
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 14px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .title-line {
        font-size: 28px;
    }

    .title-line-en {
        font-size: 16px;
    }

    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .features-grid,
    .products-grid,
    .products-grid.small,
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .intro-grid,
    .detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .advantage-item {
        flex-direction: column;
        text-align: center;
    }

    .detail-image {
        position: relative;
        top: 0;
    }

    .image-main .product-placeholder.large {
        height: 300px;
    }

    .section-header h2,
    .about-text h2,
    .intro-content h2,
    .cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .category-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .contact-form {
        padding: 25px;
    }

    .detail-actions {
        flex-direction: column;
    }
}
