/* ========================================
   上海立名智能有限公司 - 企业官网样式
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

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

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

/* === Header & Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.12);
}

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

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

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.nav-menu a {
    font-size: 15px;
    color: #444;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a56db, #0ea5e9);
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-menu a:hover {
    color: #1a56db;
}

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

.nav-menu a.active {
    color: #1a56db;
}

/* === Dropdown Navigation === */
.nav-dropdown {
    position: relative;
}
.nav-dropdown .has-dropdown {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s;
}
.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}
.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid #e2e8f0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    transform: translateX(-50%) translateY(8px);
    z-index: 1001;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #475569;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.nav-dropdown .dropdown-menu a::after {
    display: none;
}
.nav-dropdown .dropdown-menu a:hover {
    background: #f0f4ff;
    color: #1a56db;
}

/* 二级子菜单（智慧助老 → 产品列表） */
.nav-submenu {
    position: relative;
}
.nav-submenu .has-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 14px;
    color: #475569;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.nav-submenu .has-submenu::after {
    display: none;
}
.nav-submenu .has-submenu:hover {
    background: #f0f4ff;
    color: #1a56db;
}
.nav-submenu .submenu-arrow {
    font-size: 14px;
    color: #94a3b8;
    transition: transform 0.2s;
}
.nav-submenu:hover .submenu-arrow {
    color: #1a56db;
}
.nav-submenu .submenu-panel {
    position: absolute;
    left: 100%;
    top: -8px;
    background: white;
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid #e2e8f0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
    transform: translateX(8px);
    z-index: 1002;
}
.nav-submenu:hover .submenu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.nav-submenu .submenu-panel a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #475569;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.nav-submenu .submenu-panel a::after {
    display: none;
}
.nav-submenu .submenu-panel a:hover {
    background: #f0f4ff;
    color: #1a56db;
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
    border-radius: 1px;
}

/* === Hero Banner === */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide:nth-child(1) {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 40%, #1e40af 100%);
}

.hero-slide:nth-child(2) {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0ea5e9 100%);
}

.hero-slide:nth-child(3) {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}

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

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    font-size: 15px;
    border-radius: 30px;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background: white;
    color: #1a56db;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

/* === Quick Access === */
.quick-access {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding: 0 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.quick-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.quick-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s;
}

.quick-card:hover .quick-card-icon {
    background: linear-gradient(135deg, #1a56db, #0ea5e9);
    transform: scale(1.1);
}

.quick-card:hover .quick-card-icon svg {
    stroke: white;
}

.quick-card h3 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 600;
}

.quick-card p {
    font-size: 13px;
    color: #888;
}

/* === Section Common === */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #1a56db, #0ea5e9);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-bg {
    background: #f8fafc;
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a56db, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-inner {
    text-align: center;
    color: white;
    padding: 40px;
}

.about-image-inner .big-number {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.about-image-inner .label {
    font-size: 18px;
    opacity: 0.9;
}

.about-text h3 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    font-size: 15px;
    color: #555;
    line-height: 2;
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #1a56db;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #888;
    margin-top: 6px;
}

/* === Products Section === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card:nth-child(1) .product-image {
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.product-card:nth-child(2) .product-image {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}
.product-card:nth-child(3) .product-image {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}
.product-card:nth-child(4) .product-image {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}
.product-card:nth-child(5) .product-image {
    background: linear-gradient(135deg, #fa709a, #fee140);
}
.product-card:nth-child(6) .product-image {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}

.product-image svg {
    width: 60px;
    height: 60px;
    stroke: white;
    opacity: 0.9;
}

.product-info {
    padding: 28px;
}

.product-info h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-info p {
    font-size: 14px;
    color: #777;
    line-height: 1.8;
    margin-bottom: 15px;
}

.product-link {
    font-size: 14px;
    color: #1a56db;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

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

/* === News Section === */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    display: flex;
    gap: 24px;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.news-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
}

.news-date .day {
    font-size: 36px;
    font-weight: 800;
    color: #1a56db;
    line-height: 1;
}

