/* ==========================================================================
   RHODEX RC LINE - MAIN STYLESHEET
   Professional specialist lubricants brand
   ========================================================================== */

/* ----- CSS VARIABLES / DESIGN TOKENS ----- */
:root {
  /* Brand Colors - Actual Rhodex packaging */
  --rhodex-blue: #004B87;
  --rhodex-blue-dark: #003366;
  --rhodex-blue-darker: #002244;
  --rhodex-cyan: #00C4D4;
  --rhodex-cyan-dark: #00A5B5;
  
  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F7F9FC;
  --gray-100: #F1F4F8;
  --gray-200: #E4E9F0;
  --gray-300: #CAD2DC;
  --gray-400: #9BA5B4;
  --gray-500: #6B7684;
  --gray-600: #4A5563;
  --gray-700: #303B4A;
  --gray-800: #1F2937;
  --gray-900: #0F1824;
  
  /* British Flag */
  --union-red: #CF142B;
  --union-blue: #00247D;
  
  /* Semantic */
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  --border: var(--gray-200);
  --border-dark: var(--gray-300);
  
  /* Typography */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  
  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Radii */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  
  /* Shadows (subtle, premium) */
  --shadow-sm: 0 1px 2px rgba(0, 75, 135, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 75, 135, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 75, 135, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 75, 135, 0.16);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 960px;
  --nav-height: 72px;
}

/* ----- RESET & BASE ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rhodex-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--rhodex-cyan-dark);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-weight: 500;
}

p {
  margin-bottom: var(--space-4);
}

strong {
  font-weight: 600;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rhodex-cyan-dark);
  margin-bottom: var(--space-3);
  display: inline-block;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ----- LAYOUT ----- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-24) 0;
}

.section-blue {
  background: var(--rhodex-blue);
  color: var(--white);
}

.section-blue h1,
.section-blue h2,
.section-blue h3,
.section-blue h4 {
  color: var(--white);
}

.section-gray {
  background: var(--gray-50);
}

.section-dark {
  background: var(--rhodex-blue-darker);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.text-center {
  text-align: center;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.section-blue .section-header p,
.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* ----- NAVIGATION ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition-base);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav-logo img {
  height: 52px;
  width: auto;
  max-width: 200px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rhodex-blue);
  letter-spacing: 0.02em;
}

.nav-logo-subtext {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rhodex-cyan-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: -4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rhodex-cyan);
  transition: width var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--rhodex-blue);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--rhodex-blue);
  color: var(--white) !important;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--rhodex-blue-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--rhodex-blue);
  color: var(--white);
  border-color: var(--rhodex-blue);
}

.btn-primary:hover {
  background: var(--rhodex-blue-dark);
  border-color: var(--rhodex-blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--rhodex-blue);
  border-color: var(--rhodex-blue);
}

.btn-secondary:hover {
  background: var(--rhodex-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-cyan {
  background: var(--rhodex-cyan);
  color: var(--rhodex-blue-darker);
  border-color: var(--rhodex-cyan);
}

.btn-cyan:hover {
  background: var(--rhodex-cyan-dark);
  border-color: var(--rhodex-cyan-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--rhodex-blue);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--rhodex-blue);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: 1rem;
}

.btn-sm {
  padding: var(--space-3) var(--space-5);
  font-size: 0.8125rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ----- HERO SECTION ----- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: var(--rhodex-blue);
  color: var(--white);
  overflow: hidden;
  padding: var(--space-16) 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, var(--rhodex-blue-darker) 0%, var(--rhodex-blue) 60%, var(--rhodex-blue-dark) 100%);
  opacity: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 196, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
  width: 100%;
}

.hero-content {
  animation: slideUp 0.8s ease-out;
}

.hero-eyebrow {
  color: var(--rhodex-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--rhodex-cyan);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: var(--space-6);
  font-weight: 700;
}

.hero h1 .accent {
  color: var(--rhodex-cyan);
  display: block;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

.hero-badges {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge {
  display: flex;
  flex-direction: column;
}

.hero-badge-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rhodex-cyan);
  line-height: 1;
}

.hero-badge-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: var(--space-2);
}

/* Hero visual (image/placeholder) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s ease-out 0.2s both;
}

.hero-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 196, 212, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-8);
}

.hero-visual-placeholder {
  text-align: center;
  padding: var(--space-8);
  color: rgba(255, 255, 255, 0.6);
}

.hero-visual-placeholder-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.hero-visual-placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* Hero accent decorations */
.hero-decoration {
  position: absolute;
  border: 1px solid rgba(0, 196, 212, 0.3);
  border-radius: var(--radius-lg);
}

.hero-decoration-1 {
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  z-index: -1;
}

