/* ==========================================================================
   Luxury Industrial Design System - The Silicon Nut
   ========================================================================== */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Strictly Gold #be8d2e and White #ffffff */
  --primary-navy: #ffffff;       /* Pure white body background */
  --secondary-navy: #ffffff;     /* Pure white card backgrounds */
  --light-navy: #ffffff;         /* Slate/border backing */
  --accent-gold-dark: #be8d2e;   /* Accent gold */
  --accent-gold: #be8d2e;        /* Main brand color */
  --accent-gold-light: #be8d2e;  /* Accent gold */
  --gold-gradient: #be8d2e;      /* Solid gold (no gradients) */
  --gold-gradient-hover: #be8d2e; /* Solid gold */
  --text-primary: #be8d2e;       /* Gold text on white background */
  --text-muted: #be8d2e;         /* Gold text */
  --text-dark: #be8d2e;          /* Gold text */
  --bg-light: #ffffff;           /* Pure white background */
  
  /* Glassmorphism & Shadow Tokens based on Gold/White */
  --glass-bg: rgba(255, 255, 255, 0.95); 
  --glass-border: rgba(190, 141, 46, 0.25); /* Gold border */
  --glass-border-hover: rgba(190, 141, 46, 0.6);
  --shadow-sm: 0 4px 6px -1px rgba(190, 141, 46, 0.05), 0 2px 4px -1px rgba(190, 141, 46, 0.03);
  --shadow-lg: 0 10px 20px -3px rgba(190, 141, 46, 0.08), 0 4px 6px -2px rgba(190, 141, 46, 0.04);
  --shadow-premium: 0 20px 40px -15px rgba(190, 141, 46, 0.1), 0 0 50px 0 rgba(190, 141, 46, 0.04);
  --shadow-gold: 0 0 25px rgba(190, 141, 46, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --max-width: 1280px;
}

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--primary-navy);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--primary-navy);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--primary-navy);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold-dark);
  border: 2px solid var(--primary-navy);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* ==========================================================================
   Typography & Reusables
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.gold-text {
  color: var(--accent-gold);
  display: inline-block;
}

.section-title-container {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.25em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gold-gradient);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Animations Trigger Classes */
.animate-on-scroll {
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
  will-change: transform, opacity;

  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.fade-in {
  transform: translateY(0);
}

.fade-in.animated {
  opacity: 1;
}

.slide-up {
  transform: translateY(40px);

  transform: none !important;
}

.slide-up.animated {
  opacity: 1;
  transform: translateY(0);
}






/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-medium);
}

header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-premium);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-medium);
}

header.scrolled .nav-container {
  height: 65px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  max-height: 68px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-medium);
}

header.scrolled .logo-img {
  max-height: 50px;
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  transition: var(--transition-medium);
}

header.scrolled .logo-text {
  font-size: 1.05rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;

  color: var(--text-primary);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: var(--transition-medium);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1001;
}

.burger-bar {
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  transition: var(--transition-medium);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: #ffffff;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  z-index: 2;
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--primary-navy);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-medium);
  border: 1px solid transparent;

  color: #ffffff !important;
  background: var(--accent-gold);

  background-color: var(--accent-gold) !important;
  background: var(--accent-gold) !important;
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 4px;
  transition: var(--transition-medium);
}

.btn-outline:hover {
  background: rgba(190, 141, 46, 0.1);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-backdrop {
  display: none;
}

.hero-image {
  max-width: 100%;
  width: 520px;
  height: auto;
  z-index: 1;
  filter: none;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* ==========================================================================
   Product Overview Section (Light Theme Contrast)
   ========================================================================== */
.overview {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 8rem 0;
}

.overview .section-title {
  color: var(--text-dark);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.overview-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.overview-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 400;
  border-left: 4px solid var(--accent-gold);
  padding-left: 2rem;
}

.overview-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  border-top: 4px solid var(--accent-gold);
  transition: var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-gold-dark);
  margin-bottom: 0.75rem;
}

.feature-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.overview-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overview-visual img {
  border-radius: 12px;
  max-width: 100%;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
}

.overview-visual::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent-gold);
  top: 15px;
  left: 15px;
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Product Specifications Table (Dark Navy)
   ========================================================================== */
