﻿/* ============================================================
   GUOFANG SCI & TECH - Dark Tech Website
   Brand: #0F52BA | #4080E8 | WCAG 2.1 Compliant
   ============================================================ */

/* ===== Design Tokens ===== */
:root {
    --brand: #0F52BA;
    --brand-light: #4080E8;
    --brand-dark: #0A3D8F;
    --grad-brand: linear-gradient(135deg, #0F52BA 0%, #4080E8 100%);
    
    /* Dark Mode Colors */
    --bg-deep: #0A0E14;
    --bg-dark: #0F1419;
    --bg-surface: #161B22;
    --bg-elevated: #1C2333;
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-brand: rgba(15, 82, 186, 0.3);
    
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.48);
    --text-dim: rgba(255, 255, 255, 0.3);
    
    --code-bg: #0D1117;
    --code-green: #7EE8A0;
    --code-blue: #79C0FF;
    --code-purple: #D2A8FF;
    --code-orange: #FFA657;
    --code-yellow: #E3B341;
    --code-red: #FF7B72;
    
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.6);
    --shadow-brand: 0 4px 24px rgba(15, 82, 186, 0.2);
    --shadow-brand-lg: 0 8px 40px rgba(15, 82, 186, 0.3);
    --shadow-glass: 0 8px 32px rgba(0,0,0,0.4), 0 1px 8px rgba(0,0,0,0.3);
    
    --r-sm: 6px;
    --r: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 9999px;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --t-fast: 0.2s var(--ease-out-expo);
    --t: 0.5s var(--ease-out-expo);
    --t-slow: 0.9s var(--ease-out-expo);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(15, 82, 186, 0.15); color: var(--text-primary); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Noise Texture ===== */
.noise-overlay {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ===== Fluid Background ===== */
.fluid-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.fluid-canvas {
    width: 100%; height: 100%;
    opacity: 0.8;
}

/* ===== Cursor Glow ===== */
.cursor-glow {
    position: fixed; top: 0; left: 0; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(15, 82, 186, 0.15) 0%, rgba(15, 82, 186, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    will-change: transform;
    transition: opacity 0.4s;
}

/* ===== Container ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 2; }

/* ===== Spotlight Card Effect ===== */
.product-card,
.case-card,
.solution-card,
.value-card,
.info-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
    position: relative;
    overflow: hidden;
}
.product-card::before,
.case-card::before,
.solution-card::before,
.value-card::before,
.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(15, 82, 186, 0.35), transparent 50%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 1;
}
.product-card:hover::before,
.case-card:hover::before,
.solution-card:hover::before,
.value-card:hover::before,
.info-card:hover::before {
    opacity: 1;
}
.product-card > *,
.case-card > *,
.solution-card > *,
.value-card > *,
.info-card > * {
    position: relative;
    z-index: 2;
}

/* ===== Header ===== */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: var(--t);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}
#header.scrolled {
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-bottom: 1px solid var(--border);
}
.logo-area {
    display: flex; align-items: center; gap: 12px;
    transition: var(--t-fast);
}
.logo-area:hover { transform: translateY(-1px); }
.logo-img { height: 36px; width: auto; }
.logo-text { font-size: 15px; font-weight: 600; color: var(--text-secondary); letter-spacing: -0.2px; }

.main-nav { display: flex; gap: 4px; }
.nav-link {
    padding: 8px 16px; border-radius: var(--r-sm);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px; font-weight: 500; color: var(--text-secondary);
    transition: var(--t-fast); position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 2px; left: 16px; right: 16px;
    height: 1.5px; background: var(--brand);
    transform: scaleX(0); transform-origin: center;
    transition: transform var(--t-fast);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--brand); }
.nav-link.active::after { transform: scaleX(1); }
.nav-shop i { margin-right: 6px; font-size: 14px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border-light); border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); cursor: pointer;
    font-size: 12px; font-weight: 500; color: var(--text-secondary); transition: var(--t-fast);
    display: inline-flex; align-items: center; justify-content: center;
}
.lang-toggle:hover { border-color: rgba(255,255,255,0.2); color: var(--text-primary); background: rgba(255,255,255,0.1); }
.mobile-menu-btn {
    display: none; width: 36px; height: 36px; border: 1px solid var(--border-light); border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); cursor: pointer; font-size: 16px; color: var(--text-secondary);
    transition: var(--t-fast); align-items: center; justify-content: center;
}
.mobile-menu-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--text-primary); background: rgba(255,255,255,0.1); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    padding-top: 72px;
    background: var(--bg-deep);
}
#antigravityContainer {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-container {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px;
    align-items: center; padding-top: 120px; padding-bottom: 160px;
    width: 100%;
}