.news-date .month {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.news-info h3 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info p {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-tag {
    display: inline-block;
    font-size: 12px;
    color: #1a56db;
    background: #eef2ff;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* === Technology Section === */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-card {
    background: white;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.tech-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tech-card-link:hover .tech-card {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(26,86,219,0.12);
    border-color: #1a56db;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1a56db, #0ea5e9);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-card:hover {
    border-color: #1a56db;
    box-shadow: 0 10px 30px rgba(26, 86, 219, 0.1);
    transform: translateY(-4px);
}

.tech-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.tech-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.tech-card h3 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 600;
}

.tech-card p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* === Careers Section === */
.careers-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #1e40af 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.careers-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
    border-radius: 50%;
}

.careers-section .section-header h2 {
    color: white;
}

.careers-section .section-header h2::after {
    background: linear-gradient(90deg, #60a5fa, #38bdf8);
}

.careers-section .section-header p {
    color: rgba(255,255,255,0.7);
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.career-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.career-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
}

.career-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.career-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.career-card p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* === Contact Section === */
.contact-wrapper {
    max-width: 500px;
    margin: 0 auto;
}
.contact-wrapper.contact-split {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}
.contact-map .map-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.contact-map .map-visual {
    position: relative;
    overflow: hidden;
}
.contact-map .map-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.contact-map .map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
}
.contact-map .map-link:hover .map-overlay {
    background: rgba(0,0,0,0.15);
}
.contact-map .map-view-btn {
    background: white;
    color: #1a56db;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}
.contact-map .map-link:hover .map-view-btn {
    opacity: 1;
    transform: translateY(0);
}
.contact-map .map-label {
    padding: 12px 16px;
    background: #f8fafc;
    font-size: 0.9rem;
    color: #475569;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.contact-info h3 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 24px;
    font-weight: 700;
}

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

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: #1a56db;
}

.contact-item-text h4 {
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.contact-item-text p {
    font-size: 14px;
    color: #777;
}



/* Contact split responsive */
@media (max-width: 768px) {
    .contact-wrapper.contact-split {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-map {
        margin-top: 32px;
    }
}

/* === Footer === */
.footer {
    background: #0a1628;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
    font-weight: 700;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 15px;
    color: white;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #60a5fa;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1a56db, #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(26, 86, 219, 0.4);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 24px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .careers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        height: 64px;
        padding: 0 20px;
    }
    
    .logo-image {
        height: 48px;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
    
    /* Mobile dropdown */
    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-dropdown .has-dropdown {
        justify-content: space-between;
        padding: 14px 0 !important;
        border-bottom: none !important;
    }
    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        display: none;
        background: #f8fafc;
        min-width: auto;
    }
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    .nav-dropdown .dropdown-menu a {
        padding: 10px 0 !important;
        font-size: 13px;
    }
    .nav-dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-section {
        min-height: 500px;
        max-height: 700px;
    }
    
    .hero-content h1 {
        font-size: 30px;
        letter-spacing: 1px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .quick-access {
        padding: 0 20px;
        margin-top: -40px;
    }
    
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .quick-card {
        padding: 24px 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .careers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .careers-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* === Page Header for Sub Pages === */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #1e40af 100%);
    text-align: center;
    color: white;
    position: relative;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.8;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.7;
}

.breadcrumb a:hover {
    opacity: 1;
    color: #60a5fa;
}

/* === Timeline for News Detail === */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1a56db, #0ea5e9);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #1a56db;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #1a56db;
}

.timeline-item .date {
    font-size: 13px;
    color: #1a56db;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-item h3 {
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
}

/* === Partners === */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.partner-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s;
}

.partner-item:hover {
    border-color: #1a56db;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.1);
    color: #1a56db;
}

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

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

/* === Product Detail Page Styles === */

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #1a56db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Product Hero */
.product-hero {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    padding: 60px 0 80px;
    margin-top: -20px;
}

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

.product-tag {
    display: inline-block;
    background: rgba(26, 86, 219, 0.1);
    color: #1a56db;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.product-hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 32px;
}

.product-hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.product-hero-stats .stat {
    text-align: left;
}

.product-hero-stats .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #1a56db;
    line-height: 1;
    margin-bottom: 8px;
}

.product-hero-stats .stat-label {
    font-size: 14px;
    color: #666;
}

.product-hero-actions {
    display: flex;
    gap: 16px;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #1a56db, #0ea5e9);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 86, 219, 0.3);
}

.btn-secondary {
    background: white;
    color: #1a56db;
    border: 2px solid #1a56db;
}

.btn-secondary:hover {
    background: #1a56db;
    color: white;
}

.product-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-hero-image img {
    max-width: 100%;
    max-height: 380px;
    border-radius: 16px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(26, 86, 219, 0.15));
}

