/* ========================================
   XPRO POOL Solar Pool Lighting
   Professional Website - Clean European Design
   ======================================== */

/* CSS Custom Properties - NEW CLEAN DESIGN */
:root {
  /* Colors - Professional European Theme */
  --color-white: #ffffff;
  --color-light: #f5f5f7;
  --color-light-grey: #f0f0f2;
  --color-medium-grey: #e5e5ea;
  --color-dark-grey: #1d1d1f;
  --color-charcoal: #2c2c2e;
  --color-text: #3d3d3f;
  --color-text-muted: #86868b;

  /* XPRO Brand Colors */
  --color-xpro-blue: #0066cc;
  --color-xpro-blue-hover: #0052a3;
  --color-xpro-cyan: #00a3e0;
  --color-xpro-dark: #0a1628;

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-width: 1280px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-dark-grey);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.btn-primary:hover {
  background: var(--color-xpro-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-dark-grey);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-medium-grey);
  transition: var(--transition-normal);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  display: none;
}

/* Navigation Desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-xpro-blue);
  transition: var(--transition-fast);
}

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

.nav-link:hover {
  color: var(--color-xpro-blue);
}

/* Header Right - Language + CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-medium-grey);
  border-radius: 6px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-dropdown-btn:hover {
  border-color: var(--color-xpro-blue);
}

.lang-dropdown-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--color-text-muted);
  transition: var(--transition-fast);
}

.lang-dropdown.open .lang-dropdown-btn svg {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--color-white);
  border: 1px solid var(--color-medium-grey);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition-fast);
  z-index: 100;
}

.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--color-text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.lang-dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

.lang-dropdown-item:hover {
  background: var(--color-light);
}

.lang-dropdown-item.active {
  background: rgba(0, 102, 204, 0.08);
  color: var(--color-xpro-blue);
}

.lang-flag {
  font-size: 1.1rem;
}

/* Mobile Menu Button - Properly positioned */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark-grey);
  transition: var(--transition-fast);
}

/* Header Right - Wraps nav and mobile button */
.header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Mobile button positioning - 24px from right viewport edge */
@media (max-width: 992px) {
  .header-right {
    margin-right: -16px; /* Offset to account for container padding */
  }

  .mobile-menu-btn {
    margin-right: 24px; /* 24px from viewport right edge */
  }
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: 24px;
  border-top: 1px solid var(--color-medium-grey);
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 73px);
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  padding: 14px 0;
  font-size: 1rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-light-grey);
}

.mobile-lang-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-medium-grey);
}

.mobile-lang-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.mobile-lang-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-medium-grey);
  border-radius: 6px;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-lang-btn:hover {
  border-color: var(--color-xpro-blue);
}

.mobile-lang-btn.active {
  background: var(--color-xpro-blue);
  color: var(--color-white);
  border-color: var(--color-xpro-blue);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark-grey);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.7) 50%,
    rgba(10, 22, 40, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 140px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--color-xpro-cyan);
}

.hero-title {
  color: var(--color-white);
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-white);
  margin-bottom: 24px;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-feature svg {
  width: 16px;
  height: 16px;
  fill: var(--color-xpro-cyan);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   SECTIONS - COMMON
   ======================================== */
.section {
  padding: var(--section-padding) 0;
}

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

.section-light {
  background: var(--color-light);
}

.section-grey {
  background: var(--color-light-grey);
}

.section-dark {
  background: var(--color-dark-grey);
  color: var(--color-white);
}

.section-dark > .container h2,
.section-dark > .container h3,
.section-dark > .container p:not(.benefit-text):not(.step-text) {
  color: var(--color-white);
}

/* Override for benefit cards in dark sections */
.section-dark .benefit-title,
.section-dark .benefit-text,
.section-dark .step-title,
.section-dark .step-text {
  color: var(--color-dark-grey);
}

.section-dark .benefit-card {
  background: var(--color-white);
  color: var(--color-text);
}

.section-dark .step-card {
  background: var(--color-white);
  color: var(--color-text);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 20px;
  color: var(--color-xpro-blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* ========================================
   PRODUCT ADVANTAGES - CLEAN ICON ROW
   ======================================== */
.advantages-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-medium-grey);
  margin-bottom: 60px;
}

.advantage-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-dark-grey);
  font-size: 0.95rem;
  font-weight: 600;
}

.advantage-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-xpro-blue);
}