/* Hero Badges */
.hero-badges { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.badge {
    padding: 5px 14px; border-radius: var(--r-full);
    font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
}
.badge-primary {
    background: var(--brand); color: var(--white); font-weight: 700; letter-spacing: 0.5px; box-shadow: 0 0 20px rgba(15,82,186,0.3);
}
.badge-secondary {
    background: rgba(255,255,255,0.06); color: var(--text-secondary); border: 1px solid var(--border-light); backdrop-filter: blur(8px);
}

/* Hero Title */
.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900; line-height: 1.15;
    color: var(--text-primary); letter-spacing: -1.5px;
    margin-bottom: 24px;
    position: relative;
}
.hero-title::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle 1px at calc(var(--dot-x, 0px)) calc(var(--dot-y, 0px)), rgba(15,82,186,0.15), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.hero-title:hover::after { opacity: 1; }
.title-line { display: block; }
.highlight {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Desc */
.hero-desc {
    font-size: 16px; color: var(--text-secondary);
    line-height: 1.7; max-width: 480px;
    margin-bottom: 36px; font-weight: 500;
}

/* Hero Actions */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.btn {
    padding: 14px 32px; border-radius: var(--r); font-size: 14px;
    font-weight: 600; cursor: pointer; transition: var(--t);
    border: none; display: inline-flex; align-items: center; gap: 8px;
    position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0; transition: opacity var(--t-fast);
}
.btn:hover::after { opacity: 1; }
.btn-primary {
    background: var(--grad-brand); color: var(--white);
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-brand-lg); }
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.06); color: var(--text-secondary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--text-primary); background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* Hero Stats */
.hero-stats { justify-content: flex-start; display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-size: 32px; font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 6px; font-weight: 500; }

/* ===== Code Window ===== */
.code-window {
    width: 90%;
    background: rgba(13, 17, 23, 0.75);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: var(--t);
    position: relative;
    min-height: 500px;
}
.code-window:hover {
    transform: translateY(-4px);
}

.code-window-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}
.code-dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-close { background: #FF5F57; }
.dot-min { background: #FFBD2E; }
.dot-max { background: #28CA41; }
.code-filename {
    font-size: 12px; color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.3px;
}
.code-copy {
    width: 28px; height: 28px; border: none; border-radius: var(--r-sm);
    background: transparent; cursor: pointer; color: var(--text-muted);
    font-size: 13px; transition: var(--t-fast);
    display: flex; align-items: center; justify-content: center;
}
.code-copy:hover { background: rgba(255,255,255,0.06); color: var(--text-secondary); }

.code-body {
    padding: 20px 24px;
    overflow-x: auto;
}
.code-body pre {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 13px; line-height: 1.75;
    color: var(--text-secondary);
    white-space: pre;
}
.code-body code { font-family: inherit; }
.code-keyword { color: var(--code-purple); font-weight: 600; }
.code-highlight { color: var(--brand-light); font-weight: 700; }
.code-string { color: var(--code-green); }
.code-number { color: var(--code-orange); }
.code-comment { color: var(--text-dim); font-style: italic; }
.code-prop { color: var(--code-blue); }
.code-var { color: var(--text-primary); }
.code-method { color: var(--code-blue); }
.code-console { color: var(--code-yellow); }

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 2;
}
.scroll-line {
    width: 2px; height: 40px; background: var(--border-light);
    position: relative; overflow: hidden; border-radius: 2px;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 100%; height: 100%; background: var(--brand);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ===== Sections ===== */
.section { padding: 120px 0; position: relative; z-index: 2; }
.section-dark { background: var(--bg-dark); }
.section-darker { background: var(--bg-deep); }

/* Keep section titles clear of the fixed 72px navbar when navigating via anchors */
section[id] { scroll-margin-top: 88px; }

/* SoftAurora background inside Solutions section */
.solutions-aurora { position: relative; overflow: hidden; }
.soft-aurora-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.solutions-content { position: relative; z-index: 1; }

/* LetterGlitch background inside About section */
.about-aurora { position: relative; overflow: hidden; }
.letter-glitch-bg-wrap { position: absolute; inset: 0; z-index: 0; pointer-events: none; min-height: 100%; }
.letter-glitch-bg-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0) 20%,
        rgba(0,0,0,0) 80%,
        rgba(0,0,0,0.8) 100%);
}
.about-content { position: relative; z-index: 1; }
.letter-glitch-bg { opacity: 0.85; }

/* PixelBlast background inside Contact section */
.contact-with-pixels { position: relative; overflow: hidden; }
.pixel-blast-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}
.contact-with-pixels .container { position: relative; z-index: 1; }