.specifications {
  padding: 8rem 0;
  background-color: var(--primary-navy);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-premium);
  background: var(--secondary-navy);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 500px;
}

th {
  background: var(--light-navy);
  padding: 1.5rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--accent-gold-light);
  border-bottom: 2px solid var(--accent-gold);

  background: var(--accent-gold);
  color: #ffffff !important;
  border-bottom: 2px solid var(--accent-gold);
}

td {
  padding: 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  transition: var(--transition-fast);

  color: var(--text-primary);
  border-bottom: 1px solid rgba(190, 141, 46, 0.2);
}

tr:last-child td {
  border-bottom: none;

  color: var(--text-primary);
  border-bottom: 1px solid rgba(190, 141, 46, 0.2);
}

tr {
  background: var(--glass-bg);
  transition: var(--transition-fast);
}

tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

tr:hover td {
  color: var(--text-primary);

  color: var(--text-primary);
  border-bottom: 1px solid rgba(190, 141, 46, 0.2);
}

td.product-code-cell {
  font-family: monospace;
  font-weight: bold;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  font-size: 1rem;
}

/* Mobile Spec Cards (hidden by default, shown on mobile) */
.specs-mobile {
  display: none !important;
  flex-direction: column;
  gap: 1.25rem;
}

.spec-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-card-header {
  background: var(--accent-gold);
  color: #ffffff;
  font-family: monospace;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  letter-spacing: 0.05em;
}

.spec-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(190, 141, 46, 0.15);
}

.spec-card-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ==========================================================================
   Reliability Testing Parameters (Light Theme Contrast)
   ========================================================================== */
.testing-parameters {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 8rem 0;
}

.testing-parameters .section-title {
  color: var(--text-dark);
}

.parameters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.parameter-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  position: relative;
  transition: var(--transition-medium);
  overflow: hidden;
}

.parameter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-medium);
}

.parameter-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.parameter-card:hover::before {
  transform: scaleX(1);
}

.parameter-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(190, 141, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.parameter-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-gold-dark);
}

.parameter-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.parameter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.parameter-list li {
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.parameter-list li::before {
  content: "•";
  color: var(--accent-gold-dark);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* Stamping List Custom Styles */
.stamping-list {
  gap: 0.5rem !important;
}

.stamping-list li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.35rem 0 !important;
  border-bottom: 1px solid rgba(190, 141, 46, 0.15) !important;
  width: 100% !important;
}

.stamping-list li:last-child {
  border-bottom: none !important;
}

.stamping-list li::before {
  content: none !important; /* Remove bullet point */
}

.stamping-val {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.85rem !important;
}

.stamping-val.stamping-none {
  font-style: italic !important;
  color: var(--text-muted) !important;
}



/* Functional Testing Details */
.functional-detail-section {
  margin-top: 4rem;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.functional-detail-title {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.75rem;
}

.functional-detail-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
}

.functional-detail-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
}

.methodology-column h4,
.example-column h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(190, 141, 46, 0.15);
  padding-bottom: 0.5rem;
}

.methodology-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 0;
}

.methodology-steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.methodology-steps > li > span {
  background: var(--accent-gold);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.methodology-steps li div {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.loads-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.badge-load {
  background: rgba(190, 141, 46, 0.08);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-dark);
  font-weight: 700;
  padding: 0.3rem 0.95rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

/* Timeline Example */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 3px;
  bottom: 10px;
  width: 2px;
  background: rgba(190, 141, 46, 0.2);
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.timeline-circle {
  position: absolute;
  left: -20px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(190, 141, 46, 0.15);
}

.timeline-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Specific styling for technical details block */
.testing-footer-note {
  background: rgba(190, 141, 46, 0.05);
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.testing-footer-note p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.7;
}

/* ==========================================================================
   Silicon Hardness Section (Dark Navy)
   ========================================================================== */
.hardness {
  padding: 8rem 0;
  background-color: var(--primary-navy);
  position: relative;
}

.hardness-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.hardness-card {
  background: var(--secondary-navy);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-medium);

  background: #ffffff;
  border: 1px solid var(--glass-border);
}

.hardness-card.highlighted {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.hardness-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.hardness-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.hardness-card.highlighted .hardness-label {
  color: var(--accent-gold);
}

.hardness-value-container {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.hardness-circle-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.hardness-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 10;
}

.hardness-circle-progress {
  fill: none;
  stroke: var(--accent-gold);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 2s ease-in-out;
}

.hardness-value {
  position: absolute;
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hardness-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.5;
}

/* ==========================================================================
   Testing Videos Section (Light Theme Contrast)
   ========================================================================== */
.videos-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 8rem 0;
}

.videos-section .section-title {
  color: var(--text-dark);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.video-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-medium);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  background: var(--primary-navy);
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.video-card:hover .video-thumbnail {
  transform: scale(1.08);
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(190, 141, 46, 0.4);
  transition: var(--transition-medium);
  z-index: 2;
}

.play-button-overlay svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-navy);
  margin-left: 4px;
}

