:root {
    --primary-color: #3b82f6;
    --secondary-color: #6366f1;
    --accent-color: #10b981;
    --warning-color: #ef4444;
    --bg-main: #e8eef6;
    --bg-card: #f2f5fa;
    --bg-light: #ffffff;
    --border-color: #c8d3e0;
    --border-light: #dce4ed;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #8896a8;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --gradient-warning: linear-gradient(135deg, #ef4444 0%, #6366f1 100%);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-medium);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 14px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-icon svg { width: 44px; height: 44px; transition: transform var(--transition-fast); }
.logo:hover .logo-icon svg { transform: scale(1.1); }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: 2px;
    background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-slogan { font-size: 10px; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-link {
    text-decoration: none; color: var(--text-secondary); font-size: 14px; font-weight: 500;
    letter-spacing: 1px; position: relative; transition: color var(--transition-fast);
}
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--gradient-primary); transition: width var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.bar { width: 25px; height: 2px; background: var(--text-primary); transition: all var(--transition-fast); }
.mobile-menu-btn.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 5px); }
.mobile-menu-btn.active .bar:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -5px); }

/* ===== Hero ===== */
.hero {
    padding: 130px 20px 80px;
    background: linear-gradient(160deg, #dde5f0 0%, #e8eef6 40%, #f0f4fa 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(59,130,246,0.07) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(99,102,241,0.05) 0%, transparent 40%);
}
.hero-content {
    max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
}
.hero-text { text-align: left; }
.hero-badge {
    display: inline-block; padding: 8px 20px;
    background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
    border-radius: 20px; margin-bottom: 24px; opacity: 0; animation: fadeIn 1s ease 0.1s forwards;
}
.hero-badge span { font-size: 13px; color: var(--primary-color); letter-spacing: 1px; }

.hero-title { display: flex; gap: 8px; margin-bottom: 24px; }
.title-line {
    font-family: var(--font-display); font-size: 64px; font-weight: 900; letter-spacing: 8px;
    background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    opacity: 0; animation: slideIn 0.8s ease forwards;
}
.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }
@keyframes slideIn { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.hero-subtitle {
    font-family: var(--font-display); font-size: 20px; letter-spacing: 4px;
    color: var(--accent-color); margin-bottom: 24px; opacity: 0; animation: fadeIn 1s ease 0.8s forwards;
}
.hero-description {
    font-size: 15px; line-height: 1.8; color: var(--text-secondary);
    max-width: 520px; margin-bottom: 35px; opacity: 0; animation: fadeIn 1s ease 1s forwards;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-buttons { display: flex; gap: 20px; opacity: 0; animation: fadeIn 1s ease 1.2s forwards; }
.btn {
    padding: 13px 32px; font-size: 14px; font-weight: 600; letter-spacing: 1px;
    border-radius: 8px; text-decoration: none; transition: all var(--transition-fast); border: none; cursor: pointer;
}
.btn-primary {
    background: var(--gradient-primary); color: white;
    box-shadow: 0 8px 24px rgba(59,130,246,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(59,130,246,0.4); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--primary-color); }
.btn-secondary:hover { background: rgba(59,130,246,0.08); border-color: var(--primary-color); }

.hero-visual { position: relative; height: 320px; display: flex; justify-content: center; align-items: center; }
.hex-grid {
    position: absolute; width: 220px; height: 220px;
    display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr); gap: 8px;
}
.hex {
    width: 60px; height: 69px; background: rgba(59,130,246,0.08);
    clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
    border: 1px solid rgba(59,130,246,0.15); transition: all var(--transition-medium);
}
.hex:hover { background: rgba(59,130,246,0.2); border-color: rgba(59,130,246,0.4); transform: scale(1.1); }
.hex-1{animation:pulse 2s ease-in-out infinite;animation-delay:0s}
.hex-2{animation:pulse 2s ease-in-out infinite;animation-delay:.2s}
.hex-3{animation:pulse 2s ease-in-out infinite;animation-delay:.4s}
.hex-4{animation:pulse 2s ease-in-out infinite;animation-delay:.6s}
.hex-5{animation:pulse 2s ease-in-out infinite;animation-delay:.8s}
.hex-6{animation:pulse 2s ease-in-out infinite;animation-delay:1s}
.hex-7{animation:pulse 2s ease-in-out infinite;animation-delay:1.2s}
.hex-8{animation:pulse 2s ease-in-out infinite;animation-delay:1.4s}
.hex-9{animation:pulse 2s ease-in-out infinite;animation-delay:1.6s}
@keyframes pulse { 0%,100%{opacity:.3} 50%{opacity:.8} }

.floating-icon { position: absolute; animation: float 6s ease-in-out infinite; }
.floating-icon svg { width: 40px; height: 40px; }
.icon-1 { top: 15%; left: 5%; animation-delay: 0s; }
.icon-2 { bottom: 15%; right: 5%; animation-delay: 2s; }
.icon-3 { top: 50%; right: -5%; animation-delay: 4s; }
@keyframes float {
    0%,100%{transform:translateY(0) rotate(0deg)} 25%{transform:translateY(-12px) rotate(3deg)}
    50%{transform:translateY(0) rotate(0deg)} 75%{transform:translateY(12px) rotate(-3deg)}
}

/* ===== Stats Bar ===== */
.stats-bar {
    background: var(--bg-light);
    padding: 40px 20px;
    border-bottom: 1px solid var(--border-light);
}
.stats-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: center; gap: 60px;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-display); font-size: 32px; font-weight: 900;
    background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    display: block; margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--text-muted); letter-spacing: 1px; }

