/*
Theme Name: 3D-Solution
Theme URI: https://3d-solution.nl
Author: 3D-Solution
Author URI: https://3d-solution.nl
Description: Professional AutoCAD point cloud plugin suite theme
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: 3d-solution
*/
:root {
  --orange: #FF6600;
  --orange-bright: #FF8800;
  --dark: #1a1a1e;
  --darker: #111114;
  --darkest: #0a0a0c;
  --surface: #222228;
  --text: #e8e8ec;
  --text-muted: #8a8a94;
  --text-dim: #5a5a64;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--darkest);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 102, 0, 0.1);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.6rem 0;
  background: rgba(10, 10, 12, 0.95);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img { height: 40px; width: auto; }

.nav-logo span {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange) !important;
  color: #000 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: var(--orange-bright) !important;
  transform: translateY(-1px);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 102, 0, 0.06) 0%, transparent 70%),
    var(--darkest);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0L56 16.2L56 48.5L28 64.7L0 48.5L0 16.2Z' fill='none' stroke='rgba(255,102,0,0.055)' stroke-width='0.8'/%3E%3Cpath d='M56 48.5L84 64.7L84 97L56 113.2L28 97L28 64.7Z' fill='none' stroke='rgba(255,102,0,0.055)' stroke-width='0.8'/%3E%3Cpath d='M0 48.5L28 64.7L28 97L0 113.2L-28 97L-28 64.7Z' fill='none' stroke='rgba(255,102,0,0.055)' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1300px;
  width: 100%;
}

.hero-text {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 102, 0, 0.1);
  border: 1px solid rgba(255, 102, 0, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .highlight { color: var(--orange); }

.hero-text > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--orange);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.3);
  color: #000;
  font-weight: 600;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* === HEXAGON GRID - flat-top hexagons, no overlap === */
.hex-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease-out 0.4s both;
}

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

/* 
  Flat-top hexagons: width = s, height = s * sqrt(3)/2 ≈ s * 0.866
  Hex size: 160px wide, ~138.56px tall
  Gap: 6px
  Column offset (horiz): width * 0.75 + gap = 120 + 6 = 126
  Row offset (vert): height + gap = 138.56 + 6 ≈ 145
  Odd columns shift down by: (height + gap) / 2 ≈ 72
*/
.hex-grid {
  position: relative;
  width: 420px;
  height: 440px;
}

.hex-item {
  position: absolute;
  width: 160px;
  height: 139px; /* 160 * sqrt(3)/2 */
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
}

.hex-item:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 8px 35px rgba(255, 102, 0, 0.35));
  z-index: 10;
}

.hex-item.active {
  transform: scale(1.06);
  filter: drop-shadow(0 8px 35px rgba(255, 102, 0, 0.4));
  z-index: 10;
}

.hex-item.active-free {
  filter: drop-shadow(0 8px 35px rgba(34, 197, 94, 0.4));
}

/* Flat-top hexagon clip path */
.hex-clip {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

/* Outer border hex */
.hex-border {
  position: absolute;
  inset: -3px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.35s ease;
}

.hex-item:hover .hex-border,
.hex-item.active .hex-border {
  background: var(--orange);
}

/* Inner hex with image */
.hex-shape {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transition: transform 0.4s ease;
  transform-origin: center center;
}

.hex-item:hover .hex-bg-img {
  transform: scale(1.08);
}

/* Dark gradient overlay for readability */
.hex-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.15) 100%);
  transition: background 0.35s ease;
}

.hex-item:hover .hex-overlay {
  background: linear-gradient(180deg, rgba(255,102,0,0.08) 0%, rgba(0,0,0,0.2) 100%);
}

