/* ==========================================================================
   SUPERBRICKS MULTI - PRODUCTION DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES & THEME SETUP
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette (Dark Theme Default) */
  --bg-main: #0B0D14;
  --bg-surface: #131622;
  --bg-surface-elevated: #1C2030;
  --bg-card: rgba(24, 28, 43, 0.75);
  
  --primary-terracotta: #ba0200;
  --primary-hover: #d90300;
  --primary-glow: rgba(186, 2, 0, 0.45);
  
  --accent-gold: #ff8c02;
  --accent-blue: #3B82F6;
  --accent-green: #10B981;

  --text-white: #FFFFFF;
  --text-heading: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 140, 2, 0.45);

  --glass-bg: rgba(19, 22, 34, 0.75);
  --glass-blur: blur(16px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(255, 140, 2, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-main: #F4F6FB;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #E2E8F0;
  --bg-card: rgba(255, 255, 255, 0.95);
  
  --primary-terracotta: #ba0200;
  --primary-hover: #960200;
  --primary-glow: rgba(186, 2, 0, 0.25);
  
  --accent-gold: #ff8c02;
  --accent-blue: #2563EB;
  --accent-green: #059669;

  --text-white: #0F172A;
  --text-heading: #1E293B;
  --text-muted: #475569;
  --text-dim: #64748B;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-bright: rgba(186, 2, 0, 0.35);

  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-blur: blur(16px);
  --glass-border: 1px solid rgba(0, 0, 0, 0.08);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-muted);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & UTILITIES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(255, 140, 2, 0.12);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

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

/* --------------------------------------------------------------------------
   4. BUTTONS, BADGES & LANGUAGE SELECTOR
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #ba0200 0%, #8a0100 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(186, 2, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(186, 2, 0, 0.55);
  background: linear-gradient(135deg, #d90300 0%, #ba0200 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 140, 2, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #ff8c02 0%, #d67200 100%);
  color: #FFF;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(255, 140, 2, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 140, 2, 0.55);
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-terracotta {
  background: rgba(255, 140, 2, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 140, 2, 0.35);
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Language Dropdown Selector */
.lang-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select {
  padding: 0.4rem 1rem 0.4rem 2.2rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);

}

.lang-select:hover, .lang-select:focus {
  border-color: var(--primary-terracotta);
  background: rgba(255, 255, 255, 0.12);
}

.lang-select-wrapper i {
  position: absolute;
  left: 0.8rem;
  color: var(--primary-terracotta);
  font-size: 0.85rem;
  pointer-events: none;
}

.lang-select option {
  background: var(--bg-surface);
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   5. TOP BAR & NAVBAR
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item i {
  color: var(--primary-terracotta);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
  transition: all var(--transition-normal);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
}

.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-bounce);
}

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

.logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-heading);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-terracotta);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
}

.hamburger-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-heading);
  padding: 0.5rem;
}

/* Mobile Drawer Nav */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 1001;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.drawer-close-btn {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.drawer-link:hover, .drawer-link.active {
  background: rgba(224, 90, 71, 0.12);
  color: var(--primary-terracotta);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 6rem 0 5rem 0;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(11, 13, 20, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.75rem;
  }
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
  font-size: 1.8rem;
  color: var(--primary-terracotta);
}

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

.hero-card-wrapper {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.hero-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.hero-card-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(224, 90, 71, 0.2);
  color: var(--primary-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. LIVE BRICK CALCULATOR SECTION
   -------------------------------------------------------------------------- */
.calculator-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
  position: relative;
}

.calc-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .calc-card {
    grid-template-columns: 1fr 1fr;
  }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-heading);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-terracotta);
  box-shadow: 0 0 15px var(--primary-glow);
}

select.form-control option {
  background: var(--bg-surface);
  color: var(--text-heading);
}

.calc-result-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.calc-result-header {
  margin-bottom: 1.5rem;
}

.result-metric {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-terracotta);
  line-height: 1;
  margin: 0.5rem 0;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.result-row span.val {
  font-weight: 700;
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   8. FEATURED PRODUCTS & FILTER SYSTEM
   -------------------------------------------------------------------------- */
.products-section {
  position: relative;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-terracotta);
  color: #FFF;
  border-color: var(--primary-terracotta);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.product-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #111;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.product-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.85rem;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.825rem;
}

.spec-item p {
  font-weight: 700;
  color: var(--text-heading);
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   9. COMPARISON MATRIX
   -------------------------------------------------------------------------- */
.comparison-section {
  background: var(--bg-surface);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: var(--bg-surface-elevated);
  color: var(--text-heading);
  font-size: 1rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-heading);
}

.check-icon {
  color: var(--accent-green);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   10. MANUFACTURING TIMELINE / PROCESS
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-bright);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  justify-content: flex-end;
  padding-left: 3rem;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 3rem;
}

@media (max-width: 768px) {
  .timeline-item, .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 3.5rem;
    padding-right: 0;
  }
}

