/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Tecmax Premium)
   ========================================================================== */


:root {
  /* Color Palette (Industrial Premium) */
  --bg-dark: #0f1013;
  --bg-surface: #17181c;
  --bg-surface-elevated: #202228;
  --primary: #fec70e;
  --primary-hover: #e5b206;
  --primary-glow: rgba(254, 199, 14, 0.15);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-highlight: rgba(254, 199, 14, 0.2);
  
  /* Fonts */
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

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

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

/* ==========================================================================
   UTILITY CLASSES & GRID
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.text-accent {
  color: var(--primary);
  background: linear-gradient(135deg, #fec70e 0%, #ff9d00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: 2px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #000;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(254, 199, 14, 0.3);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.15);
  background-color: transparent;
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(254, 199, 14, 0.05);
  transform: translateY(-3px);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(15, 16, 19, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(15, 16, 19, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -1px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 900;
}

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

@media (min-width: 1200px) {
  .nav-links {
    gap: 1.75rem;
  }
}

/* Dropdown & Mega Menu Styles */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.nav-link i.fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1001;
}

.nav-dropdown.dropdown-wide {
  min-width: 320px;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  list-style: none;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-dropdown a:hover {
  color: var(--primary);
  background-color: rgba(254, 199, 14, 0.08);
  padding-left: 1.5rem;
}

.nav-dropdown a i {
  color: var(--primary);
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

/* Mega Menu */
.nav-item.has-megamenu {
  position: static;
}

.nav-megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 95vw;
  max-width: 1200px;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1001;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.nav-item.has-megamenu:hover .nav-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.megamenu-col h5 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.megamenu-col ul {
  list-style: none;
}

.megamenu-col ul li {
  margin-bottom: 0.4rem;
}

.megamenu-col ul a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  display: block;
  line-height: 1.4;
  padding: 0.2rem 0;
}

.megamenu-col ul a:hover {
  color: #fff;
  transform: translateX(4px);
}

.megamenu-footer-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 1100px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    background-color: var(--bg-surface);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    align-items: flex-start;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-dropdown, .nav-megamenu {
    position: static;
    transform: none !important;
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
    background-color: var(--bg-surface-elevated);
    box-shadow: none;
    padding: 1rem;
    margin-top: 0.5rem;
  }
  .nav-item.open .nav-dropdown,
  .nav-item.open .nav-megamenu {
    display: block;
  }
  .nav-megamenu {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 4rem 0;
  background: radial-gradient(circle at 80% 20%, rgba(254, 199, 14, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(30, 41, 59, 0.2) 0%, transparent 50%);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--bg-dark), transparent);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(254, 199, 14, 0.08);
  border: 1px solid var(--border-highlight);
  color: var(--primary);
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glass card mockup */
.hero-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(135deg, rgba(23, 24, 28, 0.7) 0%, rgba(15, 16, 19, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), #ff9d00);
}

@media (max-width: 1024px) {
  .hero {
    padding: 3.5rem 0 3rem 0;
    min-height: auto;
  }
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0 3rem 0;
    min-height: auto;
  }
  .hero-title {
    font-size: 2.3rem;
    letter-spacing: -1px;
  }
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .hero-card {
    padding: 1.75rem;
  }
}

/* ==========================================================================
   FEATURES / DIFFERENTIATORS
   ========================================================================== */
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(254, 199, 14, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-highlight);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   INTERACTIVE SIZING CALCULATOR
   ========================================================================== */
.calculator-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.calc-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.calc-steps::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--bg-surface-elevated);
  z-index: 1;
  transform: translateY(-50%);
}

.calc-step {
  width: 36px;
  height: 36px;
  background-color: var(--bg-surface-elevated);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.calc-step.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #000;
}

.calc-panel {
  display: none;
}

.calc-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calculator-box { padding: 1.5rem; }
}

.calc-card {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.calc-card:hover, .calc-card.selected {
  border-color: var(--primary);
  background-color: rgba(254, 199, 14, 0.05);
}

.calc-card i {
  font-size: 2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.calc-card.selected i {
  color: var(--primary);
}

.calc-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #08080a;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.4rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  display: inline-block;
  line-height: 1.4;
}

.footer-col ul a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-links-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .footer-links-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 600px) {
  .footer-links-row { grid-template-columns: 1fr; }
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}


