/* ============================================
   PANMAO TECHNOLOGY - MODERN WEBSITE STYLES
   ============================================ */

:root {
    --primary: #1a56db;
    --primary-dark: #1648b3;
    --primary-light: #eef4ff;
    --secondary: #0d9488;
    --accent: #6d28d9;
    --dark: #f8fafc;
    --dark-2: #ffffff;
    --dark-3: #f1f5f9;
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --surface: #ffffff;
    --surface-hover: #f8fafc;
    --border: #e2e8f0;
    --gradient-1: linear-gradient(135deg, #1a56db, #0d9488);
    --gradient-2: linear-gradient(135deg, #6d28d9, #1a56db);
    --gradient-3: linear-gradient(135deg, #1a56db, #0d9488, #6d28d9);
    --shadow-sm: 0 1px 3px rgba(15,23,42,0.04);
    --shadow-md: 0 4px 12px rgba(15,23,42,0.06);
    --shadow-lg: 0 12px 24px rgba(15,23,42,0.08);
    --shadow-xl: 0 24px 48px rgba(15,23,42,0.1);
    --shadow-glow: 0 0 40px rgba(26,86,219,0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--text-primary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

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

.navbar.scrolled .logo-sub {
    color: var(--gray-500);
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
}

.navbar.scrolled .nav-link.nav-cta {
    color: var(--white);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-primary);
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--white);
    transition: var(--transition);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
    letter-spacing: 3px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 9px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    letter-spacing: 4px;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link.nav-cta {
    background: var(--primary);
    color: var(--white);
    margin-left: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

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

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 16px;
    z-index: 1002;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lang-current:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.navbar.scrolled .lang-current {
    background: var(--gray-100);
    border-color: var(--border);
    color: var(--text-primary);
}

.navbar.scrolled .lang-current:hover {
    background: var(--gray-200);
    border-color: var(--gray-300);
}

.lang-current .fa-chevron-down {
    font-size: 10px;
    transition: var(--transition);
}

.lang-switcher.open .lang-current .fa-chevron-down {
    transform: rotate(180deg);
}

.lang-flag {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 6px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-align: left;
}

.lang-option:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

.lang-option.active {
    background: var(--primary-light);
    color: var(--primary);
}

.lang-option .lang-flag {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}

.lang-option.active .lang-flag {
    background: var(--primary-light);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(26,86,219,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(13,148,136,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(109,40,217,0.08) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--white));
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(26,86,219,0.15);
    border: 1px solid rgba(26,86,219,0.3);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 32px;
}

.hero-badge i {
    font-size: 12px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-desc {
    max-width: 640px;
    margin: 0 auto 40px;
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(26,86,219,0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26,86,219,0.35);
}

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    border: 1px solid rgba(26,86,219,0.15);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--dark-2);
}

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

.about-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.about-card:hover {
    background: var(--surface-hover);
    border-color: rgba(26,86,219,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.about-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--white);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.about-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-light);
    border: 1px solid rgba(26,86,219,0.1);
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.highlight-item i {
    color: var(--secondary);
    font-size: 14px;
}

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

.product-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}

.product-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gray-100);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.product-tab:hover {
    background: var(--gray-200);
    color: var(--text-primary);
}

.product-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(26,86,219,0.25);
}

.product-panel {
    display: none;
}

.product-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.product-intro p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    background: var(--gray-100);
    border-color: rgba(26,86,219,0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.product-card:hover::before {
    opacity: 1;
}

/* Product Card Image */
.product-card-img {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--gray-100);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-header {
    margin-bottom: 16px;
}

.product-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    border: 1px solid rgba(26,86,219,0.15);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.product-specs {
    list-style: none;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.product-specs li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.product-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   EQUIPMENT SECTION
   ============================================ */
.equipment-section {
    background: var(--dark);
}

.equip-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.equip-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gray-100);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.equip-tab:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

.equip-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(26,86,219,0.25);
}

.equip-panel {
    display: none;
}

.equip-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.equip-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.equip-card:hover {
    background: var(--gray-100);
    border-color: rgba(26,86,219,0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.equip-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.equip-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.equip-card:hover .equip-card-img img {
    transform: scale(1.08);
}

.equip-card-info {
    padding: 16px 20px;
}

.equip-card-info h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Equipment Inspection Panel */
.equip-intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.equip-intro-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.equip-intro-card:hover {
    background: var(--gray-100);
    border-color: rgba(26,86,219,0.15);
}

.equip-intro-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    font-size: 20px;
    color: var(--white);
}

.equip-intro-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.equip-intro-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.equip-test-stations {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.equip-test-stations h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.test-station-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.test-station {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(26,86,219,0.05);
    border: 1px solid rgba(26,86,219,0.08);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.test-station:hover {
    background: rgba(26,86,219,0.10);
    border-color: rgba(26,86,219,0.20);
}

.test-station i {
    color: var(--primary);
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.test-station span {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-300);
}

/* ============================================
   CAPABILITIES SECTION
   ============================================ */
.capabilities {
    background: var(--dark-2);
}

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

.cap-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition);
    position: relative;
}

.cap-card:hover {
    background: var(--surface-hover);
    border-color: rgba(26,86,219,0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cap-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.cap-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cap-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   APPLICATIONS SECTION
   ============================================ */
.applications {
    background: var(--dark);
}

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

.app-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.app-card:hover {
    background: var(--gray-100);
    border-color: rgba(26,86,219,0.15);
    transform: translateY(-4px);
}

.app-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    font-size: 22px;
    color: var(--white);
}

.app-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SERVICE SECTION
   ============================================ */
.service-section {
    background: var(--dark-2);
}

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

.service-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

.service-text > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.service-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.service-point-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,86,219,0.08);
    border: 1px solid rgba(26,86,219,0.15);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 18px;
}

.service-point h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.service-point p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Globe Visual */
.service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-globe {
    position: relative;
    width: 360px;
    height: 360px;
}

.globe-ring {
    position: absolute;
    border: 1px solid rgba(26,86,219,0.12);
    border-radius: 50%;
}

.ring-1 {
    inset: 0;
    animation: globeRotate 20s linear infinite;
}

.ring-2 {
    inset: 40px;
    border-color: rgba(13,148,136,0.10);
    animation: globeRotate 15s linear infinite reverse;
}

.ring-3 {
    inset: 80px;
    border-color: rgba(124,58,237,0.1);
    animation: globeRotate 10s linear infinite;
}

@keyframes globeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.globe-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    font-size: 28px;
    color: var(--white);
    box-shadow: 0 0 60px rgba(26,86,219,0.25);
}

