/* ============================================
   元一科技官网 - 主样式表
   Version: 1.0
   Date: 2026-07-17
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --color-primary: #0052B4;
    --color-primary-dark: #003D82;
    --color-accent: #00A3E0;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F5F7FA;
    --color-text: #1A1A2E;
    --color-text-light: #555555;
    --color-border: #E5E7EB;
    --color-white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --max-width: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

/* ---------- Section Common ---------- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 16px auto 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    gap: 8px;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

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

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

.btn-outline-dark:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

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

.nav-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter var(--transition);
}

.navbar.scrolled .nav-logo img {
    filter: none;
}

.nav-logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    transition: color var(--transition);
}

.navbar.scrolled .nav-logo-text {
    color: var(--color-primary);
}

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

.nav-menu a {
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    border-radius: 6px;
    transition: all var(--transition);
}

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

.navbar.scrolled .nav-menu a {
    color: var(--color-text);
}

.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}



/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar.scrolled .nav-hamburger span {
    background: var(--color-text);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Banner
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    background: linear-gradient(135deg, #001a3a 0%, #003d82 40%, #0052b4 70%, #00a3e0 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><defs><radialGradient id="g1" cx="20%25" cy="30%25"><stop offset="0%25" stop-color="%2300a3e0" stop-opacity="0.15"/><stop offset="100%25" stop-color="transparent"/></radialGradient><radialGradient id="g2" cx="80%25" cy="70%25"><stop offset="0%25" stop-color="%230052b4" stop-opacity="0.2"/><stop offset="100%25" stop-color="transparent"/></radialGradient></defs><rect fill="url(%23g1)" width="1440" height="900"/><rect fill="url(%23g2)" width="1440" height="900"/></svg>') center/cover;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--color-white);
}

.hero-content .subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #FFFFFF;
    opacity: 1;
    letter-spacing: 4px;
}

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

/* Hero particles decoration */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
    padding: 60px 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

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

.stat-item {
    padding: 24px 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

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

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
    display: block;
}

.product-card > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card-img {
    display: block;
}

.product-card-body {
    display: block;
}

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

.product-card-img {
    width: 100%;
    height: 220px;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-img .placeholder {
    color: #aaa;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

.product-card-img .placeholder-icon {
    font-size: 3rem;
    margin-bottom: 8px;
    opacity: 0.4;
}

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.product-card-body p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.product-card-body .btn {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
}

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

.about-preview-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-preview-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

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

.about-preview-video {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    background: #000;
}

.about-preview-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Tech Articles Preview
   ============================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-card-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.article-card-body {
    padding: 24px;
}

.article-card-body .tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(0,82,180,0.08);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.article-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-card-body p {
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-body .date {
    font-size: 0.8rem;
    color: #999;
}

/* ============================================
   Cases Preview
   ============================================ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.case-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 200px 1fr;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.case-card-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.85rem;
}

.case-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-card-body .industry {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.case-card-body p {
    font-size: 0.9rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(0,82,180,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--color-primary);
}

.contact-info-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 0.95rem;
}

.contact-form {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.form-group label .required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--transition);
    background: var(--color-bg);
}

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

.form-group input.error,
.form-group textarea.error {
    border-color: #e53e3e;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   Page Banner (Sub Pages)
   ============================================ */
.page-banner {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #001a3a 0%, #003d82 50%, #0052b4 100%);
    color: var(--color-white);
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--color-white);
}

/* ============================================
   Product List Page
   ============================================ */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--color-text-light);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(0,82,180,0.04);
}

/* ============================================
   About Page
   ============================================ */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.advantage-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(0,82,180,0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.advantage-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 0.9rem;
}

