/* ==========================================================================
   Sri Sai Automation — Master Industrial Stylesheet (PRO Flagship Release)
   Color Tokens, Typographic Scale & High-Contrast Precision Engineering System
   ========================================================================== */

:root {
  --color-bg: #070B14;
  --color-surface: #0E1526;
  --color-surface-elevated: #141E34;
  --color-surface-hover: #1A2744;
  --color-card-border: #1E2A44;
  --color-card-border-light: rgba(255, 255, 255, 0.08);

  --color-primary: #FF6B2B;
  --color-primary-hover: #FF540B;
  --color-primary-subtle: rgba(255, 107, 43, 0.12);
  --color-primary-glow: rgba(255, 107, 43, 0.28);

  --color-accent-teal: #00E599;
  --color-accent-blue: #3B82F6;
  --color-accent-gold: #F59E0B;

  --color-text-main: #FFFFFF;
  --color-text-muted: #94A3B8;
  --color-text-subtle: #64748B;

  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20BD5A;

  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 4px 12px -2px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 107, 43, 0.15);
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-stack);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-color: #060911;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(0, 229, 153, 0.03) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='0.65' stroke-opacity='0.05'%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='40'/%3E%3Ccircle cx='0' cy='0' r='40'/%3E%3Ccircle cx='80' cy='0' r='40'/%3E%3Ccircle cx='0' cy='80' r='40'/%3E%3Ccircle cx='80' cy='80' r='40'/%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z'/%3E%3Cpath d='M0 0 L80 80 M80 0 L0 80'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Top Announcement Bar */
.top-bar {
  background-color: #04070D;
  border-bottom: 1px solid #162035;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: 8px 0;
}

.bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bar-left, .bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.badge-gst {
  background: rgba(0, 229, 153, 0.12);
  color: var(--color-accent-teal);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 0.75rem;
  border: 1px solid rgba(0, 229, 153, 0.3);
}

.bar-loc {
  font-weight: 500;
}

.phone-link {
  color: #F8FAFC;
  font-weight: 600;
  transition: var(--transition);
}

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

.bar-hours {
  color: var(--color-text-subtle);
  font-size: 0.75rem;
}

/* Site Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-card-border);
  padding: 14px 0;
}

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

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

.brand-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), #D9480F);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 16px rgba(255, 107, 43, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #FFFFFF;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.2px;
  transition: var(--transition);
  padding: 6px 0;
}

.main-nav a:hover {
  color: #FFFFFF;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  font-size: 0.9375rem;
  padding: 10px 20px;
}

.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 107, 43, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 107, 43, 0.5);
}

.btn-secondary {
  background: var(--color-surface);
  color: #F8FAFC;
  border-color: var(--color-card-border);
}

.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: #33476D;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #F8FAFC;
  border-color: var(--color-card-border);
}

.btn-outline:hover {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 70px 0 90px;
  background: radial-gradient(circle at 12% 18%, rgba(255, 107, 43, 0.1) 0%, transparent 45%),
              radial-gradient(circle at 88% 75%, rgba(0, 229, 153, 0.06) 0%, transparent 45%);
  border-bottom: 1px solid var(--color-card-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 107, 43, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-teal);
  box-shadow: 0 0 8px var(--color-accent-teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-copy h1 {
  font-size: 2.85rem;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 22px;
  color: #FFFFFF;
}

.hero-subtext {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid var(--color-card-border);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
}

.trust-lbl {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Showcase Panel */
.hero-showcase-panel {
  display: flex;
  justify-content: center;
}

.showcase-card {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #090D17;
  border-bottom: 1px solid var(--color-card-border);
}

.showcase-tab {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 12px 8px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.showcase-tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.02);
}

.showcase-tab.active {
  color: var(--color-primary);
  background: var(--color-surface);
  border-bottom-color: var(--color-primary);
}

.showcase-visual {
  position: relative;
  background: #05080E;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sacred-stage-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, rgba(7, 11, 20, 0.98) 85%);
  cursor: grab;
  z-index: 2;
}

.sacred-stage-container:active {
  cursor: grabbing;
}

.sacred-stage-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-badge-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tech-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-accent-teal);
}