/* ===== Home About ===== */
.home-about {
    background: var(--bg-card);
    padding: 70px 20px;
}
.home-about-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start;
}
.home-about-text h3 {
    font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: 2px;
    margin-bottom: 20px; background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.home-about-text p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 18px; }
.home-about-highlights { display: flex; gap: 40px; margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--border-light); }
.highlight { text-align: center; }
.highlight-number {
    display: block; font-family: var(--font-display); font-size: 36px; font-weight: 900;
    background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 6px;
}
.highlight-label { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }

.home-timeline h4 {
    font-family: var(--font-display); font-size: 18px; font-weight: 600;
    letter-spacing: 2px; margin-bottom: 28px; color: var(--accent-color);
}
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
    content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}
.timeline-item { position: relative; padding: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.timeline-item::before {
    content: ''; position: absolute; left: -25px; top: 18px; width: 10px; height: 10px;
    background: var(--primary-color); border-radius: 50%; border: 2px solid var(--bg-card);
}
.timeline-year { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--primary-color); }
.timeline-event { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ===== Sections common ===== */
section { padding: 80px 20px; position: relative; }
.section-header { text-align: center; margin-bottom: 55px; }
.section-title {
    font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: 4px; margin-bottom: 12px;
    background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle { font-size: 14px; color: var(--text-muted); letter-spacing: 2px; }

/* ===== Products ===== */
.products { background: var(--bg-main); }
.products-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; grid-auto-rows: 1fr; }
.product-card {
    background: var(--bg-light); border: 1px solid var(--border-light); border-radius: 16px;
    padding: 40px 28px; transition: all var(--transition-medium); position: relative; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    display: flex; flex-direction: column; height: 100%;
}
.product-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-primary); transform: scaleX(0); transition: transform var(--transition-medium);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover { transform: translateY(-8px); border-color: rgba(59,130,246,0.3); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.product-image { margin-bottom: 20px; display: flex; justify-content: center; align-items: center; height: 140px; }
.product-image img { max-width: 100%; max-height: 140px; object-fit: contain; border-radius: 8px; }
.product-icon { margin-bottom: 24px; display: flex; justify-content: center; }
.product-icon svg { width: 80px; height: 80px; transition: transform var(--transition-fast); }
.product-card:hover .product-icon svg { transform: scale(1.1); }
.product-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: 2px; text-align: center; margin-bottom: 14px; }
.product-description { font-size: 14px; line-height: 1.7; color: var(--text-secondary); text-align: center; margin-bottom: 22px; }
.product-link {
    display: block; text-align: center; padding: 11px;
    background: var(--gradient-primary); color: white; text-decoration: none;
    border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: 1px;
    transition: all var(--transition-fast);
    margin-top: auto;
}
.product-link:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(59,130,246,0.3); }