.video-card:hover .play-button-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 4px 25px rgba(190, 141, 46, 0.7);
}

.video-info {
  padding: 1.5rem;
}

.video-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.video-duration {
  font-size: 0.8rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.video-duration svg {
  width: 14px;
  height: 14px;
  stroke: #64748B;
}

/* ==========================================================================
   PDF Reports Section (Dark Navy)
   ========================================================================== */
.reports {
  padding: 8rem 0;
  background-color: var(--primary-navy);
}

.reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.pdf-card {
  background: var(--secondary-navy);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-medium);

  background: #ffffff;
  border: 1px solid var(--glass-border);
}

.pdf-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
}

.pdf-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pdf-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-icon-wrapper svg {
  width: 32px;
  height: 32px;
  stroke: #EF4444;
}

.pdf-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.pdf-preview-box {
  width: 100%;
  height: 180px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--text-muted);
  gap: 0.5rem;
  transition: var(--transition-medium);

  background: rgba(190, 141, 46, 0.03);
  border: 1px dashed var(--glass-border);
}

.pdf-card:hover .pdf-preview-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(190, 141, 46, 0.3);

  background: rgba(190, 141, 46, 0.03);
  border: 1px dashed var(--glass-border);
}

.pdf-preview-box svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent-gold);
}

.pdf-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   Image Gallery Section (Light Theme Contrast)
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 8rem 0;
}

.gallery-section .section-title {
  color: var(--text-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
  backdrop-filter: blur(4px);
}

.gallery-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: var(--transition-medium);
}

.gallery-icon-circle svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-gold);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-icon-circle {
  transform: scale(1);
}

/* ==========================================================================
   Modals (General Style, Video Player, PDF Viewer, Lightbox)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;

  background: rgba(255, 255, 255, 0.95);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 90%;
  max-width: 960px;
  background: var(--secondary-navy);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--text-primary);
  z-index: 2100;

  background: rgba(190, 141, 46, 0.1);
  color: var(--accent-gold);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.modal-body {
  padding: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Player Modal Content */
.video-player-container {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.video-player-container video,
.video-player-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* PDF Viewer Modal Content */
.pdf-viewer-container {
  width: 100%;
  height: 80vh;
}

.pdf-viewer-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--primary-navy);
}

/* Lightbox Modal Content */
.lightbox-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 85vh;
}

.lightbox-img-wrapper {
  max-width: 90%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: var(--shadow-premium);
  transition: transform 0.3s ease;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--text-primary);
  z-index: 2050;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
}

.lightbox-btn-prev {
  left: 2rem;
}

.lightbox-btn-next {
  right: 2rem;
}

.lightbox-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.lightbox-zoom-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  pointer-events: none;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
footer {
  background: var(--primary-navy);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem 0;
  text-align: center;

  background: #ffffff;
  border-top: 1px solid var(--glass-border);
}

.footer-logo {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-img {
  max-height: 85px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  list-style: none;
}

.footer-nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.footer-nav-link:hover {
  color: var(--accent-gold);
}

.footer-divider {
  max-width: 400px;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 0 auto 2rem auto;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(190, 141, 46, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-medium);
  z-index: 999;

  color: #ffffff !important;
  background: var(--accent-gold);

  background-color: var(--accent-gold) !important;
  background: var(--accent-gold) !important;
}

.back-to-top.active {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(190, 141, 46, 0.6);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Loading Animation */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s ease, pointer-events 0.5s ease;

  background: #ffffff;

  display: none !important;
}

.page-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(190, 141, 46, 0.1);
  border-top: 2px solid var(--accent-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;

  border-top: 2px solid var(--accent-gold) !important;
}

.loader-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  .hero-title { font-size: 3rem; }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .overview-visual {
    order: -1;
  }
  section {
    padding: 5rem 0;
  }
}

