* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* -----------------------------------------------------------
           ROOT VARIABLES - ULTRA LUXURY THEME
        ----------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-body: #020202;
  /* Pure Dark */
  --glass-bg: rgba(20, 20, 20, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Brand Colors (Vibrant Industrial) */
  --primary: #ffd700;
  /* Gold Yellow */
  --primary-glow: rgba(255, 215, 0, 0.5);
  --secondary: #ff4500;
  /* Molten Orange */

  /* Text Colors */
  --text-main: #ffffff;
  --text-muted: #aaaaaa;

  /* Fonts */
  --font-heading: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;

  /* Animation */
  --ease-lux: cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

html,
body {
  overflow-x: hidden;
}

.rv-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 2;
  height: 100%;
}

/* -----------------------------------------------------------
           1. PRODUCT HERO (rv-prod-hero)
        ----------------------------------------------------------- */
.rv-prod-hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #050505;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Ensure left alignment at section level */
}

/* Hero Specific Container Override */
.rv-prod-hero .rv-container {
  margin: 0;
  /* Removes auto margin centering */
  max-width: 100%;
  /* Takes full width to stick to left */
  padding-left: 100px;
  /* Extra padding for better aesthetic on left */
}

.rv-prod-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Product close-up image */
  background:
    linear-gradient(to right, #000000aa 40%, rgba(0, 0, 0, 0.418) 100%),
    url("../images/banner/product-banner.jpeg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.rv-hero-container-flex {
  display: flex;
  align-items: center;
  /* Vertical Center */
  justify-content: flex-start;
  /* Horizontal Left */
  width: 100%;
  height: 100%;
}

.rv-prod-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-right: 20px;
  text-align: left;
  /* Strict Left Align */
}

.rv-breadcrumb {
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: inline-block;
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 5px;
}

.rv-prod-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
  color: white;
  margin-bottom: 25px;
  text-align: left;
}

.rv-prod-desc {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  font-weight: 300;
  border-left: 2px solid var(--primary);
  padding-left: 20px;
  text-align: left;
}

.rv-enquire-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 15px 40px;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.rv-enquire-btn:hover {
  transform: translateY(-3px);
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* -----------------------------------------------------------
           2. PRODUCT OVERVIEW (New Section)
        ----------------------------------------------------------- */
.rv-overview-section {
  padding: 100px 0;
  background-color: #080808;
  position: relative;
}

.rv-overview-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left: Image Box */
.rv-overview-img-box {
  position: relative;
  padding-left: 20px;
  padding-bottom: 20px;
}

.rv-overview-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  filter: grayscale(20%);
  transition: 0.5s;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.rv-overview-img-box:hover .rv-overview-img {
  filter: grayscale(0%);
}

/* Gold Border Frame Behind Image */
.rv-overview-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  z-index: 1;
  transform: translate(-20px, -20px);
  opacity: 0.7;
  transition: 0.5s;
}

.rv-overview-img-box:hover .rv-overview-frame {
  transform: translate(-10px, -10px);
}

/* Right: Content */
.rv-overview-content {
  padding-right: 20px;
}

.rv-overview-sub {
  color: var(--secondary);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}

.rv-overview-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.2;
}

.rv-overview-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 35px;
  font-weight: 300;
}

/* Features List with Icons */
.rv-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.rv-check-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ddd;
  font-size: 1rem;
  font-weight: 500;
}

.rv-check-icon {
  width: 35px;
  height: 35px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Solid Button for this section */
.rv-solid-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 45px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.9rem;
  border: none;
}

.rv-solid-btn:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

/* -----------------------------------------------------------
           3. SPECIFICATIONS SECTION
        ----------------------------------------------------------- */
.rv-specs-section {
  padding: 100px 0;
  /* Adding Fixed Background Image with Dark Overlay */
  background:
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url("../images/products/technical-bg.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Fixed Attachment for Parallax */
  border-bottom: 1px solid var(--border-dim);
  border-top: 1px solid var(--border-dim);
  position: relative;
}

.rv-section-head {
  margin-bottom: 40px;
}

.rv-head-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 10px;
}

/* Tech Table */
.rv-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  background: rgba(0, 0, 0, 0.5);
  /* Slight background to make text pop over image */
  backdrop-filter: blur(5px);
}

.rv-spec-table th,
.rv-spec-table td {
  padding: 20px 30px;
  border-bottom: 1px solid var(--border-dim);
  text-align: left;
}

.rv-spec-table th {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  width: 30%;
  background: rgba(255, 255, 255, 0.05);
}

.rv-spec-table td {
  color: #ccc;
  font-size: 1rem;
}

.rv-spec-table tr:hover td {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* -----------------------------------------------------------
           4. FEATURES SECTION (PREMIUM CARD STYLE)
        ----------------------------------------------------------- */
.rv-features-section {
  padding: 120px 0;
  background: var(--bg-body);
  position: relative;

  border-top: 8px solid var(--primary);
}

.rv-features-head {
  text-align: center;
  margin-bottom: 70px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.rv-features-sub {
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}

.rv-features-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #fff;
  margin: 0;
  text-align: center;
}

.rv-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.rv-feat-card-pro {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid var(--border-dim);
  padding: 50px 30px;
  border-radius: 4px;
  position: relative;
  transition: all 0.4s ease;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rv-feat-card-pro:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  background: rgba(30, 30, 30, 0.9);
}

/* Gold Line Top */
.rv-feat-card-pro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary);
  transition: width 0.4s ease;
}