/* ===== Product Details ===== */
.product-details { background: var(--bg-card); padding: 60px 20px 80px; }
.product-detail-item {
    max-width: 900px; margin: 0 auto 35px auto; padding: 30px;
    background: var(--bg-light); border: 1px solid var(--border-light); border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.product-detail-header { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 2px solid var(--border-light); }
.product-detail-icon svg { width: 60px; height: 60px; }
.product-detail-title-group { flex: 1; }
.product-detail-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; line-height: 1.4; }
.product-detail-subtitle { font-size: 13px; color: var(--primary-color); font-weight: 500; }
.product-detail-content p { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 14px; }
.product-detail-content h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin: 20px 0 10px 0; }
.product-detail-content ul { padding-left: 20px; margin-bottom: 14px; }
.product-detail-content li { font-size: 14px; line-height: 1.9; color: var(--text-secondary); margin-bottom: 5px; }
.product-detail-content li strong { color: var(--text-primary); }

/* ===== News ===== */
.news { background: var(--bg-card); }
.news-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.news-card {
    background: var(--bg-light); border: 1px solid var(--border-light); border-radius: 12px;
    padding: 24px; display: flex; gap: 18px; transition: all var(--transition-medium);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.news-card:hover { border-color: rgba(16,185,129,0.3); transform: translateX(5px); box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
.news-date {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 70px; padding: 14px 10px; background: var(--gradient-primary); border-radius: 8px; color: white;
}
.date-day { font-family: var(--font-display); font-size: 26px; font-weight: 900; }
.date-month { font-size: 12px; font-weight: 600; letter-spacing: 1px; }
.date-year { font-size: 10px; opacity: 0.8; }
.news-content h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.news-content p { font-size: 13px; line-height: 1.6; color: var(--text-secondary); }

/* ===== Contact ===== */
.contact { background: var(--bg-main); }
.contact-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
    display: flex; gap: 18px; padding: 20px;
    background: var(--bg-light); border: 1px solid var(--border-light); border-radius: 12px;
    transition: all var(--transition-fast); box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.contact-item:hover { border-color: rgba(59,130,246,0.3); box-shadow: 0 6px 20px rgba(0,0,0,0.07); }
.contact-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.1); border-radius: 10px;
}
.contact-icon svg { width: 26px; height: 26px; }
.contact-detail { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }
.contact-value { font-size: 15px; font-weight: 500; color: var(--text-primary); }
.contact-form {
    background: var(--bg-light); border: 1px solid var(--border-light);
    border-radius: 16px; padding: 40px; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.contact-form form { display: flex; flex-direction: column; gap: 18px; }
.contact-form input, .contact-form textarea {
    padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 8px; color: var(--text-primary); font-size: 14px; font-family: var(--font-body);
    transition: all var(--transition-fast);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); background: var(--bg-light); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ===== Footer ===== */
.footer { background: var(--bg-card); border-top: 1px solid var(--border-light); padding: 40px 20px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-logo .logo-icon svg { width: 48px; height: 48px; }
.footer-logo span {
    font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: 2px;
    background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-size: 13px; letter-spacing: 1px; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--primary-color); }
.footer-copyright p { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }
.footer-copyright .footer-icp { margin-top: 8px; }
.footer-copyright .footer-icp a { color: var(--text-muted); text-decoration: none; transition: color var(--transition-fast); }
.footer-copyright .footer-icp a:hover { color: var(--primary-color); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-title { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .stats-inner { gap: 40px; }
    .home-about-inner { grid-template-columns: 1fr; gap: 40px; }
    .products-grid { grid-template-columns: repeat(2,1fr); }
    .news-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(255,255,255,0.98); flex-direction: column; padding: 20px; gap: 18px;
        border-bottom: 1px solid var(--border-light); box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: flex; }
    .title-line { font-size: 48px; }
    .hero-visual { height: 280px; }
    .stats-inner { gap: 25px; flex-wrap: wrap; }
    .home-about-highlights { gap: 25px; justify-content: center; }
    .contact-content { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
    .title-line { font-size: 36px; letter-spacing: 4px; }
    .hero-subtitle { font-size: 16px; }
    .section-title { font-size: 26px; }
    .products-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card { flex-direction: column; }
    .news-date { width: 100%; flex-direction: row; gap: 10px; }
    .contact-form { padding: 24px; }
}