* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-bg: #dbeafe;
    --dark-bg: #0a1628;
    --mid-bg: #1a365d;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 30px 80px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--bg-light);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* ==================== LAYOUT ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
}

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

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

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

/* ==================== HEADER ==================== */
.header {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

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

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

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo a {
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    display: block;
    margin-top: 2px;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav a {
    color: rgba(255,255,255,0.85);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
}

.nav a:hover,
.nav a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================== PAGE BANNER ==================== */
.page-banner {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    color: var(--white);
    padding: 160px 0 100px;
    text-align: center;
    margin-top: 80px;
}

.page-banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-banner p {
    opacity: 0.8;
    font-size: 18px;
}

/* ==================== HERO SLIDER (Home) ==================== */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(26,54,93,0.88) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

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

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

.slider-dot.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    transform: translateY(-50%);
}

.slider-arrow {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(59,130,246,0.3);
    border-color: rgba(59,130,246,0.5);
}

.hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #1e40af 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    flex: 1;
    color: var(--white);
    padding-right: 60px;
}

.hero-badge {
    display: inline-block;
    background: rgba(59,130,246,0.3);
    border: 1px solid rgba(59,130,246,0.5);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero h1 span {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 8px;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, #2563eb 100%);
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(59,130,246,0.4);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59,130,246,0.5);
    color: var(--white);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    padding: 14px 38px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
}

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

.btn {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30,64,175,0.35);
    color: var(--white);
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn + .btn {
    margin-left: 15px;
}

/* ==================== COUNTER SECTION ==================== */
.counter-section {
    background: var(--white);
    padding: 80px 0;
    margin-top: -80px;
    position: relative;
    z-index: 5;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -20px 60px rgba(0,0,0,0.1);
}

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

.counter-item {
    text-align: center;
    padding: 40px 20px;
}

.counter-item i {
    font-size: 44px;
    color: var(--primary-light);
    margin-bottom: 20px;
    display: block;
}

.counter {
    font-size: 52px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-item p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    background: var(--bg-light);
}

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

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-main i {
    font-size: 120px;
    color: #1e40af;
    opacity: 0.3;
}

.about-image-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(30,64,175,0.4);
}

.about-image-badge h4 {
    font-size: 42px;
    font-weight: 700;
}

.about-image-badge p {
    font-size: 14px;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 40px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.about-content > p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 35px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.about-feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 600;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-light);
}

/* About detail page */
.about-detail {
    max-width: 900px;
    margin: 0 auto;
}

.about-detail h2 {
    color: var(--primary);
    font-size: 28px;
    margin: 60px 0 25px;
    padding-bottom: 18px;
    border-bottom: 3px solid #dbeafe;
    font-weight: 700;
}

.about-detail p,
.about-detail li {
    color: var(--text-body);
    font-size: 17px;
    line-height: 2;
    margin-bottom: 18px;
}

.about-detail ul {
    padding-left: 25px;
}

.about-detail .btn-wrap {
    margin-top: 50px;
    text-align: center;
}

/* Info table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.info-table td {
    padding: 20px 25px;
    border: none;
}

.info-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td:first-child {
    background: var(--bg-light);
    width: 200px;
    font-weight: 600;
    color: var(--primary);
}

/* ==================== PRODUCTS SECTION ==================== */
.products-section {
    background: var(--white);
}

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

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

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

.product-image {
    height: 240px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="rgba(30,64,175,0.1)" stroke-width="2"/><circle cx="100" cy="100" r="60" fill="none" stroke="rgba(30,64,175,0.08)" stroke-width="2"/></svg>') center/contain no-repeat;
}

.product-image img {
    max-height: 200px;
    position: relative;
    z-index: 1;
}

.product-image .placeholder {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.product-info {
    padding: 35px;
}

.product-tag {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
}

.product-info h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.product-info p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.product-link:hover {
    gap: 15px;
    color: var(--primary-light);
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    color: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 50px 30px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-8px);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(59,130,246,0.2) 0%, rgba(59,130,246,0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    color: #60a5fa;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    font-size: 15px;
    opacity: 0.7;
    line-height: 1.7;
}

/* ==================== NEWS SECTION ==================== */
.news-section {
    background: var(--bg-light);
}

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

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    transition: var(--transition);
}

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

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-placeholder {
    height: 220px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
}

.news-info {
    padding: 30px;
}

.news-date {
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-info h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.news-info h3 a:hover {
    color: var(--primary);
}

.news-info p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: var(--white);
}

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

.contact-card {
    background: var(--bg-light);
    padding: 45px 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--white);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 28px;
}

.contact-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Contact detail section */
.contact-detail-section {
    margin-top: 60px;
    background: var(--bg-light);
    padding: 50px;
    border-radius: var(--radius-lg);
}

.contact-detail-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.map-address {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.contact-info-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
}

.contact-info-box h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-info-box h4 i {
    color: var(--primary-light);
    margin-right: 8px;
}

.contact-info-box p {
    color: var(--text-muted);
    line-height: 1.8;
}

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

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #0a1628;
    color: var(--white);
    padding: 100px 0 40px;
}

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

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-light);
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 600;
}

.footer-links a {
    display: block;
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 15px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* ==================== DETAIL PAGES ==================== */
.article-detail,
.product-detail {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.article-meta {
    color: var(--text-light);
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.article-cover,
.product-img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 35px;
}

.article-content,
.product-content {
    color: var(--text-body);
    font-size: 17px;
    line-height: 2;
}

.detail-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ==================== EMPTY STATE ==================== */
.empty {
    text-align: center;
    color: var(--text-light);
    padding: 80px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    font-size: 18px;
}

.empty i {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

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

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

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

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

.partners-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.partner-logo {
    min-width: 200px;
    height: 80px;
    background: #f8fafc;
    margin: 0 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
}

/* Page fade-in animation */
.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

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

/* ==================== SCROLL TO TOP ==================== */
.scroll-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30,64,175,0.4);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(30,64,175,0.5);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .product-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-image-badge {
        bottom: -20px;
        right: 20px;
    }
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        height: auto;
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
        background: rgba(10, 22, 40, 0.98);
        padding: 15px;
        border-radius: var(--radius);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 14px 20px;
        font-size: 16px;
        border-radius: var(--radius);
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero h1 { font-size: 36px; }
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .product-grid,
    .news-grid,
    .features-grid,
    .contact-grid,
    .counter-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 32px;
    }

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

    .article-detail,
    .product-detail {
        padding: 30px 20px;
    }

    .contact-detail-section {
        padding: 30px 20px;
    }

    .footer-grid {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .slider-arrow {
        width: 44px;
        height: 44px;
    }

    .page-banner {
        padding: 140px 0 80px;
    }

    .page-banner h1 {
        font-size: 36px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .counter-section {
        margin-top: 0;
        border-radius: 0;
    }

    .detail-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-footer .btn {
        margin-left: 0 !important;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    .about-content h2 { font-size: 30px; }
    .section-title { font-size: 28px; }
    .counter { font-size: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
}
