@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --bg: #ffffff;
  --surface-cool: #f3f5f8;
  --surface-sand: #f7f4ef;
  --dark: #0e131d;
  --dark-2: #161d2b;
  --accent: #e63e21;
  --accent-hover: #c93016;
  --accent-soft: rgba(230, 62, 33, 0.1);
  --text: #141923;
  --muted: #556070;
  --border: #e2e6ee;
  --border-dark: rgba(255,255,255,0.12);
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 12px 32px rgba(14, 19, 29, 0.08);
  --shadow-lg: 0 22px 48px rgba(14, 19, 29, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  margin: 0 0 0.65rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Top Utility Bar */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  border-bottom: 1px solid var(--border-dark);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 40px; gap: 16px; flex-wrap: wrap; padding: 6px 0;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-tag {
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 2px 10px; border-radius: 3px; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
}
.topbar a:hover { color: #fff; text-decoration: underline; }

/* Sticky Navbar */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 8px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, var(--accent) 100%);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; letter-spacing: -0.04em;
  box-shadow: 0 6px 16px rgba(230, 62, 33, 0.25);
}
.brand-text strong { display: block; font-size: 18px; font-family: 'Space Grotesk', sans-serif; color: var(--dark); line-height: 1.05; }
.brand-text span { display: block; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 14.5px; }
.nav-links a { position: relative; padding: 6px 0; color: var(--text); transition: color .18s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: 14px;
  cursor: pointer; border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(230,62,33,0.28); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #1e2738; transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-pill { border-radius: 999px; }

.mobile-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 6px; padding: 8px 11px; cursor: pointer; font-size: 18px; }

/* Section Helpers */
.section { padding: 76px 0; }
.section-sm { padding: 52px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-cool { background: var(--surface-cool); }
.section-sand { background: var(--surface-sand); }
.section-accent { background: linear-gradient(125deg, #d8361a 0%, #e63e21 55%, #f05a28 100%); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block; }
.section-accent .eyebrow { color: rgba(255,255,255,0.9); }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 40px; flex-wrap: wrap;
}
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); max-width: 560px; margin-bottom: 0; }
.sec-head p { max-width: 480px; color: var(--muted); margin: 0; font-size: 15px; }
.section-dark .sec-head p { color: rgba(255,255,255,0.72); }

