:root {
  --bg: #eef2f4;
  --panel: #f5f7f8;
  --white: #ffffff;
  --soft-blue: #eaf1fb;
  --blue: #1b2f5e;
  --blue-2: #2d4568;
  --green: #1c9a68;
  --green-dark: #0d7a56;
  --muted: #6b7b92;
  --line: #dfe6ee;
  --shadow: 0 12px 28px rgba(15, 38, 67, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--blue);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1280px, calc(100vw - 64px));
  margin: 0 auto;
}

.site-header {
  background: rgba(241, 244, 249, 0.96);
  border-bottom: 1px solid rgba(73, 95, 116, 0.15);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b3d8b, #49a6ff);
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
}

.brand-mark::after {
  inset: 17px;
  border-width: 1px;
}

.brand-copy {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1.1;
}

.brand-copy strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.top-nav > ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

.top-nav li {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 18px;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue-2);
  transition: 0.2s ease;
}

.nav-link:hover {
  color: var(--green-dark);
}

.nav-link .caret {
  font-size: 0.76rem;
  opacity: 0.8;
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 290px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.top-nav li:hover > .dropdown,
.top-nav li:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--blue-2);
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown a:hover {
  background: rgba(29, 146, 103, 0.08);
  color: var(--green-dark);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  justify-content: flex-end;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  min-width: 170px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  width: 100%;
  color: var(--blue);
}

.search-box .icon {
  color: var(--muted);
  font-size: 0.9rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.95rem 1.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, #1e9a6c, #177b58);
  color: #fff;
  box-shadow: 0 10px 18px rgba(28, 154, 104, 0.2);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: rgba(255,255,255,0.45);
  border-color: rgba(49,90,137,0.18);
  color: var(--blue);
}

.hero {
  padding: 32px 0 10px;
  background: linear-gradient(90deg, #edf3f7 0%, #f9f3f4 100%);
  border-bottom: 1px solid rgba(72,96,123,0.15);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 400px;
  gap: 10px;
}

.hero-copy {
  padding: 30px 10px 30px 0;
}

.kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--blue-2);
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.7rem);
  color: rgba(28, 47, 77, 0.78);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 8% 0 10%;
  background: radial-gradient(circle at center, rgba(106, 136, 255, 0.2), rgba(255, 255, 255, 0) 60%);
}

.molecule {
  position: relative;
  width: min(560px, 100%);
  height: 260px;
  filter: drop-shadow(0 28px 28px rgba(92, 110, 160, 0.25));
}

.bubble {
  position: absolute;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.92), rgba(147,177,255,0.72) 28%, rgba(69,93,180,0.9) 70%, rgba(32,42,94,1) 100%);
  border: 8px solid rgba(255,255,255,0.56);
  box-shadow: inset -10px -18px 30px rgba(22, 36, 76, 0.28), inset 12px 12px 18px rgba(255,255,255,0.46);
}

.molecule .b1 { left: 8%; top: 34%; }
.molecule .b2 { left: 30%; top: 12%; }
.molecule .b3 { left: 58%; top: 34%; }
.molecule .b4 { left: 78%; top: 14%; }

.molecule .rod {
  position: absolute;
  height: 12px;
  background: linear-gradient(90deg, rgba(138, 160, 180, 0.9), rgba(218,228,242,0.8));
  border-radius: 10px;
  transform-origin: left center;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.24);
}

.molecule .r1 { width: 180px; left: 25%; top: 46%; transform: rotate(9deg); }
.molecule .r2 { width: 180px; left: 42%; top: 35%; transform: rotate(-2deg); }
.molecule .r3 { width: 160px; left: 54%; top: 60%; transform: rotate(-15deg); }

.market-strip {
  background: rgba(236, 241, 245, 0.2);
  border-top: 1px solid rgba(72,96,123,0.15);
  border-bottom: 1px solid rgba(72,96,123,0.15);
}

.market-strip-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  overflow: hidden;
}

.ticker-item {
  flex: 1 0 180px;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(30, 52, 81, 0.78);
  font-size: clamp(0.9rem, 1.5vw, 1.4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.ticker-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--green);
  transform: rotate(45deg);
}

.stats {
  padding: 42px 0 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
  padding: 8px 0 16px;
}

.stat-box {
  padding: 8px 16px;
}

.stat-value {
  display: block;
  font-size: clamp(2.8rem, 4vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--green);
}

.stat-label {
  margin-top: 12px;
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(34, 51, 78, 0.84);
}

.catalog-page {
  padding: 40px 0 80px;
}

.catalog-header {
  margin-bottom: 28px;
}

.catalog-header h1 {
  margin: 0 0 10px;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--blue);
}

.catalog-header p {
  margin: 0;
  color: rgba(32, 49, 77, 0.75);
  font-size: 1.12rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
}

.filter-panel {
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 12px;
  align-self: start;
  position: sticky;
  top: 110px;
}

.search-small {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.search-small input {
  border: 0;
  outline: none;
  width: 100%;
  background: transparent;
  font-size: 0.95rem;
  color: var(--blue);
}

.filter-group {
  margin-bottom: 22px;
}

.filter-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(29, 48, 76, 0.74);
  margin-bottom: 12px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-item {
  padding: 8px 0;
  color: var(--blue-2);
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
}

.filter-item:hover {
  color: var(--green-dark);
}

.clear-btn {
  width: 100%;
  margin-top: 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}

.catalog-main {
  min-width: 0;
}

.result-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  color: rgba(27, 47, 76, 0.8);
  font-size: 1.05rem;
  font-weight: 700;
}

.result-summary strong {
  color: var(--blue);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  display: block;
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(32, 45, 67, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(32, 45, 67, 0.09);
}

.product-card .thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ecf5ff, #f3ebf5 60%, #eef2f6);
}

.product-card .thumb::before {
  content: "";
  position: absolute;
  inset: 18px 20px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(115,145,255,0.35) 30%, rgba(51,74,130,0.22) 58%, rgba(19,26,44,0.08) 100%);
}

.product-card:nth-child(odd) .thumb::before {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(182, 212, 255, 0.36) 28%, rgba(58, 84, 170, 0.2) 62%, rgba(19,26,44,0.08) 100%);
}

.product-content {
  padding: 20px 20px 22px;
}

.product-category {
  color: #5a6f8d;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
}

.product-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: clamp(1.3rem, 2vw, 2.1rem);
  line-height: 1.15;
}

.product-card p {
  margin: 0 0 14px;
  color: rgba(36, 57, 85, 0.78);
  font-size: 1rem;
  line-height: 1.55;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer {
  background: linear-gradient(180deg, #edf4f9, #eef2f6);
  border-top: 1px solid rgba(76,98,128,0.18);
  padding: 42px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 26px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand .brand-copy {
  font-size: 0.72rem;
}

.footer-brand .brand-copy strong {
  font-size: 1.08rem;
}

.footer-copy,
.footer-list a,
.footer-form p {
  color: rgba(34, 53, 79, 0.72);
  line-height: 1.7;
  font-size: 0.98rem;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  background: rgba(255,255,255,0.7);
  font-size: 0.96rem;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(76,98,128,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(30, 49, 77, 0.74);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .hero-inner,
  .catalog-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .top-nav {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100vw - 20px, 1280px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand {
    min-width: auto;
  }

  .brand-copy {
    display: none;
  }

  .top-actions {
    min-width: 0;
    gap: 10px;
  }

  .search-box {
    display: none;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .market-strip-inner {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px 0;
  }

  .ticker-item {
    flex: 0 0 auto;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .catalog-header h1 {
    font-size: 2.25rem;
  }

  .result-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