/* Video Section */
.video-section {
    padding: 60px 0;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Technology Page
   ============================================ */
.tech-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-item {
    display: block;
    padding: 0;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.tech-item > a {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 24px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.tech-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.tech-item:hover h3 {
    color: var(--color-primary);
}

.tech-date {
    text-align: center;
    padding: 12px;
    background: var(--color-bg-alt);
    border-radius: 8px;
}

.tech-date .day {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.tech-date .month {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.tech-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.tech-info p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.tech-info .tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(0,82,180,0.08);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--color-text-light);
}

.page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================
   Cases Page
   ============================================ */
.cases-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.case-list-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    display: block;
}

.case-list-card > a {
    display: grid;
    grid-template-columns: 200px 1fr;
    text-decoration: none;
    color: inherit;
}

.case-list-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.case-list-img {
    width: 100%;
    height: 200px;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9rem;
}

.case-list-body {
    padding: 24px;
}

.case-list-body .industry {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.case-list-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.case-list-body p {
    font-size: 0.9rem;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-page-info {
    padding: 32px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
}

.contact-page-info h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.map-section {
    margin-top: 48px;
}

.map-wrapper {
    width: 100%;
    height: 400px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1rem;
    border: 1px solid var(--color-border);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

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

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

.footer-brand .footer-logo img {
    height: 36px;
    filter: brightness(0) invert(1);
}

.footer-brand .footer-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-white);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-contact-item .icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    color: #fff;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

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

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

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

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* ============================================
   Responsive - Mobile (<768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }

    .section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 32px;
    }

    /* Nav */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        color: var(--color-text) !important;
        padding: 12px 16px;
        width: 100%;
        border-radius: 8px;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--color-bg-alt) !important;
        color: var(--color-primary) !important;
    }

    .nav-hamburger {
        display: flex;
    }



    /* Hero */
    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* About Preview */
    .about-preview {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Articles */
    .articles-grid {
        grid-template-columns: 1fr;
    }

    /* Cases */
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        grid-template-columns: 1fr;
    }

    .case-card-img {
        min-height: 180px;
    }

    /* Contact */
    .contact-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    /* Advantages */
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    /* Tech Items */
    .tech-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tech-date {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
    }

    /* Cases List */
    .cases-list {
        grid-template-columns: 1fr;
    }

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

    /* Page Banner */
    .page-banner {
        padding: 120px 0 40px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }
}

/* ============================================
   Article Detail Page
   ============================================ */
.article-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.article-meta .tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(0,82,180,0.08);
    padding: 4px 12px;
    border-radius: 4px;
}

.article-meta .date {
    font-size: 0.9rem;
    color: #999;
}

.article-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.article-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content ul li {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 8px;
    list-style-type: disc;
}

.article-content ul li strong {
    color: var(--color-text);
}

.article-nav {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

/* ============================================
   Case Detail Page
   ============================================ */
.case-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.case-detail-header {
    margin-bottom: 40px;
}

.case-detail-header .industry {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.case-detail-header h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.case-detail-header .meta {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: #999;
}

.case-detail-img {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    background: var(--color-bg-alt);
}

.case-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-detail-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.case-detail-content h2:first-child {
    margin-top: 0;
}

.case-detail-content p {
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.case-detail-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.case-detail-content ul li {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--color-text-light);
    margin-bottom: 8px;
    list-style-type: disc;
}

.case-detail-specs {
    background: var(--color-bg-alt);
    padding: 32px;
    border-radius: var(--radius-lg);
    margin: 32px 0;
}

.case-detail-specs h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.spec-item .label {
    font-weight: 600;
    color: var(--color-text);
}

.spec-item .value {
    color: var(--color-text-light);
}

.case-detail-nav {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .article-content h2 {
        font-size: 1.3rem;
    }

    .article-content p,
    .article-content ul li {
        font-size: 1rem;
    }

    .case-detail-img {
        height: 250px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .case-detail-nav {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   Product Detail Page - Hero Section
   ============================================ */
.product-hero {
    padding-top: 32px;
    padding-bottom: 0;
    width: 100%;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 24px;
    align-items: start;
}

/* Carousel */
.product-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-bg-alt);
    aspect-ratio: 4/3;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background var(--transition);
    z-index: 2;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

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

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.carousel-dot.active {
    background: var(--color-primary);
    border-color: #fff;
    transform: scale(1.2);
}

/* Hero Info */
.product-hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
}

.product-hero-info .product-category {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.product-hero-info h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--color-text);
}

.product-hero-info .product-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.product-hero-info .product-meta {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 24px;
}

.product-hero-info .product-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-hero-info .hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-hero-info .hero-buttons .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* ============================================
   Product Detail Page - Detail Section
   ============================================ */
.product-detail-section {
    padding-top: 32px;
    padding-bottom: 80px;
    width: 100%;
}

.product-detail-body {
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-body h2 {
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--color-text);
}

.product-detail-body h2:first-child {
    margin-top: 0;
}

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

.product-detail-body ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.product-detail-body ul li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 8px;
    list-style-type: disc;
}

.product-detail-body ul li strong {
    color: var(--color-text);
}

.product-detail-nav {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
}

/* Responsive for product detail */
@media (max-width: 768px) {
    .product-hero {
        padding-top: 24px;
    }

    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-hero-info h1 {
        font-size: 22px;
    }

    .product-hero-info .product-desc {
        font-size: 14px;
    }

    .product-detail-section {
        padding-top: 24px;
        padding-bottom: 50px;
    }

    .product-detail-body p,
    .product-detail-body ul li {
        font-size: 14px;
    }

    .product-detail-nav {
        flex-direction: column;
        gap: 12px;
    }
}