.product-hero-image svg {
    width: 300px;
    height: 300px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 36px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

.feature-card h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Scenario Grid */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.scenario-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.scenario-image {
    font-size: 56px;
    margin-bottom: 20px;
}

.scenario-card h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.scenario-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Specs Table */
.specs-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.specs-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.spec-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    flex: 0 0 200px;
    padding: 18px 24px;
    background: #f9fafb;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.spec-value {
    flex: 1;
    padding: 18px 24px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a56db, #0ea5e9);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-actions .btn-primary {
    background: white;
    color: #1a56db;
}

.cta-actions .btn-primary:hover {
    background: rgba(255,255,255,0.9);
}

.cta-actions .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-actions .btn-secondary:hover {
    background: white;
    color: #1a56db;
}

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

@media (max-width: 768px) {
    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-hero-text h1 {
        font-size: 32px;
    }
    
    .product-hero-stats {
        gap: 24px;
    }
    
    .product-hero-stats .stat-number {
        font-size: 28px;
    }
    
    .product-hero-image img {
        max-height: 250px;
    }

    .product-hero-image svg {
        width: 200px;
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-row {
        flex-direction: column;
    }
    
    .spec-label {
        flex: none;
        padding: 12px 24px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .spec-value {
        padding: 12px 24px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* === Products Grid 5 columns === */
.products-grid-5 {
    grid-template-columns: repeat(3, 1fr);
}

.products-grid-5 .product-card:nth-child(4),
.products-grid-5 .product-card:nth-child(5) {
    /* last 2 cards centered */
}

@media (min-width: 1025px) {
    .products-grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
    .products-grid-5 .product-card:nth-child(4),
    .products-grid-5 .product-card:nth-child(5) {
        /* reset */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid-5 {
        grid-template-columns: 1fr;
    }
}

/* Product card gradient for 5th and 6th child */
.products-grid-5 .product-card:nth-child(5) .product-image {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}

/* === Tech Grid 4 columns === */
.tech-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 480px) {
    .tech-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* === News Card Link (Homepage clickable cards) === */
.news-card-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
}

.news-card-link:hover {
    color: inherit;
}

.news-card-link:hover .news-info h3 {
    color: #1a56db;
}

/* === News Article Hero === */
.news-article-hero {
    padding-top: 120px;
    padding-bottom: 40px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
}

.news-article-hero .breadcrumb {
    padding: 0 0 20px 0;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.news-article-hero .breadcrumb a {
    color: #1a56db;
    text-decoration: none;
}

.news-article-hero .breadcrumb a:hover {
    text-decoration: underline;
}

.news-article-header {
    max-width: 800px;
}

.news-article-header .news-tag {
    display: inline-block;
    font-size: 13px;
    color: #1a56db;
    background: rgba(26, 86, 219, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    font-weight: 500;
}

.news-article-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 20px;
}

.news-article-meta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.news-article-meta .meta-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #888;
}

.news-article-meta .meta-date svg {
    stroke: #888;
}

/* === News Article Content === */
.news-article-content {
    padding: 60px 0 80px;
    background: #fff;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body p {
    font-size: 16px;
    color: #444;
    line-height: 2;
    margin-bottom: 24px;
    text-align: justify;
}

.article-body h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 40px 0 16px;
    padding-left: 14px;
    border-left: 4px solid #1a56db;
    line-height: 1.4;
}

.article-body p:first-child {
    font-size: 17px;
    color: #333;
    font-weight: 400;
}

.article-body p:first-child::first-letter {
    font-size: 1.2em;
}

/* === News Article Navigation (Prev/Next) === */
.news-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-nav-prev,
.article-nav-next {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-nav-next {
    text-align: right;
}

.article-nav-prev .nav-label,
.article-nav-next .nav-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.article-nav-prev .nav-title,
.article-nav-next .nav-title {
    font-size: 15px;
    color: #1a56db;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.5;
}

a.nav-title:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

.article-nav-prev .nav-title:not(a),
.article-nav-next .nav-title:not(a) {
    color: #bbb;
}

/* === Responsive for News Article === */
@media (max-width: 768px) {
    .news-article-hero {
        padding-top: 100px;
        padding-bottom: 30px;
    }

    .news-article-header h1 {
        font-size: 24px;
    }

    .article-body p {
        font-size: 15px;
    }

    .article-body h2 {
        font-size: 19px;
        margin: 30px 0 12px;
    }

    .news-article-nav {
        flex-direction: column;
        gap: 20px;
    }

    .article-nav-next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .news-article-header h1 {
        font-size: 20px;
    }

    .article-body p {
        font-size: 14px;
        line-height: 1.9;
    }
}