.hex-label {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  padding: 0.6rem 0 0.7rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  bottom: 10px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.hex-item:hover .hex-label,
.hex-item.active .hex-label {
  transform: translateY(0);
  opacity: 1;
}

.hex-item:hover .hex-label {
  color: #fff;
}

/* 
  Positioning: flat-top honeycomb 
  Col width: 160*0.75 + 6 = 126px
  Row height: 139 + 6 = 145px
  Odd cols offset: 72.5px down
  
  Pattern from screenshot (mirrored):
  Col 0: row 2
  Col 1: row 1, row 2  
  Col 2: row 0, row 1, row 2
  
  But let's do it matching the image exactly:
  Bottom-left cluster going up-right
*/

/* Col 0 (x=0): 1 hex at bottom */
.hex-item:nth-child(1) { left: 0px;   top: 290px; }

/* Col 1 (x=126): 2 hexes */
.hex-item:nth-child(2) { left: 126px; top: 217px; }
.hex-item:nth-child(3) { left: 126px; top: 362px; }

/* Col 2 (x=252): 2 hexes */
.hex-item:nth-child(4) { left: 252px; top: 145px; }
.hex-item:nth-child(5) { left: 252px; top: 290px; }

/* Col 3 (x=378) - not needed, but let's try the layout from image */
/* Actually let me match the exact screenshot pattern */

/* Recalculating to match the uploaded hex pattern:
   The image shows (pointy-top style):
   Row 0 (top):       1 hex (right)
   Row 1 (middle):    2 hexes
   Row 2 (bottom):    3 hexes (bottom-left)
   
   With pointy-top:
   width = s * sqrt(3)/2, height = s
   Let's use pointy-top to match the image better
*/

/* Reset - using POINTY-TOP hexagons to match screenshot */
.hex-clip {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/*
  Pointy-top hex: W=160, H=160*2/sqrt(3) ≈ 185
  Actually let's keep it simpler:
  W = 150, H = 173 (150 / sqrt(3)*2)
  
  Row offset horizontal: W + gap = 156
  Odd-row offset: W/2 + gap/2 = 78  
  Col offset vertical: H * 0.75 + gap = 129.75 + 6 ≈ 136
*/
.hex-item {
  width: 150px;
  height: 173px;
}

.hex-grid {
  width: 470px;
  height: 460px;
}

/* Row 0 (top): 1 hex, offset right */
.hex-item:nth-child(6) { left: 234px; top: 0px; }

/* Row 1 (middle): 2 hexes, offset half-right (odd row) */
.hex-item:nth-child(4) { left: 156px; top: 130px; }
.hex-item:nth-child(5) { left: 312px; top: 130px; }

/* Row 2 (bottom): 3 hexes */
.hex-item:nth-child(1) { left: 78px;  top: 260px; }
.hex-item:nth-child(2) { left: 234px; top: 260px; }
.hex-item:nth-child(3) { left: 390px; top: 260px; }

/* Hmm, that goes too wide. Let me redo matching screenshot exactly.
   Screenshot pattern (pointy-top, reading bottom-to-top, left-to-right):
   
   Bottom row (3 hexes): positions at columns 0, 1, 2
   Middle row (2 hexes): shifted right half, between col 0-1 and col 1-2
   Top row (1 hex): at col 2 position (rightmost of middle pairs)
   
   Using: hex W=150, H=173
   Horizontal spacing between centers in same row: W + gap = 156
   Vertical spacing between row centers: H*0.75 + gap = 135
   Odd rows shifted right by: 78px (half of 156)
*/

/* Bottom row (even row 2): starts at x=0 */
.hex-item:nth-child(1) { left: 0px;   top: 270px; }
.hex-item:nth-child(2) { left: 156px; top: 270px; }
.hex-item:nth-child(3) { left: 312px; top: 270px; }

/* Middle row (odd row 1): shifted right 78px */
.hex-item:nth-child(4) { left: 78px;  top: 135px; }
.hex-item:nth-child(5) { left: 234px; top: 135px; }

/* Top row (even row 0): at column 2 */
.hex-item:nth-child(6) { left: 312px; top: 0px; }

.hex-grid {
  width: 462px;
  height: 443px;
}

/* Logo hex special styling */
.hex-logo .hex-overlay {
  background: linear-gradient(180deg, rgba(255,102,0,0.15) 0%, rgba(0,0,0,0.5) 100%);
}

.hex-logo .hex-border {
  background: var(--orange);
}

.hex-logo .hex-label {
  color: var(--orange);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* === MODULE DETAIL PANEL === */
.module-detail {
  position: fixed;
  top: 0;
  right: -500px;
  width: 460px;
  height: 100vh;
  background: var(--darker);
  border-left: 1px solid rgba(255, 102, 0, 0.15);
  z-index: 200;
  padding: 2rem;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.module-detail.open { right: 0; }

.module-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.module-detail-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.detail-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.detail-close:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 102, 0, 0.2);
}

.detail-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.detail-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 102, 0, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.detail-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.detail-features-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.detail-features {
  list-style: none;
  margin-bottom: 2rem;
}

.detail-features li {
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.detail-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--orange);
  flex-shrink: 0;
}

.detail-cta {
  display: block;
  width: 100%;
  padding: 0.9rem;
  text-align: center;
  background: var(--orange);
  color: #000;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  margin-bottom: 0.75rem;
}

.detail-cta:last-child {
  margin-bottom: 0;
}

.detail-cta:hover {
  background: var(--orange-bright);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.3);
  color: #000;
  font-weight: 700;
}

/* Free module (Basic Tools) green accents */
.module-detail.free-module { border-left-color: rgba(34, 197, 94, 0.25); }
.module-detail.free-module .detail-icon { border-color: rgba(34, 197, 94, 0.3); }
.module-detail.free-module .detail-tag { color: #22c55e; background: rgba(34, 197, 94, 0.1); }
.module-detail.free-module .detail-features li::before { background: #22c55e; }
.module-detail.free-module .detail-cta { background: #22c55e; color: #000; }
.module-detail.free-module .detail-cta:hover { background: #4ade80; box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3); }

/* === SECTIONS === */
section { padding: 6rem 2rem; }

.section-header { text-align: center; margin-bottom: 4rem; }
.compat-section .section-header { margin-bottom: 2rem; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
  font-weight: 300;
}

/* === FEATURES STRIP === */
.features-strip {
  background: var(--darker);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4rem 2rem;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-item { text-align: center; padding: 1.5rem; }

.feature-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.feature-label { font-size: 0.85rem; color: var(--text-muted); }

/* === WORKFLOW === */
.workflow-section { background: var(--darkest); }

.workflow-steps {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(255, 102, 0, 0.2));
}

.workflow-step { text-align: center; position: relative; }

.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
}

.workflow-step h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.workflow-step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* === VIDEO SECTION === */
.video-section {
  padding: 5rem 1rem;
  background: var(--surface);
}

.video-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.video-card {
  background: var(--darker);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.video-card:hover {
  border-color: rgba(255, 102, 0, 0.3);
  transform: translateY(-4px);
}

.video-card h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* === PRICING === */
.pricing-section { background: var(--darker); }

.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(255, 102, 0, 0.06) 0%, var(--surface) 40%);
}

.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.3rem 1rem;
  border-radius: 50px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-name { font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.5; }
.pricing-price { font-family: 'Rajdhani', sans-serif; font-size: 2.8rem; font-weight: 700; color: var(--orange); margin-bottom: 0.25rem; }
.pricing-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-period { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 1.5rem; }
.pricing-divider { height: 1px; background: rgba(255, 255, 255, 0.06); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { font-size: 0.88rem; color: var(--text-muted); padding: 0.4rem 0; display: flex; align-items: center; gap: 0.6rem; }
.pricing-features li::before { content: '\2713'; color: var(--orange); font-weight: 700; }

.pricing-btn {
  display: block; width: 100%; padding: 0.85rem; text-align: center; border-radius: 4px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: all 0.25s ease; cursor: pointer; border: none;
}

.pricing-btn-primary { background: var(--orange); color: #000; }
.pricing-btn-primary:hover { background: var(--orange-bright); box-shadow: 0 8px 30px rgba(255, 102, 0, 0.3); }
.pricing-btn-secondary { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.15); }
.pricing-btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

/* === COMPATIBILITY === */
.compat-section { 
  background: transparent !important; 
  text-align: center; 
  padding: 2rem 2rem 4rem 2rem !important;
}

.compat-badges {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}

.compat-badge {
  padding: 0.6rem 1.25rem; background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 50px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted); transition: all 0.2s;
}

.compat-badge:hover { border-color: rgba(255, 102, 0, 0.3); color: var(--orange); }

/* === CTA === */
.cta-section {
  background: var(--darker); text-align: center; position: relative; padding: 8rem 2rem;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 102, 0, 0.06) 0%, transparent 70%);
}

.cta-content { position: relative; z-index: 2; }

.cta-content h2 { font-family: 'Rajdhani', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }

.cta-content p {
  color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem;
  max-width: 500px; margin-left: auto; margin-right: auto; font-weight: 300;
}

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
footer {
  background: var(--darkest); border-top: 1px solid rgba(255, 255, 255, 0.04); padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}

.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { height: 32px; }
.footer-brand span { font-family: 'Rajdhani', sans-serif; font-weight: 600; color: var(--text-muted); }
.footer-text { font-size: 0.82rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }

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

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

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-layout { flex-direction: column; text-align: center; gap: 3rem; }
  .hero-text { max-width: 600px; }
  .hero-buttons { justify-content: center; }
  .hex-grid { transform: scale(0.85); }

  /* Video grid tablet */
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === NAV CART ICON === */
.nav-cart-link {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text, #e8e8ec);
  transition: color 0.25s ease;
}

.nav-cart-link:hover {
  color: var(--orange, #ff6600);
}

.nav-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--orange, #ff6600);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', sans-serif;
}

/* === HAMBURGER MENU === */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 200;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    background: var(--darkest, #0a0a0c);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 100;
    padding: 4rem 2rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.mobile-open {
    display: flex !important;
  }

  .nav-links a {
    font-size: 1.3rem;
    color: var(--text);
    padding: 0.5rem 0;
  }

  .nav-links .dropdown {
    position: static;
    display: none;
    background: transparent;
    border: none;
    min-width: auto;
    padding: 0.5rem 0 0;
    text-align: center;
  }

  .nav-links li.has-dropdown > a::after {
    content: ' ▾';
    font-size: 0.7rem;
  }

  .nav-links li.has-dropdown.sub-open > .dropdown {
    display: block;
  }

  .nav-links .dropdown li {
    padding: 0.4rem 0;
  }

  .nav-links .dropdown li a {
    font-size: 1rem;
    color: var(--text-muted);
  }

  .nav-cta {
    margin-top: 1rem;
  }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .workflow-steps::before { display: none; }
  .hero-badge::before { display: none; }
  .cta-section::before { display: none; }
  .detail-features li::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .module-detail {
    width: 100%;
    right: -100%;
    padding: 1.5rem;
    padding-top: 3.5rem;
  }
  .detail-close {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    top: 0.75rem;
    right: 0.75rem;
  }
  .detail-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  .detail-title { font-size: 1.6rem; }
  .detail-desc { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .detail-features li { font-size: 0.85rem; padding: 0.5rem 0; }

  /* Mobile: larger hex grid in 2 columns */
  .hex-grid {
    transform: none !important;
    position: relative !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0;
  }
  .hex-item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 0.866;
    min-height: 120px;
  }
  .hex-item .hex-label {
    transform: translateY(0) !important;
    opacity: 1 !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.5rem;
    bottom: 8px !important;
  }
  /* Hide logo hex on mobile to keep 5 modules in grid */
  .hex-item.hex-logo {
    display: none;
  }
  /* Center the 5th (odd) hex item */
  .hex-item:nth-child(5) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.375rem);
    margin: 0 auto;
  }

  /* Video grid responsive */
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hex-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem;
    max-width: 300px !important;
  }
  .hex-item {
    min-height: 100px;
  }
  .hex-item .hex-label {
    font-size: 0.7rem !important;
  }
  .hex-item:nth-child(5) {
    max-width: calc(50% - 0.25rem);
  }
  .module-detail { padding: 1.25rem; padding-top: 3.5rem; }
  .detail-title { font-size: 1.35rem; }
  .detail-tag { font-size: 0.65rem; margin-bottom: 1rem; }
  .detail-desc { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1.25rem; }
  .detail-features-title { font-size: 0.85rem; }
  .detail-features li { font-size: 0.8rem; }
  .detail-cta { font-size: 0.9rem; padding: 0.8rem; }

  /* Video grid mobile */
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* Piping module button */
.module-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #ff6a00;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s ease;
}