/* ==========================================================================
   PRODUCT CATALOG & SPECIFIC VIEWS
   ========================================================================== */
.filter-btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(254, 199, 14, 0.05);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.product-card.hidden-card {
  display: none !important;
}

.product-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.product-specs {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-specs li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
  padding-bottom: 0.25rem;
}

.product-specs li strong {
  color: var(--text-primary);
}

/* ==========================================================================
   TECHNICAL SPECIFICATION SHEETS (Individual Product Page)
   ========================================================================== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.specs-table th, .specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.specs-table th {
  background-color: var(--bg-surface-elevated);
  color: var(--primary);
  font-weight: 700;
}

.specs-table td strong {
  color: var(--text-primary);
}

.specs-section-title {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

/* Sizing Calculator Helper Classes */
.calc-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.calc-card-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  display: block;
}

.calc-card-item i {
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
  font-size: 1.25rem;
}

.calc-card-item span {
  font-size: 0.85rem;
  font-weight: 600;
}

.calc-input-wrapper {
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}

.calc-input-wrapper label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.calc-text-input {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: var(--font-title);
  font-weight: 700;
}

.calc-result-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.calc-result-header p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.calc-result-header h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.calc-result-header span {
  font-size: 1.1rem;
}

.calc-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.calc-spec-indicator {
  background: var(--bg-surface-elevated);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.calc-spec-indicator span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: block;
}

.calc-spec-indicator strong {
  font-size: 1.25rem;
}

/* Extra Banner Layouts */
.section-banner {
  padding-top: 8rem;
  background: linear-gradient(180deg, #17181c 0%, #0f1013 100%);
}

/* ==========================================================================
   PRODUCT SHEET DETAILS (gerador/*.html CSS rules)
   ========================================================================== */
.back-link-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.back-link {
  color: var(--text-secondary);
  font-weight: 500;
}

.back-link:hover {
  color: var(--primary);
}

.banner-flex-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}

.badge-container {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-surface);
  padding: 1.5rem 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.badge-divider {
  width: 1px;
  background-color: var(--border-color);
}

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

.badge-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.badge-value-primary {
  font-size: 2.2rem;
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 900;
  line-height: 1;
}

.badge-value {
  font-size: 2.2rem;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-weight: 900;
  line-height: 1;
}

.product-side-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.side-card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.side-card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.side-card-text:not(:last-child) {
  margin-bottom: 1.5rem;
}

.product-cta-card {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
}

.product-cta-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.product-cta-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.whatsapp-btn {
  width: 100%;
  background-color: #25d366 !important;
  color: #fff !important;
  border-color: transparent !important;
}

.whatsapp-btn:hover {
  background-color: #20ba5a !important;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3) !important;
}

.footer-logo-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1rem;
}

.footer-contact-item {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Security Lock Overlay Styling */
.security-lock-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 16, 19, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999999;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.security-lock-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  padding: 3.5rem;
  border-radius: 16px;
  max-width: 540px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}



/* ==========================================================================
   MIGRATED STYLES & REUSABLE COMPONENT CLASSES
   ========================================================================== */