.globe-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.globe-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    animation: dotRipple 2s ease-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes dotRipple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

.dot-1 { top: 25%; left: 10%; animation-delay: 0s; }
.dot-2 { top: 35%; right: 15%; animation-delay: 0.3s; }
.dot-3 { bottom: 30%; right: 10%; animation-delay: 0.6s; }
.dot-4 { bottom: 15%; right: 30%; animation-delay: 0.9s; }
.dot-5 { top: 10%; right: 35%; animation-delay: 1.2s; }
.dot-6 { bottom: 20%; left: 15%; animation-delay: 1.5s; }
.dot-7 { top: 15%; left: 35%; animation-delay: 1.8s; }
.dot-8 { top: 50%; left: 5%; animation-delay: 0.4s; }

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-cn {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,86,219,0.08);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 14px;
}

.contact-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-certifications span {
    padding: 6px 14px;
    background: rgba(13,148,136,0.06);
    border: 1px solid rgba(13,148,136,0.12);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-primary);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.08);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%239ca3af'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--white);
    color: var(--text-primary);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    border-top: none;
    padding-top: 80px;
}

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

.footer-brand p {
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-600);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(26,86,219,0.25);
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.trust-header {
    margin-bottom: 48px;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--gray-100);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.trust-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.trust-item i {
    font-size: 20px;
    color: var(--primary);
}

.product-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.product-detail-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

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

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

.news-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26,86,219,0.15);
}

.news-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.news-card:hover .news-read-more {
    gap: 10px;
}

.news-view-all {
    text-align: center;
    margin-top: 16px;
}

.no-news {
    text-align: center;
    color: var(--text-muted);
    grid-column: 1 / -1;
    padding: 40px;
}

/* ============================================
   PREMIUM VISUAL ENHANCEMENTS
   ============================================ */

.about-card {
    box-shadow: var(--shadow-sm);
}

.about-card:hover {
    box-shadow: var(--shadow-xl);
}

.product-card,
.equip-card,
.app-card,
.cap-card {
    box-shadow: var(--shadow-sm);
}

.product-card:hover,
.equip-card:hover,
.app-card:hover {
    box-shadow: var(--shadow-lg);
}

.contact-info-card,
.contact-form {
    box-shadow: var(--shadow-md);
}

.section-tag {
    backdrop-filter: blur(4px);
}

.about::before,
.capabilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 0%, rgba(26,86,219,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 100%, rgba(13,148,136,0.03) 0%, transparent 60%);
    pointer-events: none;
}

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

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

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .equip-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .equip-intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .test-station-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-visual {
        order: -1;
    }
    
    .service-globe {
        width: 280px;
        height: 280px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 0;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 40px rgba(15,23,42,0.1);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        padding: 12px 0;
        font-size: 16px;
        width: 100%;
    }
    
    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .lang-switcher {
        margin-left: auto;
        margin-right: 12px;
    }
    
    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        letter-spacing: -1px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        width: 40%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .product-tabs {
        gap: 6px;
    }
    
    .product-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .product-tab span {
        display: none;
    }
    
    .product-tab i {
        font-size: 16px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }

    .equip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equip-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .test-station-grid {
        grid-template-columns: 1fr;
    }
    
    .equip-tab span {
        display: none;
    }
    
    .equip-tab i {
        font-size: 16px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .trust-logos {
        gap: 12px;
    }
    
    .trust-item {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-content {
        padding-top: 100px;
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .product-tab {
        padding: 8px 12px;
    }
    
    .service-globe {
        width: 240px;
        height: 240px;
    }
}
