/* 
 * topoppickwiselayers.lol - Core Stylesheet
 * Brand: topoppickwiselayers (Copenhagen, Denmark)
 * Design System: Nordic Architectural Precision, Glassmorphism, Amber & Slate Blue highlights
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-birch: #f8faf9;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-dark: rgba(28, 25, 23, 0.85);
  --glass-border: rgba(28, 25, 23, 0.08);
  --glass-border-light: rgba(255, 255, 255, 0.3);
  --amber-glow: #d97706;
  --amber-glow-light: rgba(217, 119, 6, 0.15);
  --slate-blue: #0284c7;
  --slate-blue-light: rgba(2, 132, 199, 0.1);
  --espresso: #1c1917;
  --text-primary: #1c1917;
  --text-secondary: #44403c;
  --text-muted: #78716c;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-birch);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Acoustic Waves Decoration */
.bg-wave-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  overflow: hidden;
}

.bg-wave {
  position: absolute;
  border: 1px solid rgba(2, 132, 199, 0.08);
  border-radius: 50%;
  animation: pulseWave 12s infinite linear;
}

.bg-wave-1 {
  width: 800px;
  height: 800px;
  top: -200px;
  right: -200px;
}

.bg-wave-2 {
  width: 1200px;
  height: 1200px;
  bottom: -400px;
  left: -300px;
  animation-duration: 18s;
}

@keyframes pulseWave {
  0% { transform: scale(0.95) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.05) rotate(180deg); opacity: 0.6; }
  100% { transform: scale(0.95) rotate(360deg); opacity: 0.3; }
}

/* Typography & Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--espresso); }
h3 { font-size: 1.5rem; color: var(--espresso); }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Glassmorphism Styles */
.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(217, 119, 6, 0.05);
}

/* Header & Sticky Navigation - Perfect and Slim */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(248, 250, 249, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: var(--glass);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px; /* Perfectly slim height */
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px; /* Slimmer logo size */
  height: 32px;
  transition: var(--transition-smooth);
}

.logo-link:hover .logo-icon {
  transform: rotate(15deg);
}

.logo-text {
  font-weight: 800;
  font-size: 1.05rem; /* Sized perfectly to fit slim header */
  letter-spacing: -0.03em;
  color: var(--espresso);
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-glow);
  margin-top: -3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  font-size: 0.88rem; /* Refined text size */
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--amber-glow);
  transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
  color: var(--espresso);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn {
  padding: 8px 16px !important; /* Forces buttons inside the header to remain compact */
  font-size: 0.8rem !important;
  border-radius: var(--radius-sm);
}

.btn-kit-toggle {
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-kit-toggle:hover {
  background: rgba(2, 132, 199, 0.08);
}

.btn-kit-toggle svg {
  width: 20px;
  height: 20px;
}

.kit-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--amber-glow);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: var(--espresso);
  color: #ffffff;
  border: 1px solid var(--espresso);
}

.btn-primary:hover {
  background: var(--amber-glow);
  border-color: var(--amber-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--amber-glow-light);
}

.btn-secondary {
  background: var(--glass);
  color: var(--espresso);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--slate-blue);
  color: var(--slate-blue);
  transform: translateY(-2px);
}

.btn-glow {
  background: linear-gradient(135deg, var(--espresso), #2d2a26);
  color: white;
  border: 1px solid rgba(217, 119, 6, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.2);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--espresso);
  transition: var(--transition-smooth);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Re-engineered Cookie Consent Banner & Preferences */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 640px;
  margin: 0 auto;
  z-index: 999;
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
  border: 1px solid rgba(217, 119, 6, 0.2);
  box-shadow: 0 20px 40px rgba(28, 25, 23, 0.15);
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-title {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--espresso);
}

.cookie-title svg {
  color: var(--amber-glow);
  flex-shrink: 0;
}

