:root {
  --brand-red: #cc0000;
  --glass-blur: blur(16px);
}

body {
  background-color: theme("colors.kmw.base");
  color: theme("colors.kmw.textWhite");
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #030305;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red);
}

/* Shared Badge UI */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.tech-badge span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #d1d5db;
  text-transform: uppercase;
}

.tech-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--brand-red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--brand-red);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(204, 0, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(204, 0, 0, 0);
  }
}

/* Action Buttons */
.btn-cyber {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid var(--brand-red);
  clip-path: polygon(
    15px 0,
    100% 0,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0 100%,
    0 15px
  );
  cursor: pointer;
  transition: all 0.4s;
  box-shadow: 0 0 15px rgba(204, 0, 0, 0.2);
}

.btn-cyber::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--brand-red);
  transition: width 0.4s ease;
  z-index: -1;
}

.btn-cyber:hover {
  box-shadow: 0 0 25px rgba(204, 0, 0, 0.6);
  transform: translateY(-2px);
}

.btn-cyber:hover::after {
  width: 100%;
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  border-color: #25d366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp::after {
  background: #25d366;
}

.btn-whatsapp:hover {
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

/* === HERO SECTION === */
.product-hero {
  position: relative;
  height: 75vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/banners/prd-bann.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(3, 3, 5, 0.313), rgba(3, 3, 5, 0.452)),
    radial-gradient(
      ellipse at center,
      rgba(204, 0, 0, 0.15) 0%,
      transparent 70%
    );
}

/* === PRODUCT DETAILS & 1:1 IMAGE === */
.prod-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  /* EXACT 1:1 SQUARE */
  border-radius: 0px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.8),
    inset 0 0 30px rgba(204, 0, 0, 0.1);
  background: #000;
}

.prod-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  opacity: 0.9;
}

.prod-image-wrapper:hover img {
  transform: scale(1.05);
  opacity: 1;
}

/* Sci-Fi Corner Brackets */
.bracket {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid transparent;
  z-index: 10;
  transition: all 0.3s;
}

.bracket-tl {
  top: 15px;
  left: 15px;
  border-top-color: var(--brand-red);
  border-left-color: var(--brand-red);
}

.bracket-br {
  bottom: 15px;
  right: 15px;
  border-bottom-color: var(--brand-red);
  border-right-color: var(--brand-red);
}

.prod-image-wrapper:hover .bracket {
  width: 50px;
  height: 50px;
  box-shadow: 0 0 15px rgba(204, 0, 0, 0.5);
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #d1d5db;
}

.feature-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--brand-red);
  font-size: 0.9rem;
}

/* === ELEGANT & COLORFUL GLASS TABLES (FIXED LAYOUT) === */
.kmw-table-wrapper {
  background: rgba(10, 10, 15, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow-x: auto;
  /* CRITICAL: Adds scroll bar on small screens instead of breaking layout */
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.kmw-table {
  width: 100%;
  min-width: 800px;
  /* CRITICAL: Forces table to stay wide enough for text */
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
  /* Locks columns exactly under headers */
}

.kmw-table th {
  background: linear-gradient(
    90deg,
    rgba(204, 0, 0, 0.15) 0%,
    rgba(204, 0, 0, 0.02) 100%
  );
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.2rem 1.5rem;
  border-bottom: 2px solid var(--brand-red);
}

.kmw-table td {
  padding: 1.2rem 1.5rem;
  color: #e5e7eb;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  word-wrap: break-word;
  /* Prevents text from leaking out */
  transition: background 0.3s ease;
}

.kmw-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
  /* Subtle clean hover */
}

/* Cute & Colorful Data Badges */
.tbl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.badge-red {
  background: linear-gradient(
    135deg,
    rgba(204, 0, 0, 0.15),
    rgba(204, 0, 0, 0.05)
  );
  border: 1px solid rgba(204, 0, 0, 0.3);
  color: #ff9999;
}

.badge-blue {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.15),
    rgba(59, 130, 246, 0.05)
  );
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.badge-green {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.15),
    rgba(16, 185, 129, 0.05)
  );
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.badge-gold {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.15),
    rgba(245, 158, 11, 0.05)
  );
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.param-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}

.param-title i {
  color: var(--brand-red);
  font-size: 1.1rem;
}

/* === PARALLAX CONTACT & TEMPER SECTION === */
.parallax-section {
  position: relative;
  padding: 8rem 0;
  background-image: url("../images/backgrounds/product-page-ban.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.parallax-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3, 3, 5, 0.475) 0%,
    rgba(3, 3, 5, 0.422) 100%
  );
  z-index: 1;
}

/* Glass Form Inputs */
.glass-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: "Manrope", sans-serif;
  transition: all 0.3s ease;
  outline: none;
  backdrop-filter: blur(10px);
}

.glass-input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 15px rgba(204, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.glass-input::placeholder {
  color: #6b7280;
}

/* Highlight Calculator Button */
.btn-massive-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px 50px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(204, 0, 0, 0.15);
  border: 2px solid var(--brand-red);
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.5s ease;
  box-shadow: 0 0 30px rgba(204, 0, 0, 0.3);
  z-index: 10;
}

.btn-massive-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-red);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-massive-glow:hover {
  box-shadow: 0 0 50px rgba(204, 0, 0, 0.8);
  transform: translateY(-5px);
}

.btn-massive-glow:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