.timeline-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-terracotta);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 0 20px var(--primary-glow);
  z-index: 2;
}

@media (max-width: 768px) {
  .timeline-badge {
    left: 20px;
  }
}

.timeline-content {
  width: 85%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

/* --------------------------------------------------------------------------
   11. ENQUIRY FORM & WIZARD
   -------------------------------------------------------------------------- */
.enquiry-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 850px;
  margin: 0 auto;
}

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

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-subtle);
  z-index: 1;
}

.step-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.step-indicator.active .step-number {
  background: var(--primary-terracotta);
  border-color: var(--primary-terracotta);
  color: #FFF;
  box-shadow: 0 0 15px var(--primary-glow);
}

.step-indicator.completed .step-number {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #FFF;
}

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

.step-indicator.active .step-label {
  color: var(--text-heading);
}

/* --------------------------------------------------------------------------
   12. MODALS & TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

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

.modal-container {
  background: var(--bg-surface);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.modal-close:hover {
  color: var(--primary-terracotta);
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-bright);
  color: var(--text-heading);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand p {
  margin: 1rem 0;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--primary-terracotta);
  color: #FFF;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-terracotta);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-terracotta);
  padding-left: 0.25rem;
}

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

/* --------------------------------------------------------------------------
   14. MAP & CONTACT ENHANCEMENTS
   -------------------------------------------------------------------------- */
.map-container-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.map-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-card-item {
  background: var(--glass-bg);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: var(--glass-border);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.contact-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
}

.contact-btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS (MOBILE & TABLET OPTIMIZATIONS)
   -------------------------------------------------------------------------- */

/* Large Tablets & Medium Screens (<= 991px) */
@media (max-width: 991px) {
  .nav-links, .nav-actions .btn-primary {
    display: none;
  }
  
  .hamburger-btn {
    display: block;
  }

  .top-bar .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .top-bar-info {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-card img {
    height: 350px;
  }

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

/* Medium Tablets & Mobile Landscape (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

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

  .hero {
    padding: 3.5rem 0 3rem 0;
  }

  .hero-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-item h3 {
    font-size: 1.4rem;
  }

  .stat-item p {
    font-size: 0.75rem;
  }

  .hero-card img {
    height: 280px;
  }

  .hero-card-badge {
    padding: 0.85rem;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .calc-card, .enquiry-card {
    padding: 1.5rem;
  }

  .result-metric {
    font-size: 2.25rem;
  }

  .filter-tabs {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .map-iframe-wrapper {
    height: 300px;
  }

  .contact-card-item {
    padding: 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }

  .contact-btn-group {
    flex-direction: column;
  }

  .contact-btn-group .btn {
    width: 100%;
  }

  .wizard-steps {
    margin-bottom: 2rem;
  }

  .step-label {
    font-size: 0.75rem;
    text-align: center;
  }

  .step-number {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
}

/* Small Mobile Devices (<= 576px) */
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.85rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }

  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .navbar .container {
    height: 70px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .toast {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   16. FLOATING WHATSAPP QUICK ACTION
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-bounce);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
  color: #FFF;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* --------------------------------------------------------------------------
   17. PRODUCT SEARCH & FAQ ACCORDION
   -------------------------------------------------------------------------- */
.product-search-box {
  position: relative;
  max-width: 480px;
  margin: 0 auto 2rem auto;
}

.product-search-box input {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-heading);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.product-search-box input:focus {
  border-color: var(--primary-terracotta);
  box-shadow: 0 0 15px rgba(186, 2, 0, 0.25);
}

.product-search-box i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-bright);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--accent-gold);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* --------------------------------------------------------------------------
   18. MANUFACTURING PROCESS WORKFLOW CARDS
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform var(--transition-fast);
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-bright);
}

.process-step-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 140, 2, 0.15);
  line-height: 1;
}

.process-icon {
  width: 52px;
  height: 52px;
  background: rgba(186, 2, 0, 0.15);
  border: 1px solid rgba(186, 2, 0, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-terracotta);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   19. PRINT STYLES FOR WHOLESALE QUOTATION
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #FFF !important;
    color: #000 !important;
  }
  
  .top-bar, .navbar, .footer, .floating-whatsapp, .hero-btns, button:not(.print-keep) {
    display: none !important;
  }
  
  .enquiry-card, div[style*="background: rgba(11, 13, 20, 0.9)"] {
    background: #FFF !important;
    border: 2px solid #000 !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  h1, h2, h3, h4, p, td, th {
    color: #000 !important;
  }
}

/* --------------------------------------------------------------------------
   20. HIGH-PERFORMANCE VISUAL ANIMATION ENGINE (SUPERBRICKS MULTI)
   -------------------------------------------------------------------------- */

/* Top Scroll Progress Indicator */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-terracotta), var(--accent-gold), #FF4500);
  z-index: 9999;
  box-shadow: 0 0 10px rgba(255, 140, 2, 0.7);
  transition: width 0.1s linear;
}