.cookie-banner p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.cookie-btn {
  flex: 1 1 auto;
  min-width: 130px;
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  border: none;
  outline: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-accept {
  background-color: var(--amber-glow);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.cookie-accept:hover {
  background-color: var(--espresso);
  color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(28, 25, 23, 0.2);
}

.cookie-pref {
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--slate-blue);
  border: 1px solid rgba(2, 132, 199, 0.15);
}

.cookie-pref:hover {
  background-color: rgba(2, 132, 199, 0.15);
  border-color: var(--slate-blue);
  transform: translateY(-1.5px);
}

.cookie-decline {
  background-color: rgba(28, 25, 23, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}

.cookie-decline:hover {
  background-color: rgba(28, 25, 23, 0.1);
  color: var(--text-primary);
  transform: translateY(-1.5px);
}

/* Custom Interactive Switch Toggles for Cookie Preferences Modal */
.cookie-preference-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
}

.cookie-preference-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 4px;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(28, 25, 23, 0.15);
  transition: var(--transition-smooth);
  border-radius: 34px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition-smooth);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

input:checked + .switch-slider {
  background-color: var(--amber-glow);
}

input:checked + .switch-slider:before {
  transform: translateX(22px);
}

input:disabled + .switch-slider {
  background-color: rgba(28, 25, 23, 0.08);
  cursor: not-allowed;
}

/* Floating Cookie Settings Trigger Badge */
.cookie-trigger-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--espresso);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  transition: var(--transition-smooth);
}

.cookie-trigger-btn:hover {
  background: var(--amber-glow);
  transform: scale(1.1) rotate(15deg);
}

/* Studio Kit Sidebar Drawer */
.kit-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.kit-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-drawer-close:hover {
  background: rgba(28, 25, 23, 0.1);
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.drawer-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: var(--bg-birch);
  border: 1px solid var(--glass-border);
}

.drawer-item-details {
  flex: 1;
}

.drawer-item-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.drawer-item-specs {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-item-remove:hover {
  color: #ef4444;
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--glass-border);
  background: rgba(248, 250, 249, 0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-summary-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.drawer-empty-state {
  text-align: center;
  color: var(--text-muted);
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Modal Windows (General & Success states) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 25, 23, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  max-width: 500px;
  width: 90%;
  padding: 40px;
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--slate-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.modal-icon.success {
  background: rgba(217, 119, 6, 0.1);
  color: var(--amber-glow);
}

/* Footer layout */
.footer {
  background-color: var(--espresso);
  color: #ffffff;
  padding: 80px 0 40px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.footer-logo-sub {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber-glow);
  margin-top: -3px;
}

.footer-desc {
  color: #a8a29e;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: #a8a29e;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--amber-glow);
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #a8a29e;
  font-size: 0.95rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-item svg {
  color: var(--amber-glow);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: #78716c;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Home Hero Section */
.hero {
  padding: 100px 0 80px 0; /* Slightly tighter hero cushioning to offset the beautiful header */
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-tag {
  align-self: flex-start;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--slate-blue);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 100px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--espresso), var(--amber-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background-color: var(--espresso);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: var(--transition-smooth);
}

.hero-visual-frame:hover .hero-img {
  transform: scale(1.03);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 16px 24px;
}

.badge-overlay-title {
  font-weight: 700;
  font-size: 1rem;
}

.badge-overlay-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Home Section Layouts */
.section {
  padding: 100px 0;
}

.section-alt {
  background-color: rgba(28, 25, 23, 0.02);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 64px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-subtitle {
  color: var(--amber-glow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--slate-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* Bestsellers/Products Preview */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--espresso);
  border-bottom: 1px solid var(--glass-border);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--glass-border);
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-specs {
  display: flex;
  gap: 12px;
}

.spec-badge {
  background-color: rgba(28, 25, 23, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

/* Acoustic Lab Callout section */
.lab-callout-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.lab-callout-illustration {
  position: relative;
}

.lab-screen {
  width: 100%;
  aspect-ratio: 16/10;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lab-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
  padding-bottom: 16px;
}

.lab-indicators {
  display: flex;
  gap: 6px;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(28, 25, 23, 0.15);
}

.indicator-dot.active {
  background-color: var(--amber-glow);
}

.lab-sim-content {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 140px;
  padding: 0 10px;
}

.lab-wave-bar {
  width: 12%;
  background: linear-gradient(180deg, var(--amber-glow) 0%, rgba(217, 119, 6, 0.1) 100%);
  border-radius: 4px;
  animation: heightPulse 2s infinite ease-in-out;
}

.lab-wave-bar:nth-child(2) { height: 75%; animation-delay: 0.3s; background: linear-gradient(180deg, var(--slate-blue) 0%, rgba(2, 132, 199, 0.1) 100%); }
.lab-wave-bar:nth-child(3) { height: 40%; animation-delay: 0.6s; }
.lab-wave-bar:nth-child(4) { height: 90%; animation-delay: 0.1s; }
.lab-wave-bar:nth-child(5) { height: 55%; animation-delay: 0.8s; background: linear-gradient(180deg, var(--slate-blue) 0%, rgba(2, 132, 199, 0.1) 100%); }
.lab-wave-bar:nth-child(6) { height: 25%; animation-delay: 0.4s; }

@keyframes heightPulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* Reviews / Testimonials Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.review-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--amber-glow);
}

.review-text {
  font-style: italic;
  font-size: 1rem;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.review-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--glass-border);
}

.review-user-info {
  display: flex;
  flex-direction: column;
}

.review-user-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-user-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Frequency Reverberation Form (Home page conversion element) */
.audit-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.audit-form-panel {
  padding: 48px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--espresso);
}

.form-input, .form-select, .form-textarea {
  font-family: inherit;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background-color: rgba(255, 255, 255, 0.6);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--slate-blue);
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.1);
}

/* Sound Lab Page Elements */
.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.calculator-card {
  padding: 40px;
}

.calculator-output {
  margin-top: 32px;
  padding: 24px;
  background-color: rgba(2, 132, 199, 0.05);
  border: 1px dashed rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-md);
  text-align: center;
}

.output-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-blue);
  line-height: 1.1;
  margin-top: 8px;
}