.module-button:hover {
    background: #ff8c33;
}


/* =============================== */
/* CLEAN MODULE DROPDOWN (FINAL)  */
/* =============================== */

.nav-links li {
    position: relative;
}

.nav-links .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #111115;
    padding: 12px 0;
    list-style: none;
    min-width: 220px;
    border: 1px solid rgba(255,255,255,0.06);
    display: none;
    z-index: 9999;
}

.nav-links li:hover > .dropdown {
    display: block;
}

.nav-links .dropdown li {
    padding: 10px 20px;
}

.nav-links .dropdown li a {
    color: #ccc;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    display: block;
    transition: 0.2s ease;
}

.nav-links .dropdown li a:hover {
    color: #ff6600;
}

/* === SHARED CARD STYLES === */
.hover-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
  border-color: rgba(255, 102, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.08);
}

.hover-card-dark {
  background: var(--darker);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card-dark:hover {
  border-color: rgba(255, 102, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.08);
}

.ba-card {
  background: var(--darker);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.ba-card:hover {
  border-color: rgba(255, 102, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.08);
}

.step-card {
  background: var(--darker);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  border-color: rgba(255, 102, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.08);
}

.step-card .step-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.3;
  margin-bottom: 0.5rem;
  transition: opacity 0.3s ease, text-shadow 0.3s ease;
}
.step-card:hover .step-num {
  opacity: 1;
  text-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

/* === SUREFORMS DARK THEME === */
.srfm-form-container,
.srfm-form-container .srfm-form {
  background: transparent !important;
}

.srfm-form-container .srfm-input-common,
.srfm-form-container textarea,
.srfm-form-container select,
.srfm-form-container .srfm-block-wrap input,
.srfm-form-container .srfm-block-wrap textarea,
.srfm-form-container .srfm-block-wrap select {
  background: var(--darkest, #0a0a0c) !important;
  color: var(--text, #e8e8ec) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  padding: 0.85rem 1rem !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.95rem !important;
  transition: border-color 0.3s ease !important;
}

.srfm-form-container .srfm-input-common:focus,
.srfm-form-container textarea:focus,
.srfm-form-container select:focus,
.srfm-form-container .srfm-block-wrap input:focus,
.srfm-form-container .srfm-block-wrap textarea:focus {
  border-color: var(--orange, #ff6600) !important;
  outline: none !important;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.15) !important;
}

.srfm-form-container .srfm-input-common::placeholder,
.srfm-form-container textarea::placeholder,
.srfm-form-container input::placeholder {
  color: var(--text-dim, #5a5a64) !important;
}

.srfm-form-container label,
.srfm-form-container .srfm-block-wrap label {
  color: var(--text-muted, #8a8a94) !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.9rem !important;
}

.srfm-form-container .srfm-submit-container button,
.srfm-form-container button[type="submit"],
.srfm-form-container input[type="submit"] {
  background: var(--orange, #ff6600) !important;
  color: #000 !important;
  border: none !important;
  padding: 0.85rem 2rem !important;
  font-family: 'Barlow', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.srfm-form-container .srfm-submit-container button:hover,
.srfm-form-container button[type="submit"]:hover,
.srfm-form-container input[type="submit"]:hover {
  background: var(--orange-bright, #ff8800) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.3) !important;
}

.srfm-form-container .srfm-error-message,
.srfm-form-container .srfm-common-error-message {
  color: #ef4444 !important;
  font-size: 0.8rem !important;
}

/* Phone input dropdown dark */
.srfm-form-container .ts-wrapper,
.srfm-form-container .ts-control {
  background: var(--darkest, #0a0a0c) !important;
  color: var(--text, #e8e8ec) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.srfm-form-container .srfm-phone-number-container,
.srfm-form-container .srfm-phone-number-container * {
  background: var(--darkest, #0a0a0c) !important;
  color: var(--text, #e8e8ec) !important;
}

.srfm-form-container .srfm-phone-number-container {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  overflow: hidden;
}

.srfm-form-container .srfm-phone-number-container:focus-within {
  border-color: var(--orange, #ff6600) !important;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.15) !important;
}

.srfm-form-container .srfm-phone-number-container input {
  border: none !important;
  box-shadow: none !important;
  padding-left: 4.5rem !important;
}

.srfm-form-container .srfm-phone-number-container select,
.srfm-form-container .srfm-phone-number-container .ts-wrapper,
.srfm-form-container .srfm-phone-number-container .ts-control {
  border: none !important;
  box-shadow: none !important;
}

.srfm-form-container .ts-dropdown {
  background: var(--surface, #222228) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.srfm-form-container .ts-dropdown .option {
  color: var(--text, #e8e8ec) !important;
}

.srfm-form-container .ts-dropdown .option:hover,
.srfm-form-container .ts-dropdown .active {
  background: rgba(255, 102, 0, 0.15) !important;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--darker, #111114);
  border-top: 1px solid rgba(255, 102, 0, 0.2);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: none;
  animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text, #e8e8ec);
  margin-bottom: 0.3rem;
}

.cookie-text p {
  font-size: 0.85rem;
  color: var(--text-muted, #8a8a94);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--orange, #ff6600);
  text-decoration: none;
}

.cookie-text a:hover {
  color: var(--orange-bright, #ff8800);
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: var(--orange, #ff6600);
  color: #000;
  border: none;
  padding: 0.65rem 1.5rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cookie-btn-accept:hover {
  background: var(--orange-bright, #ff8800);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  color: #000;
  font-weight: 600;
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted, #8a8a94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 1.5rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cookie-btn-decline:hover {
  border-color: var(--orange, #ff6600);
  color: var(--orange, #ff6600);
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* === WOOCOMMERCE DARK THEME === */
.woocommerce-page .entry-content,
.woocommerce-page .site-content,
.woocommerce-page main,
.woocommerce-page article,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
body.woocommerce-page {
  padding-top: 100px !important;
}

.woocommerce div.product,
.woocommerce-page div.product {
  color: var(--text, #e8e8ec);
}

.woocommerce div.product .product_title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--text, #e8e8ec);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--orange, #ff6600) !important;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.5rem !important;
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .description p {
  color: var(--text-muted, #8a8a94);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Variatie dropdowns */
.woocommerce div.product form.cart .variations select,
.woocommerce div.product form.cart select {
  background: var(--darkest, #0a0a0c) !important;
  color: var(--text, #e8e8ec) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  padding: 0.65rem 1rem !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.9rem !important;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff6600' stroke-width='2' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem !important;
}

.woocommerce div.product form.cart .variations select:focus {
  border-color: var(--orange, #ff6600) !important;
  outline: none !important;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.15) !important;
}

.woocommerce div.product form.cart .variations label,
.woocommerce div.product form.cart .variations th {
  color: var(--text, #e8e8ec) !important;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.woocommerce div.product form.cart .variations td {
  padding: 0.5rem 0;
}

/* Quantity input */
.woocommerce div.product form.cart .quantity input.qty {
  background: var(--darkest, #0a0a0c) !important;
  color: var(--text, #e8e8ec) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
  padding: 0.5rem !important;
  font-family: 'Barlow', sans-serif !important;
  width: 60px !important;
}

/* Add to cart button */
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--orange, #ff6600) !important;
  color: #000 !important;
  border: none !important;
  padding: 0.75rem 2rem !important;
  font-family: 'Barlow', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--orange-bright, #ff8800) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.3) !important;
  color: #000 !important;
}

/* SKU, category, tags */
.woocommerce div.product .product_meta {
  color: var(--text-dim, #5a5a64);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.woocommerce div.product .product_meta a {
  color: var(--orange, #ff6600);
  text-decoration: none;
}

.woocommerce div.product .product_meta a:hover {
  color: var(--orange-bright, #ff8800);
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin: 2rem 0 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--text-muted, #8a8a94) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 0.75rem 1.5rem !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--orange, #ff6600) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--orange, #ff6600) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: transparent !important;
  color: var(--text-muted, #8a8a94) !important;
  border: none !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-family: 'Rajdhani', sans-serif;
  color: var(--text, #e8e8ec);
  font-size: 1.3rem;
}

/* Product image */
.woocommerce div.product div.images {
  background: var(--darker, #111114);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 35% !important;
  float: left !important;
}

.woocommerce div.product div.summary {
  width: 58% !important;
  float: right !important;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  color: var(--text-dim, #5a5a64) !important;
  font-size: 0.8rem !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--text-muted, #8a8a94) !important;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--orange, #ff6600) !important;
}

/* Cart & Checkout pages */
.woocommerce table.shop_table {
  background: var(--darker, #111114) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
}

.woocommerce table.shop_table th {
  color: var(--orange, #ff6600) !important;
  font-family: 'Rajdhani', sans-serif !important;
  background: #1a1a1e !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.woocommerce table.shop_table td {
  color: var(--text, #e8e8ec) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.woocommerce table.shop_table td a {
  color: var(--text, #e8e8ec) !important;
}

/* Cart totals */
.woocommerce .cart-collaterals .cart_totals {
  background: var(--darker, #111114) !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
}

/* Checkout form */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout #payment div.form-row input.input-text,
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce-checkout .woocommerce-input-wrapper textarea,
.woocommerce-checkout #billing_country_field select,
.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
#billing_address_1,
#billing_address_2,
#billing_city,
#billing_postcode,
#billing_phone,
#billing_email,
#billing_first_name,
#billing_last_name,
#billing_company,
#order_comments {
  background: var(--darkest, #0a0a0c) !important;
  background-color: var(--darkest, #0a0a0c) !important;
  color: var(--text, #e8e8ec) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.9rem !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  border-color: var(--orange, #ff6600) !important;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.15) !important;
  outline: none !important;
}

.woocommerce form .form-row label {
  color: var(--text-muted, #8a8a94) !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.85rem !important;
}

.woocommerce form .form-row label .required {
  color: #ef4444 !important;
}

/* Select2 dropdown (country selector) */
.select2-container--default .select2-selection--single {
  background-color: var(--darkest, #0a0a0c) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  height: auto !important;
  padding: 0.5rem 1rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--text, #e8e8ec) !important;
  font-family: 'Barlow', sans-serif !important;
  line-height: 1.5 !important;
  padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 10px !important;
}

.select2-dropdown {
  background: var(--darker, #111114) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.select2-container--default .select2-results__option {
  color: var(--text, #e8e8ec) !important;
  padding: 0.5rem 1rem !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--orange, #ff6600) !important;
  color: #000 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  background: var(--darkest, #0a0a0c) !important;
  color: var(--text, #e8e8ec) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Checkout headings */
.woocommerce-checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: 'Rajdhani', sans-serif !important;
  color: var(--text, #e8e8ec) !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
}

/* OR divider */
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
  color: var(--text-muted, #8a8a94) !important;
}

/* Order review table */
.woocommerce-checkout-review-order-table {
  background: var(--darker, #111114) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  color: var(--text, #e8e8ec) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  padding: 0.75rem 1rem !important;
}

.woocommerce-checkout-review-order-table tfoot th {
  color: var(--text-muted, #8a8a94) !important;
}

.woocommerce-checkout-review-order-table tfoot td {
  color: var(--orange, #ff6600) !important;
  font-weight: 600 !important;
}

/* Payment methods */
.woocommerce-checkout #payment {
  background: var(--darker, #111114) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 1rem !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
  color: var(--text, #e8e8ec) !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
  color: var(--text, #e8e8ec) !important;
  font-family: 'Barlow', sans-serif !important;
}

.woocommerce-checkout #payment div.payment_box {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-muted, #8a8a94) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: rgba(255, 255, 255, 0.03) !important;
}

/* Stripe iframe container */
.woocommerce-checkout #payment .payment_box .wc-stripe-elements-field,
.woocommerce-checkout #payment .payment_box .stripe-card-group {
  background: var(--darkest, #0a0a0c) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  padding: 0.75rem !important;
}

/* Place order button */
.woocommerce-checkout #place_order {
  background: var(--orange, #ff6600) !important;
  color: #000 !important;
  border: none !important;
  padding: 1rem 2.5rem !important;
  font-family: 'Barlow', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  width: auto !important;
  float: right !important;
}

.woocommerce-checkout #place_order:hover {
  background: var(--orange-bright, #ff8800) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.3) !important;
}

/* Privacy text */
.woocommerce-checkout .woocommerce-privacy-policy-text p {
  color: var(--text-dim, #5a5a64) !important;
  font-size: 0.8rem !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: var(--orange, #ff6600) !important;
}

/* Coupon field */
.woocommerce-checkout .checkout_coupon input.input-text {
  background: var(--darkest, #0a0a0c) !important;
  color: var(--text, #e8e8ec) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Login form on checkout */
.woocommerce-checkout .woocommerce-form-login input {
  background: var(--darkest, #0a0a0c) !important;
  color: var(--text, #e8e8ec) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Messages */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  background: var(--darker, #111114) !important;
  color: var(--text, #e8e8ec) !important;
  border-top-color: var(--orange, #ff6600) !important;
}

.woocommerce .woocommerce-error {
  background: var(--darker, #111114) !important;
  color: #ef4444 !important;
  border-top-color: #ef4444 !important;
}

/* Related products */
.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
  font-family: 'Rajdhani', sans-serif;
  color: var(--text, #e8e8ec);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--text, #e8e8ec) !important;
  font-family: 'Rajdhani', sans-serif !important;
}

.woocommerce ul.products li.product .price {
  color: var(--orange, #ff6600) !important;
}

/* Star ratings */
.woocommerce .star-rating span::before {
  color: var(--orange, #ff6600) !important;
}

/* Sale badge */
.woocommerce span.onsale {
  background: var(--orange, #ff6600) !important;
  color: #000 !important;
  font-family: 'Barlow', sans-serif !important;
  font-weight: 600 !important;
}

/* License info table (order confirmation) */
.woocommerce-order-details + div table,
.woocommerce-order h2 + table,
table.license-table,
.license-info table,
.woocommerce-order .license-info,
h2 + table:not(.woocommerce-table) {
  background: var(--darker, #111114) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.woocommerce-order-details + div table th,
.woocommerce-order h2 + table th,
h2 + table:not(.woocommerce-table) th {
  background: var(--orange, #ff6600) !important;
  color: #000 !important;
  font-family: 'Barlow', sans-serif !important;
  font-weight: 600 !important;
  padding: 0.75rem 1rem !important;
}

.woocommerce-order-details + div table td,
.woocommerce-order h2 + table td,
h2 + table:not(.woocommerce-table) td {
  background: var(--darker, #111114) !important;
  color: var(--text, #e8e8ec) !important;
  font-family: 'Barlow', sans-serif !important;
  padding: 0.75rem 1rem !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}