.rv-feat-card-pro:hover::before {
  width: 100%;
}

.rv-feat-icon-pro {
  width: 70px;
  height: 70px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 30px;
  transition: all 0.4s ease;
}

.rv-feat-card-pro:hover .rv-feat-icon-pro {
  background: var(--primary);
  color: #000;
  transform: scale(1.1);
}

.rv-feat-title-pro {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 15px;
}

.rv-feat-text-pro {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* -----------------------------------------------------------
           5. APPLICATIONS SECTION (EXPANDABLE CARDS)
        ----------------------------------------------------------- */
.rv-apps-section {
  padding: 100px 0;
  background: #050505;
  position: relative;

  border-top: 8px solid var(--primary);
}

.rv-apps-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.rv-apps-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #fff;
  text-align: center;
}

.rv-apps-grid-pro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  height: 500px;
}

.rv-app-card-pro {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-dim);
  cursor: pointer;
  transition: all 0.5s ease;
  height: 100%;
}

.rv-app-img-pro {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.6);
  transition: all 0.5s ease;
}

.rv-app-overlay-pro {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: 0.3s;
  text-align: center;
  align-items: center;
}

.rv-app-title-pro {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 5px;
  transform: translateY(0);
  transition: 0.4s;
}

.rv-app-desc-pro {
  font-size: 0.95rem;
  color: #ccc;
  opacity: 0.7;
  transform: translateY(20px);
  transition: 0.4s;
  max-height: 0;
  overflow: hidden;
}

/* Hover Effects */
.rv-app-card-pro:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.rv-app-card-pro:hover .rv-app-img-pro {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.rv-app-card-pro:hover .rv-app-title-pro {
  color: var(--primary);
  transform: translateY(-5px);
}

.rv-app-card-pro:hover .rv-app-desc-pro {
  opacity: 1;
  transform: translateY(0);
  max-height: 100px;
  /* Allow expansion */
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 991px) {
  .rv-prod-title {
    font-size: 2.8rem;
  }

  .rv-overview-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rv-overview-img {
    height: 350px;
  }

  /* Features Mobile */
  .rv-feat-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rv-features-title {
    font-size: 2.5rem;
  }

  /* Apps Mobile */
  .rv-apps-grid-pro {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .rv-app-card-pro {
    height: 300px;
  }

  .rv-apps-title {
    font-size: 2.5rem;
  }

  /* Mobile specific override to revert margin removal if needed, but left align is usually preferred */
  .rv-prod-hero .rv-container {
    padding-left: 30px;
  }
}

@media (max-width: 576px) {
  .rv-apps-grid-pro {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------------
           WEIGHT CHART SECTION STYLES
        ----------------------------------------------------------- */
.rv-chart-section {
  padding: 100px 0;
  background-color: var(--bg-body);
  position: relative;
  color: #fff;
  font-family: var(--font-body);
}

.rv-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

.rv-chart-head {
  text-align: center;
  margin-bottom: 50px;
}

.rv-chart-sub {
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.rv-chart-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #fff;
  margin: 0;
}

/* Table Container for Horizontal Scroll */
.rv-table-responsive {
  width: 100%;
  overflow-x: auto;
  /* Enables scroll on mobile */
  border: 1px solid var(--border-dim);
  background: #0a0a0a;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Custom Scrollbar */
.rv-table-responsive::-webkit-scrollbar {
  height: 8px;
}

.rv-table-responsive::-webkit-scrollbar-track {
  background: #111;
}

.rv-table-responsive::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

.rv-table-responsive::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Table Styles */
.rv-weight-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  min-width: 1000px;
  /* Forces scroll on small screens */
}

.rv-weight-table th,
.rv-weight-table td {
  padding: 15px 10px;
  border: 1px solid var(--border-dim);
  text-align: center;
  font-size: 0.9rem;
  color: #ddd;
}

/* Header Styling */
.rv-weight-table thead th {
  background-color: #1a1a1a;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

/* Highlighted Header Cells (Gold) */
.rv-th-gold {
  color: var(--primary) !important;
  font-size: 1.1rem !important;
  padding: 15px !important;
}

/* Row Styling */
.rv-weight-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

.rv-weight-table tbody tr:hover {
  background-color: rgba(255, 215, 0, 0.05);
  /* Gold tint on hover */
}

.rv-weight-table td {
  white-space: nowrap;
  /* Prevents text breaking */
}

/* Bold First Column */
.rv-weight-table td:first-child {
  font-weight: 700;
  color: var(--primary);
}

/* Responsive Text Adjustments */
@media (max-width: 768px) {
  .rv-chart-title {
    font-size: 2rem;
  }

  .rv-chart-section {
    padding: 60px 0;
  }
}