/* Hero Section */
.hero {
  background: radial-gradient(circle at 85% 20%, rgba(230,62,33,0.18), transparent 45%), var(--dark);
  color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center;
}
.hero h1 { font-size: clamp(32px, 4.1vw, 48px); line-height: 1.12; margin-bottom: 18px; }
.hero .lead { font-size: 16.5px; color: rgba(255,255,255,0.82); margin: 0 0 24px; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.badge-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: #fff;
}
.badge-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
  background: var(--dark-2); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-lg);
}
.hero-stage { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; background: #0a0e16; }
.hero-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.hero-caption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(14,19,29,0.84); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 8px;
  padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px;
}
.hero-caption a { white-space: nowrap; flex-shrink: 0; }
.hero-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.hero-tab {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.78); padding: 9px 10px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: left; transition: all .18s;
}
.hero-tab span { display: block; font-size: 11px; color: rgba(255,255,255,0.52); font-weight: 400; }
.hero-tab.active, .hero-tab:hover { border-color: var(--accent); background: rgba(230,62,33,0.16); color: #fff; }

/* 4-Category Grid */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--dark); min-height: 290px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,19,29,0.28) 15%, rgba(14,19,29,0.92) 90%);
}
.cat-card:hover img { transform: scale(1.04); }
.cat-body { position: relative; z-index: 2; padding: 26px; color: #fff; width: 100%; }
.cat-body small { color: #ff8e79; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11.5px; }
.cat-body h3 { font-size: 23px; margin: 4px 0 8px; }
.cat-body p { margin: 0 0 14px; font-size: 14px; color: rgba(255,255,255,0.84); max-width: 460px; }
.link-arrow { font-weight: 700; font-size: 13.5px; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.cat-card:hover .link-arrow { color: #ff8e79; }

/* Filter Tabs & Product Cards */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.tab-btn {
  padding: 9px 20px; border-radius: 6px; border: 1px solid var(--border);
  background: #fff; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .18s;
}
.tab-btn.active, .tab-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.tab-btn.active { background: var(--accent); color: #fff; }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-img {
  background: var(--surface-sand); aspect-ratio: 1/1; padding: 14px;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.prod-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.prod-card:hover .prod-img img { transform: scale(1.04); }
.prod-tag {
  background: var(--dark); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; flex-shrink: 0;
}
.prod-info { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.prod-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.prod-cat { font-size: 11.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.prod-title { font-size: 15.5px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; color: var(--dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; display: flex; justify-content: space-between; }
.prod-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prod-actions .btn { padding: 8px 10px; font-size: 12.5px; }

/* About Split */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-dark); background: #fff; }
.about-list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.about-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: rgba(255,255,255,0.86); }
.about-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }

/* 3-Step Support & Stats */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.step-card {
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(4px);
}
.step-num { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; opacity: 0.85; margin-bottom: 8px; }
.step-card h3 { font-size: 22px; margin-bottom: 10px; }
.step-card p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,0.92); }

.stats-bar { background: var(--dark-2); color: #fff; padding: 38px 0; border-bottom: 1px solid var(--border-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item strong { display: block; font-size: clamp(26px, 3vw, 36px); font-family: 'Space Grotesk', sans-serif; color: var(--accent); }
.stat-item span { font-size: 13.5px; color: rgba(255,255,255,0.78); }

/* 4 Supply Pillars */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: 0 6px 18px rgba(14,19,29,0.04);
}
.pillar-icon {
  width: 42px; height: 42px; border-radius: 8px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.pillar-card h3 { font-size: 17px; margin-bottom: 8px; }
.pillar-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* Showcases (Exhibitions / Certificates / Blogs) */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.card-panel { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-dark); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.blog-thumb { aspect-ratio: 16/10; background: var(--surface-sand); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.blog-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.blog-card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.blog-card .read-more { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--dark); }
.blog-card:hover .read-more { color: var(--accent); }

/* Inquiry & Footer */
.inquiry-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.form-dark {
  background: var(--dark-2); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 30px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.75); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; border-radius: 6px; padding: 11px 13px; font-size: 14px; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: rgba(255,255,255,0.1); }
.field select option { color: #111; background: #fff; }
.form-light .field label { color: var(--text); }
.form-light .field input, .form-light .field select, .form-light .field textarea {
  background: #fff; color: var(--text); border-color: var(--border);
}
.form-msg { margin-top: 12px; font-size: 13.5px; font-weight: 600; min-height: 20px; }

.footer { background: #090c13; color: rgba(255,255,255,0.76); padding: 56px 0 72px; border-top: 1px solid var(--border-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--border-dark); }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 13.5px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,0.52); }

/* Floating CTA */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 8px;
}
.float-top {
  width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: #fff;
  border: 1px solid rgba(255,255,255,0.2); cursor: pointer; font-weight: 700; display: grid; place-items: center;
}

/* Product Detail & Subpage Header */
.page-banner { background: var(--dark); color: #fff; padding: 48px 0; border-bottom: 3px solid var(--accent); }
.page-banner h1 { font-size: clamp(28px, 3.4vw, 40px); }
.page-banner p { color: rgba(255,255,255,0.78); max-width: 680px; margin: 8px 0 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.spec-table th { background: var(--surface-cool); width: 34%; color: var(--dark); }

/* Responsive */
@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-actions .btn-outline { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; padding: 18px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    z-index: 99;
  }
  .mobile-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  .hero-grid, .about-grid, .split-2, .inquiry-grid, .cat-grid, .steps-grid, .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .brand-text span { display: none; }
  .nav-actions .btn-primary { padding: 8px 13px; font-size: 12.5px; }
  .prod-grid, .pillars-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
}