/* ========================================
   BENEFITS GRID
   ======================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.benefit-card {
  padding: 32px;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-medium-grey);
  transition: var(--transition-normal);
}

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

.benefit-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-xpro-blue);
}

.benefit-title {
  color: var(--color-dark-grey);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.benefit-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--color-medium-grey);
  z-index: 0;
}

.step-card {
  position: relative;
  text-align: center;
  padding: 32px 20px;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-medium-grey);
  z-index: 1;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--color-xpro-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-white);
  font-size: 0.9rem;
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-xpro-blue);
}

.step-title {
  color: var(--color-dark-grey);
  font-size: 1rem;
  margin-bottom: 12px;
}

.step-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   INSTALLATION SECTION
   ======================================== */
.installation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.installation-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-light-grey);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.installation-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}

.installation-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  width: 100%;
  height: 100%;
}

.installation-placeholder svg {
  width: 64px;
  height: 64px;
  fill: var(--color-xpro-blue);
  margin-bottom: 20px;
  opacity: 0.5;
}

.installation-placeholder p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.installation-info h2 {
  margin-bottom: 24px;
}

.installation-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.installation-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--color-white);
  border-radius: 10px;
  border: 1px solid var(--color-medium-grey);
}

.installation-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.installation-item-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-xpro-blue);
}

.installation-item h4 {
  color: var(--color-dark-grey);
  margin-bottom: 4px;
  font-size: 1rem;
}

.installation-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   WHY SOLAR SECTION
   ======================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.comparison-card {
  padding: 40px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.comparison-card.conventional {
  background: var(--color-white);
  border: 1px solid var(--color-medium-grey);
}

.comparison-card.solar {
  background: var(--color-white);
  border: 2px solid var(--color-xpro-blue);
}

.comparison-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-card.conventional .comparison-badge {
  background: var(--color-light);
  color: var(--color-text-muted);
}

.comparison-card.solar .comparison-badge {
  background: var(--color-xpro-blue);
  color: var(--color-white);
}

.comparison-title {
  color: var(--color-dark-grey);
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-size: 0.95rem;
}

.comparison-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.comparison-card.conventional .comparison-item svg {
  fill: #dc3545;
}

.comparison-card.solar .comparison-item svg {
  fill: var(--color-xpro-blue);
}

/* ========================================
   QUALITY SECTION
   ======================================== */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.quality-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-medium-grey);
  transition: var(--transition-normal);
}

.quality-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-xpro-blue);
  box-shadow: var(--shadow-sm);
}

.quality-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quality-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-xpro-blue);
}

.quality-title {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.quality-value {
  color: var(--color-dark-grey);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ========================================
   APPLICATIONS SECTION
   ======================================== */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.application-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-light-grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.application-card:hover {
  transform: scale(1.02);
}

.application-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.application-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-xpro-blue);
}

.application-name {
  color: var(--color-dark-grey);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ========================================
   SPECIFICATIONS TABLE
   ======================================== */
.specs-container {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-medium-grey);
}

.specs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.specs-row:nth-child(odd) {
  background: var(--color-light);
}

.specs-label,
.specs-value {
  padding: 16px 24px;
}

.specs-label {
  font-weight: 600;
  color: var(--color-dark-grey);
  border-right: 1px solid var(--color-medium-grey);
}

.specs-value {
  color: var(--color-text);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--color-medium-grey);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--color-dark-grey);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--color-light);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.faq-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--color-xpro-blue);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--color-text);
  line-height: 1.7;
}

/* ========================================
   B2B / PROFESSIONALS SECTION
   ======================================== */
.b2b-section {
  background: var(--color-dark-grey);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
}