.tech-sub {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.showcase-meta {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meta-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
}

.meta-status {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-teal);
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: #080D18;
  border: 1px solid var(--color-card-border);
  color: #CBD5E1;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Sections Common */
section {
  padding: 85px 0;
}

.section-head {
  margin-bottom: 52px;
}

.section-head.text-center {
  text-align: center;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Products Section */
.products-section {
  background-color: #060912;
  border-bottom: 1px solid var(--color-card-border);
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.p-card {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.p-card:hover {
  transform: translateY(-5px);
  border-color: #3B82F6;
  box-shadow: var(--shadow-hover);
}

.p-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #05080E;
  overflow: hidden;
}

.p-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.p-card:hover .p-card-media img {
  transform: scale(1.04);
}

.p-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #090E1B, #121A2F);
}

.placeholder-icon {
  font-size: 2.5rem;
}

.placeholder-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.p-media-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 11, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #60A5FA;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.p-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.p-card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.p-card-body {
  flex: 1;
}

.p-card-body p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.p-features {
  list-style: none;
  font-size: 0.8125rem;
  color: #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.p-features li {
  position: relative;
  padding-left: 20px;
}

.p-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
}

.p-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.p-price-wrap {
  display: flex;
  flex-direction: column;
}

.p-price-label {
  font-size: 0.6875rem;
  color: var(--color-text-subtle);
  font-weight: 600;
  text-transform: uppercase;
}

.p-price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-accent-teal);
}

/* Blueprints & Engineering Proof Section */
.blueprints-section {
  background: #090E1A;
  border-bottom: 1px solid var(--color-card-border);
}

.blueprint-viewer-card {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.bp-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #05080E;
  border-bottom: 1px solid var(--color-card-border);
  padding: 12px 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.bp-tabs {
  display: flex;
  gap: 10px;
}

.bp-tab {
  background: transparent;
  border: 1px solid var(--color-card-border);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.bp-tab:hover {
  color: #FFFFFF;
  border-color: #384A6E;
}

.bp-tab.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(255, 107, 43, 0.3);
}

.bp-display-area {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  min-height: 480px;
}

.bp-image-frame {
  position: relative;
  background: #030509;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  cursor: zoom-in;
  overflow: hidden;
}

.bp-img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
}

.bp-image-frame:hover .bp-img {
  transform: scale(1.02);
}

.bp-watermark-stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(7, 11, 20, 0.9);
  border: 1px solid rgba(0, 229, 153, 0.4);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
}

.stamp-title {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--color-accent-teal);
  letter-spacing: 0.8px;
}

.stamp-sub {
  font-size: 0.625rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.bp-details-sidebar {
  background: #0C1221;
  border-left: 1px solid var(--color-card-border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.bp-details-sidebar h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}

.bp-details-sidebar p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.bp-spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bp-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-spec-lbl {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  font-weight: 600;
  text-transform: uppercase;
}

.bp-spec-val {
  font-size: 0.875rem;
  color: #F8FAFC;
  font-weight: 700;
}

/* Real Bangalore Projects / Case Studies */
.projects-section {
  background: #060912;
  border-bottom: 1px solid var(--color-card-border);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: #3B82F6;
  box-shadow: var(--shadow-hover);
}

.case-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #030509;
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.case-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(7, 11, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-accent-teal);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.case-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.case-loc {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-top: 4px;
}

.case-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.case-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.ch-chip {
  background: #080D18;
  border: 1px solid var(--color-card-border);
  color: #E2E8F0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
}

/* Interactive Calculator Section 2.0 */
.calculator-section {
  background: #090E1A;
  border-bottom: 1px solid var(--color-card-border);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.calc-form-pane {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-field label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #E2E8F0;
}

.calc-field input,
.calc-field select {
  background: #060912;
  border: 1px solid #283756;
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: var(--transition);
}

.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.2);
}

/* Slider Controls */
.calc-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #060912;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-header label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #E2E8F0;
}

.slider-val-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.slider-val-box input {
  width: 70px;
  background: #0E1526;
  border: 1px solid #283756;
  border-radius: var(--radius-xs);
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  padding: 4px 6px;
}

.unit-tag {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #1C263B;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 107, 43, 0.6);
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: none;
}

.calc-info-note {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
}

