/* HES 9600 Authority Site - Industrial Professional Design */

:root {
  --steel-900: #1a1d21;
  --steel-800: #2d3138;
  --steel-700: #3d424a;
  --steel-600: #4a5058;
  --steel-500: #6b7280;
  --steel-400: #9ca3af;
  --steel-300: #d1d5db;
  --steel-200: #e5e7eb;
  --steel-100: #f3f4f6;
  --steel-50: #f9fafb;
  
  --accent-yellow: #fbbf24;
  --accent-yellow-dark: #d97706;
  --accent-blue: #1e40af;
  --accent-blue-light: #3b82f6;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  --font-heading: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); line-height: 1.7; color: var(--steel-800); background: var(--steel-50); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; color: var(--steel-900); }
h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.875rem; margin: 2.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--accent-yellow); display: inline-block; }
h3 { font-size: 1.375rem; margin: 2rem 0 0.75rem; color: var(--steel-800); }
h4 { font-size: 1.125rem; margin: 1.5rem 0 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent-blue); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-blue-light); text-decoration: underline; }
strong, b { font-weight: 600; color: var(--steel-900); }

.site-header { background: linear-gradient(135deg, var(--steel-900) 0%, var(--steel-800) 100%); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-lg); }
.header-top { background: var(--steel-900); padding: 0.5rem 0; border-bottom: 1px solid var(--steel-700); }
.header-top-content { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--steel-400); }
.header-top a { color: var(--accent-yellow); }
.header-main { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.5rem; color: white; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; text-decoration: none; letter-spacing: -0.02em; }
.logo:hover { color: white; text-decoration: none; }
.logo-icon { width: 48px; height: 48px; background: var(--accent-yellow); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--steel-900); font-size: 1rem; }
.logo-text { white-space: nowrap; }
.logo-text span { color: var(--accent-yellow); }

.main-nav { display: flex; gap: 0.25rem; }
.main-nav a { color: var(--steel-300); padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.9375rem; font-weight: 500; transition: all 0.2s ease; }
.main-nav a:hover, .main-nav a.active { background: var(--steel-700); color: white; text-decoration: none; }
.nav-cta { background: var(--accent-yellow) !important; color: var(--steel-900) !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--accent-yellow-dark) !important; }
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; padding: 0.5rem; }

.hero { background: linear-gradient(135deg, var(--steel-800) 0%, var(--steel-700) 50%, var(--steel-600) 100%); padding: 4rem 1.5rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.hero-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { color: white; font-size: 2.75rem; margin-bottom: 1rem; }
.hero-text h1 span { color: var(--accent-yellow); }
.hero-subtitle { color: var(--steel-300); font-size: 1.25rem; margin-bottom: 1.5rem; line-height: 1.6; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.5rem 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; color: white; font-size: 0.875rem; font-weight: 500; }
.badge-icon { color: var(--accent-yellow); }
.hero-cta { display: flex; gap: 1rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.2s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--accent-yellow); color: var(--steel-900); }
.btn-primary:hover { background: var(--accent-yellow-dark); color: var(--steel-900); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: white; border: 2px solid var(--steel-400); }
.btn-secondary:hover { background: white; color: var(--steel-900); border-color: white; text-decoration: none; }
.hero-image { display: flex; justify-content: center; align-items: center; }
.product-showcase { background: white; border-radius: 16px; padding: 2rem; box-shadow: var(--shadow-lg); text-align: center; }
.product-showcase img { max-width: 100%; height: auto; border-radius: 8px; }
.product-showcase-placeholder { width: 300px; height: 200px; background: linear-gradient(135deg, var(--steel-200) 0%, var(--steel-300) 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--steel-600); }

.main-content { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem; }
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; }
.content-main { min-width: 0; }
.content-full { max-width: 900px; }

.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); }
.sidebar-card h4 { margin-top: 0; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--steel-200); }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.375rem; }
.sidebar-nav a { padding: 0.625rem 0.875rem; border-radius: 6px; color: var(--steel-700); font-size: 0.9375rem; transition: all 0.2s ease; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--steel-100); color: var(--accent-blue); text-decoration: none; }
.quick-specs { display: flex; flex-direction: column; gap: 0.75rem; }
.quick-spec { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--steel-100); font-size: 0.9375rem; }
.quick-spec:last-child { border-bottom: none; }
.quick-spec-label { color: var(--steel-500); }
.quick-spec-value { font-weight: 600; color: var(--steel-900); }