.b2b-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 32px;
  background: rgba(0, 102, 204, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2b-icon svg {
  width: 44px;
  height: 44px;
  fill: var(--color-xpro-cyan);
}

.b2b-title {
  color: var(--color-white);
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.b2b-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.b2b-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.b2b-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.b2b-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-xpro-cyan);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: var(--color-xpro-blue);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  color: var(--color-white);
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-btn {
  background: var(--color-dark-grey);
  color: var(--color-white);
  padding: 18px 40px;
  font-size: 1rem;
}

.cta-btn:hover {
  background: var(--color-charcoal);
  transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-dark-grey);
  padding: 60px 0 40px;
}

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

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

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

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-heading {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-link:hover {
  color: var(--color-xpro-cyan);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-xpro-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: var(--color-xpro-cyan);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .quality-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  :root {
    --section-padding: 80px;
  }

  .installation-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .hero-content {
    padding: 120px 20px 60px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-features {
    flex-direction: column;
    gap: 12px;
  }

  .advantages-row {
    gap: 24px;
  }

  .advantage-item {
    font-size: 0.85rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specs-row {
    grid-template-columns: 1fr;
  }

  .specs-label {
    border-right: none;
    border-bottom: 1px solid var(--color-medium-grey);
    background: var(--color-light);
  }

  .b2b-section {
    padding: 40px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ========================================
   TWO MOUNTING SYSTEMS SECTION
   ======================================== */
.mounting-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.mounting-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-medium-grey);
  transition: var(--transition-normal);
}

.mounting-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mounting-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mounting-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}

.mounting-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.mounting-card-image img:not([src=""]) + .mounting-card-placeholder {
  display: none;
}

.mounting-icon {
  width: 64px;
  height: 64px;
  fill: var(--color-white);
  opacity: 0.9;
}

.mounting-card-content {
  padding: 28px;
}

.mounting-card-title {
  font-size: 1.15rem;
  color: var(--color-dark-grey);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.mounting-card-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.mounting-card-list {
  list-style: none;
}

.mounting-card-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.mounting-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-xpro-blue);
  border-radius: 50%;
}

.mounting-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(0, 102, 204, 0.05);
  border-radius: 12px;
  margin-top: 40px;
  border-left: 4px solid var(--color-xpro-blue);
}

.mounting-note svg {
  width: 24px;
  height: 24px;
  fill: var(--color-xpro-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.mounting-note p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   INSTALLATION TABS
   ======================================== */
.installation-tabs {
  margin-top: 48px;
}

.tab-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--color-white);
  border: 2px solid var(--color-medium-grey);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-normal);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.tab-btn:hover {
  border-color: var(--color-xpro-blue);
  background: rgba(0, 102, 204, 0.03);
}

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

.tab-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.installation-steps {
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--color-medium-grey);
}

.installation-steps h3 {
  font-size: 1.3rem;
  color: var(--color-dark-grey);
  margin-bottom: 8px;
}

.installation-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-item {
  display: flex;
  gap: 20px;
}

.step-item .step-number {
  position: static;
  transform: none;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--color-xpro-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-white);
  font-size: 0.95rem;
}

.step-content h4 {
  font-size: 1rem;
  color: var(--color-dark-grey);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

.waterline-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(0, 163, 224, 0.08);
  border-radius: 12px;
  margin-top: 32px;
  border-left: 4px solid var(--color-xpro-cyan);
}

.waterline-note svg {
  width: 24px;
  height: 24px;
  fill: var(--color-xpro-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.waterline-note h4 {
  font-size: 1rem;
  color: var(--color-dark-grey);
  margin-bottom: 8px;
}

.waterline-note p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   PROFESSIONAL SECTION UPDATE
   ======================================== */
.professional-section {
  text-align: center;
  padding: 48px 32px;
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid var(--color-medium-grey);
}

.professional-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.professional-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--color-xpro-blue);
}

.professional-title {
  font-size: 1.5rem;
  color: var(--color-dark-grey);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.professional-text {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 24px;
}

.professional-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.professional-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.professional-feature svg {
  width: 20px;
  height: 20px;
  fill: var(--color-xpro-blue);
}

.professional-contact {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   RESPONSIVE UPDATES
   ======================================== */
@media (max-width: 992px) {
  .mounting-cards {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .professional-features {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .mounting-card-content {
    padding: 20px;
  }

  .installation-steps {
    padding: 24px;
  }

  .professional-section {
    padding: 32px 20px;
  }
}

/* ========================================
   PROFESSIONAL SECTION (B2B)
   ======================================== */
.professional-section {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid var(--color-medium-grey);
  box-shadow: var(--shadow-sm);
}

.professional-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.professional-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--color-xpro-blue);
}

.professional-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--color-dark-grey);
}

.professional-text {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 16px;
}

.professional-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  text-align: left;
  margin: 24px auto;
  max-width: 400px;
}

.professional-list li {
  color: var(--color-text);
  font-size: 0.95rem;
  padding-left: 24px;
  position: relative;
}

.professional-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-xpro-blue);
  border-radius: 50%;
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */
.contact-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 16px;
  padding: 48px;
  border: 1px solid var(--color-medium-grey);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark-grey);
  margin-bottom: 8px;
}

.form-group .required {
  color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--color-medium-grey);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-xpro-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-xpro-blue);
}

.file-upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-upload-wrapper input[type="file"] {
  padding: 12px;
  border: 1px dashed var(--color-medium-grey);
  border-radius: 8px;
  background: var(--color-light);
}