/* Medium Tablets & Large Mobiles (768px and below) */
@media (max-width: 768px) {
  header {
    padding: 0.5rem 0;
  }
  
  .nav-container {
    height: 60px;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-premium);
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  /* Burger Animation */
  .burger-menu.active .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hero section */
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 3rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 2rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title { font-size: 2.5rem; }
  .hero-desc { font-size: 1rem; }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 0.75rem;
    margin: 0 auto;
  }
  .hero-buttons .btn-gold,
  .hero-buttons .btn-outline {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .hero-image-container {
    order: -1;
    margin-bottom: 2rem;
  }
  .hero-image {
    width: 300px;
  }

  /* Sections padding reduction */
  section {
    padding: 4rem 0;
  }
  .section-title-container {
    margin-bottom: 2.5rem;
  }
  .section-title { font-size: 2rem; }

  /* Overview */
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .overview-features-list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .overview-text {
    padding-left: 1.25rem;
    font-size: 1rem;
  }
  
  .overview-visual {
    margin: 0 auto;
    max-width: 90%;
  }

  .overview-visual::before {
    top: 10px;
    left: 10px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
  }

  /* Specifications: hide table, show cards */
  .specs-desktop {
    display: none !important;
  }
  .specs-mobile {
    display: flex !important;
  }


  /* Hardness */
  .hardness-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hardness-card {
    padding: 2rem;
  }
  
  /* Videos */
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Reports */
  .reports-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pdf-card {
    padding: 1.75rem;
  }
  .pdf-card-actions {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .pdf-preview-box {
    height: 120px;
  }
  
  /* Parameters */
  .parameters-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .parameter-card {
    padding: 2rem 1.5rem;
  }

  /* Functional Detail Mobile Grid */
  .functional-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .functional-detail-section {
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
  }


  /* Footer */
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .footer-logo-img {
    max-height: 60px;
  }
  .footer-logo-text {
    font-size: 1.1rem;
  }
}

/* Small Mobiles (480px and below) */
@media (max-width: 480px) {
  h1, .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .container { padding: 0 1rem; }
  
  /* Logo shrink to avoid hamburger overlap */
  .logo-img {
    max-height: 45px;
  }
  .logo-text {
    font-size: 0.85rem;
  }
  header.scrolled .logo-img {
    max-height: 38px;
  }
  header.scrolled .logo-text {
    font-size: 0.78rem;
  }
  
  .hero-image {
    width: 240px;
  }
  .hero-desc {
    font-size: 0.92rem;
  }

  /* Spec table */
  th, td {
    padding: 1rem 0.75rem;
    font-size: 0.85rem;
  }

  /* Hardness value */
  .hardness-value {
    font-size: 2.2rem;
  }
  .hardness-card {
    padding: 1.5rem;
  }

  /* Testing footer note */
  .testing-footer-note {
    padding: 1.25rem;
  }
  .testing-footer-note p {
    font-size: 0.9rem;
  }

  .functional-detail-section {
    padding: 2rem 1.25rem;
  }
  
  .functional-detail-title {
    font-size: 1.35rem;
    margin-bottom: 2rem;
  }
  
  .loads-badges {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(190, 141, 46, 0.1);
    color: var(--accent-gold);
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    color: #ffffff !important;
    background: var(--accent-gold) !important;
  }
}

/* Very Small Mobiles (360px and below) */
@media (max-width: 360px) {
  h1, .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.4rem; }
  .section-subtitle { font-size: 0.75rem; letter-spacing: 0.15em; }
  .container { padding: 0 0.75rem; }
  
  .logo-text {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }
  .logo-img {
    max-height: 38px;
  }
  
  .hero-image {
    width: 200px;
  }
  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
  }
  .btn-gold, .btn-outline {
    padding: 0.75rem 1.5rem;
    font-size: 0.78rem;
  }
  
  .parameter-card {
    padding: 1.5rem 1rem;
  }
  .parameter-card h3 {
    font-size: 1rem;
  }
  
  .pdf-card-title {
    font-size: 1rem;
  }
  .footer-logo-text {
    font-size: 0.95rem;
  }
}