/* Product Detail Page Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  margin-top: 40px;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-main-frame {
  aspect-ratio: 4/3;
  background-color: var(--espresso);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  background-color: var(--espresso);
}

.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--amber-glow);
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.gallery-thumb.active .gallery-thumb-img, .gallery-thumb:hover .gallery-thumb-img {
  opacity: 1;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.detail-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-title {
  font-size: 2.25rem;
}

.detail-cert-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cert-badge {
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--slate-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(2, 132, 199, 0.15);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.95rem;
}

.spec-table td:first-child {
  font-weight: 700;
  color: var(--espresso);
  width: 40%;
}

.graph-container {
  padding: 24px;
  border-radius: var(--radius-md);
  background-color: rgba(28, 25, 23, 0.03);
  border: 1px solid var(--glass-border);
}

.graph-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
}

.svg-graph {
  width: 100%;
  height: 120px;
}

.configurator-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.configurator-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.option-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.option-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.option-btn.active, .option-btn:hover {
  border-color: var(--espresso);
  background: var(--espresso);
  color: white;
}

/* Legal & Policy Pages Layout */
.legal-container {
  max-width: 800px;
  margin: 60px auto 120px auto;
  padding: 48px;
}

.legal-header {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 32px;
  margin-bottom: 40px;
}

.legal-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--amber-glow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 20px 0;
}

.legal-content p {
  margin-bottom: 20px;
}

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

/* Responsiveness Settings */
@media (max-width: 1024px) {
  .hero-grid, .lab-callout-grid, .audit-container, .lab-grid, .detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .feature-grid, .product-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px; /* matched to perfect slim header */
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 60px 40px;
    gap: 40px;
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 99;
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-item {
    font-size: 1.5rem;
  }
  
  .feature-grid, .product-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .audit-form-panel {
    padding: 24px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}