/* Calculator Summary Pane */
.summary-card {
  background: #05080E;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.summary-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-accent-teal);
  background: rgba(0, 229, 153, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

.gst-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #60A5FA;
  background: rgba(59, 130, 246, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.summary-spec {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  line-height: 1.35;
}

.price-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 4px;
}

.price-figure {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.tax-note {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  display: block;
  margin-top: 6px;
  line-height: 1.4;
}

.summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
}

.breakdown-row b {
  color: #FFFFFF;
}

.summary-guarantee {
  font-size: 0.75rem;
  color: var(--color-accent-teal);
  text-align: center;
  font-weight: 600;
}

/* Specifications Grid */
.specifications-section {
  background: #060912;
  border-bottom: 1px solid var(--color-card-border);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.spec-col {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}

.spec-col:hover {
  transform: translateY(-4px);
  border-color: #3B82F6;
}

.spec-icon {
  font-size: 2rem;
  line-height: 1;
}

.spec-col h4 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #FFFFFF;
}

.spec-col p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* About & Contact Section */
.about-contact-section {
  background: #090E1A;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-pane h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.about-pane p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.company-legal-card {
  background: #05080E;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-legal-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.legal-row b {
  color: #FFFFFF;
}

.gst-val {
  color: var(--color-accent-teal) !important;
  font-family: monospace;
  font-size: 0.9375rem;
}

.status-verified {
  color: var(--color-accent-teal) !important;
}

/* Contact Pane */
.contact-box {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.contact-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.contact-box > p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.method-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #060912;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.method-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.method-item strong {
  display: block;
  font-size: 0.875rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.method-item p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.method-item a {
  color: #60A5FA;
  font-weight: 600;
}

.method-item a:hover {
  text-decoration: underline;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 2px solid var(--color-whatsapp);
  animation: ripple 2s infinite;
  pointer-events: none;
}

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

/* Sticky Mobile Action Bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 998;
  background: #05080E;
  border-top: 1px solid var(--color-card-border);
  padding: 8px 12px;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.mob-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8125rem;
  text-align: center;
  box-sizing: border-box;
}

.mob-call {
  background: #162238;
  color: #FFFFFF;
  border: 1px solid #2B3D63;
}

.mob-whatsapp {
  background: var(--color-whatsapp);
  color: #FFFFFF;
}

/* Modals */
.modal-backdrop, .lightbox-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(3, 5, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.show, .lightbox-backdrop.show {
  display: flex;
}

.modal-box {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 34px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close, .lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover, .lightbox-close:hover {
  color: #FFFFFF;
}

.modal-head {
  margin-bottom: 22px;
}

.modal-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.modal-head h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 6px 0;
}

.modal-head p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-form label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #E2E8F0;
}

.modal-form input,
.modal-form select {
  background: #060912;
  border: 1px solid #283756;
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-family: inherit;
}

.modal-form input:focus,
.modal-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.2);
}

.modal-hint {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  text-align: center;
}

/* Lightbox Content */
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.lightbox-caption {
  font-size: 0.875rem;
  color: #E2E8F0;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 16px;
  border-radius: var(--radius-xs);
}

/* Site Footer */
.site-footer {
  background: #04060C;
  border-top: 1px solid var(--color-card-border);
  padding: 60px 0 30px;
  margin-top: auto;
}

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

.f-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #FFFFFF;
  display: block;
  margin-bottom: 10px;
}

.f-col p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.f-copy {
  color: var(--color-text-subtle) !important;
  font-size: 0.8125rem !important;
  margin-top: 16px;
}

.f-col h5 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.f-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: var(--transition);
}

.f-links a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   4D Gate & Automation Simulator
   ========================================================================== */
