/*
 * ALL DAY COOL - Premium Nano Ceramic Film
 * Main Stylesheet (Apple & Huawei inspired Clean Luxury Design)
 */

:root {
  /* Color System */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-tertiary: #fafafa;
  --bg-dark: #0f0f11;
  --bg-dark-card: #1d1d1f;
  
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-light: #f5f5f7;
  --text-dark-muted: #a1a1a6;
  
  --accent-orange: #ff6600;
  --accent-orange-hover: #e05300;
  --accent-orange-light: #fff0e6;
  --accent-orange-dark: #cc5200;
  
  --border-color: #d2d2d7;
  --border-light: #e5e5e7;
  --border-dark: #333336;
  
  /* Layout & Spacing */
  --nav-height: 64px;
  --max-width: 1200px;
  --border-radius: 18px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

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

body {
  font-family: 'Prompt', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

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

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

.section {
  padding: 100px 0;
}

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

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

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 30px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-orange {
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
}

.badge-dark {
  background-color: var(--border-dark);
  color: var(--text-light);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: inherit;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 60px auto;
}

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

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

.btn-primary {
  background-color: var(--accent-orange);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.03);
  border-color: var(--text-primary);
}

.btn-dark {
  background-color: var(--bg-dark-card);
  color: #ffffff;
  border: 1px solid var(--border-dark);
}

.btn-dark:hover {
  background-color: #ffffff;
  color: var(--bg-dark);
}

.btn-white {
  background-color: #ffffff;
  color: var(--bg-dark);
}

.btn-white:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

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

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

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

.nav-link:hover {
  opacity: 1;
  color: var(--accent-orange);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--bg-secondary);
  padding: 140px 0 80px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 90vh;
}

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

.hero-content {
  z-index: 2;
}

.hero-title-top {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

.hero-stat-item h4 {
  font-size: 2rem;
  color: var(--text-primary);
  font-weight: 700;
}

.hero-stat-item h4 span {
  color: var(--accent-orange);
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.hero-image-bg {
  position: absolute;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
  transform: translateX(30px);
  opacity: 0;
  animation: slideInCar 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

@keyframes slideInCar {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Feature Highlights (Three Cards) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-orange);
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent-orange);
  color: #ffffff;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

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

/* Models Container & Alternate Rows */
.models-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 40px;
}

.model-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.model-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.model-row.reverse .model-image-wrapper {
  order: 2;
}

.model-row.reverse .model-text-content {
  order: 1;
}

.model-image-wrapper {
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  transition: var(--transition-smooth);
}

.model-layers-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  transform: rotateY(-18deg) rotateX(12deg) translateZ(0px);
  filter: drop-shadow(-15px 25px 25px rgba(0, 0, 0, 0.18));
  transition: var(--transition-smooth);
}

.model-image-wrapper:hover .model-layers-img {
  transform: rotateY(-12deg) rotateX(8deg) translateZ(30px) scale(1.04);
  filter: drop-shadow(-20px 35px 35px rgba(0, 0, 0, 0.22));
}

.model-text-content {
  display: flex;
  flex-direction: column;
}

.model-text-content h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.model-tagline {
  color: var(--accent-orange);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.model-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.model-bullets {
  list-style: none;
  margin-bottom: 36px;
}

.model-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.model-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

.model-mini-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background-color: #f5f5f7;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border-light);
}

.mini-spec-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mini-spec-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 4px;
  line-height: 1.1;
}

.mini-spec-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Interactive Tint Simulator Section */
.simulator-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.simulator-display {
  background-color: var(--bg-secondary);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.outside-view-container {
  width: 100%;
  position: relative;
}

/* Dynamic window overlay styling */
.car-window-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: opacity var(--transition-smooth);
  opacity: 0.4; /* Default 40% */
}

.car-window-overlay svg {
  width: 100%;
  height: 100%;
}

.inside-view-container {
  width: 100%;
  position: relative;
  display: none;
  border-radius: 12px;
  overflow: hidden;
}

.inside-view-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: filter var(--transition-smooth);
}

/* Inside view tint overlay */
.inside-tint-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Default opacity */
  pointer-events: none;
  transition: background-color var(--transition-smooth);
}

.inside-view-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  z-index: 10;
}

.simulator-controls {
  padding: 20px 0;
}

.control-group {
  margin-bottom: 32px;
}

.control-group-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.tab-selector {
  display: flex;
  background-color: var(--bg-secondary);
  padding: 4px;
  border-radius: 30px;
  gap: 4px;
}