.hero-decoration-2 {
  bottom: -30px;
  left: -30px;
  width: 80px;
  height: 80px;
  background: rgba(0, 196, 212, 0.1);
  z-index: -1;
}

/* ----- PAGE HERO (smaller for subpages) ----- */
.page-hero {
  background: var(--rhodex-blue);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--rhodex-blue-darker) 0%, var(--rhodex-blue) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 196, 212, 0.12) 0%, transparent 70%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.page-hero .eyebrow {
  color: var(--rhodex-cyan);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
  max-width: 800px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 720px;
  line-height: 1.7;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-6);
  font-size: 0.875rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
  color: var(--rhodex-cyan);
}

.breadcrumbs .current {
  color: var(--rhodex-cyan);
}

.breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.4);
}

/* ----- BADGES ----- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-cyan {
  background: var(--rhodex-cyan);
  color: var(--rhodex-blue-darker);
}

.badge-blue {
  background: var(--rhodex-blue);
  color: var(--white);
}

.badge-white {
  background: var(--white);
  color: var(--rhodex-blue);
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--rhodex-cyan);
  color: var(--rhodex-cyan);
}

.badge-bestseller {
  background: var(--rhodex-cyan);
  color: var(--rhodex-blue-darker);
  padding: var(--space-2) var(--space-3);
  font-size: 0.6875rem;
}

/* Made in Britain badge */
.mib-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--white);
}

.mib-flag {
  width: 32px;
  height: 20px;
  flex-shrink: 0;
  background: linear-gradient(to bottom,
    var(--union-blue) 0%, var(--union-blue) 33%,
    var(--white) 33%, var(--white) 40%,
    var(--union-red) 40%, var(--union-red) 60%,
    var(--white) 60%, var(--white) 67%,
    var(--union-blue) 67%, var(--union-blue) 100%
  );
  border-radius: 2px;
  position: relative;
}

.mib-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mib-text-line1 {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
}

.mib-text-line2 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----- CATEGORY CARDS (Homepage) ----- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.category-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rhodex-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.category-card:hover {
  border-color: var(--rhodex-blue);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  color: var(--rhodex-blue);
  transition: all var(--transition-base);
}

.category-card:hover .category-icon {
  background: var(--rhodex-blue);
  color: var(--white);
}

.category-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.category-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-3);
}

.category-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
  flex: 1;
}

.category-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.category-count {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rhodex-cyan-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-arrow {
  color: var(--rhodex-blue);
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
}

.category-card:hover .category-arrow {
  transform: translateX(4px);
}

/* ----- PRODUCT CARDS (Category Pages) ----- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: var(--rhodex-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 1;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-6);
  transition: transform var(--transition-base);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Image Placeholder */
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rhodex-blue) 0%, var(--rhodex-blue-dark) 100%);
  color: var(--white);
  padding: var(--space-6);
  text-align: center;
  font-family: var(--font-display);
}

.product-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.product-placeholder-logo {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-1);
  line-height: 1;
}

.product-placeholder-line {
  font-size: 0.6875rem;
  color: var(--rhodex-cyan);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.product-placeholder-spec {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
}

.product-placeholder-size {
  font-size: 0.75rem;
  opacity: 0.8;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
}

.product-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-2);
  text-transform: none;
  letter-spacing: 0;
}

.product-spec {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--rhodex-cyan-dark);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.product-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--rhodex-blue);
}

.product-buy-btn {
  padding: var(--space-2) var(--space-4);
  background: var(--rhodex-blue);
  color: var(--white);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.product-buy-btn:hover {
  background: var(--rhodex-blue-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ----- FEATURES / DIFFERENTIATORS ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.feature {
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature:hover {
  border-color: var(--rhodex-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.section-dark .feature,
.section-blue .feature {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.section-dark .feature:hover,
.section-blue .feature:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--rhodex-cyan);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-50);
  color: var(--rhodex-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.section-dark .feature-icon,
.section-blue .feature-icon {
  background: rgba(0, 196, 212, 0.15);
  color: var(--rhodex-cyan);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
}

.feature p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.section-dark .feature p,
.section-blue .feature p {
  color: rgba(255, 255, 255, 0.75);
}

/* ----- STATS ----- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  text-align: center;
}

.stat {
  padding: var(--space-4);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--rhodex-cyan);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.section-blue .stat-value,
.section-dark .stat-value {
  color: var(--rhodex-cyan);
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-blue .stat-label,
.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.9);
}

/* ----- CTA BANNER ----- */
.cta-banner {
  background: var(--rhodex-blue);
  color: var(--white);
  padding: var(--space-20) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--rhodex-blue-darker) 0%, var(--rhodex-blue) 100%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 196, 212, 0.1) 0%, transparent 60%);
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-5);
}

.cta-banner p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

/* ----- PRODUCT TABLE (For large product lists) ----- */
.product-table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.product-table th {
  background: var(--gray-50);
  text-align: left;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.product-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.product-table tr:last-child td {
  border-bottom: none;
}

.product-table tr:hover {
  background: var(--gray-50);
}

.product-table .viscosity {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--rhodex-blue);
}

.product-table .price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--rhodex-blue);
}