.simulator-section {
  background: radial-gradient(circle at 50% 20%, #0F172A 0%, #060913 80%);
  border-bottom: 1px solid var(--color-card-border);
  position: relative;
  overflow: hidden;
}

.simulator-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 107, 43, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 43, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.sim-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

/* 3D Driveway Stage */
.sim-stage {
  background: linear-gradient(180deg, #090E1B 0%, #0B1120 60%, #151D2F 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  position: relative;
  height: 380px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-backdrop-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.sim-wall {
  position: absolute;
  bottom: 40px;
  width: 50px;
  height: 220px;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.sim-wall-left {
  left: 0;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wall-nameplate {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #F59E0B;
  text-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.sim-wall-right {
  right: 0;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.sim-driveway {
  position: absolute;
  left: 50px;
  right: 50px;
  bottom: 0;
  height: 240px;
  overflow: hidden;
}

.sim-ground-track {
  position: absolute;
  bottom: 38px;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #334155, #94A3B8, #334155);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  z-index: 2;
}

/* Infrared Safety Photocells */
.sim-optical-beam {
  position: absolute;
  bottom: 65px;
  left: 0;
  right: 0;
  height: 20px;
  display: flex;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.beam-emitter, .beam-receiver {
  width: 10px;
  height: 16px;
  background: #0F172A;
  border: 1px solid #38BDF8;
  border-radius: 2px;
  position: relative;
  z-index: 2;
}

.beam-emitter::after {
  content: '';
  position: absolute;
  top: 5px;
  right: -3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #00E599;
  box-shadow: 0 0 8px #00E599;
  transition: all 0.3s ease;
}

.beam-receiver::after {
  content: '';
  position: absolute;
  top: 5px;
  left: -3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #00E599;
  box-shadow: 0 0 8px #00E599;
  transition: all 0.3s ease;
}

.beam-line {
  flex: 1;
  height: 2px;
  background: rgba(0, 229, 153, 0.7);
  box-shadow: 0 0 8px rgba(0, 229, 153, 0.9);
  transition: all 0.25s ease;
}

.beam-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.625rem;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 1px;
  color: #00E599;
  background: rgba(7, 11, 20, 0.9);
  padding: 1px 8px;
  border-radius: 3px;
  border: 1px solid rgba(0, 229, 153, 0.3);
  transition: all 0.25s ease;
}

/* Safety Beam Tripped State */
.sim-optical-beam.tripped .beam-line {
  background: rgba(255, 77, 77, 0.95);
  box-shadow: 0 0 16px rgba(255, 77, 77, 1);
  height: 3px;
  animation: beamPulse 0.4s infinite alternate;
}

.sim-optical-beam.tripped .beam-emitter::after,
.sim-optical-beam.tripped .beam-receiver::after {
  background: #FF4D4D;
  box-shadow: 0 0 10px #FF4D4D;
}

.sim-optical-beam.tripped .beam-label {
  color: #FF4D4D;
  border-color: #FF4D4D;
}

@keyframes beamPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Sliding Gate Leaf */
.sim-gate-leaf {
  position: absolute;
  bottom: 44px;
  left: 0;
  width: 58%;
  height: 160px;
  background: #0B0F19;
  border: 2px solid #334155;
  border-radius: 4px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 6px;
  box-shadow: 8px 12px 24px rgba(0, 0, 0, 0.7);
  transform: translateX(0);
  transition: transform 0.05s linear;
  will-change: transform;
}

.gate-slats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
}

.g-panel {
  flex: 1;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.g-panel.hpl-wood {
  background: linear-gradient(90deg, #422613 0%, #6E3F1F 40%, #422613 70%, #5C3419 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.g-panel.hpl-accent {
  background: linear-gradient(90deg, #1E2530 0%, #2B3545 50%, #1E2530 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gate-handle {
  position: absolute;
  right: 14px;
  top: 30px;
  bottom: 30px;
  width: 6px;
  background: linear-gradient(90deg, #E2E8F0, #94A3B8);
  border-radius: 3px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.gate-warning-beacon {
  position: absolute;
  top: -16px;
  right: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 2px 2px;
  background: #475569;
  border: 1px solid #64748B;
  transition: all 0.2s ease;
}

.gate-warning-beacon.flashing {
  background: #FFB800;
  box-shadow: 0 0 18px #FFB800, 0 0 30px rgba(255, 184, 0, 0.6);
  animation: beaconStrobe 0.35s infinite alternate;
}

@keyframes beaconStrobe {
  0% { filter: brightness(0.7); transform: scale(0.95); }
  100% { filter: brightness(1.6); transform: scale(1.15); }
}

/* Floating HUD */
.sim-overlay-hud {
  position: relative;
  z-index: 20;
  margin: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.hud-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hud-label {
  font-size: 0.58rem;
  font-family: monospace;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

.hud-val {
  font-size: 0.8125rem;
  font-weight: 800;
  font-family: monospace;
  color: #FFFFFF;
}

.hud-val.hud-safe {
  color: #00E599;
}

.hud-val.hud-warn {
  color: #FF4D4D;
}

.hud-val.hud-moving {
  color: #FFB800;
}

/* Controls Pane & 3D Keyfob Remote */
.sim-controls-pane {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.remote-keyfob {
  background: linear-gradient(145deg, #151A24 0%, #0D111A 100%);
  border: 2px solid #2A3446;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 
    0 16px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -2px 4px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: perspective(800px) rotateX(4deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.remote-keyfob:hover {
  transform: perspective(800px) rotateX(0deg) translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.remote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.remote-brand {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #94A3B8;
}

.remote-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.remote-led.active-green {
  background: #00E599;
  box-shadow: 0 0 12px #00E599;
}

.remote-led.active-amber {
  background: #FFB800;
  box-shadow: 0 0 12px #FFB800;
}

.remote-led.active-red {
  background: #FF4D4D;
  box-shadow: 0 0 12px #FF4D4D;
}

.remote-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.r-btn {
  background: linear-gradient(180deg, #1E2738 0%, #111724 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.12s ease;
  user-select: none;
}

.r-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.r-btn:active, .r-btn.pressed {
  transform: translateY(2px);
  box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.8),
    inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.r-icon {
  font-size: 1rem;
}

.r-text {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.r-open .r-icon, .r-open .r-text { color: #00E599; }
.r-stop .r-icon, .r-stop .r-text { color: #FF4D4D; }
.r-close .r-icon, .r-close .r-text { color: #38BDF8; }

.r-open:active { background: rgba(0, 229, 153, 0.2); }
.r-stop:active { background: rgba(255, 77, 77, 0.2); }
.r-close:active { background: rgba(56, 189, 248, 0.2); }

.remote-toggle .btn {
  font-size: 0.75rem;
  padding: 8px 12px;
}

.sim-specs-card {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.sim-specs-card h4 {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sim-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.sim-spec-row span {
  color: var(--color-text-muted);
}

.sim-spec-row b {
  color: #E2E8F0;
  font-family: monospace;
}

/* ==========================================================================
   AI Structural Quoter & Certified Formal Proposal Sheet
   ========================================================================== */
.ai-quoter-section {
  background: #070B14;
  border-bottom: 1px solid var(--color-card-border);
  position: relative;
}

.ai-quoter-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.ai-input-card {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.ai-input-head {
  margin-bottom: 18px;
}

.ai-badge {
  display: inline-block;
  background: rgba(0, 229, 153, 0.12);
  border: 1px solid rgba(0, 229, 153, 0.35);
  color: #00E599;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.ai-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.preset-chip {
  background: #0B101E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
}

.preset-chip:hover {
  background: #172033;
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.preset-chip.active {
  background: rgba(255, 107, 43, 0.15);
  border-color: var(--color-primary);
  color: #FF8F5A;
}

.ai-form input,
.ai-form select,
.ai-form textarea {
  width: 100%;
  background: #0B0F19;
  border: 1px solid var(--color-input-border);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  box-sizing: border-box;
}

.ai-form textarea {
  resize: vertical;
}

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

/* Formal Proposal Paper */
.ai-output-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proposal-paper {
  background: #0E1424;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.proposal-paper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF6B2B, #F59E0B, #00E599);
}

.prop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.prop-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #FF6B2B, #9A3412);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -1px;
  box-shadow: 0 4px 12px rgba(255, 107, 43, 0.4);
}

.prop-company {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.prop-sub {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
}

.prop-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: monospace;
}

.prop-quote-id {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #F59E0B;
}

.prop-date, .prop-gst {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.prop-client-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #090E1A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 0.75rem;
}

.prop-lbl {
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}

.prop-client-strip b {
  color: #FFFFFF;
  font-size: 0.8125rem;
}

.prop-table-wrap {
  margin-bottom: 18px;
  overflow-x: auto;
}

.prop-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.prop-table th {
  background: #0A0F1D;
  color: #94A3B8;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.prop-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #CBD5E1;
}

.prop-table td b {
  color: #FFFFFF;
}

.prop-subtotal-row td {
  padding-top: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.prop-gst-row td {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.prop-total-row td {
  padding: 14px 10px;
  background: rgba(0, 229, 153, 0.06);
  border-top: 2px solid rgba(0, 229, 153, 0.4);
  border-bottom: 2px solid rgba(0, 229, 153, 0.4);
  font-size: 1rem;
  font-weight: 900;
  color: #00E599;
}

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

.stamp-verified-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #00E599;
  margin-bottom: 2px;
}

.stamp-unit {
  font-size: 0.625rem;
  color: var(--color-text-muted);
}

.prop-warranty-note p {
  font-size: 0.6875rem;
  color: #94A3B8;
  font-style: italic;
  margin: 0;
}

.prop-actions-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 10px;
}

.prop-actions-bar .btn {
  justify-content: center;
}

/* ==========================================================================
   Video Showcase Reel Banner
   ========================================================================== */
.video-showcase-banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 40px;
  align-items: center;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #030509;
  overflow: hidden;
  height: 100%;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 11, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF4D4D;
  box-shadow: 0 0 8px #FF4D4D;
  animation: recBlink 1s infinite alternate;
}

@keyframes recBlink {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

.video-meta-box {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.video-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.video-meta-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}

.video-meta-box p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.video-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

/* ==========================================================================
   Wix-Style 3D Card Tilt, Depth & Glare Physics
   ========================================================================== */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s ease;
  position: relative;
}

.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: overlay;
  z-index: 10;
}

.tilt-card:hover .tilt-glare {
  opacity: 1;
}

.tilt-card .pop-3d {
  transform: translateZ(24px);
  transition: transform 0.2s ease;
}

/* Responsive Media Queries */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .bp-display-area {
    grid-template-columns: 1fr;
  }

  .bp-details-sidebar {
    border-left: none;
    border-top: 1px solid var(--color-card-border);
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .sim-wrapper {
    grid-template-columns: 1fr;
  }

  .ai-quoter-grid {
    grid-template-columns: 1fr;
  }

  .video-showcase-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-bar {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .brand-title {
    font-size: 0.95rem;
    letter-spacing: 0.2px;
  }

  .brand-subtitle {
    font-size: 0.58rem;
    letter-spacing: 0.6px;
  }

  .hero-section {
    padding: 32px 0 48px;
  }

  .hero-pill-badge {
    font-size: 0.6875rem;
    padding: 5px 10px;
    white-space: normal;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: 1.22rem;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero-subtext {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

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

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 18px;
  }

  .trust-val {
    font-size: 1.2rem;
  }

  .product-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .calc-wrapper {
    padding: 18px 12px;
  }

  .calc-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bp-nav-header {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 10px;
  }

  .bp-tabs {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .bp-tab {
    width: 100%;
    text-align: center;
    font-size: 0.78rem;
    padding: 8px 10px;
    white-space: normal;
  }

  .bp-actions {
    width: 100%;
  }

  .bp-actions .btn {
    width: 100%;
  }

  .bp-display-area {
    grid-template-columns: 1fr;
  }

  .bp-details-sidebar {
    padding: 18px 14px;
  }

  .showcase-tab {
    font-size: 0.72rem;
    padding: 10px 4px;
  }

  .specs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sim-stage {
    height: 320px;
  }

  .sim-overlay-hud {
    grid-template-columns: repeat(2, 1fr);
    margin: 8px;
    padding: 8px 10px;
  }

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

  .prop-meta {
    align-items: flex-start;
  }

  .prop-client-strip {
    grid-template-columns: 1fr;
  }

  .prop-actions-bar {
    grid-template-columns: 1fr;
  }

  .proposal-paper {
    padding: 16px;
  }

  .video-meta-box {
    padding: 20px 16px;
  }

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

  .floating-whatsapp {
    display: none;
  }

  .mobile-action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    gap: 10px;
    z-index: 998;
  }

  .mob-btn {
    width: 100%;
    padding: 10px 4px;
    font-size: 0.8125rem;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }

  body {
    padding-bottom: 68px;
  }
}

/* ==========================================================================
   Print & Formal Estimate PDF Isolation
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }

  #proposalPaper, #proposalPaper * {
    visibility: visible;
  }

  #proposalPaper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #FFFFFF !important;
    color: #000000 !important;
    border: 1px solid #CCCCCC !important;
    box-shadow: none !important;
    padding: 20mm !important;
  }

  .prop-company, .prop-table td b, .prop-client-strip b {
    color: #000000 !important;
  }

  .prop-table th {
    background: #F1F5F9 !important;
    color: #334155 !important;
  }

  .prop-table td {
    color: #1E293B !important;
    border-bottom: 1px solid #E2E8F0 !important;
  }

  .prop-total-row td {
    background: #F8FAFC !important;
    color: #0F172A !important;
    border-color: #000000 !important;
  }

  .prop-actions-bar, .site-header, .site-footer, .hero-section, .simulator-section, .floating-whatsapp, .mobile-action-bar {
    display: none !important;
  }
}
