:root {
  --bg: #05070f;
  --bg-alt: #0a1020;
  --card: rgba(11, 21, 44, 0.65);
  --text: #e8f0ff;
  --muted: #9fb3d8;
  --primary: #4ef2c2;
  --secondary: #4aa9ff;
  --line: rgba(136, 170, 255, 0.25);
  --shadow: 0 14px 45px rgba(36, 107, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: radial-gradient(circle at top, #0b1b3d 0%, var(--bg) 42%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.top-bar {
  background: linear-gradient(90deg, rgba(14, 36, 74, 0.95), rgba(8, 22, 48, 0.98));
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.45rem 0;
}

.top-bar-text {
  color: var(--muted);
}

.top-bar-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.top-bar-link:hover {
  text-decoration: underline;
}

.bg-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  filter: blur(85px);
  z-index: -1;
  opacity: 0.3;
}

.bg-glow-1 {
  background: var(--secondary);
  top: -60px;
  left: -60px;
}

.bg-glow-2 {
  background: var(--primary);
  bottom: -80px;
  right: -80px;
}

.header {
  min-height: 88vh;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(6, 11, 24, 0.65);
  z-index: 25;
}

.brand {
  text-decoration: none;
  display: grid;
  color: var(--text);
}

.brand-main {
  font-family: "Orbitron", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1.5px;
  font-size: 1.35rem;
  color: var(--primary);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 3.4rem 0 4.2rem;
}

.tag,
.section-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Orbitron", Arial, sans-serif;
  line-height: 1.22;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  margin-bottom: 1.4rem;
}

.hero-text {
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.75rem 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), #39f6f6);
  color: #06241d;
  box-shadow: var(--shadow);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--secondary);
  background: rgba(72, 116, 255, 0.15);
}

.hero-card,
.card,
.tech-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.35rem;
}

.hero-card ul,
.livestock ul,
.catalog-specs {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.hero-note {
  margin-top: 1rem;
  color: #b7c4e5;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(28, 40, 88, 0.22), rgba(8, 14, 30, 0.2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-catalog {
  padding-top: 4rem;
}

.catalog-page-head {
  margin-bottom: 2rem;
  max-width: 720px;
}

.breadcrumb {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.catalog-title {
  margin-bottom: 0.65rem;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: 0.02em;
}

.catalog-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 42, 0.55);
  backdrop-filter: blur(10px);
}

.catalog-filters,
.catalog-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.toolbar-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-right: 0.25rem;
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chip:hover {
  border-color: var(--secondary);
  color: var(--primary);
}

.chip-active {
  background: rgba(78, 242, 194, 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

.sort-select {
  appearance: none;
  background: rgba(11, 28, 58, 0.9);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239fb3d8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.catalog-grid-kits {
  margin-top: 0.5rem;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(9, 18, 40, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.catalog-card:hover {
  border-color: rgba(78, 242, 194, 0.35);
  transform: translateY(-3px);
}

.catalog-card.is-filtered-out {
  display: none;
}

.catalog-card-visual {
  position: relative;
  min-height: 140px;
  background:
    linear-gradient(145deg, rgba(74, 169, 255, 0.2) 0%, transparent 45%),
    linear-gradient(315deg, rgba(78, 242, 194, 0.15) 0%, transparent 50%),
    repeating-linear-gradient(
      -12deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 8px
    ),
    #0c1730;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem 1.1rem;
}

.catalog-visual-alt {
  background:
    linear-gradient(160deg, rgba(120, 90, 255, 0.18), transparent 50%),
    linear-gradient(145deg, rgba(74, 169, 255, 0.22) 0%, transparent 45%),
    #0a1428;
}

.catalog-visual-flex {
  background:
    linear-gradient(180deg, rgba(78, 242, 194, 0.12), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(74, 169, 255, 0.25), transparent),
    #0d1c38;
}

.catalog-visual-flex-lg {
  min-height: 150px;
}

.kit-visual {
  min-height: 120px;
}

.kit-visual-mid {
  background:
    linear-gradient(135deg, rgba(78, 242, 194, 0.18), transparent 55%),
    #0c1730;
}

.kit-visual-pro {
  background:
    linear-gradient(225deg, rgba(255, 180, 90, 0.15), transparent 50%),
    linear-gradient(145deg, rgba(74, 169, 255, 0.2), transparent),
    #0a1428;
}

.visual-watts {
  font-family: "Orbitron", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.65rem;
  color: var(--text);
  text-shadow: 0 0 28px rgba(78, 242, 194, 0.35);
}

.visual-chip {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  opacity: 0.95;
}

.catalog-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.catalog-meta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.02em;
}

.catalog-card-title {
  font-family: "Orbitron", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
  color: var(--text);
}

.catalog-specs {
  font-size: 0.875rem;
  line-height: 1.55;
  flex: 1;
}

.catalog-specs li {
  margin-bottom: 0.2rem;
}

.catalog-price-block {
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.catalog-price {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #c8ffe8;
}

.catalog-price strong {
  font-family: "Orbitron", Arial, sans-serif;
  letter-spacing: 0.02em;
}

.catalog-price-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.35rem;
}

.catalog-price-note {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.btn-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(78, 242, 194, 0.45);
  background: rgba(78, 242, 194, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

button.btn-catalog {
  width: 100%;
}

a.btn-catalog:hover,
button.btn-catalog:hover {
  background: rgba(78, 242, 194, 0.2);
  color: #e8fff8;
}

.catalog-footnote {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 20, 0.72);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(85vh, 640px);
  overflow-y: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(14, 28, 58, 0.98), rgba(6, 12, 28, 0.99));
  padding: 1.5rem 1.35rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--text);
}

.modal-title {
  font-family: "Orbitron", Arial, sans-serif;
  font-size: 1.15rem;
  margin: 0 2rem 1rem 0;
  padding-right: 0.5rem;
}

.modal-specs-wrap .catalog-specs {
  color: var(--muted);
}

.modal-actions {
  margin-top: 1.25rem;
}

.modal-actions .btn {
  width: 100%;
  justify-content: center;
  display: inline-flex;
}

body.modal-open {
  overflow: hidden;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.2rem;
}

.price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #a5ffd8;
}

.livestock {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
  align-items: start;
}

.livestock > div,
.tech-box {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(6, 14, 33, 0.66);
}

.cta {
  text-align: center;
}

.cta-wrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, rgba(34, 67, 143, 0.3), rgba(0, 173, 186, 0.2));
}

.address {
  color: var(--muted);
  margin-top: 1rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  font-size: 0.95rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 960px) {
  .hero,
  .grid-3,
  .livestock,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    right: 4%;
    width: min(250px, 90vw);
    padding: 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(7, 15, 32, 0.96);
    flex-direction: column;
  }

  .nav-links.show {
    display: flex;
  }
}
