﻿:root {
  --bg: #050810;
  --surface: #0a0f1a;
  --card: #0d1322;
  --cyan: #00e5ff;
  --magenta: #ff00c8;
  --violet: #7b2dff;
  --lime: #39ff14;
  --gold: #ffd700;
  --white: #e8ecf4;
  --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.4);
  --glow-magenta: 0 0 20px rgba(255, 0, 200, 0.4);
  --glow-violet: 0 0 20px rgba(123, 45, 255, 0.4);
  --ink: #e8ecf4;
  --ink-soft: rgba(232, 236, 244, 0.75);
  --muted: rgba(232, 236, 244, 0.55);
  --primary: #00e5ff;
  --primary-dark: #7b2dff;
  --primary-soft: rgba(0, 229, 255, 0.12);
  --panel: #0a0f1a;
  --shadow-sm: 0 10px 30px rgba(0, 229, 255, 0.08);
  --shadow-md: 0 18px 50px rgba(0, 229, 255, 0.12);
  --shadow-lg: 0 30px 70px rgba(0, 229, 255, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Rajdhani", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

h1,
h2,
h3,
.brand-name,
.hero-label,
.tab,
.primary-btn,
.ghost-btn {
  font-family: "Orbitron", sans-serif;
}

::selection {
  background: var(--cyan);
  color: var(--bg);
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.catalog-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.catalog-hero {
  padding: 16px 0 32px;
}

.catalog-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 8px;
}

.catalog-hero p {
  color: rgba(232, 236, 244, 0.55);
  font-size: 18px;
}

.catalog-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 48px;
  flex-wrap: wrap;
}

.site-header,
.footer,
.hero,
.solutions,
.inventory,
.services,
.contact {
  filter: drop-shadow(0 18px 35px rgba(15, 23, 42, 0.08));
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-link {
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
}

.brand-tag {
  color: rgba(232, 236, 244, 0.55);
  font-size: 14px;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(123,45,255,0.2));
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn {
  border: none;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.primary-btn:hover {
  background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(123,45,255,0.2));
}

.ghost-btn {
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--primary-dark);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(232, 236, 244, 0.55);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-metrics {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-metrics h3 {
  font-size: 24px;
}

.hero-metrics p {
  color: rgba(232, 236, 244, 0.55);
  font-size: 14px;
}

.hero-card {
  background: var(--card);
  padding: 28px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid rgba(29, 78, 216, 0.1);
}

.hero-visual {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.8);
  color: var(--white);
  padding: 16px 18px;
  border-radius: 16px;
}

.hero-card-top {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(191, 219, 254, 0.5));
  padding: 18px;
  border-radius: 18px;
}

.hero-card-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-card-grid {
  display: grid;
  gap: 16px;
}

.hero-card-grid div {
  background: var(--panel);
  padding: 14px 16px;
  border-radius: 14px;
  display: grid;
  gap: 6px;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.hero-card-grid span {
  color: rgba(232, 236, 244, 0.55);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading p {
  color: rgba(232, 236, 244, 0.55);
  max-width: 620px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.solution-grid article {
  background: var(--card);
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.solution-grid span {
  font-size: 12px;
  color: var(--primary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.category-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab {
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--card);
  color: var(--primary-dark);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.tab.active {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.category-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.category-card h3 {
  padding: 0 16px;
}

.category-card p {
  padding: 0 16px 18px;
  color: rgba(232, 236, 244, 0.55);
}

.inventory {
  margin-top: 80px;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

#homeCatalog.inventory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  #homeCatalog.inventory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #homeCatalog.inventory-grid {
    grid-template-columns: 1fr;
  }
}

.inventory-card {
  background: var(--card);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.inventory-card:hover,
.category-card:hover,
.solution-grid article:hover,
.service-list div:hover,
.deal-card:hover,
.brand-card:hover,
.brand-banner:hover,
.admin-card:hover {
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
  transform: translateY(-4px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inventory-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
}

.inventory-card span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-dark);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.brand-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: center;
  background: var(--card);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.brand-banner img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
}

.brand-card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.deals {
  margin-top: 80px;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.deal-card {
  background: var(--card);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 12px;
}

.deal-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
}

.services {
  margin: 90px 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-list div {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-sm);
}

.service-list img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 12px;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(123,45,255,0.2));
  color: var(--white);
  padding: 36px;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.contact-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}

.contact ul {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-form {
  background: var(--card);
  padding: 24px;
  border-radius: 20px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-family: inherit;
  background: var(--surface);
  color: var(--white);
}

.form-note {
  color: rgba(232, 236, 244, 0.55);
  font-size: 12px;
}

.footer {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  color: rgba(232, 236, 244, 0.55);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

.admin-shell {
  display: grid;
  gap: 32px;
  padding-bottom: 60px;
}

[hidden] {
  display: none !important;
}

.admin-card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 16px;
}

.admin-form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--white);
}

.admin-form input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-family: inherit;
  background: var(--surface);
  color: var(--white);
}

.admin-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel);
  border-radius: 14px;
  padding: 16px;
  gap: 16px;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
}

.admin-item p {
  color: rgba(232, 236, 244, 0.55);
  margin: 4px 0;
}

.admin-item span {
  color: rgba(232, 236, 244, 0.55);
  font-size: 14px;
}

.admin-item button {
  background: #ef4444;
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.admin-item button.edit {
  background: #2563eb;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fab-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 12px;
  z-index: 20;
}

.fab {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.fab.whatsapp {
  background: #16a34a;
}

.fab.call {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(40px);
  background: var(--ink);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 30;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .site-header {
    justify-content: center;
  }

  .brand {
    order: 2;
  }

  .nav-toggle {
    order: 1;
    margin-right: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    background: var(--card);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-card-footer {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }
}
