/* ========================================
   纤络星 - 光纤光缆外贸网站
   Design: Industrial Tech / Electric Cyan
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - Deep Navy + Electric Cyan */
    --color-bg: #030712;
    --color-bg-secondary: #0a1628;
    --color-bg-tertiary: #0f2744;
    --color-surface: #0d1d31;
    --color-surface-hover: #132a45;

    --color-primary: #00d4ff;
    --color-primary-light: #5ce1ff;
    --color-primary-dark: #00a8cc;
    --color-primary-glow: rgba(0, 212, 255, 0.3);

    --color-accent: #00ffc8;
    --color-accent-glow: rgba(0, 255, 200, 0.2);

    --color-text: #e8f4fc;
    --color-text-muted: #8ba3b8;
    --color-text-dark: #030712;

    --color-border: rgba(0, 212, 255, 0.15);
    --color-border-light: rgba(0, 212, 255, 0.3);

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;

    /* Effects */
    --shadow-glow: 0 0 40px var(--color-primary-glow);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-img {
    height: 44px;
    width: auto;
}

.logo-text {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

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

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* Language Selector */
.lang-wrapper {
    display: flex;
    align-items: center;
    margin-left: 24px;
}

.lang-selector {
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.lang-selector:hover {
    border-color: var(--color-primary);
    background: rgba(0, 212, 255, 0.15);
}

.lang-selector option {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

/* RTL Support */
[dir="rtl"] .nav {
    direction: rtl;
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .hero-title {
    direction: rtl;
}

[dir="rtl"] .hero-desc {
    direction: rtl;
}

[dir="rtl"] .product-link svg {
    transform: rotate(180deg);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 30% 40%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 70% 60%, rgba(0, 255, 200, 0.05) 0%, transparent 50%);
}

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

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 255, 200, 0.08) 100%);
    border: 1px solid var(--color-border-light);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

.hero-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-primary-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-border-light);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--color-primary);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-primary);
}

.btn-lg {
    padding: 20px 48px;
    font-size: 16px;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 48px;
}

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

.stat-num {
    font-family: var(--font-body);
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.fiber-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid var(--color-border-light);
    border-radius: 50%;
    animation: pulse-ring 3s ease-in-out infinite;
}

.fiber-ring::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, var(--color-primary), transparent);
    opacity: 0.3;
    animation: rotate 8s linear infinite;
}

.fiber-ring.delay-1 {
    width: 400px;
    height: 400px;
    animation-delay: 0.5s;
}

.fiber-ring.delay-2 {
    width: 500px;
    height: 500px;
    animation-delay: 1s;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-glow);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ========================================
   Products Preview
   ======================================== */
.products-preview {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
    position: relative;
}

.products-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 3px;
    margin-bottom: 16px;
    padding: 8px 16px;
    border: 1px solid var(--color-border-light);
    border-radius: 30px;
    background: rgba(0, 212, 255, 0.05);
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    border-radius: 2px;
}

.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* Cert Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.cert-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.cert-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.cert-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.cert-placeholder {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 600;
}

.cert-info {
    padding: 20px;
    text-align: center;
}

.cert-info h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

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

.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--color-primary-glow);
}

.product-img {
    position: relative;
    height: 200px;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
}

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

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

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
    position: relative;
    padding-bottom: 10px;
}

.product-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

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

.product-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.product-card:hover .product-link {
    gap: 12px;
}

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

/* ========================================
   Features
   ======================================== */
.quality-assurance {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
}

.qa-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.qa-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-top: 24px;
}

.qa-cert-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.qa-cert-item {
    aspect-ratio: 1;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 20px;
}

.qa-cert-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.qa-cert-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.qa-cert-placeholder {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 600;
}

.features {
    padding: var(--section-padding) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    padding: 48px 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.feature-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.feature-item h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
    position: relative;
    padding-bottom: 12px;
}

.feature-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

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

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 60%),
        var(--color-bg-secondary);
}

.cta .container {
    position: relative;
    text-align: center;
}

.cta-title {
    font-family: var(--font-body);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 80px 0 32px;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.footer-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-text);
}

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

.footer-links a,
.footer-links li {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ========================================
   Page: Products
   ======================================== */
.page-header {
    padding: 160px 0 80px;
    background: var(--color-bg-secondary);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.page-header .container {
    position: relative;
}

.page-title {
    font-family: var(--font-body);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.page-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 600px;
}

.products-section {
    padding: var(--section-padding) 0;
}

.products-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ========================================
   Products Catalog Layout
   ======================================== */
.products-catalog {
    padding: var(--section-padding) 0;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

.catalog-sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.category-btn:hover {
    background: var(--color-surface-hover);
    color: var(--color-text);
}

.category-btn.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--color-primary);
}

.category-icon {
    font-size: 8px;
    color: var(--color-primary);
}

/* Category Dropdown */
.category-dropdown {
    position: relative;
}

.category-dropdown-toggle {
    justify-content: space-between;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.category-dropdown-menu {
    padding-left: 20px;
    margin-top: 4px;
}

.category-dropdown-menu li {
    margin-bottom: 2px;
}

.sub-category-btn {
    padding: 10px 16px;
    font-size: 14px;
}

.sub-category-num {
    color: var(--color-primary);
    font-weight: 500;
}

/* Open state for dropdown */
.category-dropdown.open .category-dropdown-menu {
    display: block !important;
}

.category-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.catalog-content {
    min-height: 500px;
}

.category-content {
    display: none;
}

.category-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.category-title {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-text);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.gallery-item .gallery-label {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--color-text);
    text-align: center;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: var(--color-text-muted);
    font-size: 14px;
}

/* ========================================
   Page: About
   ======================================== */
.about-hero {
    padding: var(--section-padding) 0;
}

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

.about-content h2 {
    font-family: var(--font-body);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

.about-content p {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
}

.about-visual {
    position: relative;
    height: 500px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 255, 200, 0.1) 0%, transparent 50%);
}

.about-image {
    position: absolute;
    inset: 0;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Timeline */
.timeline {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
}

/* Customer Reviews */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
}

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

.review-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.review-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -16px;
    width: calc(100% - 48px);
    height: 1px;
    background: var(--color-border);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-year {
    font-family: var(--font-body);
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 16px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ========================================
   Page: Contact
   ======================================== */
.contact-section {
    padding: var(--section-padding) 0;
}

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

.contact-info h2 {
    font-family: var(--font-body);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

.contact-info p {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.contact-item-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item-text p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

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

.form-submit {
    width: 100%;
}

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

@keyframes pulse-ring {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Stagger animations for product cards */
.product-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

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

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

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

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .lang-wrapper {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .product-grid,
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .products-full-grid,
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-row {
        grid-template-columns: 1fr;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: static;
    }

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

    .contact-form {
        padding: 32px 24px;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}
