/* css/style.css - Main styles */
@import url('variables.css');
@import url('responsive.css');

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

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: var(--font-heading);
}

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

ul {
  list-style: none;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.fade-in {
  animation: fadeIn var(--transition-speed) ease-in-out forwards;
}

.slide-up {
  animation: slideUp 0.4s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* App Wrapper for Desktop/Mobile */
.app-wrapper {
    overflow-x: hidden;
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0 auto;
  position: relative;
}

/* Main Content Area */
.app-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 20px; /* Base padding */
  padding-bottom: 90px; /* Space for bottom nav */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.app-content::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

/* For pages without bottom nav (Splash, Access Denied) */
.app-content.no-nav {
  padding-bottom: 24px;
}

/* Buttons */
.btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  background-color: var(--primary-gold);
  color: var(--surface);
  border: none;
  border-radius: 0;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.btn-primary:active, .btn-primary:hover {
  background-color: var(--primary-gold-dark);
}

.btn-secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  background-color: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  border-radius: 0;
  padding: 16px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.btn-secondary:active, .btn-secondary:hover {
  background-color: var(--primary-gold);
  color: var(--surface);
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #D0D0D0; /* Darker border so it is visible on pure white */
  padding-bottom: 16px;
  margin-bottom: 24px;
}

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

.header-logo {
  width: 40px;
  height: 40px;
  background-color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 1.2rem;
}

.header-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Typography Classes */
.text-gold { color: var(--primary-gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Utilities */
.hidden {
  display: none !important;
}

/* Bottom Navigation */
.bottom-nav {
  position: absolute; /* Relative to .app-wrapper */
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 8px 4px 14px 4px; /* Tightened gap & padding */
  z-index: 100;
  box-sizing: border-box;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--primary-gold-muted);
  cursor: pointer;
  transition: color var(--transition-speed);
  font-size: 0.65rem;
  font-weight: 500;
  flex: 1;
  max-width: 84px;
  text-align: center;
  white-space: nowrap;
  padding: 2px 2px;
}

.nav-item.active {
  color: var(--primary-gold);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

/* Splash Screen Specific */
.splash-bg {
  background-color: var(--primary-gold);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.splash-logo {
  width: 80px;
  height: 80px;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 24px;
}

.splash-title {
  font-size: 2.5rem;
  margin-bottom: 4px;
  letter-spacing: 0px;
  font-weight: 600;
}

.splash-subtitle {
  font-size: 0.85rem;
  letter-spacing: 8px;
  margin-bottom: 32px;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.9;
}

.splash-footer {
  font-size: 0.75rem;
  letter-spacing: 2px;
  opacity: 0.7;
  text-transform: uppercase;
  font-weight: 500;
}

/* Greeting Block */
.greeting-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 24px;
}

.action-row h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-wishlist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.btn-wishlist svg {
  width: 15px;
  height: 15px;
  stroke: #777777;
  fill: none;
  transition: all 0.2s ease;
}

.btn-wishlist.has-items svg {
  stroke: var(--accent-red, #e74c3c) !important;
  fill: var(--accent-red, #e74c3c) !important;
}

/* Filters */
.filter-dropdown {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 500;
}

.filter-dropdown svg {
  stroke: var(--primary-gold);
}

.filter-panel {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 16px;
  margin-bottom: 16px;
  display: none; /* Toggled via JS */
}

.filter-panel.open {
  display: block;
  animation: fadeIn 0.2s ease-out forwards;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.btn-clear {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--primary-gold);
  font-size: 0.82rem;
  cursor: pointer;
}

.pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pill {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-main);
  background-color: var(--surface);
  cursor: pointer;
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.pill .count {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.pill.selected {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--surface);
}

.pill.selected .count {
  color: rgba(255, 255, 255, 0.8);
}

.pill.selected.filter-resale {
  background-color: var(--status-resale) !important;
  border-color: var(--status-resale) !important;
}
.pill.selected.filter-rent {
  background-color: var(--status-rent) !important;
  border-color: var(--status-rent) !important;
}
.pill.selected.filter-ready {
  background-color: var(--status-ready) !important;
  border-color: var(--status-ready) !important;
}
.pill.selected.filter-uc {
  background-color: var(--status-uc) !important;
  border-color: var(--status-uc) !important;
}

/* Horizontal Scroll for BHK & Status */
.bhk-scroll {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 6px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.bhk-scroll::-webkit-scrollbar {
  display: none;
}

.bhk-scroll .pill {
  flex-shrink: 0;
}

/* Accordion */
.accordion-item {
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.filter-empty-state {
  border: 1px solid var(--border);
  background-color: #FAF9F6;
  color: var(--text-muted);
  padding: 18px 16px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  text-align: center;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.accordion-count {
  color: var(--text-muted);
}

.accordion-icon {
  stroke: var(--primary-gold);
  transition: transform var(--transition-speed);
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding-bottom: 16px;
}

.accordion-item.open .accordion-content {
  display: block;
  animation: fadeIn 0.2s ease-out forwards;
}

/* Property Card */
.property-card {
  position: relative;
  background-color: var(--surface);
  border: 1px solid rgba(184, 137, 23, 0.25);
  border-radius: 0;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.property-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.property-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Badges */
.badge-commission {
    position: absolute;
    top: -6px;
    left: -6px;
    background-color: #FF6B35;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
    transform: rotate(-3deg);
    z-index: 2;
    letter-spacing: 0.5px;
}

.badge-tag {
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-tag.badge-resale { background-color: var(--status-resale) !important; }
.badge-tag.badge-rent { background-color: var(--status-rent) !important; }
.badge-tag.badge-ready { background-color: var(--status-ready) !important; }
.badge-tag.badge-uc { background-color: var(--status-uc) !important; }
.badge-tag.badge-new { background-color: #FF6B35; } /* fallback */

.property-actions {
  display: flex;
  gap: 12px;
}

.icon-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--primary-gold);
  transition: all 0.2s;
}

.icon-btn:hover {
  background-color: #F5F5F5;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-gold);
}

.icon-btn.heart.liked svg {
  fill: var(--accent-red);
  stroke: var(--accent-red);
}

.property-specs {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.property-divider {
  height: 1px;
  background-color: var(--border);
  margin-bottom: 16px;
}

.property-price {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Notes Section */
.notes-section {
  background-color: var(--surface);
  border: 1px solid rgba(184, 137, 23, 0.25);
  border-radius: 0;
  padding: 20px;
  margin-top: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.notes-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.note-icon {
  color: var(--primary-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.note-sub {
  margin-top: 8px;
  padding-left: 12px;
  margin-left: 2px;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
}

.note-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
}

/* Promo Banner */
.promo-banner {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 24px;
  display: block;
  overflow: hidden;
  border-radius: 0;
}
.promo-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Upcoming Visits */
.visits-container {
  margin-bottom: 16px;
}
.visits-header {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.visits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 210px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom Scrollbar for Visits List */
.visits-list::-webkit-scrollbar {
  width: 4px;
}
.visits-list::-webkit-scrollbar-track {
  background: var(--surface);
}
.visits-list::-webkit-scrollbar-thumb {
  background-color: var(--border);
  border-radius: 4px;
}
.visits-list::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-gold);
}
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.visit-card {
  display: flex;
  align-items: center;
  background-color: #FAF9F6;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 0;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition-speed);
  opacity: 0;
  animation: slideUpFade 0.4s ease-out forwards;
}
.visit-card:nth-child(1) { animation-delay: 0.1s; }
.visit-card:nth-child(2) { animation-delay: 0.2s; }
.visit-card:nth-child(3) { animation-delay: 0.3s; }
.visit-card:hover {
  border-color: var(--primary-gold);
  background-color: #FFFDF8;
  box-shadow: 0 10px 22px rgba(37, 37, 37, 0.08);
  transform: translateY(-2px);
}
.visit-card:hover .vc-status svg {
  transform: translateX(4px);
}
.vc-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--primary-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vc-details {
  flex: 1;
}
.vc-details h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}
.vc-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.vc-status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vc-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1a7b46;
  background-color: #e6f4ea;
  border: 1px solid #cce5d5;
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}
.vc-status svg {
  color: var(--primary-gold);
  transition: transform var(--transition-speed);
}

.visit-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(37, 37, 37, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

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

.visit-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: calc(100% - 40px);
  max-width: 420px;
  background: #fff;
  border: 1px solid rgba(184, 137, 23, 0.35);
  padding: 28px 22px 24px;
  box-shadow: 0 24px 60px rgba(37, 37, 37, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1001;
}

.visit-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.visit-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.visit-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.visit-modal-kicker {
  color: var(--primary-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.visit-modal h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.visit-modal p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Fee Disclosure Strip */
.fee-disclosure {
  background-color: #F9F8F5;
  border: 1px solid var(--border);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-main);
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Bottom Sheet */
.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed);
}
.bottom-sheet-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.bottom-sheet {
  position: fixed;
  bottom: -60vh;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
  height: 55vh;
  background-color: var(--surface);
  z-index: 1000;
  border-radius: 0;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.15);
  transition: bottom var(--transition-speed) ease-out;
  display: flex;
  flex-direction: column;
}
.bottom-sheet.open {
  bottom: 0;
}
.bottom-sheet-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.bottom-sheet-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}
.bottom-sheet-close svg {
  width: 24px;
  height: 24px;
}
.bottom-sheet-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  padding-right: 24px;
}
.bottom-sheet-specs {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.bottom-sheet-content {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.action-box {
  background-color: #FAF9F6;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary-gold);
  border-radius: 0;
  width: 100%;
  padding: 16px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--text-main);
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.action-box svg {
  color: var(--primary-gold);
  flex-shrink: 0;
}
.action-box:hover {
  border-color: var(--primary-gold);
  background-color: #FFFDF8;
}

/* Shared Vastu Payment Modal */
.vastu-payment-overlay {
  position: fixed;
  inset: 0;
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.vastu-payment-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.vastu-payment-modal {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 32px 24px 24px;
  position: relative;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.vastu-payment-overlay.open .vastu-payment-modal {
  transform: scale(1);
  opacity: 1;
}

.vastu-payment-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.vastu-payment-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vastu-payment-title {
  color: var(--text-main);
  font-size: 1.45rem;
  line-height: 1.25;
  padding: 0 18px;
  margin-bottom: 14px;
}

.vastu-payment-arrow {
  color: var(--primary-gold);
  display: flex;
  margin-bottom: 12px;
}

.vastu-payment-subtitle {
  font-family: var(--font-body);
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.vastu-qr-placeholder {
  width: min(230px, 74vw);
  aspect-ratio: 1 / 1;
  border: 2px solid var(--primary-gold);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(184, 137, 23, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(184, 137, 23, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  overflow: hidden;
}

.vastu-qr-placeholder span {
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 12px;
  position: relative;
  z-index: 2;
}

.qr-pattern {
  position: absolute;
  inset: 24px;
  background:
    linear-gradient(90deg, var(--text-main) 10px, transparent 10px) 0 0 / 34px 34px,
    linear-gradient(var(--text-main) 10px, transparent 10px) 0 0 / 34px 34px;
  opacity: 0.07;
}

.qr-corner {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 8px solid var(--text-main);
  opacity: 0.2;
}

.qr-corner-tl {
  top: 18px;
  left: 18px;
}

.qr-corner-tr {
  top: 18px;
  right: 18px;
}

.qr-corner-bl {
  bottom: 18px;
  left: 18px;
}

.vastu-paid-btn,
.vastu-client-whatsapp {
  min-height: 50px;
}

.vastu-success-icon {
  width: 70px;
  height: 70px;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.vastu-success-text {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 22px;
}

/* Access Denied */
.denied-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 40px 24px;
}

@keyframes gold-shimmer-loop {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.denied-logo {
  width: 80px;
  height: 80px;
  background-color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 32px;
}
.denied-logo.shimmer-loop {
  position: relative;
  overflow: hidden;
}
.denied-logo.shimmer-loop::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(184, 137, 23, 0.3) 50%, transparent 100%);
  animation: gold-shimmer-loop 2.5s infinite linear;
}

.denied-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.denied-title {
  font-family: var(--font-body);
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-main);
  font-weight: 700;
}

.denied-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.denied-divider {
  width: 40px;
  height: 1px;
  background-color: var(--primary-gold);
  margin-bottom: 32px;
}

.denied-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-denied-primary, .btn-denied-outline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px;
  width: 100%;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-denied-primary {
  background-color: var(--primary-gold);
  color: #fff;
  border: none;
}
.btn-denied-primary:hover {
  background-color: var(--primary-gold-dark);
}

.btn-denied-outline {
  background-color: #FAF9F6;
  border: 1px solid var(--border);
  color: var(--text-main);
}
.btn-denied-outline:hover {
  border-color: var(--primary-gold);
}

.denied-footer {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 32px;
  line-height: 1.5;
}

/* Website Page Refined Styles */
.website-page {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Seal */
.wv-seal {
  width: 72px;
  height: 72px;
  border: 2px solid var(--primary-gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-gold);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  background-color: var(--background);
}

/* Shimmer Animation */
@keyframes shimmer {
  0% { transform: translateX(-150%) rotate(45deg); }
  100% { transform: translateX(250%) rotate(45deg); }
}

.shimmer-seal::after, .shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-150%) rotate(45deg);
  pointer-events: none;
}
.shimmer-seal::after {
  animation: shimmer 3s infinite ease-in-out;
}
.shimmer-btn {
  position: relative;
  overflow: hidden;
}
.shimmer-btn:hover::after {
  animation: shimmer 1s forwards;
}

/* Typography */
.hero-title {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero-link {
  color: var(--primary-gold);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: var(--primary-gold);
  text-underline-offset: 4px;
  margin-bottom: 24px;
}

.btn-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(184, 137, 23, 0.3); /* Base shadow */
}
.btn-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(184, 137, 23, 0.4);
}

/* Explore Divider */
.explore-divider {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 40px 0 24px;
}
.explore-divider::before, .explore-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.explore-divider span {
  padding: 0 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Tiles Grid */
.tiles-grid {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-bottom: 32px;
}

.tile-box {
  flex: 1;
  background-color: #FAF9F6;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 24px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.tile-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.tile-box svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-gold);
  margin-bottom: 12px;
  fill: none;
  stroke-width: 1.5;
}
.tile-box h4 {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 4px;
}
.tile-box p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Quote Strip */
.quote-strip {
  background-color: #FAF9F6;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary-gold);
  border-radius: 0;
  padding: 24px 20px;
  width: 100%;
  text-align: left;
  position: relative;
  margin-bottom: 32px;
}
.quote-mark {
  color: var(--primary-gold);
  font-size: 3.5rem;
  line-height: 1;
  font-family: var(--font-heading);
  position: absolute;
  top: 10px;
  left: 15px;
  opacity: 0.4;
}
.quote-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 16px;
  padding-left: 12px;
  padding-top: 10px;
}
.quote-author {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 12px;
}

/* Simple Divider */
.divider {
  width: 100%;
  height: 1px;
  background-color: var(--border);
  margin-bottom: 32px;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-item h3 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.stat-item h3 .plus {
  font-size: 1.2rem;
  vertical-align: super;
}
.stat-item p {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Staggered Animations */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
}
.staggered-container.animate .stagger-item {
  animation: slideUpFade 0.6s ease forwards;
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.staggered-container.animate .stagger-item:nth-child(1) { animation-delay: 0.1s; }
.staggered-container.animate .stagger-item:nth-child(2) { animation-delay: 0.15s; }
.staggered-container.animate .stagger-item:nth-child(3) { animation-delay: 0.2s; }
.staggered-container.animate .stagger-item:nth-child(4) { animation-delay: 0.25s; }
.staggered-container.animate .stagger-item:nth-child(5) { animation-delay: 0.3s; }
.staggered-container.animate .stagger-item:nth-child(6) { animation-delay: 0.35s; }
.staggered-container.animate .stagger-item:nth-child(7) { animation-delay: 0.4s; }
.staggered-container.animate .stagger-item:nth-child(8) { animation-delay: 0.45s; }
.staggered-container.animate .stagger-item:nth-child(9) { animation-delay: 0.5s; }
.staggered-container.animate .stagger-item:nth-child(10) { animation-delay: 0.55s; }

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .shimmer-seal::after, .shimmer-btn::after {
    animation: none;
    display: none;
  }
  .stagger-item {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .btn-lift {
    transition: none;
  }
  .btn-lift:hover {
    transform: none;
  }
  .tile-box {
    transition: none;
  }
  .tile-box:hover {
    transform: none;
  }
  .btn-pulse {
    animation: none;
  }
}

/* Detail Tab Page */
.detail-section {
  background-color: var(--surface);
  border: 1px solid rgba(184, 137, 23, 0.25);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.detail-section-title {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.qr-box {
  width: 150px;
  height: 150px;
  border: 2px dashed var(--primary-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  color: var(--primary-gold);
  margin: 0 auto 12px auto;
}

.scanner-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}

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

.btn-pulse {
  animation: pulse 2s infinite ease-in-out;
}

.pdf-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  background-color: var(--surface);
}

.pdf-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.pdf-info svg {
  stroke: var(--primary-gold);
}

/* --- List Property Page & Modal --- */
.btn-list-action {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background-color: #fff;
  border: 1.5px solid var(--primary-gold);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-list-action .btn-list-main {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-gold);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.btn-list-action .btn-list-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.btn-list-action:hover {
  background-color: var(--primary-gold);
}
.btn-list-action:hover .btn-list-main,
.btn-list-action:hover .btn-list-sub {
  color: #fff;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  padding: 32px 24px;
  border-radius: 0;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}



/* App Install Banner */
.app-install-banner {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    animation: slideDownFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownFade {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.app-banner-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.app-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.app-banner-text {
    flex: 1;
}

.app-banner-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 4px 0;
}

.app-banner-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.get-app-btn {
    background-color: var(--primary-gold);
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(184, 137, 23, 0.3);
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0% { box-shadow: 0 0 0 0 rgba(184, 137, 23, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(184, 137, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 137, 23, 0); }
}

.app-banner-stores {
    display: flex;
    background-color: #1c1c1c;
}

.store-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: #FFFFFF;
    text-decoration: none;
    border-right: 1px solid #333;
    transition: background-color 0.2s;
}

.store-btn:last-child {
    border-right: none;
}

.store-btn:active {
    background-color: #2a2a2a;
}

.store-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.store-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-btn span {
    font-size: 0.55rem;
    line-height: 1;
    color: #ccc;
}

.store-btn strong {
    font-size: 0.85rem;
    line-height: 1.2;
    font-weight: 600;
}