.file-upload-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.btn-submit {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 16px;
  cursor: pointer;
  border: none;
  width: 100%;
}

/* Form Confirmation */
.form-confirmation {
  text-align: center;
  padding: 60px 40px;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-xpro-blue);
}

.form-confirmation h3 {
  font-size: 1.5rem;
  color: var(--color-dark-grey);
  margin-bottom: 16px;
}

.form-confirmation p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Contact Info Below Form */
.contact-info {
  max-width: 800px;
  margin: 48px auto 0;
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--color-medium-grey);
}

.contact-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-xpro-blue);
}

.contact-info-item strong {
  color: var(--color-dark-grey);
}

.contact-info-item span {
  color: var(--color-text);
}

.contact-tagline {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  font-style: italic;
}

/* ========================================
   RESPONSIVE - CONTACT FORM
   ======================================== */
@media (max-width: 768px) {
  .professional-section {
    padding: 40px 24px;
  }

  .professional-title {
    font-size: 1.25rem;
  }

  .professional-list {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   BENEFITS GRID - MISSING STYLES
   ======================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-medium-grey);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-xpro-blue);
  border-radius: 50%;
  padding: 16px;
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-white);
  stroke: var(--color-white);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark-grey);
  margin-bottom: 12px;
}

.benefit-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* ========================================
   ADVANTAGES ROW
   ======================================== */
.advantages-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
  padding: 24px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.advantage-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.advantage-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-xpro-blue);
  border-radius: 50%;
  padding: 12px;
}

.advantage-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-white);
  stroke: var(--color-white);
}

.advantage-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark-grey);
}

/* ========================================
   STEPS GRID
   ======================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-medium-grey);
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--color-xpro-blue);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-grey);
  border-radius: 50%;
  padding: 16px;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-xpro-blue);
  fill: none;
  stroke-width: 2;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark-grey);
  margin-bottom: 12px;
}

.step-text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* ========================================
   INSTALLATION SECTION
   ======================================== */
.installation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.installation-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-light-grey);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.installation-placeholder {
  text-align: center;
  padding: 40px;
}

.installation-placeholder svg {
  width: 80px;
  height: 80px;
  stroke: var(--color-text-muted);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 20px;
}

.installation-placeholder p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.installation-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.installation-info p {
  color: var(--color-text);
  margin-bottom: 32px;
  line-height: 1.7;
}

.installation-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.installation-item {
  display: flex;
  gap: 16px;
}

.installation-item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-xpro-blue);
  border-radius: 12px;
  padding: 12px;
}

.installation-item-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2;
}

.installation-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark-grey);
  margin-bottom: 6px;
}

.installation-item p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ========================================
   WHY SOLAR SECTION
   ======================================== */
.why-solar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-solar-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-medium-grey);
  box-shadow: var(--shadow-sm);
}

.why-solar-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-grey);
  border-radius: 12px;
  padding: 12px;
}

.why-solar-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-xpro-blue);
  fill: none;
  stroke-width: 2;
}

.why-solar-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark-grey);
  margin-bottom: 8px;
}

.why-solar-item p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

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

.faq-item {
  background: var(--color-white);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-medium-grey);
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark-grey);
  font-family: inherit;
}

.faq-question:hover {
  background: var(--color-light-grey);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.faq-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-xpro-blue);
  fill: none;
  stroke-width: 2;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

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

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

.faq-answer-content {
  padding: 0 24px 24px;
  color: var(--color-text);
  line-height: 1.7;
}

