:root {
  --blue-950: #102b55;
  --blue-900: #143c73;
  --blue-700: #1f6fb8;
  --blue-600: #2786d8;
  --blue-100: #e8f4ff;
  --teal: #12b8a6;
  --amber: #f59e0b;
  --magenta: #d946ef;
  --purple: #7c3aed;
  --pink: #ec4899;
  --lime: #84cc16;
  --coral: #ef6f61;
  --violet: #6d5dfc;
  --green: #4f9f6f;
  --ink: #152033;
  --muted: #647184;
  --line: #e6e1d6;
  --page: #f7f8ff;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(42, 48, 61, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  color: #f7fbff;
  background: linear-gradient(90deg, #172033, #124b5f, #5b2ea6);
  font-size: 13px;
}
.topbar-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.email-social { display: flex; align-items: center; gap: 10px; }
.email-social a {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  color: white;
  background: rgba(255,255,255,.16);
  transition: background .18s ease, transform .18s ease;
}
.email-social a:nth-of-type(1) { background: linear-gradient(135deg, #38bdf8, #0a66c2); }
.email-social a:nth-of-type(2) { background: linear-gradient(135deg, #60a5fa, #1877f2); }
.email-social a:nth-of-type(3) { background: linear-gradient(135deg, #fb7185, #ff0000); }
.email-social a:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 14px rgba(255,255,255,.42);
}
.email-social svg { width: 14px; height: 14px; fill: currentColor; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(17, 42, 82, .05);
}
.nav-inner { min-height: 88px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 92px; height: 92px; object-fit: contain; }
.brand span {
  color: #2b97d3;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 1px 1px 0 rgba(11,75,118,.18);
}
.nav-links { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 11px 15px;
  border-radius: 8px;
  color: #4a5a6f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.nav-links a:hover { color: #7c3aed; background: #f0eaff; }
.quote-link, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}
.quote-link, .btn.primary {
  color: white;
  background: linear-gradient(135deg, #06b6d4, #7c3aed);
  box-shadow: 0 12px 28px rgba(124, 58, 237, .24);
}
.btn.secondary {
  color: #0f766e;
  background: #ecfeff;
  border: 1px solid #99f6e4;
}
.explore-btn { gap: 8px; }
.explore-btn span {
  display: inline-block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: #d946ef;
  text-shadow: 0 2px 0 #6d28d9, 0 0 12px rgba(217, 70, 239, .55);
  animation: down-bounce 1.35s ease-in-out infinite;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 0;
  border-radius: 8px;
  background: #e8f7f2;
}
.menu-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #237a70; }

.hero {
  color: white;
  background:
    linear-gradient(115deg, rgba(20,27,44,.9), rgba(18,96,125,.78), rgba(124,58,237,.64), rgba(236,72,153,.44)),
    url("static/img/hero-tech-bg.png") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(217,70,239,.26), transparent 34%),
    radial-gradient(circle at 24% 78%, rgba(132,204,22,.18), transparent 28%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 34px;
  padding: 68px 0;
}
.eyebrow, .section-label {
  display: inline-block;
  color: #7c3aed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow { color: #7dd3fc; }
.hero h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}
.hero p {
  max-width: 680px;
  margin: 0;
  color: #eff8ff;
  font-size: 19px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 18px;
  padding: 36px 46px;
  border-radius: 42px 8px 8px 42px;
  background: linear-gradient(90deg, #0f766e, #2563eb 45%, #7c3aed 72%, #db2777);
  box-shadow: 0 22px 48px rgba(80, 42, 166, .28);
}
.stats-panel .stat-item {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 18px;
}
.stats-panel svg {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  fill: #a7f3d0;
}
.stats-panel strong { display: block; color: white; font-size: 34px; line-height: 1; font-weight: 900; }
.stats-panel span { display: block; margin-top: 7px; color: white; font-size: 18px; font-weight: 500; }
.stats-panel strong .counter { display: inline; margin: 0; color: white; font-size: inherit; }

.section { padding: 78px 0; }
.intro-section, .about-section { background: white; }
.intro-grid, .about-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
h2 {
  margin: 10px 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
}
p { color: var(--muted); line-height: 1.7; }
.intro-cards { display: grid; gap: 14px; }
.intro-cards article, .value-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}
.intro-cards b, .intro-cards span, .value-grid strong, .value-grid span { display: block; }
.intro-cards span, .value-grid span { margin-top: 6px; color: var(--muted); font-size: 14px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 28px;
}
.section-heading h2 { margin-bottom: 0; }
#productSearch {
  width: min(320px, 100%);
  padding: 13px 14px;
  border: 1px solid #ded7c8;
  border-radius: 8px;
  background: white;
  outline: none;
}
#productSearch:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,.14); }
.content-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}
.news-box, .category-card, .contact-form {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}
.news-box h3 {
  margin: 0;
  padding: 18px 20px;
  color: white;
  background: linear-gradient(135deg, #0f766e, #2563eb, #7c3aed);
  font-size: 16px;
}
.news-box article { padding: 18px 20px; border-top: 1px solid #eef4f9; }
.news-box b { display: block; font-size: 14px; }
.news-box p { margin: 7px 0; font-size: 13px; line-height: 1.55; }
.news-box span { color: var(--pink); font-size: 12px; font-weight: 800; }
.category-filter { padding-bottom: 8px; }
.category-filter h3 { margin-bottom: 8px; }
.filter-link {
  width: calc(100% - 20px);
  min-height: 44px;
  display: flex;
  align-items: center;
  margin: 0 10px 6px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #42546b;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.filter-link:hover,
.filter-link.active {
  color: #6d28d9;
  background: #f0eaff;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.empty-products {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  text-align: center;
  font-weight: 800;
}
.category-card {
  min-height: 198px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.category-card:hover { transform: translateY(-4px); border-color: #c4b5fd; box-shadow: 0 26px 54px rgba(124,58,237,.16); }
.category-image {
  width: 118px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #ecfeff, #f0eaff);
  border: 1px solid #c7d2fe;
}
.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card h3 { margin: 0 0 8px; font-size: 17px; }
.category-card p { margin: 0; font-size: 13px; line-height: 1.55; }
.product-category {
  display: inline-block;
  margin-bottom: 8px;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-count { display: block; margin-top: 16px; color: var(--muted); font-size: 12px; font-weight: 800; }
.category-card .item-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 12px;
  padding: 0 16px;
  border-radius: 8px;
  color: #13233a;
  background: linear-gradient(135deg, #a7f3d0, #67e8f9, #c4b5fd);
  box-shadow: 0 10px 22px rgba(103, 232, 249, .28);
  font-size: 13px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}
.category-card .item-quote-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(167, 243, 208, .42);
}

.why-section {
  padding: 74px 0;
  color: white;
  background: linear-gradient(135deg, #0f766e, #2563eb 52%, #7c3aed, #db2777);
}
.light { color: #cffafe; }
.why-grid { display: grid; grid-template-columns: 320px 1fr; gap: 42px; }
.why-grid h2 { margin-bottom: 0; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.why-list article {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
}
.why-list span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: #ecfeff;
  background: rgba(217,70,239,.24);
  font-size: 12px;
  font-weight: 800;
}
.why-list b { display: block; }
.why-list p { margin: 7px 0 0; color: #d0e9ff; font-size: 13px; }

.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value-grid strong { color: var(--blue-950); font-size: 22px; }
.contact-section { background: linear-gradient(180deg, #f8fbff, #f6f0ff); }
.contact-details { display: grid; gap: 18px; margin-top: 26px; }
.contact-details div { display: flex; gap: 18px; }
.contact-details b { width: 126px; color: #7c3aed; }
.contact-details span { color: var(--muted); line-height: 1.65; }
.contact-form { padding: 28px; }
.contact-form h3 { margin: 0 0 20px; font-size: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; margin-bottom: 15px; color: #35465b; font-size: 13px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d5e2ef;
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font: inherit;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,.14); }
textarea { resize: vertical; }
.contact-form button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  color: white;
  background: linear-gradient(135deg, #06b6d4, #7c3aed);
  font-weight: 800;
  cursor: pointer;
}
.contact-form button:disabled { cursor: wait; opacity: .72; }
.form-status { min-height: 20px; margin: 12px 0 0; color: #15803d; font-weight: 800; font-size: 14px; }
.form-status.error { color: #b91c1c; }

.footer { padding: 34px 0; color: #e0f2fe; background: linear-gradient(90deg, #172033, #12394c, #3b246d); }
.footer-inner { display: grid; grid-template-columns: 330px 1fr auto; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer img { width: 74px; height: 74px; object-fit: contain; }
.footer-brand span { color: #93c5fd; font-weight: 900; font-size: 17px; white-space: nowrap; }
.footer p, .footer span { margin: 0; font-size: 13px; }

@media (max-width: 940px) {
  .topbar-inner { justify-content: center; flex-wrap: wrap; padding: 8px 0; }
  .brand img { width: 74px; height: 74px; }
  .brand span { font-size: 18px; }
  .menu-toggle { display: block; }
  .quote-link { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 88px;
    left: 16px;
    right: 16px;
    margin-left: 0;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; }
  .hero-grid, .intro-grid, .content-grid, .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 72px 0 42px; }
  .stats-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1160px); }
  .brand img { width: 58px; height: 58px; }
  .brand span { font-size: 14px; white-space: normal; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 17px; }
  .stats-panel, .category-grid, .why-list, .value-grid, .form-row { grid-template-columns: 1fr; }
  .stats-panel { padding: 24px; border-radius: 26px 8px 8px 26px; }
  .stats-panel .stat-item { justify-content: flex-start; }
  .section { padding: 56px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .contact-details div { display: block; }
  .contact-details b { display: block; width: auto; margin-bottom: 4px; }
}

@keyframes down-bounce {
  0%, 100% { transform: translateY(-1px); }
  50% { transform: translateY(5px); }
}