/* ----- FILTER CONTROLS ----- */
.filter-bar {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  align-items: center;
}

.filter-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: var(--space-2);
}

.filter-btn {
  padding: var(--space-2) var(--space-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--rhodex-blue);
  color: var(--rhodex-blue);
}

.filter-btn.active {
  background: var(--rhodex-blue);
  border-color: var(--rhodex-blue);
  color: var(--white);
}

.search-input {
  flex: 1;
  min-width: 240px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  background: var(--white);
}

.search-input:focus {
  outline: none;
  border-color: var(--rhodex-blue);
  box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.1);
}

/* ----- INFO BOXES ----- */
.info-box {
  background: var(--gray-50);
  border-left: 4px solid var(--rhodex-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-6);
  margin: var(--space-6) 0;
}

.info-box h4 {
  color: var(--rhodex-blue);
  margin-bottom: var(--space-3);
}

.info-box p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* ----- CONTENT BLOCKS ----- */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.content-block h2 {
  margin-top: var(--space-12);
  margin-bottom: var(--space-5);
}

.content-block h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.content-block ul {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
  color: var(--text-secondary);
}

.content-block ul li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
}

/* ----- TWO COLUMN LAYOUT ----- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.two-col-3-2 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-12);
  align-items: center;
}

.visual-block {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--rhodex-blue) 0%, var(--rhodex-blue-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-6);
}

.visual-block img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.visual-placeholder {
  text-align: center;
  color: var(--white);
  padding: var(--space-8);
}

.visual-placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: var(--space-4);
}

/* ----- FAQ ACCORDION ----- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--rhodex-blue);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition-base);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--rhodex-blue);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--transition-base);
}

.faq-icon::before {
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 16px;
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 0 var(--space-5);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----- CONTACT FORM ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info {
  padding: var(--space-8);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

.contact-info h3 {
  margin-bottom: var(--space-5);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--rhodex-blue);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.contact-item-content h5 {
  margin-bottom: var(--space-1);
  font-size: 1rem;
}

.contact-item-content p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--rhodex-blue);
  box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
}

/* ----- FOOTER ----- */
.footer {
  background: var(--rhodex-blue-darker);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-logo img {
  height: 60px;
  width: auto;
  max-width: 220px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.footer-logo-subtext {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rhodex-cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: -4px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 0.9375rem;
  max-width: 320px;
}

.footer h5 {
  font-size: 0.9375rem;
  color: var(--white);
  margin-bottom: var(--space-5);
  letter-spacing: 0.08em;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: var(--space-3);
}

.footer ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer ul a:hover {
  color: var(--rhodex-cyan);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links a:hover {
  color: var(--rhodex-cyan);
}

/* ----- ANIMATIONS ----- */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out both;
}

/* ----- UTILITIES ----- */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.text-blue { color: var(--rhodex-blue); }
.text-cyan { color: var(--rhodex-cyan-dark); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }

.bg-blue { background: var(--rhodex-blue); }
.bg-gray { background: var(--gray-50); }

.d-none { display: none; }
.d-block { display: block; }

/* ----- RESPONSIVE DESIGN ----- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  
  .hero-eyebrow {
    justify-content: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
  
  .two-col,
  .two-col-3-2,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-16) 0;
  }
  
  .section-lg {
    padding: var(--space-20) 0;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4);
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    display: block;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border);
  }
  
  .nav-menu a::after {
    display: none;
  }
  
  .nav-cta {
    margin-top: var(--space-2);
    justify-content: center;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-badges {
    gap: var(--space-4);
    flex-wrap: wrap;
  }
  
  .hero-badge-value {
    font-size: 1.75rem;
  }
  
  .btn-lg {
    padding: var(--space-4) var(--space-6);
  }
  
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-group .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  .hero {
    min-height: auto;
    padding: var(--space-12) 0;
  }
  
  .hero-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    width: 100%;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-input {
    min-width: 0;
    width: 100%;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-table {
    font-size: 0.8125rem;
  }
  
  .product-table th,
  .product-table td {
    padding: var(--space-3);
  }
}

/* ----- PRINT STYLES ----- */
@media print {
  .nav, .footer, .cta-banner, .hero-actions { display: none; }
  .hero, .page-hero { background: var(--white); color: var(--text-primary); }
  .hero h1, .page-hero h1 { color: var(--text-primary); }
}
