/**
 * Theme Name: Gate Opener Factory
 * Theme URI: https://gateopenerfactory.com
 * Author: Open Bear (HEIXIONG)
 * Author URI: https://gateopenerfactory.com
 * Description: A custom WordPress theme for Gate Opener Factory — Automatic Gate Opener Manufacturer. Features custom post types for products, full blog support, and a modern industrial B2B design.
 * Version: 1.0.0
 * License: MIT
 * Text Domain: gate-opener
 * Tags: business, industrial, b2b, custom-post-types, featured-images, custom-menu, custom-logo
 */

/* ==========================================================================
   Gate Opener Factory - WordPress Theme Styles
   ========================================================================== */

/* CSS Variables */
:root {
  --primary: #0A4D8C;
  --primary-dark: #062F54;
  --primary-light: #408FD6;
  --accent: #FF6B00;
  --accent-light: #FF8533;
  --accent-dark: #CC5500;
  --bear: #1A1A1A;
  --bear-dark: #0D0D0D;
  --bear-light: #2A2A2A;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --white: #FFFFFF;
  --green: #059669;
  --font-display: 'Poppins', 'Arial Black', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max: 1280px;
  --radius: 16px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--bear);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

/* Container */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Top Bar */
.topbar {
  background: var(--bear-dark);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.5rem 0;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.topbar a { color: var(--accent-light); font-weight: 600; transition: color 0.3s; }
.topbar a:hover { color: var(--white); }
@media (max-width: 768px) { .topbar { display: none; } }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s;
}
.nav.scrolled { background: var(--white); box-shadow: var(--shadow-lg); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 1024px) { .nav-inner { height: 80px; } }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.nav-logo-icon { width: 40px; height: 40px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.nav-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--bear); line-height: 1.1; }
.nav-logo-text small { font-size: 0.75rem; color: var(--gray-500); display: block; }
@media (max-width: 639px) { .nav-logo-text { display: none; } }

.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 0.25rem;
  padding: 0.5rem 1rem; font-weight: 500; color: var(--bear);
  transition: color 0.3s; cursor: pointer; position: relative;
}
.nav-links > li > a:hover { color: var(--primary); }
.nav-links > li > a.active { color: var(--primary); }
.nav-links .sub-menu {
  position: absolute; left: 0; top: 100%;
  background: var(--white); box-shadow: var(--shadow-xl);
  border-radius: 0 0 var(--radius) var(--radius); border-top: 4px solid var(--accent);
  min-width: 280px; padding: 1rem; display: none; z-index: 50;
}
.nav-links li:hover > .sub-menu { display: block; }
.nav-links .sub-menu li a { display: block; padding: 0.75rem 1rem; border-radius: 8px; transition: background 0.3s; }
.nav-links .sub-menu li a:hover { background: var(--gray-50); }
.nav-links .sub-menu li a strong { display: block; font-weight: 600; color: var(--bear); }
.nav-links .sub-menu li a small { display: block; font-size: 0.75rem; color: var(--gray-500); margin-top: 2px; }

.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.lang-selector { position: relative; }
@media (max-width: 768px) { .lang-selector { display: none; } }
.lang-btn { display: flex; align-items: center; gap: 0.25rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; cursor: pointer; background: none; border: none; color: var(--bear); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu { position: absolute; right: 0; top: 100%; margin-top: 4px; background: var(--white); box-shadow: var(--shadow-xl); border-radius: 8px; padding: 0.5rem 0; min-width: 180px; display: none; z-index: 50; }
.lang-selector.open .lang-menu { display: block; }
.lang-menu a { display: block; padding: 0.5rem 1rem; font-size: 0.875rem; transition: background 0.3s; }
.lang-menu a:hover { background: var(--gray-50); }

.btn-quote {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; background: var(--accent); color: var(--white);
  font-weight: 600; border-radius: 8px; transition: all 0.3s; font-size: 0.875rem;
}
.btn-quote:hover { background: var(--accent-dark); box-shadow: var(--shadow-lg); transform: scale(1.05); }
@media (max-width: 768px) { .btn-quote { display: none; } }

.nav-toggle { display: none; padding: 0.5rem; background: none; border: none; cursor: pointer; }
@media (max-width: 1023px) { .nav-toggle { display: block; } }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--bear); margin: 4px 0; transition: all 0.3s; }

