/*
Theme Name: VisuaLED Europa
Theme URI: https://visualed.ro
Description: Custom dark theme for VisuaLED Europa — LED screen configurator and e-commerce. Built for WooCommerce.
Version: 1.0.0
Author: VisuaLED
Author URI: https://visualed.ro
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: visualed
*/

:root {
  --vl-bg: #0A0E13;
  --vl-bg-alt: #0D131A;
  --vl-surface: #121821;
  --vl-surface-dark: #0F151C;
  --vl-surface-hover: #171F2A;
  --vl-border: #232F3C;
  --vl-border-light: #202A36;
  --vl-border-input: #263242;
  --vl-cyan: #35E7FF;
  --vl-cyan-light: #8FE9FF;
  --vl-cyan-hover: #6BF0FF;
  --vl-cyan-dim: rgba(53,231,255,0.08);
  --vl-cyan-glow: rgba(53,231,255,0.14);
  --vl-orange: #FFB238;
  --vl-orange-dim: rgba(255,178,56,0.12);
  --vl-text: #EDF2F5;
  --vl-text-secondary: #ACBBC9;
  --vl-text-muted: #93A3B3;
  --vl-text-dim: #7E8FA0;
  --vl-text-faint: #6C7E90;
  --vl-text-ghost: #5C7186;
  --vl-nav-text: #B7C4D1;
  --vl-label: #8CA0B3;
  --vl-font-heading: 'Space Grotesk', sans-serif;
  --vl-font-body: 'IBM Plex Sans', sans-serif;
  --vl-font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--vl-cyan); color: var(--vl-bg); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--vl-font-body);
  background: var(--vl-bg);
  color: var(--vl-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--vl-cyan); text-decoration: none; }
a:hover { color: var(--vl-cyan-hover); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--vl-font-heading);
  color: var(--vl-text);
  line-height: 1.15;
}

input, select, textarea {
  font-family: var(--vl-font-body);
  background: var(--vl-surface-dark);
  border: 1px solid var(--vl-border-input);
  border-radius: 9px;
  padding: 13px 14px;
  color: var(--vl-text);
  font-size: 14px;
}
input::placeholder, textarea::placeholder { color: var(--vl-text-ghost); }
select option { background: var(--vl-surface); color: var(--vl-text); }

/* ─── Grid background scanline ─── */
.vl-scanline-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(53,231,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,231,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: scanline 6s linear infinite;
}
@keyframes scanline { 0% { background-position: 0 0; } 100% { background-position: 0 40px; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ─── Navbar ─── */
.vl-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 76px;
  background: rgba(10,14,19,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vl-border-light);
}
.vl-nav-logo {
  font-family: var(--vl-font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  color: var(--vl-text);
}
.vl-nav-logo span {
  color: var(--vl-cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
}
.vl-nav-links { display: flex; gap: 30px; }
.vl-nav-links a {
  color: var(--vl-nav-text);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
}
.vl-nav-links a:hover { color: var(--vl-text); }

.vl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 42px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.vl-btn-primary {
  background: var(--vl-cyan);
  color: #06181F;
}
.vl-btn-primary:hover { background: var(--vl-cyan-hover); color: #06181F; }
.vl-btn-outline {
  border: 1px solid #2A3644;
  color: var(--vl-text);
  background: transparent;
}
.vl-btn-outline:hover { border-color: var(--vl-cyan); color: var(--vl-text); }
.vl-btn-lg { height: auto; padding: 15px 26px; font-size: 15px; border-radius: 9px; }

/* ─── Sections ─── */
.vl-container { max-width: 1360px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.vl-section { position: relative; z-index: 1; }
.vl-section-alt {
  background: var(--vl-bg-alt);
  border-top: 1px solid #1B2430;
  border-bottom: 1px solid #1B2430;
}
.vl-section-label {
  color: var(--vl-cyan);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

/* ─── Hero ─── */
.vl-hero {
  padding: 96px 0 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.vl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vl-surface);
  border: 1px solid #24303E;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--vl-cyan-light);
  font-weight: 600;
  margin-bottom: 26px;
}
.vl-hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--vl-cyan);
  animation: pulseDot 1.6s infinite;
}
.vl-hero h1 {
  font-size: 54px;
  line-height: 1.06;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -0.5px;
}
.vl-hero h1 .accent { color: var(--vl-cyan); }
.vl-hero-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--vl-text-secondary);
  max-width: 520px;
  margin: 0 0 34px;
}
.vl-hero-stats { display: flex; gap: 36px; }
.vl-hero-stats .stat-value {
  font-family: var(--vl-font-heading);
  font-size: 26px;
  font-weight: 700;
}
.vl-hero-stats .stat-label { font-size: 12.5px; color: var(--vl-text-dim); }

.vl-hero-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--vl-border);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.vl-hero-image img { width: 100%; height: 460px; object-fit: cover; display: block; }
.vl-hero-image-glow {
  position: absolute;
  inset: -18px;
  background: radial-gradient(circle at 30% 20%, var(--vl-cyan-glow), transparent 60%);
  border-radius: 24px;
  pointer-events: none;
}

/* ─── Certifications bar ─── */
.vl-certs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 0;
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--vl-text-faint);
  font-weight: 600;
}

/* ─── Product cards ─── */
.vl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vl-card {
  background: var(--vl-surface);
  border: 1px solid var(--vl-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.vl-card:hover { border-color: var(--vl-cyan); color: inherit; }
.vl-card-img { width: 100%; height: 190px; object-fit: cover; display: block; }
.vl-card-body { padding: 22px 22px 26px; }
.vl-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.vl-card-title { font-family: var(--vl-font-heading); font-size: 19px; font-weight: 700; }
.vl-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 9px;
  border-radius: 5px;
}
.vl-tag-outdoor { color: var(--vl-orange); background: var(--vl-orange-dim); }
.vl-tag-indoor { color: var(--vl-cyan-light); background: rgba(53,231,255,0.10); }
.vl-card-subtitle { color: var(--vl-cyan-light); font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.vl-card-desc { color: var(--vl-text-muted); font-size: 13.5px; line-height: 1.55; margin: 0 0 16px; min-height: 60px; }
.vl-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--vl-text-faint);
  border-top: 1px solid var(--vl-border-light);
  padding-top: 14px;
}
.vl-card-cta { margin-top: 16px; color: var(--vl-cyan); font-weight: 700; font-size: 13.5px; }

/* ─── Feature boxes ─── */
.vl-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vl-feature-box {
  background: var(--vl-surface);
  border: 1px solid var(--vl-border);
  border-radius: 14px;
  padding: 26px;
}
.vl-feature-box svg { width: 26px; height: 26px; }
.vl-feature-box .title { font-weight: 700; font-size: 15px; margin: 14px 0 6px; }
.vl-feature-box .desc { font-size: 13px; color: var(--vl-text-muted); line-height: 1.5; }

/* ─── Use-case pills ─── */
.vl-pills { display: flex; gap: 14px; flex-wrap: wrap; }
.vl-pill {
  border: 1px solid var(--vl-border);
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--vl-text-secondary);
}

/* ─── Contact section ─── */
.vl-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.vl-contact-form {
  background: var(--vl-surface);
  border: 1px solid var(--vl-border);
  border-radius: 16px;
  padding: 30px;
}
.vl-contact-form .fields { display: flex; flex-direction: column; gap: 16px; }
.vl-contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vl-contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--vl-surface);
  border: 1px solid var(--vl-border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}
.vl-contact-card .avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--vl-surface-hover);
  flex-shrink: 0;
}
.vl-contact-card .name { font-weight: 700; font-size: 15px; }
.vl-contact-card .role { font-size: 12.5px; color: var(--vl-cyan-light); }
.vl-contact-card .details { font-size: 12.5px; color: var(--vl-text-dim); margin-top: 4px; }

/* ─── Footer ─── */
.vl-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid #1B2430;
  padding: 40px;
  text-align: center;
  color: var(--vl-text-ghost);
  font-size: 12.5px;
}
.vl-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
}
.vl-footer-links a {
  color: var(--vl-text-dim);
  text-decoration: none;
  font-size: 12.5px;
  transition: color 0.15s;
}
.vl-footer-links a:hover { color: var(--vl-text); }
.vl-footer-copy { color: var(--vl-text-ghost); font-size: 12px; }

/* ─── Configurator ─── */
.vl-config-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: start; }
.vl-config-panel {
  background: var(--vl-surface);
  border: 1px solid var(--vl-border);
  border-radius: 14px;
  padding: 26px;
}
.vl-config-panel .panel-title { font-weight: 700; font-size: 14px; margin-bottom: 14px; }

.vl-pitch-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.vl-pitch-chip {
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--vl-font-mono);
  border: 1px solid var(--vl-border-input);
  background: var(--vl-surface-hover);
  color: var(--vl-text-secondary);
  transition: all 0.15s;
}
.vl-pitch-chip.active, .vl-pitch-chip:hover {
  background: var(--vl-cyan);
  color: #06181F;
  border-color: var(--vl-cyan);
}

.vl-stepper { display: flex; align-items: center; gap: 12px; }
.vl-stepper-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--vl-surface-hover);
  border: 1px solid var(--vl-border-input);
  color: var(--vl-text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vl-stepper-val {
  font-family: var(--vl-font-heading);
  font-size: 22px;
  font-weight: 700;
  width: 34px;
  text-align: center;
}

.vl-mount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.vl-mount-opt {
  text-align: left;
  padding: 13px 15px;
  border-radius: 9px;
  cursor: pointer;
  background: var(--vl-surface-dark);
  border: 1px solid var(--vl-border);
  transition: all 0.15s;
}
.vl-mount-opt.active {
  background: var(--vl-cyan-dim);
  border-color: var(--vl-cyan);
}
.vl-mount-opt .label { font-size: 13.5px; font-weight: 700; color: var(--vl-text); }
.vl-mount-opt.active .label { color: var(--vl-cyan); }
.vl-mount-opt .sub { font-size: 11.5px; color: var(--vl-text-dim); margin-top: 2px; }

.vl-acc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  border-radius: 9px;
  cursor: pointer;
  background: var(--vl-surface-dark);
  border: 1px solid var(--vl-border);
  transition: all 0.15s;
}
.vl-acc-item.checked {
  background: rgba(53,231,255,0.06);
  border-color: var(--vl-cyan);
}
.vl-acc-check {
  width: 20px; height: 20px;
  border-radius: 5px;
  border: 1.5px solid #3A4756;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 12px;
}
.vl-acc-item.checked .vl-acc-check {
  background: var(--vl-cyan);
  border-color: var(--vl-cyan);
}
.vl-acc-check-icon { display: none; }
.vl-acc-item.checked .vl-acc-check-icon { display: block !important; }
.vl-acc-price {
  font-family: var(--vl-font-mono);
  font-size: 13px;
  color: var(--vl-cyan-light);
  white-space: nowrap;
}

/* ─── Summary sidebar ─── */
.vl-summary {
  position: sticky;
  top: 96px;
}
.vl-summary-card {
  background: var(--vl-surface);
  border: 1px solid var(--vl-border);
  border-radius: 16px;
  padding: 26px;
}
.vl-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--vl-text-secondary);
  margin-bottom: 10px;
}
.vl-summary-line .val { color: var(--vl-text); font-family: var(--vl-font-mono); }
.vl-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
}
.vl-summary-total .label { font-size: 14px; font-weight: 700; }
.vl-summary-total .amount {
  font-family: var(--vl-font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--vl-cyan);
}

/* ─── Spec table ─── */
.vl-specs-table {
  background: var(--vl-surface);
  border: 1px solid var(--vl-border);
  border-radius: 14px;
  overflow: hidden;
}
.vl-spec-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid #1B2430;
  padding: 16px 26px;
}
.vl-spec-row:last-child { border-bottom: none; }
.vl-spec-row .key { color: var(--vl-label); font-size: 13.5px; font-weight: 600; }
.vl-spec-row .val { color: var(--vl-text); font-size: 13.5px; font-family: var(--vl-font-mono); }

/* ─── WooCommerce overrides ─── */
.woocommerce .price { color: var(--vl-cyan) !important; font-family: var(--vl-font-heading); }
.woocommerce .button,
.woocommerce button.button {
  background: var(--vl-cyan) !important;
  color: #06181F !important;
  border-radius: 9px !important;
  font-weight: 700 !important;
  border: none !important;
}
.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: var(--vl-cyan-hover) !important;
}
.woocommerce-message, .woocommerce-info {
  background: var(--vl-surface) !important;
  border-color: var(--vl-cyan) !important;
  color: var(--vl-text) !important;
}

/* ─── Breadcrumb ─── */
.vl-breadcrumb { font-size: 13px; color: var(--vl-text-dim); margin-bottom: 14px; }
.vl-breadcrumb a { color: var(--vl-text-dim); text-decoration: none; }

/* ─── Compare cards ─── */
.vl-compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.vl-compare-card {
  text-decoration: none;
  color: inherit;
  background: var(--vl-surface);
  border: 1px solid var(--vl-border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}
.vl-compare-card:hover { border-color: var(--vl-cyan); color: inherit; }

/* ─── Product hero (configurator pages) ─── */
.vl-product-hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ─── Gallery grid ─── */
.vl-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ─── Page content (default page template) ─── */
.vl-page-content h2 { font-size: 24px; margin: 32px 0 12px; }
.vl-page-content h3 { font-size: 20px; margin: 28px 0 10px; }
.vl-page-content p { margin: 0 0 16px; }
.vl-page-content ul, .vl-page-content ol { margin: 0 0 16px; padding-left: 24px; }
.vl-page-content li { margin-bottom: 6px; }
.vl-page-content a { color: var(--vl-cyan); }
.vl-page-content img { border-radius: 12px; }

/* ─── WordPress pagination ─── */
.nav-links { display: flex; gap: 8px; justify-content: center; }
.nav-links a, .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vl-text-secondary);
  background: var(--vl-surface);
  border: 1px solid var(--vl-border);
  text-decoration: none;
}
.nav-links a:hover { border-color: var(--vl-cyan); color: var(--vl-text); }
.nav-links .current { background: var(--vl-cyan); color: #06181F; border-color: var(--vl-cyan); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .vl-hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 40px; }
  .vl-hero h1 { font-size: 38px; }
  .vl-product-hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 40px; }
  .vl-product-hero h1 { font-size: 34px; }
  .vl-cards { grid-template-columns: 1fr; }
  .vl-features { grid-template-columns: repeat(2, 1fr); }
  .vl-config-grid { grid-template-columns: 1fr; }
  .vl-summary { position: static; }
  .vl-contact-grid { grid-template-columns: 1fr; }
  .vl-compare-grid { grid-template-columns: 1fr; }
  .vl-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .vl-nav { padding: 0 20px; }
  .vl-container { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 640px) {
  .vl-hero h1 { font-size: 30px; }
  .vl-product-hero h1 { font-size: 28px; }
  .vl-features { grid-template-columns: 1fr; }
  .vl-hero-stats { flex-direction: column; gap: 16px; }
  .vl-nav-links { display: none; }
  .vl-certs { justify-content: center; }
  .vl-gallery-grid { grid-template-columns: 1fr; }
  .vl-mount-grid { grid-template-columns: 1fr; }
}