.tab-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 30px;
  border: none;
  background: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active {
  background-color: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tint-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tint-option-btn {
  padding: 16px 8px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  background-color: var(--bg-primary);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.tint-option-btn:hover {
  border-color: var(--text-secondary);
}

.tint-option-btn.active {
  border-color: var(--accent-orange);
  background-color: var(--accent-orange-light);
}

.tint-option-btn .tint-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.tint-option-btn.active .tint-val {
  color: var(--accent-orange);
}

.tint-option-btn .tint-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
}

/* Simulator Specs Box */
.sim-specs-box {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-top: 32px;
  border: 1px solid var(--border-light);
}

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

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

.sim-spec-name {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.sim-spec-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Embedded Model Specs Table */
.model-table-wrapper {
  margin-top: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  background-color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.model-specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.model-specs-table th {
  background-color: var(--bg-secondary);
  padding: 10px 14px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.model-specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

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

.model-specs-table tr:hover td {
  background-color: rgba(0, 0, 0, 0.01);
}

.highlight-spec {
  font-weight: 600;
  color: var(--accent-orange);
}

/* Building Film Section (10% Focus) */
.building-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.building-image-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.building-image-container img {
  width: 100%;
  transition: var(--transition-smooth);
}

.building-grid:hover .building-image-container img {
  transform: scale(1.04);
}

.building-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.b-feat-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.b-feat-item h4::before {
  content: '■';
  color: var(--accent-orange);
  font-size: 0.7rem;
}

.b-feat-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Interactive Price Estimator */
.estimator-box {
  background-color: var(--bg-primary);
  border-radius: 24px;
  border: 1px solid var(--border-light);
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.estimator-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.estimator-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-light);
  z-index: 1;
}

.step-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  z-index: 2;
  transition: var(--transition-smooth);
}

.step-indicator.active {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
}

.step-indicator.completed {
  background-color: var(--text-primary);
  border-color: var(--text-primary);
  color: #ffffff;
}

.estimator-panel {
  display: none;
}

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

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

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin: 24px 0 40px 0;
}

.card-option {
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  background-color: var(--bg-primary);
}

.card-option:hover {
  border-color: var(--text-secondary);
}

.card-option.selected {
  border-color: var(--accent-orange);
  background-color: var(--accent-orange-light);
}

.card-option-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.card-option-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.card-option-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.panel-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.panel-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.estimator-actions {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

/* Final Quote screen styling */
.quote-box {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 32px;
  text-align: center;
  margin-bottom: 32px;
}

.quote-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin: 16px 0;
}

.quote-details-list {
  text-align: left;
  max-width: 400px;
  margin: 24px auto;
}

.quote-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

/* Contact & Branches Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.branch-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 40px;
  transition: var(--transition-smooth);
}

.branch-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.branch-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.branch-tag {
  display: inline-block;
  font-size: 0.75rem;
  background-color: var(--accent-orange-light);
  color: var(--accent-orange);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.branch-info-list {
  list-style: none;
  margin-bottom: 32px;
}

.branch-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.branch-info-item strong {
  color: var(--text-primary);
}

.branch-info-item a {
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.branch-info-item a:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

.branch-btns {
  display: flex;
  gap: 12px;
}

.branch-btns .btn {
  flex: 1;
}

/* Footer styling */
.footer {
  background-color: #000000;
  color: var(--text-dark-muted);
  padding: 60px 0 30px 0;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 30px;
}

.footer-logo img {
  height: 48px;
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

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

/* Responsive Responsive adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .navbar .container {
    padding: 0 16px;
  }
  
  .nav-menu {
    display: none; /* Mobile navigation toggle handled by JS */
  }
  
  .nav-actions {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    padding: 100px 0 60px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    width: 100%;
  }
  
  .hero-image {
    transform: translateX(0);
    max-width: 450px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  .models-container {
    gap: 60px;
    margin-top: 32px;
  }
  
  .model-row, .model-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .model-row.reverse .model-image-wrapper {
    order: unset;
  }

  .model-row.reverse .model-text-content {
    order: unset;
  }

  .model-image-wrapper {
    padding: 20px 0;
    width: 100%;
    overflow: visible;
  }

  .model-layers-img {
    max-width: 100%;
    width: 380px;
    transform: rotateY(-15deg) rotateX(10deg) translateZ(0px);
    filter: drop-shadow(-10px 18px 18px rgba(0, 0, 0, 0.16));
  }
  
  .model-image-wrapper:hover .model-layers-img {
    transform: rotateY(-10deg) rotateX(8deg) translateZ(15px) scale(1.03);
    filter: drop-shadow(-14px 25px 25px rgba(0, 0, 0, 0.20));
  }

  /* Responsive Horizontal Scroll for Embedded Table */
  .model-table-wrapper {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-light);
    border-radius: 12px;
  }
  
  .model-specs-table {
    width: 100%;
    min-width: 440px;
  }
  
  .model-specs-table th,
  .model-specs-table td {
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  /* Sticky first column on mobile */
  .model-specs-table th:first-child,
  .model-specs-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
  }

  .model-specs-table th:first-child {
    background-color: var(--bg-secondary) !important;
  }

  .model-specs-table td:first-child {
    background-color: var(--bg-primary) !important;
    font-weight: 600;
  }

  .model-text-content {
    min-width: 0;
    width: 100%;
  }

  .model-text-content h3 {
    font-size: 1.8rem;
    text-align: left;
  }

  .model-tagline {
    font-size: 1rem;
    margin-bottom: 16px;
    text-align: left;
  }

  .model-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-align: left;
  }

  .model-bullets {
    margin-bottom: 24px;
  }

  .model-bullets li {
    font-size: 0.9rem;
  }

  .model-mini-specs {
    gap: 12px;
    padding: 16px;
  }

  .mini-spec-value {
    font-size: 1.3rem;
  }
  
  .mini-spec-label {
    font-size: 0.68rem;
  }
  .simulator-layout {
    grid-template-columns: 1fr;
  }
  
  .building-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .branch-card {
    padding: 30px 20px;
  }
  
  .estimator-box {
    padding: 24px 16px;
  }
  
  .estimator-steps {
    margin-bottom: 24px;
  }
  
  .option-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for cards */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

