:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #dc2626;
  --bg: #f8fafc;
  --text: #334155;
  --muted: #64748b;
  --white: #ffffff;
  --line: #e2e8f0;
  --shadow: 0 24px 70px rgba(15, 23, 42, .14);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--white); color: var(--primary); padding: 10px 14px;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(226,232,240,.8);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(15,23,42,.08); background: rgba(255,255,255,.96); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--primary); }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--accent); color: var(--white); border-radius: var(--radius);
  letter-spacing: 0; font-weight: 800;
}
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-top: -4px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.nav-links a { color: #475569; transition: color .2s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { padding: 10px 16px; background: var(--primary); color: var(--white) !important; border-radius: var(--radius); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--primary); margin: 4px auto; }
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 58%, #7f1d1d 100%);
  min-height: calc(100vh - 76px);
  padding: 78px 0 30px;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(30deg, rgba(255,255,255,.16) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.16) 87.5%, rgba(255,255,255,.16)),
    linear-gradient(150deg, rgba(255,255,255,.16) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.16) 87.5%, rgba(255,255,255,.16));
  background-size: 64px 112px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr .94fr; align-items: center; gap: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent);
  font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
}
.hero .eyebrow { color: #fecaca; }
h1, h2, h3 { margin: 0; color: var(--primary); line-height: 1.1; letter-spacing: 0; }
.hero h1 { color: var(--white); font-size: clamp(42px, 6vw, 72px); max-width: 780px; }
.hero p { color: #cbd5e1; font-size: clamp(17px, 2vw, 21px); max-width: 620px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--radius);
  font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 14px 28px rgba(220,38,38,.28); }
.btn-secondary { background: var(--white); color: var(--primary); border: 1px solid var(--line); }
.hero-visual { position: relative; }
.product-float { filter: drop-shadow(0 34px 48px rgba(0,0,0,.38)); animation: float 6s ease-in-out infinite; }
.hero-photo {
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 12px solid rgba(255,255,255,.92);
  border-radius: 8px;
  margin-left: auto;
  box-shadow: 0 28px 90px rgba(2,6,23,.34);
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.stats-grid {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 48px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); overflow: hidden;
}
.stats-grid div { padding: 22px; background: rgba(15,23,42,.42); }
.stats-grid strong { display: block; color: var(--white); font-size: 26px; line-height: 1; }
.stats-grid span { color: #cbd5e1; font-size: 13px; font-weight: 700; }
.section { padding: 92px 0; }
.section-head { text-align: center; max-width: 720px; }
.section-head h2, .overview h2, .contact-grid h2, .page-hero h1 { font-size: clamp(32px, 4vw, 48px); margin-top: 12px; }
.section-head p, .overview p, .contact-grid p, .page-hero p { color: var(--muted); margin: 16px auto 0; font-size: 17px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.gallery-card {
  border: 1px solid var(--line); background: var(--white); border-radius: var(--radius);
  padding: 16px; min-height: 218px; cursor: zoom-in; box-shadow: 0 12px 30px rgba(15,23,42,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #fecaca; }
.gallery-card img {
  height: 190px;
  width: 100%;
  object-fit: contain;
  transition: transform .24s ease;
  border-radius: 6px;
  padding: 14px;
  background: radial-gradient(circle at 50% 45%, #ffffff, #e2e8f0 58%, #cbd5e1 100%);
}
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card span { display: block; margin-top: 12px; color: var(--primary); font-weight: 800; }
.overview { background: var(--white); }
.overview-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 52px; align-items: center; }
.application-list { display: flex; flex-wrap: wrap; gap: 12px; }
.application-list span {
  padding: 12px 14px; border-radius: var(--radius); background: #f1f5f9;
  color: var(--primary); font-weight: 800; border: 1px solid var(--line);
}
.feature-grid, .app-grid, .why-grid { display: grid; gap: 18px; margin-top: 42px; }
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.feature-card, .app-card, .why-card, .specs-card, .contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}
.feature-card, .why-card { padding: 24px; transition: transform .22s ease, box-shadow .22s ease; }
.feature-card:hover, .why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--radius);
  background: #fee2e2; color: var(--accent); font-weight: 900; font-size: 22px;
}
.feature-card h3, .app-card h3, .why-card h3 { margin-top: 18px; font-size: 19px; }
.feature-card p, .app-card p, .why-card p { color: var(--muted); margin: 10px 0 0; }
.specs-section { background: #eef2f7; }
.specs-card { padding: 22px; margin-top: 42px; }
.search-label { display: block; color: var(--primary); font-weight: 800; margin-bottom: 8px; }
.spec-search {
  width: 100%; height: 48px; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 14px; outline: none;
}
.spec-search:focus, input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(220,38,38,.1); }
.table-wrap { overflow-x: auto; margin-top: 18px; }
.spec-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.spec-table th, .spec-table td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--primary); color: var(--white); }
.spec-table tr:last-child td { border-bottom: 0; }
.app-grid { grid-template-columns: repeat(4, 1fr); }
.app-card { overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.app-card img { height: 150px; width: 100%; object-fit: cover; background: var(--secondary); }
.app-card h3, .app-card p { padding: 0 18px; }
.app-card p { padding-bottom: 18px; }
.why-section { background: var(--primary); }
.why-section h2 { color: var(--white); }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.certifications { background: var(--white); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.badges span {
  min-height: 130px; display: grid; place-items: center; border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f1f5f9); color: var(--primary);
  border: 1px solid var(--line); font-weight: 900; font-size: 28px; box-shadow: 0 12px 30px rgba(15,23,42,.06);
}
.faq-list { max-width: 860px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 12px; overflow: hidden; }
.faq-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px; border: 0; background: transparent; color: var(--primary);
  text-align: left; font-weight: 800; cursor: pointer;
}
.faq-item button span { color: var(--accent); font-size: 24px; line-height: 1; }
.faq-answer { display: none; padding: 0 20px 20px; color: var(--muted); }
.faq-item.is-open .faq-answer { display: block; }
.contact-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.contact-band h2 { color: var(--white); }
.contact-band p { color: #cbd5e1; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.contact-form { padding: 24px; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 8px; color: var(--primary); font-weight: 800; font-size: 14px; }
input, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 13px; color: var(--primary); background: var(--white); outline: none;
}
textarea { resize: vertical; }
.contact-form label { margin-bottom: 14px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-status { min-height: 22px; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.form-status.success { color: #15803d; }
.page-hero {
  padding: 86px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: #cbd5e1; max-width: 650px; margin-left: 0; }
.contact-details { display: grid; gap: 6px; margin-top: 28px; color: #cbd5e1; }
.contact-details strong { color: var(--white); margin-top: 10px; }
.footer { background: #020617; color: #cbd5e1; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer h3 { color: var(--white); font-size: 16px; margin-bottom: 14px; }
.footer a { display: block; color: #cbd5e1; margin: 8px 0; }
.footer-brand { color: var(--white); margin-bottom: 18px; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #334155; border-radius: var(--radius); }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 42px; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.back-to-top {
  position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--white); font-size: 22px; cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease; z-index: 30;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(2,6,23,.88);
  display: none; place-items: center; padding: 28px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 78vh; max-width: min(92vw, 980px); object-fit: contain; background: var(--white); border-radius: var(--radius); padding: 10px; }
.lightbox p { color: var(--white); font-weight: 800; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0;
  border-radius: var(--radius); background: var(--white); color: var(--primary); font-size: 28px; cursor: pointer;
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 16px; right: 16px; top: 76px; display: none; flex-direction: column; align-items: stretch;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .hero-grid, .overview-grid, .cert-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .stats-grid, .feature-grid, .app-grid, .why-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1160px); }
  .section { padding: 68px 0; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 40px; }
  .stats-grid, .feature-grid, .app-grid, .why-grid, .gallery-grid, .badges, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .gallery-card { min-height: 190px; }
  .footer-bottom { flex-direction: column; }
}

/* Premium UI pass */
body {
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 46%, #f8fafc 100%);
}
.site-header {
  background: rgba(248, 250, 252, .88);
}
.nav-cta {
  box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
}
.hero {
  min-height: auto;
  padding: 86px 0 36px;
  background:
    radial-gradient(circle at 72% 18%, rgba(220, 38, 38, .28), transparent 30%),
    radial-gradient(circle at 12% 15%, rgba(148, 163, 184, .18), transparent 34%),
    linear-gradient(135deg, #0b1220 0%, #111827 54%, #4c0519 100%);
}
.hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
}
.hero h1 {
  max-width: 720px;
}
.hero p {
  max-width: 580px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 800;
}
.hero-product-card {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  box-shadow: 0 34px 90px rgba(2, 6, 23, .34);
  backdrop-filter: blur(18px);
}
.product-tag,
.hero-spec-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(226, 232, 240, .78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  color: var(--primary);
  box-shadow: 0 18px 40px rgba(2, 6, 23, .16);
}
.product-tag {
  top: 28px;
  left: 28px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-spec-card {
  right: -10px;
  bottom: 36px;
  width: 210px;
  padding: 14px;
}
.hero-spec-card strong,
.hero-spec-card span {
  display: block;
}
.hero-spec-card strong {
  color: var(--accent);
  font-size: 15px;
}
.hero-spec-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 3px;
}
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  padding: 26px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.95), rgba(226,232,240,.48) 46%, transparent 68%),
    linear-gradient(145deg, rgba(248,250,252,.7), rgba(255,255,255,.12));
  box-shadow: none;
}
.stats-grid {
  margin-top: 54px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, .22);
}
.stats-grid div {
  padding: 24px;
  background: rgba(15, 23, 42, .58);
}
.section {
  position: relative;
}
.section-head {
  margin-bottom: 2px;
}
.gallery-grid {
  gap: 20px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  padding: 10px;
  text-align: left;
}
.gallery-card:first-child {
  grid-row: span 2;
}
.gallery-card:first-child img {
  height: 476px;
}
.gallery-card:after {
  content: "View";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 23, 42, .72);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
}
.gallery-card:hover:after {
  opacity: 1;
  transform: translateY(0);
}
.gallery-card span {
  padding: 4px 4px 2px;
}
.overview {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, .86), rgba(255, 255, 255, .96)),
    var(--white);
}
.overview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.overview-metrics div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.overview-metrics strong,
.overview-metrics span {
  display: block;
}
.overview-metrics strong {
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
}
.overview-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 7px;
}
.application-list span {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.feature-card,
.app-card,
.why-card,
.specs-card,
.contact-form,
.faq-item {
  border-color: rgba(203, 213, 225, .84);
}
.feature-card {
  min-height: 224px;
  background:
    linear-gradient(180deg, #ffffff, #f8fafc);
}
.feature-card:before,
.why-card:before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--accent);
  border-radius: 999px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  font-size: 13px;
  letter-spacing: .03em;
  border: 1px solid #fecaca;
}
.specs-card {
  padding: 28px;
}
.spec-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.spec-table td:first-child {
  color: var(--primary);
  font-weight: 800;
}
.app-card img {
  height: 170px;
}
.why-section {
  background:
    radial-gradient(circle at 82% 8%, rgba(220, 38, 38, .18), transparent 34%),
    linear-gradient(135deg, #0f172a, #111827);
}
.why-card {
  background: rgba(255, 255, 255, .96);
}
.cert-grid {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: 0 18px 46px rgba(15, 23, 42, .07);
}
.badges span {
  min-height: 150px;
  border-top: 4px solid var(--accent);
}
.faq-item {
  box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}
.contact-form {
  box-shadow: 0 28px 70px rgba(2, 6, 23, .24);
}
.footer {
  background:
    linear-gradient(180deg, #020617, #0f172a);
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-product-card {
    margin: 18px auto 0;
  }
  .gallery-card:first-child {
    grid-row: auto;
  }
  .gallery-card:first-child img {
    height: 190px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding-top: 54px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-proof span {
    flex: 1;
    justify-content: center;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-product-card {
    padding: 9px;
    border-radius: 12px;
  }
  .product-tag {
    left: 18px;
    top: 18px;
  }
  .hero-spec-card {
    position: static;
    width: auto;
    margin-top: 10px;
  }
  .overview-metrics {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    padding: 22px;
  }
}