/* ========================================
   SPECIFICATIONS SECTION
   ======================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.specs-category {
  background: var(--color-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-medium-grey);
}

.specs-category h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark-grey);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-xpro-blue);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-light-grey);
}

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

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

.spec-value {
  color: var(--color-dark-grey);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE - ALL SECTIONS
   ======================================== */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .installation-content {
    grid-template-columns: 1fr;
  }
  .why-solar-grid {
    grid-template-columns: 1fr;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .advantages-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .advantage-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ========================================
   HERO VIDEO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0a1628 100%);
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Hide video on mobile - prevents 13.2s LCP */
@media (max-width: 768px) {
  .hero-video-container {
    display: none;
  }
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100vh;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.7) 0%,
    rgba(10, 22, 40, 0.5) 50%,
    rgba(10, 22, 40, 0.8) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 20px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(0, 212, 170, 0.15);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 50px;
  color: var(--color-xpro-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title span {
  color: var(--color-xpro-cyan);
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  stroke: currentColor;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ========================================
   Full Width Marketing Images
   ======================================== */

.marketing-image-full {
  margin-top: 48px;
  margin-bottom: 24px;
  width: 100%;
  text-align: center;
}

.full-width-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  object-fit: contain;
}

/* Responsive adjustments for marketing images */
@media (max-width: 1024px) {
  .full-width-image {
    max-width: 100%;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .marketing-image-full {
    margin-top: 32px;
    margin-bottom: 16px;
  }

  .full-width-image {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  }
}

@media (max-width: 480px) {
  .marketing-image-full {
    margin-top: 24px;
    margin-bottom: 12px;
    margin-left: -16px;
    margin-right: -16px;
  }

  .full-width-image {
    width: calc(100% + 32px);
    max-width: calc(100% + 32px);
    border-radius: 0;
    box-shadow: none;
  }
}

/* ========================================
   FIXED CTA CARD - VISIBILITY ISSUES
   ======================================== */

/* CTA Card Container - White background, proper spacing */
.cta-card-fixed {
  background: var(--color-white);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-medium-grey);
}

/* CTA Icon - XPRO blue background, white icon */
.cta-icon-fixed {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--color-xpro-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon-fixed svg {
  width: 36px;
  height: 36px;
  fill: var(--color-white);
}

/* CTA Title - Dark navy, clearly visible */
.cta-title-fixed {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0B1F33 !important;
  margin-bottom: 16px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* CTA Subtitle - Dark grey, clearly visible */
.cta-subtitle-fixed {
  font-size: 1.1rem;
  color: #4B5563 !important;
  margin-bottom: 32px;
  font-weight: 500;
}

/* CTA Benefits - Horizontal on desktop, vertical on mobile */
.cta-benefits-fixed {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-bottom: 32px;
}

.cta-benefits-fixed .professional-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0B1F33;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
}

.cta-benefits-fixed .professional-feature svg {
  width: 20px;
  height: 20px;
  fill: var(--color-xpro-blue);
  flex-shrink: 0;
}

/* CTA Text - Dark grey, readable */
.cta-text-fixed {
  font-size: 0.95rem;
  color: #4B5563 !important;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* CTA Button - Already has btn-primary styling, but ensure visibility */
.cta-card-fixed .btn-primary {
  padding: 16px 40px;
  font-size: 0.95rem;
  background: var(--color-xpro-blue);
  color: var(--color-white);
  border-radius: 8px;
}

.cta-card-fixed .btn-primary:hover {
  background: var(--color-xpro-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

/* Mobile responsive for CTA card */
@media (max-width: 768px) {
  .cta-card-fixed {
    padding: 32px 24px;
  }

  .cta-title-fixed {
    font-size: 1.4rem;
  }

  .cta-subtitle-fixed {
    font-size: 1rem;
  }

  .cta-benefits-fixed {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .cta-benefits-fixed .professional-feature {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .cta-text-fixed {
    font-size: 0.9rem;
  }
}

/* ========================================
   VIDEO AUTOPLAY FIX
   ======================================== */

/* Ensure video loads immediately and fills container */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100vh;
  background-color: var(--color-xpro-dark);
}

/* Poster image fallback - ensure it shows while video loads */
.hero-video::-webkit-media-poster,
.hero-video::-moz-media-poster {
  background-size: cover;
  background-position: center;
}

/* ========================================
   SECTION DARK - ENSURE PROPER CONTRAST
   ======================================== */

/* Ensure text is clearly visible on dark backgrounds */
.section-dark {
  background: var(--color-dark-grey);
  color: var(--color-white);
}

/* Force white text on dark background sections */
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p:not(.benefit-text):not(.step-text):not(.professional-feature span):not(.cta-text-fixed) {
  color: var(--color-white);
}

/* Professional section in dark section - override to white card */
.section-dark .professional-section {
  background: var(--color-white);
  border: 1px solid var(--color-medium-grey);
}

.section-dark .professional-section h2,
.section-dark .professional-section p {
  color: var(--color-text);
}

.section-dark .professional-section .professional-feature span {
  color: var(--color-dark-grey);
}

/* ========================================
   SECTION WHITE - ENSURE PROPER TEXT
   ======================================== */

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

.section-white p {
  color: var(--color-text);
}

/* ========================================
   FORM INPUTS - ENSURE VISIBILITY
   ======================================== */

.form-group input,
.form-group select,
.form-group textarea {
  color: var(--color-text) !important;
  background: var(--color-white) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted) !important;
}

/* ========================================
   MOBILE MENU - ENSURE VISIBILITY
   ======================================== */

.mobile-nav-link {
  color: var(--color-dark-grey) !important;
}

.mobile-nav-link:hover {
  color: var(--color-xpro-blue) !important;
}

/* ========================================
   LANGUAGE DROPDOWN - ENSURE VISIBILITY
   ======================================== */

.lang-dropdown-item {
  color: var(--color-text) !important;
}

.lang-dropdown-item:hover {
  background: var(--color-light);
}

.lang-dropdown-item.active {
  color: var(--color-xpro-blue) !important;
}

/* ========================================
   FAQ QUESTIONS - ENSURE VISIBILITY
   ======================================== */

.faq-question {
  color: var(--color-dark-grey) !important;
}

.faq-answer-content {
  color: var(--color-text) !important;
}

/* ========================================
   FOOTER - ENSURE VISIBILITY
   ======================================== */

.footer {
  background: var(--color-dark-grey);
}

.footer h3,
.footer h4 {
  color: var(--color-white) !important;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.footer a:hover {
  color: var(--color-xpro-cyan) !important;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* ========================================
   SPECIFICATIONS TABLE - ENSURE VISIBILITY
   ======================================== */

.specs-label {
  color: var(--color-dark-grey) !important;
}

.specs-value {
  color: var(--color-text) !important;
}

/* ========================================
   QUALITY GRID - ENSURE VISIBILITY
   ======================================== */

.quality-title {
  color: var(--color-text-muted) !important;
}

.quality-value {
  color: var(--color-dark-grey) !important;
}

/* ========================================
   COMPARISON CARDS - ENSURE VISIBILITY
   ======================================== */

.comparison-title {
  color: var(--color-dark-grey) !important;
}

.comparison-item {
  color: var(--color-text) !important;
}

/* ========================================
   INSTALLATION ITEMS - ENSURE VISIBILITY
   ======================================== */

.installation-item h4 {
  color: var(--color-dark-grey) !important;
}

.installation-item p {
  color: var(--color-text) !important;
}

/* ========================================
   STEP CONTENT - ENSURE VISIBILITY
   ======================================== */

.step-content h4 {
  color: var(--color-dark-grey) !important;
}

.step-content p {
  color: var(--color-text) !important;
}

/* ========================================
   MOUNTING CARD - ENSURE VISIBILITY
   ======================================== */

.mounting-card-title {
  color: var(--color-dark-grey) !important;
}

.mounting-card-subtitle {
  color: var(--color-text-muted) !important;
}

.mounting-card-list li {
  color: var(--color-text) !important;
}

/* ========================================
   B2B SECTION - ENSURE VISIBILITY
   ======================================== */

.b2b-title {
  color: var(--color-white) !important;
}

.b2b-text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.b2b-contact-item {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ========================================
   HERO SECTION - ENSURE VISIBILITY
   ======================================== */

.hero-title {
  color: var(--color-white) !important;
}

.hero-description {
  color: rgba(255, 255, 255, 0.9) !important;
}

.hero-badge {
  color: var(--color-xpro-cyan) !important;
}

.hero-scroll {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ========================================
   ADVANTAGE ITEMS - ENSURE VISIBILITY
   ======================================== */

.advantage-item span {
  color: var(--color-dark-grey) !important;
}

/* ========================================
   APPLICATION CARDS - ENSURE VISIBILITY
   ======================================== */

.application-name {
  color: var(--color-dark-grey) !important;
}

/* ========================================
   SECTION LABEL - ENSURE VISIBILITY
   ======================================== */

.section-label {
  color: var(--color-xpro-blue) !important;
  background: rgba(0, 102, 204, 0.08);
}

/* ========================================
   SECTION SUBTITLE - ENSURE VISIBILITY
   ======================================== */

.section-subtitle {
  color: var(--color-text-muted) !important;
}

/* ========================================
   NAVIGATION - ENSURE VISIBILITY
   ======================================== */

.nav-link {
  color: var(--color-text) !important;
}

.nav-link:hover {
  color: var(--color-xpro-blue) !important;
}

/* ========================================
   WATERLINE NOTE - ENSURE VISIBILITY
   ======================================== */

.waterline-note h4 {
  color: var(--color-dark-grey) !important;
}

.waterline-note p {
  color: var(--color-text) !important;
}

/* ========================================
   MOUNTING NOTE - ENSURE VISIBILITY
   ======================================== */

.mounting-note p {
  color: var(--color-text) !important;
}