/* PixelBlast component base (from PixelBlast.css) */
.pixel-blast-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; padding: 5px 14px;
    background: rgba(64, 128, 232, 0.08);
    color: var(--brand-light);
    border-radius: var(--r-full);
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    opacity: 0; transform: translateY(16px);
    transition: opacity var(--t), transform var(--t);
}
.section-tag.visible { opacity: 1; transform: translateY(0); }
.section-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800; margin-bottom: 14px;
    color: var(--text-primary); letter-spacing: -0.5px;
    opacity: 0; transform: translateY(24px);
    transition: opacity var(--t-slow), transform var(--t-slow);
}
.section-title.visible { opacity: 1; transform: translateY(0); }
.section-line {
    width: 48px; height: 2px;
    background: var(--grad-brand);
    margin: 0 auto 16px;
    transform: scaleX(0);
    transition: transform var(--t-slow);
    transform-origin: center;
}
.section-line.visible { transform: scaleX(1); }
.section-desc { font-size: 15px; color: var(--text-primary); opacity: 0.65;
    max-width: 500px; margin: 0 auto;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.6s var(--ease-out-expo) 0.15s, transform 0.6s var(--ease-out-expo) 0.15s;
}
.section-desc.visible { opacity: 1; transform: translateY(0); }

/* ===== Products ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 28px 24px;
    transition: var(--t);
    opacity: 0; transform: translateY(30px);
}
.product-card.revealed {
    opacity: 1; transform: translateY(0);
    animation: cardReveal 0.5s var(--ease-out-expo) forwards;
}
.product-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--grad-brand);
    transform: scaleX(0); transition: transform var(--t);
    transform-origin: left;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-brand);
    box-shadow: 0 0 30px rgba(15, 82, 186, 0.15), var(--shadow-lg);
}
.product-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.product-icon {
    width: 48px; height: 48px; border-radius: var(--r);
    display: none;
    align-items: center; justify-content: center;
    color: white; font-size: 18px; flex-shrink: 0;
    transition: transform var(--t-fast);
}
.product-card:hover .product-icon { transform: scale(1.08) rotate(-3deg); }
.product-brand-badge {
    padding: 3px 10px; border-radius: 4px; color: white;
    font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
}
.product-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.product-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.7; }
.product-features li {
    font-size: 12.5px; color: var(--text-secondary); padding: 4px 0;
    display: flex; align-items: center; gap: 7px;
}
.product-features i { color: var(--brand); font-size: 11px; }

/* ===== Solutions ===== */
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.solution-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 36px 32px;
    transition: var(--t);
    opacity: 0; transform: translateY(30px);
    position: relative; overflow: hidden;
}
.solution-card.revealed {
    opacity: 1; transform: translateY(0);
    animation: cardReveal 0.5s var(--ease-out-expo) forwards;
}
.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-brand);
    box-shadow: 0 0 30px rgba(15, 82, 186, 0.15), var(--shadow-lg);
}
.solution-icon {
    width: 52px; height: 52px; border-radius: var(--r);
    background: var(--grad-brand); display: none;
    align-items: center; justify-content: center;
    color: white; font-size: 22px; margin-bottom: 20px;
    box-shadow: var(--shadow-brand);
    transition: transform var(--t-fast);
}
.solution-card:hover .solution-icon { transform: scale(1.08); }
.solution-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.solution-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.75; }
.solution-features li {
    font-size: 13px; color: var(--text-secondary); padding: 6px 0;
    display: flex; align-items: center; gap: 8px;
}
.solution-features i { color: var(--brand); font-size: 12px; }

/* ===== Cases ===== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: var(--t);
    opacity: 0; transform: translateY(30px);
}
.case-card.revealed {
    opacity: 1; transform: translateY(0);
    animation: cardReveal 0.5s var(--ease-out-expo) forwards;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(15, 82, 186, 0.15);
    border-color: var(--border-brand);
}
.case-card-image {
    height: 200px; background: var(--bg-elevated);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.case-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.case-card:hover .case-card-image img {
    transform: scale(1.05);
}
.case-card-image::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,82,186,0.1), rgba(15,82,186,0.03));
}
.case-card-image i { font-size: 44px; color: rgba(255,255,255,0.15); position: relative; z-index: 1; transition: var(--t); }
.case-card:hover .case-card-image i { color: rgba(15,82,186,0.3); transform: scale(1.1); }
.case-card-image .case-category-badge {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    padding: 3px 10px; border-radius: 4px; font-size: 10px;
    font-weight: 700; color: white;
}
.case-category-badge.plc { background: #1E45A0; }
.case-category-badge.vfd { background: #D4681A; }
.case-category-badge.valve { background: #006B3F; }
.case-card-body { padding: 18px 20px; }
.case-card-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); transition: var(--t-fast); }
.case-card:hover .case-card-body h4 { color: var(--brand-light); }
.case-card-body p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); padding-top: 10px; border-top: 1px solid var(--border); }
.case-meta i { width: 12px; margin-right: 3px; }

/* ===== About ===== */
.about-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; margin-bottom: 64px; align-items: start; }
.about-text p { font-size: 15px; color: var(--text-secondary); line-height: 1.85; }
.about-stats { text-align: center; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-number {
    font-size: 40px; font-weight: 900;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 6px; font-weight: 500; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
    text-align: center; padding: 32px 24px;
    background: var(--bg-surface); border-radius: var(--r-md);
    border: 1px solid var(--border); transition: var(--t);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-brand); }