/* Floating Back-To-Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-bright);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all var(--transition-bounce);
  cursor: pointer;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: var(--primary-terracotta);
  color: #FFF;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px rgba(186, 2, 0, 0.5);
}

/* Button Liquid Shimmer Light Sweep */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-25deg);
  transition: none;
}

.btn:hover::after {
  animation: shimmerSweep 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation Links Animated Underline */
.nav-link {
  position: relative;
  padding: 0.5rem 0.25rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-terracotta));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

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

/* Theme Toggle Button Spin */
.theme-toggle-btn i {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-toggle-btn:hover i {
  transform: rotate(180deg) scale(1.15);
}

/* SCROLL REVEAL UTILITY CLASSES */
.reveal,
.reveal-fade-up,
.reveal-fade-down,
.reveal-fade-left,
.reveal-fade-right,
.reveal-zoom,
.reveal-flip {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up { transform: translateY(45px); }
.reveal-fade-down { transform: translateY(-45px); }
.reveal-fade-left { transform: translateX(-45px); }
.reveal-fade-right { transform: translateX(45px); }
.reveal-zoom { transform: scale(0.88); }
.reveal-flip { transform: perspective(600px) rotateX(25deg) translateY(30px); }

/* Animate-In Triggered State */
.animate-in.reveal-fade-up,
.animate-in.reveal-fade-down,
.animate-in.reveal-fade-left,
.animate-in.reveal-fade-right,
.animate-in.reveal-zoom,
.animate-in.reveal-flip,
.animate-in.reveal,
.animate-in {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) rotateX(0deg) !important;
}

/* Default Fallbacks for Cards */
.product-card, .calc-card, .timeline-item, .stat-item, .process-card, .contact-card-item, .hero-card, .faq-item {
  opacity: 0;
  transform: translateY(35px);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Grid Stagger Delays */
.stagger-1 { transition-delay: 0.08s !important; }
.stagger-2 { transition-delay: 0.16s !important; }
.stagger-3 { transition-delay: 0.24s !important; }
.stagger-4 { transition-delay: 0.32s !important; }
.stagger-5 { transition-delay: 0.40s !important; }
.stagger-6 { transition-delay: 0.48s !important; }

/* Dynamic Hero Levitation & Glow */
.hero-card {
  animation: floatLevitate 6s ease-in-out infinite alternate;
}

.hero-bg-glow {
  animation: meshGlowPulse 8s ease-in-out infinite alternate;
}

.section-tag {
  animation: badgeGlowPulse 3s ease-in-out infinite;
}

/* Card Hover Elevation & Illumination */
.product-card {
  overflow: hidden;
}

.product-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08) !important;
}

.product-card:hover, .calc-card:hover, .process-card:hover, .contact-card-item:hover {
  transform: translateY(-8px) !important;
  border-color: var(--border-bright) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 140, 2, 0.15) !important;
}

/* KEYFRAME ANIMATIONS */
@keyframes shimmerSweep {
  0% { left: -150%; }
  100% { left: 150%; }
}

@keyframes floatLevitate {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.4deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes meshGlowPulse {
  0% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.1) translate(10px, -10px); }
  100% { opacity: 0.45; transform: scale(1); }
}

@keyframes badgeGlowPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 140, 2, 0); }
  50% { box-shadow: 0 0 14px rgba(255, 140, 2, 0.4); }
}

/* --------------------------------------------------------------------------
   21. ADVANCED UX ANIMATIONS & INTERACTIVE ACCENTS
   -------------------------------------------------------------------------- */

/* Custom Glow Cursor Follower */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 15px rgba(255, 140, 2, 0.4);
  mix-blend-mode: difference;
}

.cursor-glow.active {
  transform: translate(-50%, -50%) scale(2.2);
  border-color: var(--primary-terracotta);
  background: rgba(186, 2, 0, 0.15);
  box-shadow: 0 0 25px rgba(186, 2, 0, 0.6);
}

@media (max-width: 992px) {
  .cursor-glow { display: none !important; }
}

/* Canvas Hero Floating Particle Container */
#heroParticlesCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Wizard Step Progress Track Bar */
.wizard-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
}

.wizard-progress-bar-fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, var(--primary-terracotta), var(--accent-gold));
  border-radius: var(--radius-full);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(255, 140, 2, 0.6);
}

/* Step Wizard Slide Animation */
.wizard-step-content {
  animation: wizardSlideInNext 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wizardSlideInNext {
  from {
    opacity: 0;
    transform: translateX(35px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Card Filter Staggered Entrance */
.product-card.card-flip-enter {
  animation: cardFlipIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFlipIn {
  from {
    opacity: 0;
    transform: perspective(800px) rotateX(15deg) translateY(25px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0) scale(1);
  }
}

/* Toast Timer Progress Bar */
.toast {
  position: relative;
  overflow: hidden;
}

.toast-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--accent-gold);
  animation: toastCountdown 4s linear forwards;
}

@keyframes toastCountdown {
  from { width: 100%; }
  to { width: 0%; }
}