/* Typography & Colors */
.text-primary-color { color: var(--text-primary); }
.text-secondary-color { color: var(--text-secondary); }
.text-muted-color { color: var(--text-muted); }
.text-accent-solid { color: var(--primary); }
.text-success-whatsapp { color: #25d366; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-900 { font-weight: 900; }
.fs-sm { font-size: 0.85rem; }
.fs-md { font-size: 0.95rem; }
.fs-lg { font-size: 1.15rem; }
.fs-xl { font-size: 1.4rem; }
.fs-2xl { font-size: 1.8rem; }
.fs-3xl { font-size: 2rem; }
.fs-hero-icon { font-size: 10rem; color: rgba(254, 199, 14, 0.08); display: block; margin: 0 auto; }
.lh-17 { line-height: 1.7; }
.lh-18 { line-height: 1.8; }

/* Display & Layout */
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-inline-flex { display: inline-flex; }
.d-flex { display: flex; }
.flex-column { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.w-100 { width: 100%; }
.m-auto { margin: 0 auto; }
.text-decoration-none { text-decoration: none; }

/* Spacings */
.gap-04 { gap: 0.4rem; }
.gap-05 { gap: 0.5rem; }
.gap-075 { gap: 0.75rem; }
.gap-085 { gap: 0.85rem; }
.gap-1 { gap: 1rem; }
.gap-125 { gap: 1.25rem; }
.gap-15 { gap: 1.5rem; }
.gap-2 { gap: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-025 { margin-bottom: 0.25rem; }
.mb-04 { margin-bottom: 0.4rem; }
.mb-05 { margin-bottom: 0.5rem; }
.mb-075 { margin-bottom: 0.75rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-125 { margin-bottom: 1.25rem; }
.mb-15 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-25 { margin-bottom: 2.5rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

.mt-05 { margin-top: 0.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-25 { margin-top: 2.5rem; }
.mt-3 { margin-top: 3rem; }

.p-1 { padding: 1rem; }
.p-125 { padding: 1.25rem; }
.p-15 { padding: 1.5rem; }
.p-2 { padding: 2rem; }
.p-25 { padding: 2.5rem; }
.p-3 { padding: 3rem; }
.p-4 { padding: 4rem; }

.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }

/* Sections & Structural */
.border-top-highlight { border-top: 1px solid var(--border-color); padding-top: 3rem; }
.section-cta { background-color: var(--bg-surface); border-top: 1px solid var(--border-color); }
.section-related { background-color: var(--bg-surface); border-top: 1px solid var(--border-color); padding: 4rem 0; }
.section-bg-surface { background-color: var(--bg-surface); }
.section-heading-2 { font-size: 1.8rem; margin-bottom: 1.25rem; }
.section-heading-3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 0.75rem; }
.section-title-sm { font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; }
.btn-group-center { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Topbar & Header */
.top-bar { background-color: #0b0c0e; border-bottom: 1px solid var(--border-color); padding: 0.5rem 0; font-size: 0.85rem; color: var(--text-muted); }
.top-bar-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.top-bar-left { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.top-bar-right { display: flex; align-items: center; gap: 1rem; }
.top-bar-phone { color: var(--text-primary); font-weight: 600; }
.top-bar-whatsapp { color: #25d366; font-weight: 600; display: inline-flex; align-items: center; gap: 0.35rem; }

/* Breadcrumb */
.breadcrumb-nav { margin-bottom: 1.5rem; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; color: var(--text-muted); }
.breadcrumb-link { color: var(--text-secondary); text-decoration: none; }
.breadcrumb-link:hover { color: var(--primary); }
.breadcrumb-current { color: var(--primary); font-weight: 600; }

/* Segment Template Hero */
.page-hero-segment { padding: 5rem 0 3rem 0; background: linear-gradient(180deg, rgba(23,24,28,0.8) 0%, rgba(15,16,19,1) 100%); }
.segment-hero-badge { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }
.segment-hero-desc { max-width: 750px; margin: 1rem auto 0; color: var(--text-secondary); }

/* Feature lists & Cards */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; color: var(--text-secondary); }
.feature-list-spaced { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; color: var(--text-secondary); font-size: 0.95rem; }
.feature-list-condensed { list-style: none; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.card-elevated { background-color: var(--bg-surface-elevated); padding: 3rem; border-radius: 12px; border: 1px solid var(--border-color); }
.card-elevated-p2 { background-color: var(--bg-surface-elevated); padding: 2rem; border-radius: 12px; border: 1px solid var(--border-color); }
.card-elevated-p25 { background-color: var(--bg-surface-elevated); padding: 2.5rem; border-radius: 12px; border: 1px solid var(--border-color); }
.card-model { background-color: var(--bg-surface-elevated); padding: 2rem; border-radius: 10px; border: 1px solid var(--border-color); text-align: center; }
.card-model.card-featured { border-color: var(--border-highlight); }
.card-model-badge { color: var(--text-muted); font-size: 0.85rem; }
.card-model-badge-featured { color: var(--primary); font-size: 0.85rem; font-weight: 600; }
.card-model-title { color: var(--primary); font-size: 1.5rem; margin: 0.5rem 0; }
.card-model-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Related Models (Gerador Crosslink) */
.grid-related-models { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.card-related-model { display: block; background-color: var(--bg-surface-elevated); padding: 1.5rem; border-radius: 10px; border: 1px solid var(--border-color); text-align: center; text-decoration: none; transition: var(--transition-smooth); }
.card-related-model:hover { border-color: var(--primary); transform: translateY(-3px); }
.card-related-badge { color: var(--text-muted); font-size: 0.85rem; display: block; margin-bottom: 0.25rem; }
.card-related-title { color: var(--primary); font-size: 1.15rem; }
.card-related-cta { display: block; color: var(--text-secondary); font-size: 0.85rem; margin-top: 0.5rem; }

/* Segment Overview Cards (segmentos.php) */
.segment-overview-card { background-color: var(--bg-surface-elevated); padding: 2.5rem; border-radius: 12px; border: 1px solid var(--border-color); display: flex; flex-direction: column; justify-content: space-between; transition: var(--transition-smooth); }
.segment-overview-card:hover { border-color: var(--border-highlight); transform: translateY(-4px); }
.segment-icon-box { width: 50px; height: 50px; background: rgba(254,199,14,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.segment-icon-box-lg { width: 55px; height: 55px; background: rgba(254,199,14,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.segment-icon { font-size: 1.5rem; }
.segment-card-title { font-size: 1.35rem; margin-bottom: 0.75rem; }

/* Contact Form Components (contato.php) */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; }
@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.form-control { width: 100%; padding: 0.85rem 1rem; background-color: var(--bg-surface-elevated); border: 1px solid var(--border-color); color: #fff; border-radius: 8px; font-family: var(--font-body); font-size: 1rem; transition: var(--transition-smooth); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 10px var(--primary-glow); }
.contact-card-box { background-color: var(--bg-surface); border: 1px solid var(--border-color); padding: 3rem; border-radius: 12px; }
.contact-phone-primary { color: var(--primary); font-weight: 700; font-size: 1.5rem; margin-bottom: 2rem; display: block; }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }

/* Footer components */
.footer-logo-link { margin-bottom: 1.25rem; display: inline-flex; }
.footer-brand-text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; line-height: 1.6; }
.footer-badge-box { background-color: var(--bg-surface-elevated); padding: 1.25rem; border-radius: 8px; border: 1px solid var(--border-color); margin-top: 1rem; }
.footer-badge-title { color: var(--text-primary); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.footer-badge-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0; }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.85rem; font-size: 0.95rem; }
.footer-phone-link { color: var(--primary); font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-phone-sub { font-size: 0.8rem; color: var(--text-muted); display: block; }
.footer-whatsapp-link { color: #25d366; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.footer-contact-row { color: var(--text-secondary); display: flex; align-items: center; gap: 0.5rem; }
.footer-credit-link { color: var(--primary); font-weight: 600; text-decoration: underline; }
.footer-btn-container { margin-top: 1.5rem; }
.footer-calc-btn { width: 100%; text-align: center; padding: 0.75rem 1rem; font-size: 0.9rem; }

/* General Tables */
.table-responsive-box { overflow-x: auto; background-color: var(--bg-surface-elevated); border-radius: 12px; border: 1px solid var(--border-color); padding: 1.5rem; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; }
.data-table th, .data-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border-color); }
.data-table th { color: var(--primary); border-bottom: 2px solid var(--border-color); }
.data-table td strong { color: var(--text-primary); }


/* ==========================================================================
   MAINTENANCE PAGES & FAQ STYLES
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.faq-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.faq-header h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

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

.faq-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  transition: var(--transition-smooth);
}

.faq-item[open] {
  border-color: var(--border-highlight);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.faq-question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  user-select: text;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer p {
  margin-bottom: 0.85rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Maintenance Page Structural Components */
.maintenance-page {
  width: 100%;
}

.maintenance-hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(23, 24, 28, 0.95) 0%, rgba(15, 16, 19, 1) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.maintenance-hero h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
  font-family: var(--font-title);
  color: var(--text-primary);
}

.maintenance-hero-lead {
  max-width: 820px;
  margin: 0 auto 1.5rem;
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
}

.maintenance-hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.maintenance-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.maintenance-hero-meta i {
  color: var(--primary);
}

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

.maintenance-content-section {
  padding: 4rem 0;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .maintenance-grid {
    grid-template-columns: 1fr;
  }
}

.maintenance-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.maintenance-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
}

.maintenance-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.maintenance-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.maintenance-card p:last-child {
  margin-bottom: 0;
}

.maintenance-tag {
  display: inline-block;
  background: rgba(254, 199, 14, 0.1);
  color: var(--primary);
  border: 1px solid var(--border-highlight);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.maintenance-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(254, 199, 14, 0.1);
  color: var(--primary);
  border: 1px solid var(--border-highlight);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.maintenance-specs-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
}

.maintenance-specs-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.maintenance-specs-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.maintenance-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.maintenance-step-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.step-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: linear-gradient(135deg, #fec70e 0%, #ff9d00 100%);
  color: #000;
  font-weight: 900;
  font-size: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

.step-content h4, .step-content h5, .step-content h6 {
  margin: 0 0 0.35rem 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.step-content h4 a, .step-content h5 a, .step-content h6 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.step-content h4 a:hover, .step-content h5 a:hover, .step-content h6 a:hover {
  color: var(--primary);
}

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

.maintenance-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.maintenance-sidebar-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
}

.maintenance-sidebar-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.maintenance-sidebar-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.maintenance-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.maintenance-sidebar-links li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.maintenance-sidebar-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.maintenance-sidebar-links li a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.sidebar-cta {
  background: linear-gradient(180deg, rgba(254, 199, 14, 0.08) 0%, rgba(23, 24, 28, 0.9) 100%);
  border-color: var(--border-highlight);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 0.75rem;
}

.btn-block:last-child {
  margin-bottom: 0;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
  font-weight: 700;
  border: 1px solid #20ba5a;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  color: #fff;
}

.maintenance-cta-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-surface) 0%, #0b0c0e 100%);
  border-top: 1px solid var(--border-color);
}

.maintenance-cta-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.maintenance-cta-box h2 {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.maintenance-cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

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

.step-number-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #fec70e 0%, #ff9d00 100%);
  color: #000;
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.content-rich-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.content-rich-text p {
  margin-bottom: 1.5rem;
}

.content-rich-text h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

.content-rich-text h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.content-rich-text h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-rich-text h5 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-rich-text h6 {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & INTERACTIVE LEAD MODAL
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  z-index: 9999;
  border: none;
  outline: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}

.whatsapp-float-btn i {
  color: #ffffff;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-highlight);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.whatsapp-float-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--bg-surface-elevated);
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* MODAL OVERLAY & DIALOG */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 9, 11, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-header-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.modal-header-text h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  font-family: var(--font-title);
}

.modal-header-text p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}

.modal-close-btn:hover {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
}

.modal-body {
  padding: 1.75rem;
}

.modal-form-group {
  margin-bottom: 1.25rem;
}

.modal-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.modal-form-group .required-asterisk {
  color: #ff4d4f;
  margin-left: 2px;
}

.modal-input,
.modal-select,
.modal-textarea {
  width: 100%;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-input:focus,
.modal-select:focus,
.modal-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.modal-select {
  cursor: pointer;
}

.modal-select option {
  background-color: #17181c;
  color: #ffffff;
}

.modal-textarea {
  resize: vertical;
  min-height: 85px;
}

.modal-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  color: #ffffff;
  border: none;
  padding: 0.95rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  font-family: var(--font-title);
  margin-top: 0.5rem;
}

.modal-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.modal-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.modal-privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

@media (max-width: 576px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
  
  .whatsapp-float-tooltip {
    display: none;
  }

  .modal-dialog {
    margin: 0;
    max-height: 95vh;
  }

  .modal-body {
    padding: 1.25rem;
  }
}