.value-icon {
    width: 54px; height: 54px; border-radius: 50%;
    background: rgba(15, 82, 186, 0.06);
    display: none;
    align-items: center; justify-content: center;
    margin: 0 auto 16px; color: var(--brand-light); font-size: 22px;
    transition: var(--t);
}
.value-card:hover .value-icon { background: var(--grad-brand); color: var(--white); transform: scale(1.1); box-shadow: var(--shadow-brand); }
.value-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.value-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ===== Contact ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.info-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 20px; background: var(--bg-surface);
    border-radius: var(--r); margin-bottom: 10px;
    border: 1px solid var(--border); transition: var(--t);
}
.info-card:hover { transform: translateX(5px); border-color: var(--border-brand); box-shadow: var(--shadow-md); }
.info-icon {
    width: 42px; height: 42px; border-radius: var(--r);
    background: var(--grad-brand); display: none;
    align-items: center; justify-content: center;
    color: white; font-size: 16px; flex-shrink: 0;
    box-shadow: var(--shadow-brand);
    transition: transform var(--t-fast);
}
.info-card:hover .info-icon { transform: rotate(-8deg) scale(1.08); }
.info-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 3px; color: var(--text-primary); }
.info-card p { font-size: 13px; color: var(--text-secondary); }

.contact-form-wrapper { position: relative; }
.form-group { position: relative; margin-bottom: 16px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 14px 8px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    font-size: 14px; color: var(--text-primary);
    transition: var(--t);
    background: var(--bg-surface);
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.15);
}
.form-group label {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    font-size: 13px; color: var(--text-muted);
    pointer-events: none; transition: var(--t);
    background: var(--bg-surface); padding: 0 3px;
}
.form-group textarea ~ label { top: 14px; transform: none; }
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0; font-size: 10px; color: var(--brand);
    transform: translateY(-50%);
}
.form-success { text-align: center; padding: 40px 20px; }
.form-success i { font-size: 48px; color: var(--brand); margin-bottom: 14px; }
.form-success h4 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.form-success p { font-size: 14px; color: var(--text-secondary); }

/* ===== Footer ===== */
/* ===== Footer - Partner Logo Scroll ===== */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    position: relative; z-index: 2;
}

.partner-logos-wrapper {
    padding: 40px 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10,14,26,0) 0%, rgba(10,14,26,1) 8%, rgba(10,14,26,1) 92%, rgba(10,14,26,0) 100%);
}

.footer-bottom {
    text-align: center;
    padding: 16px 0 28px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 1001; display: none;
}
.mobile-menu-overlay.active { display: block; }
.mobile-nav {
    position: fixed; top: 0; right: 0; width: 260px; height: 100%;
    background: var(--bg-dark); padding: 72px 24px 24px;
    transform: translateX(100%); transition: transform var(--t);
    z-index: 1002; border-left: 1px solid var(--border);
}
.mobile-menu-overlay.active .mobile-nav { transform: translateX(0); }
.mobile-nav a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.mobile-close {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px; border: none; border-radius: var(--r-sm);
    background: var(--bg-surface); cursor: pointer; font-size: 14px;
    color: var(--text-secondary);
}

/* ===== Animations ===== */
@keyframes cardReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 48px; }
    .hero-right { order: -1; display: flex; align-items: center; justify-content: center; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .contact-layout { grid-template-columns: 1fr; }
    .main-nav { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 768px) {
    .header-inner { padding: 0 20px; }
    .main-nav { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .products-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: 1fr; }
    .hero-title { font-size: 28px; letter-spacing: -0.5px; }
    .hero-desc { font-size: 14px; }
    .hero-stats { justify-content: center; justify-content: flex-start; gap: 24px; }
    .stat-num { font-size: 24px; }
    .btn { padding: 12px 24px; font-size: 13px; }
    .section { padding: 80px 0; }
    .container { padding: 0 20px; }
    .code-window { margin: 0 -20px; border-radius: 0; }
}
