/* Enhanced Premium Corporate Theme (PHP5-compatible) */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { margin: 0; font-family: Segoe UI, Arial, sans-serif; background: #f8f9fa; color: #1a1a1a; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }
.site-header { background: #fff; border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 44px; }
.brand-name { font-weight: 700; font-size: 18px; color: #111; }
.main-nav { display: flex; gap: 18px; }
.main-nav a { text-decoration: none; color: #333; font-weight: 600; padding: 8px 12px; border-radius: 4px; }
.main-nav a:hover { background: #f2f2f2; }
.lang-switch { font-size: 12px; }
.hero { padding: 90px 0; background: linear-gradient(135deg, #ffffff 0%, #f4f6f8 60%); position: relative; overflow: hidden; }
.hero:before { content:''; position:absolute; left:-40px; top:-40px; width: 300px; height: 300px; border-radius: 50%; background: rgba(214, 0, 0, 0.08); filter: blur(0.5px); }
.hero .container { text-align:left; padding: 0; display:flex; flex-direction:column; justify-content:center; height: 320px; }
.hero h1 { font-size: 54px; line-height: 1.1; color: #0b1720; margin: 0; font-weight: 700; }
.hero p { font-size: 20px; color: #555; margin: 14px 0 0; }
.cta { display: inline-block; margin-top: 14px; padding: 14px 22px; background: #d61b24; color: #fff; text-decoration: none; border-radius: 6px; font-weight: 700; }
.section { padding: 60px 0; background: #fff; }
.section h2 { font-size: 28px; margin-bottom: 12px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; padding: 18px 0; }
.card { background: #fff; border: 1px solid #e9e9e9; border-radius: 8px; padding: 20px; text-align: left; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.card h3 { font-size: 18px; margin: 12px 0 6px; color: #111; }
.card p { margin:0; color: #555; font-size: 14px; }
.icon { width:40px; height:40px; border-radius: 50%; background: #eee; display:inline-flex; align-items:center; justify-content:center; margin-bottom:8px; }
.brand-strip { padding: 18px 0; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.brand-strip .brand-row { display:flex; gap:28px; align-items:center; justify-content: center; padding: 8px 0; }
.brand-strip img { height: 34px; opacity: 0.9; }
.news-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.news-card { display:flex; flex-direction:column; padding:14px; border:1px solid #eee; border-radius:6px; background:#fff; }
.news-card a { font-weight:700; color:#111; text-decoration: none; }
.news-card .date { font-size:12px; color:#888; margin-top:6px; }
.downloads-cta { display: flex; flex-direction:column; align-items: flex-start; gap: 8px; }
.downloads-table { width: 100%; border-collapse: collapse; }
.downloads-table td { padding: 8px; border-bottom: 1px solid #eee; }
.error { color: #c00; }
.success { color: #0a0; }
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { height: 380px; padding: 0 20px; }
  .hero h1 { font-size: 42px; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 34px; }
  .brand-strip .brand-row { gap: 14px; }
  .brand-strip img { height: 28px; }
}

/* Phase 4: Premium hero, interactive sections, modals */
.hero { position: relative; height: 540px; overflow: hidden; color: #fff; }
.hero-content { position: relative; z-index: 2; padding: 60px 0; }
.hero .subtitle { font-size: 18px; opacity: 0.95; }
.hero h1 { color: #fff; font-weight: 800; font-size: 54px; line-height: 1.08; margin: 0 0 12px; }
.hero p { color: #e8e8e8; font-size: 20px; margin: 0 0 16px; }
.hero-cta { margin-right: 12px; }
.hero .cta { background: #b61b2a; color: #fff; border:0; padding: 14px 22px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.hero-art { position: absolute; left:0; top:0; width: 100%; height: 100%; opacity: 0.65; filter: saturate(1.1); }
.brand-strip { padding: 22px 0; }
.section { padding: 60px 0; }
.card { transition: transform 0.25s ease; }
.card:hover { transform: translateY(-3px); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filters button { padding: 8px 12px; border-radius: 6px; border:1px solid #ddd; background:#f7f7f7; cursor: pointer; }
.filters button.active { background:#1b4b8a; color:#fff; border-color:#1b4b8a; }
.product-card { position: relative; overflow: hidden; }
.product-card img { width: 100%; height: 170px; object-fit: cover; display:block; }
.product-card .overlay { position:absolute; bottom:0; left:0; right:0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0)); color: #fff; padding: 8px; opacity: 0; transition: opacity .2s; }
.product-card:hover .overlay { opacity: 1; }
.modal { display:none; position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,.6); align-items:center; justify-content:center; }
.modal.open { display:flex; }
.modal .modal-content { width: 90%; max-width: 640px; background:#fff; color:#000; padding:20px; border-radius:8px; }
.modal .close { float:right; cursor:pointer; font-weight:700; }
.office-tour { background:#fff; padding: 20px; border-radius:6px; border:1px solid #eee; }