.mobile-menu { display: none; border-top: 1px solid var(--gray-200); background: var(--white); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 0; font-weight: 500; color: var(--bear); }
.mobile-menu .sub-menu { padding-left: 1rem; }
.mobile-menu .sub-menu a { padding: 0.5rem 0; font-size: 0.875rem; color: var(--gray-600); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-weight: 600; border-radius: 8px; transition: all 0.3s; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-lg); transform: scale(1.05); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

/* Section helpers */
.section-label { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.75rem; }
.section-title { font-size: 1.875rem; font-weight: 700; color: var(--bear); margin-bottom: 1rem; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-subtitle { font-size: 1.125rem; color: var(--gray-600); margin-bottom: 3rem; max-width: 48rem; }

/* Gradients */
.bg-hero { background: linear-gradient(135deg, rgba(10,77,140,0.97) 0%, rgba(6,47,84,0.97) 100%); }
.bg-dark { background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 100%); }

/* Badges */
.badge { display: inline-block; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; border-radius: 9999px; }
.badge-blue { background: #DBEAFE; color: var(--primary); }
.badge-orange { background: #FFEDD5; color: var(--accent); }
.badge-green { background: #D1FAE5; color: #047857; }
.badge-purple { background: #E9D5FF; color: #7C3AED; }

/* Check icon */
.check-list li { display: flex; align-items: flex-start; color: var(--green); font-size: 0.875rem; margin-bottom: 0.25rem; }
.check-list li::before { content: '✓'; margin-right: 0.5rem; font-weight: 700; flex-shrink: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 5rem 0; }
@media (min-width: 1024px) { .hero { padding: 8rem 0; } }
.hero-bg-overlay { position: absolute; inset: 0; }
.hero-bg-overlay img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.hero-content { position: relative; max-width: 48rem; }
.hero h1 { font-size: 2.25rem; color: var(--white); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero p { font-size: 1.125rem; color: #DBEAFE; margin-bottom: 2rem; max-width: 42rem; }
@media (min-width: 768px) { .hero p { font-size: 1.25rem; } }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-note { color: #BFDBFE; font-size: 0.875rem; margin-top: 2rem; font-style: italic; }

/* Stats Bar */
.stats-bar { background: rgba(13,13,13,0.8); backdrop-filter: blur(4px); padding: 2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 1.5rem; }
@media (min-width: 768px) { .stat-number { font-size: 2rem; } }
@media (min-width: 1024px) { .stat-number { font-size: 3rem; } }
.stat-label { color: #DBEAFE; font-size: 0.75rem; margin-top: 0.5rem; }
@media (min-width: 768px) { .stat-label { font-size: 0.875rem; } }

/* Product Category Cards */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all 0.5s; }
.cat-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.cat-card-img { position: relative; overflow: hidden; height: 256px; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-card:hover .cat-card-img img { transform: scale(1.05); }
.cat-card-img .badge { position: absolute; top: 1rem; left: 1rem; }
.cat-card-body { padding: 1.5rem; }
.cat-card-body h3 { font-size: 1.25rem; color: var(--bear); margin-bottom: 0.5rem; transition: color 0.3s; }
.cat-card:hover .cat-card-body h3 { color: var(--primary); }
.cat-card-body p { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 1rem; }
.cat-card-link { color: var(--primary); font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.25rem; transition: gap 0.3s; }
.cat-card:hover .cat-card-link { gap: 0.5rem; }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

/* Product Card */
.product-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all 0.5s; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.product-card-img { position: relative; overflow: hidden; height: 192px; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-img .badge { position: absolute; top: 0.5rem; left: 0.5rem; }
.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { font-size: 1rem; color: var(--bear); margin-bottom: 0.5rem; transition: color 0.3s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card:hover .product-card-body h3 { color: var(--primary); }
.product-card-body p { font-size: 0.75rem; color: var(--gray-600); margin-bottom: 1rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.product-spec-item { background: var(--gray-50); border-radius: 8px; padding: 0.5rem; text-align: center; }
.product-spec-item strong { display: block; font-size: 0.75rem; color: var(--primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-spec-item small { font-size: 0.625rem; color: var(--gray-500); }
.product-card-link { color: var(--primary); font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.25rem; transition: gap 0.3s; }
.product-card:hover .product-card-link { gap: 0.5rem; }

/* Feature Cards (Why Choose Us) */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: var(--bear-light); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--bear-light); transition: all 0.3s; }
.feature-card:hover { background: rgba(42,42,42,0.7); border-color: rgba(255,107,0,0.5); }
.feature-icon { width: 48px; height: 48px; background: rgba(255,107,0,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.feature-card h3 { color: var(--white); font-size: 1.125rem; margin-bottom: 0.5rem; }
.feature-card p { color: #9CA3AF; font-size: 0.875rem; line-height: 1.6; }

/* Buyer Types */
.buyers-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .buyers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .buyers-grid { grid-template-columns: repeat(4, 1fr); } }
.buyer-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all 0.5s; }
.buyer-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.buyer-card-img { position: relative; overflow: hidden; height: 192px; }
.buyer-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.buyer-card:hover .buyer-card-img img { transform: scale(1.05); }
.buyer-card-img .badge { position: absolute; top: 0.75rem; left: 0.75rem; }
.buyer-card-body { padding: 1.25rem; }
.buyer-card-body h3 { font-size: 1.125rem; color: var(--bear); margin-bottom: 0.5rem; transition: color 0.3s; }
.buyer-card:hover .buyer-card-body h3 { color: var(--primary); }
.buyer-card-body p { font-size: 0.875rem; color: var(--gray-600); }

/* OEM Steps */
.oem-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .oem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .oem-grid { grid-template-columns: repeat(4, 1fr); } }
.oem-step { position: relative; background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); border-radius: var(--radius); padding: 1.5rem; border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s; }
.oem-step:hover { background: rgba(255,255,255,0.15); }
.oem-step-num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: var(--accent); margin-bottom: 1rem; }
.oem-step-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #BFDBFE; margin-bottom: 0.5rem; }
.oem-step h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.75rem; }
.oem-step p { color: #DBEAFE; font-size: 0.875rem; line-height: 1.6; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; border: 1px solid var(--gray-100); }
.testimonial-quote { font-size: 3rem; color: rgba(255,107,0,0.3); line-height: 1; margin-bottom: 1rem; }
.testimonial-stars { color: var(--accent); margin-bottom: 1rem; }
.testimonial-text { color: var(--gray-700); font-size: 0.875rem; line-height: 1.6; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--gray-100); }
.testimonial-avatar { width: 48px; height: 48px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; }
.testimonial-name { font-weight: 700; color: var(--bear); font-size: 0.875rem; }
.testimonial-role { font-size: 0.75rem; color: var(--gray-500); }

/* FAQ */
.faq-item { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--gray-200); overflow: hidden; margin-bottom: 1rem; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; text-align: left; background: none; border: none; cursor: pointer; font-weight: 600; color: var(--bear); transition: background 0.3s; }
.faq-question:hover { background: var(--gray-50); }
.faq-question svg { width: 20px; height: 20px; color: var(--primary); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1rem; color: var(--gray-600); font-size: 0.875rem; line-height: 1.6; display: none; }
.faq-item.open .faq-answer { display: block; }

/* Page Header */
.page-header-section { background: var(--bear-dark); padding: 5rem 0; text-align: center; color: var(--white); }
.page-header-section h1 { color: var(--white); font-size: 2.25rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .page-header-section h1 { font-size: 3rem; } }
.page-header-section p { color: #DBEAFE; font-size: 1.125rem; max-width: 48rem; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-500); padding: 1rem 0; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .current { color: var(--bear); font-weight: 600; }

/* Single Content */
.single-content { max-width: 800px; margin: 0 auto; padding: 3rem 1rem; }
.single-content h1 { font-size: 2rem; color: var(--bear); margin-bottom: 1.5rem; }
.single-content p { color: var(--gray-600); line-height: 1.8; margin-bottom: 1.5rem; }
.single-content h2 { font-size: 1.5rem; color: var(--bear); margin: 2rem 0 1rem; }
.single-content ul { margin-left: 1.5rem; margin-bottom: 1.5rem; }
.single-content ul li { color: var(--gray-600); margin-bottom: 0.5rem; list-style: disc; }

/* Filter Sidebar */
.filter-sidebar { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--gray-200); padding: 1.5rem; }
.filter-section h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 0.75rem; }
.filter-option { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.875rem; transition: all 0.3s; background: none; border: none; cursor: pointer; text-align: left; }
.filter-option:hover { background: var(--gray-100); color: var(--bear); }
.filter-option.active { background: var(--primary); color: var(--white); }
.filter-option .count { font-size: 0.75rem; opacity: 0.7; }

/* Contact Form */
.contact-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-xl); padding: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--bear); margin-bottom: 0.5rem; }
.form-input { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--gray-300); border-radius: 8px; transition: all 0.3s; outline: none; font-family: inherit; font-size: 0.875rem; }
.form-input:focus { border-color: transparent; box-shadow: 0 0 0 2px var(--primary); }
.form-success { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-xl); padding: 2rem; text-align: center; border: 2px solid #6EE7B7; }
.form-error { background: #FEE2E2; border: 1px solid #FECACA; border-radius: 8px; padding: 1rem; color: #DC2626; font-size: 0.875rem; margin-bottom: 1.5rem; }

/* Timeline */
.timeline-item { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 2rem; transition: all 0.3s; }
.timeline-year { flex-shrink: 0; width: 80px; height: 80px; background: var(--primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1.125rem; transition: background 0.3s; }
.timeline-item:hover .timeline-year { background: var(--accent); }
.timeline-content { padding-top: 0.5rem; }
.timeline-content h3 { font-size: 1.125rem; color: var(--bear); margin-bottom: 0.25rem; }
.timeline-content p { font-size: 0.875rem; color: var(--gray-600); }

/* Tech Compare */
.tech-compare { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .tech-compare { grid-template-columns: repeat(2, 1fr); } }
.tech-compare-card { border-radius: var(--radius); padding: 2rem; }
.tech-compare-card.bad { background: var(--white); border: 2px solid #FECACA; }
.tech-compare-card.good { background: var(--white); border: 2px solid #A7F3D0; }
.tech-compare-card h3 { font-size: 1.25rem; margin-bottom: 1.5rem; }
.tech-compare-item { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.tech-compare-item .icon { font-size: 1.25rem; flex-shrink: 0; }
.tech-compare-item .icon.bad { color: #EF4444; }
.tech-compare-item .icon.good { color: var(--green); }
.tech-compare-item h4 { font-size: 0.875rem; font-weight: 600; color: var(--bear); }
.tech-compare-item p { font-size: 0.75rem; color: var(--gray-500); margin-top: 2px; }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cert-grid { grid-template-columns: repeat(4, 1fr); } }
.cert-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--gray-100); }
.cert-icon { width: 64px; height: 64px; background: rgba(10,77,140,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.cert-icon svg { width: 32px; height: 32px; color: var(--primary); }
.cert-card h3 { font-size: 0.875rem; font-weight: 700; color: var(--bear); margin-bottom: 0.5rem; }
.cert-card p { font-size: 0.75rem; color: var(--gray-500); }

/* Footer */
.footer { background: var(--bear-dark); color: var(--white); padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand-block { margin-bottom: 1rem; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-logo .nav-logo-icon { width: 40px; height: 40px; }
.footer-logo .nav-logo-text { color: var(--white); }
.footer-logo .nav-logo-text small { color: #9CA3AF; }
.footer-about { font-size: 0.875rem; color: #9CA3AF; margin-bottom: 1rem; line-height: 1.6; }
.footer-contact a { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #D1D5DB; margin-bottom: 0.5rem; transition: color 0.3s; }
.footer-contact a:hover { color: var(--white); }
.footer-contact svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social a { width: 36px; height: 36px; background: var(--bear-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 16px; height: 16px; color: var(--white); }
.footer-heading { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); margin-bottom: 1rem; }
.footer-link { display: block; color: #9CA3AF; transition: color 0.3s; font-size: 0.875rem; padding: 0.25rem 0; }
.footer-link:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--bear-light); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom span { font-size: 0.875rem; color: #9CA3AF; }
.footer-whatsapp { display: flex; align-items: center; gap: 0.5rem; background: var(--green); color: var(--white); padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600; transition: background 0.3s; }
.footer-whatsapp:hover { background: #047857; }
.footer-whatsapp svg { width: 16px; height: 16px; }

/* 404 */
.error-404 { text-align: center; padding: 6rem 1rem; }
.error-404 h1 { font-size: 4rem; color: var(--bear); margin-bottom: 1rem; }
.error-404 p { color: var(--gray-600); margin-bottom: 2rem; }

/* Pagination */
.pagination { margin-top: 2rem; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 0.5rem 0.75rem; margin: 0 2px; border-radius: 8px; color: var(--gray-600); transition: all 0.3s; }
.pagination .page-numbers:hover, .pagination .page-numbers.current { background: var(--primary); color: var(--white); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .stats-grid { gap: 1rem; }
  .section-title { font-size: 1.5rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }