/* Sarfzo Design System - Ultra Luxury Monochrome Black & White Theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Syne:wght@400..800&display=swap');

:root {
  --bg-color: #0a0a0a;
  --surface-dark: #121212;
  --surface-card: #161618;
  --surface-hover: #1e1e22;
  
  /* Minimal Accent Color (Used very sparingly) */
  --accent-minimal-blue: #00D4FF;
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --border-color: rgba(255, 255, 255, 0.1);
  --border-active: rgba(255, 255, 255, 0.35);
  
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1240px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Subtle Monochrome Radial Background Glow */
.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(10, 10, 10, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Badges & Labels */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-active);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-logo-img {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
}

.section-label {
  display: inline-block;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

/* Primary High-Contrast Monochrome White Button */
.btn-primary {
  background-color: #ffffff;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: #e4e4e7;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #000000;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

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

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

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
}

.nav-links a:hover {
  color: #ffffff;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 0 4rem;
  text-align: center;
  overflow: hidden;
}

.hero-glow-1 {
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(10, 10, 10, 0) 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.08;
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Scrolling Ticker */
.ticker-wrap {
  width: 100%;
  background: #000000;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-flex;
  gap: 2rem;
  animation: ticker 25s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.ticker-star {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Product Section Layouts */
.product-section {
  padding: 7rem 0;
  position: relative;
}

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

.product-grid.reversed {
  grid-template-columns: 1fr 1fr;
}

/* Interactive Image Gallery */
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.gallery-main {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #09090d;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  aspect-ratio: 1 / 1;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
  background: #09090d;
}

.gallery-thumbs {
  display: flex;
  gap: 1rem;
}

.thumb-btn {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-color);
  background: var(--surface-dark);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.thumb-btn.active, .thumb-btn:hover {
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #09090d;
}

/* Product Info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-info h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
}

.product-info .desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Feature Pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.5rem 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.pill i {
  color: #ffffff;
  font-size: 0.9rem;
}

/* Spec Sheet Card */
.spec-sheet {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 0.5rem 0;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.spec-sheet-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-sheet-header i {
  color: var(--accent-blue);
  width: 16px;
  height: 16px;
}

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

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

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.spec-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Pricing Box */
.price-container {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.price-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.price-currency {
  color: var(--text-secondary);
  font-size: 1.2rem;
  font-weight: 700;
}

.delivery-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ========================================================
   MONOCHROME TOP-DOWN HOUSE MODEL SIMULATOR
   ======================================================== */
.sim-container {
  margin-top: 5rem;
  background: linear-gradient(180deg, #0e0e12 0%, #060608 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.sim-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.sim-header h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text-primary);
}

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

.sim-instructions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sim-tip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

.sim-controls-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sim-count-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-sim-reset {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-sim-reset:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Floor Plan Blueprint Wrapper */
.floorplan-wrapper {
  position: relative;
  width: 100%;
  background: #050507;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.9);
  cursor: crosshair;
  touch-action: none;
}

/* Top-Down Floorplan SVG Base */
.floorplan-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

/* Dynamic Cursor Tracker Icon */
.cursor-person-tracker {
  position: absolute;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.2s ease, transform 0.05s linear;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-person-tracker::after {
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  position: absolute;
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Live Proximity Status Bar */
.sim-live-status-bar {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #08080c;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.status-indicator-dots {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sensor-dot-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sensor-dot-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
  transition: var(--transition);
}

.sensor-dot-item.active .dot {
  background: #FFFFFF;
  box-shadow: 0 0 12px #FFFFFF;
}

/* ========================================================
   COMING SOON & WHY SARFZO SECTION STYLES
   ======================================================== */
.coming-soon-section {
  padding: 6rem 0;
  position: relative;
}

.coming-soon-card {
  position: relative;
  background: linear-gradient(135deg, rgba(18, 18, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.05);
}

.coming-soon-card .bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.coming-soon-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.coming-soon-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.coming-soon-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Why Sarfzo Section */
.why-section {
  padding: 7rem 0;
  background-color: #060606;
}

.why-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.why-header h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-top: 0.5rem;
}

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

.why-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.05);
}

.why-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  opacity: 0.9;
}

.why-card h3 {
  font-size: 1.35rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #000000;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2.5rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.footer-brand p {
  color: var(--text-secondary);
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #ffffff;
}

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

/* Mobile Drawer Navigation */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--surface-dark);
  border-left: 1px solid var(--border-color);
  z-index: 200;
  padding: 3rem 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-links a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Media Queries */
@media (max-width: 992px) {
  .nav-links, .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .product-grid, .product-grid.reversed {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-grid.reversed .product-info {
    order: 2;
  }

  .product-grid.reversed .gallery-container {
    order: 1;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

@media (max-width: 576px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .thumb-btn {
    width: 64px;
    height: 64px;
  }

  .sim-instructions-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .sim-live-status-bar {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
}