.card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); transition: all 0.2s ease; }
.card:hover { box-shadow: var(--shadow-md); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.card h3 { margin-top: 0; display: flex; align-items: center; gap: 0.5rem; }
.card-icon { width: 40px; height: 40px; background: var(--steel-100); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent-blue); font-size: 1.25rem; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.card-link .card { border: 2px solid transparent; }
.card-link:hover .card { border-color: var(--accent-blue-light); }

.table-wrapper { overflow-x: auto; margin: 1.5rem 0; border-radius: 12px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: white; font-size: 0.9375rem; }
thead { background: var(--steel-800); color: white; }
th { padding: 1rem 1.25rem; text-align: left; font-weight: 600; font-family: var(--font-heading); }
td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--steel-100); }
tbody tr:hover { background: var(--steel-50); }
tbody tr:last-child td { border-bottom: none; }
.spec-table th:first-child, .spec-table td:first-child { width: 40%; font-weight: 600; background: var(--steel-50); }
.comparison-table { font-size: 0.875rem; }
.comparison-table th, .comparison-table td { text-align: center; padding: 0.875rem; }
.comparison-table td:first-child { text-align: left; font-weight: 500; }
.check-yes { color: var(--success); font-weight: 700; }
.check-no { color: var(--steel-400); }
.highlight-col { background: rgba(251, 191, 36, 0.1) !important; }
.highlight-header { background: var(--accent-yellow) !important; color: var(--steel-900) !important; }

.info-box { padding: 1.25rem 1.5rem; border-radius: 8px; margin: 1.5rem 0; border-left: 4px solid; }
.info-box-tip { background: rgba(16, 185, 129, 0.1); border-color: var(--success); }
.info-box-warning { background: rgba(245, 158, 11, 0.1); border-color: var(--warning); }
.info-box-note { background: rgba(59, 130, 246, 0.1); border-color: var(--accent-blue-light); }
.info-box-title { font-weight: 600; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.feature-list li { padding: 0.75rem 0; padding-left: 2rem; position: relative; border-bottom: 1px solid var(--steel-100); }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

.breadcrumbs { padding: 1rem 0; font-size: 0.875rem; color: var(--steel-500); }
.breadcrumbs a { color: var(--steel-500); }
.breadcrumbs a:hover { color: var(--accent-blue); }
.breadcrumbs span { margin: 0 0.5rem; }

.faq-list { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }
.faq-item { background: white; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.faq-question { width: 100%; padding: 1.25rem 1.5rem; background: none; border: none; text-align: left; font-size: 1rem; font-weight: 600; color: var(--steel-800); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s ease; }
.faq-question:hover { background: var(--steel-50); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--accent-blue); transition: transform 0.2s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-item.active .faq-answer { padding: 0 1.5rem 1.5rem; max-height: 500px; }

.vendor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.vendor-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: var(--shadow); border: 2px solid transparent; position: relative; }
.vendor-card.recommended { border-color: var(--success); }
.vendor-card.recommended::before { content: '★ TOP PICK'; position: absolute; top: -12px; left: 1.5rem; background: var(--success); color: white; padding: 0.25rem 0.75rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }
.vendor-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--steel-100); }
.vendor-name { font-size: 1.25rem; font-weight: 700; color: var(--steel-900); margin: 0; }
.vendor-rating { display: flex; align-items: center; gap: 0.25rem; color: var(--accent-yellow-dark); font-weight: 600; }
.vendor-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.vendor-detail { display: flex; flex-direction: column; gap: 0.25rem; }
.vendor-detail-label { font-size: 0.75rem; color: var(--steel-500); text-transform: uppercase; letter-spacing: 0.05em; }
.vendor-detail-value { font-weight: 600; color: var(--steel-800); }
.price-best { color: var(--success); }
.price-medium { color: var(--accent-yellow-dark); }
.price-high { color: var(--danger); }
.vendor-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.vendor-feature { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.5rem; background: var(--steel-100); border-radius: 4px; font-size: 0.75rem; color: var(--steel-700); }
.vendor-feature.positive { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.vendor-cta { display: block; text-align: center; padding: 0.75rem; background: var(--accent-blue); color: white; border-radius: 6px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; }
.vendor-cta:hover { background: var(--accent-blue-light); color: white; text-decoration: none; }
.vendor-card.recommended .vendor-cta { background: var(--success); }

.site-footer { background: var(--steel-900); color: var(--steel-400); padding: 3rem 1.5rem 1.5rem; margin-top: 4rem; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--steel-700); }
.footer-brand p { margin-bottom: 1rem; line-height: 1.6; }
.footer-section h5 { color: white; font-size: 1rem; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--steel-400); font-size: 0.9375rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent-yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; }
.footer-disclaimer { max-width: 600px; font-size: 0.8125rem; color: var(--steel-500); }

@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; flex-wrap: wrap; }
  .sidebar-card { flex: 1; min-width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--steel-800); flex-direction: column; padding: 1rem; gap: 0.5rem; }
  .main-nav.active { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2rem; }
  .hero-badges { justify-content: center; }
  .hero-cta { justify-content: center; flex-wrap: wrap; }
  .hero-image { order: -1; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .vendor-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media print {
  .site-header, .sidebar, .site-footer, .hero { display: none; }
  .content-grid { display: block; }
  .main-content { padding: 0; }
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
