
:root {
  --primary: #ffd400;
  --primary-dark: #e6bf00;
  --dark: #1a1a1a;
  --dark-gray: #2d2d2d;
  --medium-gray: #4a4a4a;
  --light-gray: #8a8a8a;
  --lighter-gray: #e5e5e5;
  --white: #ffffff;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
}

/* Global Animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 212, 0, 0.3); }
  50% { box-shadow: 0 0 40px rgba(255, 212, 0, 0.6); }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 60px;
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: var(--primary);
  border-bottom: 1px solid var(--primary-dark);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #3B82F6;
}

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

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

.nav a {
  color: var(--dark);
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  opacity: 0.7;
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #3B82F6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav a:hover {
  color: #3B82F6;
  opacity: 1;
}

.nav a:hover::after {
  width: 100%;
}

.nav a.active {
  color: var(--dark);
  opacity: 1;
  font-weight: 700;
}

.nav a.active::after {
  width: 100%;
  background: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(232, 185, 49, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 185, 49, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(232, 185, 49, 0.3);
}

.btn-secondary {
  background: var(--dark-gray);
  color: var(--white);
  border: 1px solid var(--medium-gray);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: var(--medium-gray);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(232, 185, 49, 0.15);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 185, 49, 0.3);
}

.btn-outline:active {
  transform: translateY(0);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #ffd400, #ff6b6b);
  opacity: 0.15;
  top: -250px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.hero-shapes .shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.12;
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shapes .shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #22c55e, #06b6d4);
  opacity: 0.1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero h1 span {
  background: linear-gradient(90deg, #ffd400, #ff6b6b, #ffd400);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.stat {
  text-align: left;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Property Grid */
.properties-section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
}

.section-title span {
  color: var(--primary);
}

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

@media (max-width: 1024px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Property Card */
.property-card {
  background: var(--dark-gray);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--primary);
}

.property-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

/* Image Placeholder */
.property-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--medium-gray);
}

.property-image-placeholder svg {
  width: 48px;
  height: 48px;
  fill: var(--medium-gray);
}

.property-image-placeholder span {
  font-size: 13px;
  font-weight: 500;
  color: var(--light-gray);
}

/* Gallery Placeholder */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--medium-gray);
}

.gallery-placeholder svg {
  width: 80px;
  height: 80px;
  fill: var(--medium-gray);
}

.gallery-placeholder span {
  font-size: 20px;
  font-weight: 600;
  color: var(--light-gray);
}

.gallery-placeholder p {
  font-size: 14px;
  color: var(--medium-gray);
  margin: 0;
}

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-available {
  background: var(--success);
  color: var(--white);
}

.badge-reserved {
  background: var(--warning);
  color: var(--dark);
}

.badge-sold {
  background: var(--error);
  color: var(--white);
}

.badge-featured {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--dark);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.property-builder {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.8);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--lighter-gray);
}

.property-content {
  padding: 24px;
}

.property-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.property-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-location {
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-specs {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--medium-gray);
}

.spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--light-gray);
}

.spec svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

/* Filters */
.filters-section {
  background: var(--dark-gray);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 40px;
}

.filters-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-input,
.filter-select {
  padding: 12px 16px;
  background: var(--dark);
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  transition: border-color 0.2s;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-select {
  cursor: pointer;
}

.filter-select option {
  background: var(--dark);
  color: var(--white);
}

/* Property Detail */
.property-detail {
  padding: 40px 0 80px;
}

.property-detail-header {
  margin-bottom: 40px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 24px;
}

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

.breadcrumb span {
  color: var(--medium-gray);
}

.property-detail-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  max-width: 100%;
  align-items: start;
}

.property-main-content {
  min-width: 0;
  overflow: hidden;
}

.property-sidebar {
  position: relative;
}

@media (max-width: 1024px) {
  .property-detail-grid {
    grid-template-columns: 1fr;
  }
}

.property-gallery {
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark-gray);
  max-width: 100%;
}

.gallery-main {
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--medium-gray) var(--dark-gray);
}

.gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: var(--dark-gray);
  border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--medium-gray);
  border-radius: 3px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery dots - hidden on desktop, shown on mobile */
.gallery-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  background: var(--dark-gray);
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--medium-gray);
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Gallery Navigation Arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.gallery-arrow-left {
  left: 16px;
}

.gallery-arrow-right {
  right: 16px;
}

.gallery-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 10;
}

.property-info-card {
  background: var(--dark-gray);
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.property-info-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.property-status-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.property-info-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.property-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-status-badge.status-available {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.property-status-badge.status-reserved {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.property-status-badge.status-sold {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.property-status-badge.status-code {
  background: linear-gradient(135deg, #ffd400, #e6bf00);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(255, 212, 0, 0.3);
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  letter-spacing: 0.8px;
  font-size: 10px;
}

/* Property Grades Section */
.property-grades {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.property-grades::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
}

.grades-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.grades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.grade-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.grade-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.grade-item-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 5px;
  font-weight: 600;
}

.grade-badge {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Grade colors - white background with colored text */
.grade-a {
  background: rgba(255, 255, 255, 0.95);
  color: #16a34a;
}

.grade-b {
  background: rgba(255, 255, 255, 0.95);
  color: #65a30d;
}

.grade-c {
  background: rgba(255, 255, 255, 0.95);
  color: #ca8a04;
}

.grade-d {
  background: rgba(255, 255, 255, 0.95);
  color: #ea580c;
}

.grade-e {
  background: rgba(255, 255, 255, 0.95);
  color: #dc2626;
}

.grade-f {
  background: rgba(255, 255, 255, 0.95);
  color: #991b1b;
}

/* Available Plots Section */
.available-plots-section {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.1) 0%, rgba(255, 212, 0, 0.02) 100%);
  border: 1px solid rgba(255, 212, 0, 0.25);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.available-plots-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

.available-plots-header svg {
  color: var(--primary);
}

.available-plots-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.plot-number-badge {
  background: linear-gradient(135deg, #ffd400, #e6be00);
  color: #1a1a1a;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 212, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.plot-number-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 212, 0, 0.4);
}

.available-plots-count {
  font-size: 12px;
  color: var(--light-gray);
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 212, 0, 0.15);
}

.property-info-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.property-info-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--light-gray);
  margin-bottom: 10px;
  font-size: 13px;
}

.property-info-development {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.property-info-development:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.property-info-development svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.view-location-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 16px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 12px;
  box-shadow:
    0 4px 15px rgba(139, 92, 246, 0.4),
    0 2px 6px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  animation: location-btn-gradient 3s ease infinite;
}

@keyframes location-btn-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.view-location-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.view-location-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent, rgba(255,255,255,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.view-location-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #ffd400 0%, #f59e0b 50%, #eab308 100%);
  background-size: 200% 200%;
  color: #3b82f6;
  box-shadow:
    0 8px 25px rgba(255, 212, 0, 0.5),
    0 4px 12px rgba(245, 158, 11, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(59, 130, 246, 0.2);
}

.view-location-btn:hover::before {
  left: 100%;
}

.view-location-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 2px 8px rgba(139, 92, 246, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-location-btn svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.view-location-btn:hover svg {
  transform: scale(1.15);
  animation: location-icon-pulse 0.6s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

@keyframes location-icon-pulse {
  0%, 100% { transform: scale(1.15); }
  50% { transform: scale(1.3); }
}

.map-section {
  margin-top: 20px;
}

.map-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.property-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.property-map iframe {
  display: block;
}

.transport-info-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.1) 0%, rgba(255, 212, 0, 0.04) 100%);
  border: 1px solid rgba(255, 212, 0, 0.2);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--lighter-gray);
}

.transport-info-line svg {
  color: var(--primary);
  flex-shrink: 0;
}

.transport-info-line strong {
  color: var(--primary);
  font-weight: 600;
}

.incentives-info-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.04) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--lighter-gray);
}

.incentives-info-line svg {
  color: var(--success);
  flex-shrink: 0;
}

.incentives-info-line strong {
  color: var(--success);
  font-weight: 600;
}

.appliances-info-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--lighter-gray);
}

.appliances-info-line svg {
  color: var(--white);
  flex-shrink: 0;
}

.appliances-info-line strong {
  color: var(--white);
  font-weight: 600;
}

/* Info Line Row - Side by Side */
.info-line-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.info-line-row .parking-info-line,
.info-line-row .ev-charger-info-line,
.info-line-row .heating-info-line,
.info-line-row .solar-panel-info-line {
  flex: 1;
  margin-top: 0;
}

/* Parking Info Line - Blue */
.parking-info-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.04) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--lighter-gray);
}

.parking-info-line svg {
  color: #3b82f6;
  flex-shrink: 0;
}

.parking-info-line strong {
  color: #3b82f6;
  font-weight: 600;
}

/* Garage Info Line - Purple */
.garage-info-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--lighter-gray);
}

.garage-info-line svg {
  color: #8b5cf6;
  flex-shrink: 0;
}

.garage-info-line strong {
  color: #8b5cf6;
  font-weight: 600;
}

/* EV Charger Info Line - Green */
.ev-charger-info-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.04) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--lighter-gray);
}

.ev-charger-info-line svg {
  color: #22c55e;
  flex-shrink: 0;
}

.ev-charger-info-line strong {
  color: #22c55e;
  font-weight: 600;
}

/* Heating Info Line - Red/Orange */
.heating-info-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.04) 100%);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--lighter-gray);
}

.heating-info-line svg {
  color: #ef4444;
  flex-shrink: 0;
}

.heating-info-line strong {
  color: #ef4444;
  font-weight: 600;
}

/* Water Info Line - Cyan */
.water-info-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.04) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--lighter-gray);
}

.water-info-line svg {
  color: #06b6d4;
  flex-shrink: 0;
}

.water-info-line strong {
  color: #06b6d4;
  font-weight: 600;
}

/* Solar Panel Info Line - Yellow/Amber */
.solar-panel-info-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.04) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: var(--lighter-gray);
}

.solar-panel-info-line svg {
  color: #f59e0b;
  flex-shrink: 0;
}

.solar-panel-info-line strong {
  color: #f59e0b;
  font-weight: 600;
}

.property-info-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--medium-gray);
  border-bottom: 1px solid var(--medium-gray);
  margin-bottom: 24px;
}

.info-spec {
  text-align: center;
  padding: 16px;
  background: var(--dark);
  border-radius: 12px;
}

.info-spec-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.info-spec-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* About This Property - Exciting Card Design */
.about-property-card {
  background: linear-gradient(145deg, var(--dark-gray) 0%, rgba(45, 45, 45, 0.8) 100%);
  border-radius: 20px;
  padding: 28px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 0, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.about-property-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.about-property-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.about-property-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(255, 212, 0, 0.3);
}

.about-property-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--dark);
}

.about-property-title h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.about-property-subtitle {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.about-property-content {
  padding-left: 68px;
  position: relative;
}

.about-property-content::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  border-radius: 1px;
}

.about-property-content p {
  color: var(--lighter-gray);
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 12px;
}

.about-property-content p:last-child {
  margin-bottom: 0;
}

.about-property-content p:first-child::first-letter {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  float: left;
  margin-right: 6px;
  line-height: 1;
}

.about-property-accent {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 640px) {
  .about-property-content {
    padding-left: 0;
  }

  .about-property-content::before {
    display: none;
  }

  .about-property-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Features & Amenities Side by Side */
.features-amenities-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .features-amenities-row {
    grid-template-columns: 1fr;
  }
}

.property-section-card {
  background: var(--dark-gray);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  position: relative;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.property-section-card:hover {
  border-color: rgba(255, 212, 0, 0.2);
}

.section-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-card-icon.features-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.section-card-icon.amenities-icon {
  background: linear-gradient(135deg, var(--success), #1a9d4a);
}

.section-card-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--dark);
}

.section-card-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.section-card-content {
  flex: 1;
  overflow: visible;
}

.section-brief-compact {
  margin-bottom: 10px;
}

.section-brief-compact p {
  font-size: 12px;
  color: var(--light-gray);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tags-grid-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags-grid-compact .tag {
  font-size: 10px;
  padding: 4px 8px;
}

.tags-grid-compact .tag-more {
  background: var(--medium-gray);
  color: var(--white);
  border: none;
  font-weight: 600;
}

.section-more-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.section-more-btn:hover {
  background: rgba(255, 212, 0, 0.1);
}

.section-more-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
}

/* Modal Styles */
.section-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.section-modal.active {
  display: flex;
}

.section-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.section-modal-content {
  position: relative;
  background: var(--dark-gray);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--medium-gray);
}

.section-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--medium-gray);
}

.section-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--white);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: var(--medium-gray);
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--light-gray);
}

.section-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-brief {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--dark);
  border-radius: 10px;
  border-left: 3px solid var(--primary);
}

.modal-brief p {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.7;
  margin: 0 0 8px 0;
}

.modal-brief p:last-child {
  margin-bottom: 0;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tags .tag {
  font-size: 12px;
  padding: 6px 12px;
}

/* Compact Property Sections (legacy) */
.property-description.compact {
  background: var(--dark-gray);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 24px;
}

.property-description.compact h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.property-description.compact p {
  color: var(--light-gray);
  line-height: 1.7;
  font-size: 13px;
  margin-bottom: 8px;
}

.property-description.compact p:last-child {
  margin-bottom: 0;
}

.property-section.compact {
  background: var(--dark-gray);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 16px;
}

.property-section.compact h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

/* Section Brief Text */
.section-brief {
  margin-bottom: 14px;
  padding: 12px 16px;
  background: var(--dark);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.section-brief p {
  color: var(--light-gray);
  line-height: 1.6;
  font-size: 12px;
  margin-bottom: 6px;
}

.section-brief p:last-child {
  margin-bottom: 0;
}

/* Plans Row - Floorplan & Siteplan Side by Side */
.plans-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .plans-row {
    grid-template-columns: 1fr;
  }
}

/* Floorplan & Siteplan Sections - Modern Glass Style */
.floorplan-section,
.siteplan-section {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  position: relative;
  flex: 1;
}

.floorplan-section::before,
.siteplan-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, var(--primary));
}

.floorplan-section::after,
.siteplan-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08), transparent 50%);
  pointer-events: none;
}

.floorplan-section h3,
.siteplan-section h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 20px 20px 0 20px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.floorplan-section > p,
.siteplan-section > p {
  color: rgba(255, 255, 255, 0.6);
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.floorplan-image {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  margin: 16px 20px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floorplan-image img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  display: block;
  padding: 12px;
  background: white;
}

.floorplan-section .gallery-thumbs,
.siteplan-section .gallery-thumbs {
  max-width: 100%;
  padding: 0 20px 20px 20px;
  position: relative;
  z-index: 1;
}

.floorplan-section .gallery-thumb,
.siteplan-section .gallery-thumb {
  width: 80px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.floorplan-section .gallery-thumb:hover,
.siteplan-section .gallery-thumb:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.floorplan-section .gallery-thumb.active,
.siteplan-section .gallery-thumb.active {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary);
}

.floorplan-section .gallery-thumb img,
.siteplan-section .gallery-thumb img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  background: white;
}

.thumb-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 500;
}

.gallery-thumb.active .thumb-label {
  color: var(--primary);
}

/* Clickable image with zoom hint */
.floorplan-image.clickable {
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floorplan-image.clickable:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floorplan-image.clickable:hover .zoom-hint {
  opacity: 1;
}

/* Interactive Floor Plan Button */
.interactive-floorplan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 20px 0;
  padding: 14px 24px;
  background: linear-gradient(135deg, #1a1a2e 0%, #252542 100%);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.interactive-floorplan-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.1), transparent);
  transition: left 0.5s ease;
}

.interactive-floorplan-btn:hover::before {
  left: 100%;
}

.interactive-floorplan-btn:hover {
  background: linear-gradient(135deg, #252542 0%, #1a1a2e 100%);
  border-color: #00d4aa;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
  transform: translateY(-2px);
}

.interactive-floorplan-btn svg {
  color: #00d4aa;
  flex-shrink: 0;
}

.interactive-floorplan-btn .ai-badge {
  background: linear-gradient(135deg, #00d4aa, #7c3aed);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Image Lightbox Modal */
.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.image-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}

.lightbox-caption {
  color: white;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
}

/* Tags Grid for Features & Amenities */
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.tag-feature {
  background: rgba(255, 212, 0, 0.15);
  color: var(--primary);
  border: 1px solid rgba(255, 212, 0, 0.3);
}

.tag-amenity {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Legacy styles for backwards compatibility */
.property-description {
  background: var(--dark-gray);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
}

.property-description h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.property-description p {
  color: var(--light-gray);
  line-height: 1.8;
}

.property-features {
  background: var(--dark-gray);
  border-radius: 16px;
  padding: 32px;
  margin-top: 24px;
}

.property-features h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--dark);
  border-radius: 8px;
  font-size: 14px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--dark);
}

/* Incentives Section */
.incentives-section {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%) !important;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.incentives-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.incentive-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--white);
}

.incentive-item svg {
  width: 18px;
  height: 18px;
  fill: var(--success);
  flex-shrink: 0;
}

/* Info Detail Rows */
.info-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--medium-gray);
  font-size: 13px;
}

.info-detail-label {
  color: var(--light-gray);
}

.info-detail-value {
  font-weight: 600;
  text-transform: capitalize;
}

.ownership-badge {
  background: var(--primary);
  color: var(--dark);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Costs Section */
.costs-section {
  background: var(--dark);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.costs-section h4 {
  font-size: 13px;
  color: var(--light-gray);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}

.cost-row:last-child {
  margin-bottom: 0;
}

.cost-row span:first-child {
  color: var(--light-gray);
}

.cost-row span:last-child {
  font-weight: 600;
}

/* EPC Section */
.epc-section {
  background: var(--dark);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.epc-section h4 {
  font-size: 13px;
  color: var(--light-gray);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.epc-badge {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  border-radius: 6px;
  color: var(--white);
}

.epc-a { background: #00a651; }
.epc-b { background: #50b848; }
.epc-c { background: #bdd535; }
.epc-d { background: #ffd500; color: var(--dark); }
.epc-e { background: #f7a600; color: var(--dark); }
.epc-f { background: #ed6823; }
.epc-g { background: #e31b23; }

.epc-potential {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--light-gray);
}

.epc-potential .epc-badge {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

/* Mortgage Calculator */
.mortgage-calculator {
  background: var(--dark);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.mortgage-calculator h4 {
  font-size: 13px;
  color: var(--light-gray);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-inputs {
  margin-bottom: 16px;
}

.calc-row {
  display: grid;
  grid-template-columns: 80px 1fr 50px;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.calc-row label {
  font-size: 12px;
  color: var(--light-gray);
}

.calc-row input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--medium-gray);
  border-radius: 3px;
  appearance: none;
  cursor: pointer;
}

.calc-row input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
}

.calc-row span {
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--medium-gray);
}

.calc-result span:first-child {
  font-size: 13px;
  color: var(--light-gray);
}

.monthly-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

/* Calculations Section with Tabs */
.calculations-section {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  padding: 0;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  position: relative;
}

.calculations-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, var(--primary));
}

.calculations-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08), transparent 50%);
  pointer-events: none;
}

.calculations-section > .section-header {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  padding: 20px 20px 0 20px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.calc-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 20px 0 20px;
  position: relative;
  z-index: 1;
}

.calc-tab {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.calc-tab:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.calc-tab.active {
  color: var(--dark);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(255, 212, 0, 0.3);
}

.calc-tab.active::after {
  display: none;
}

.calc-tab-content {
  display: none;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.calc-tab-content.active {
  display: block;
}

.calc-tab-content .mortgage-calculator {
  margin: 0 0 24px 0;
  background: linear-gradient(145deg, rgba(20, 184, 166, 0.1), rgba(17, 94, 89, 0.08));
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.calc-tab-content .mortgage-calculator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #06b6d4);
}

.calc-tab-content .mortgage-calculator h4 {
  color: #14b8a6;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

.calc-tab-content .mortgage-calculator h4::before {
  content: '';
}

.calculations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.calc-column {
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 212, 0, 0.2);
}

.calc-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s;
}

.calc-column:hover::before {
  opacity: 1;
}

.calc-column:first-child {
  background: linear-gradient(145deg, rgba(255, 212, 0, 0.06), rgba(255, 212, 0, 0.02));
  border: 1px solid rgba(255, 212, 0, 0.15);
}

.calc-column:first-child::before {
  background: linear-gradient(90deg, var(--primary), #ffe566);
  opacity: 1;
}

.calc-column:last-child {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.06), rgba(99, 102, 241, 0.02));
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.calc-column:last-child::before {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  opacity: 1;
}

.calc-column h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.calc-column:first-child h5 {
  color: var(--primary);
  border-bottom: 1px solid rgba(255, 212, 0, 0.2);
}

.calc-column:first-child h5::before {
  content: '';
}

.calc-column:last-child h5 {
  color: #a5b4fc;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.calc-column:last-child h5::before {
  content: '';
}

.calc-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}

.calc-line:hover {
  background: rgba(255, 255, 255, 0.04);
  margin: 0 -12px;
  padding: 12px;
  border-radius: 8px;
}

.calc-line:last-child {
  border-bottom: none;
}

.calc-line span:first-child {
  color: rgba(255, 255, 255, 0.7);
}

.calc-line span:last-child {
  font-weight: 700;
  color: var(--white);
}

.calc-column:first-child .calc-line.highlight {
  background: linear-gradient(90deg, rgba(255, 212, 0, 0.2), rgba(255, 212, 0, 0.08));
  margin: auto -20px -20px -20px;
  padding: 16px 20px;
  border-radius: 0 0 16px 16px;
  border-bottom: none;
  border-top: 1px solid rgba(255, 212, 0, 0.3);
}

.calc-column:first-child .calc-line.highlight span:first-child {
  color: var(--primary);
  font-weight: 700;
}

.calc-column:first-child .calc-line.highlight span:last-child {
  color: var(--primary);
  font-size: 16px;
  text-shadow: 0 0 25px rgba(255, 212, 0, 0.5);
}

.calc-column:last-child .calc-line.highlight {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.08));
  margin: auto -20px -20px -20px;
  padding: 16px 20px;
  border-radius: 0 0 16px 16px;
  border-bottom: none;
  border-top: 1px solid rgba(99, 102, 241, 0.3);
}

.calc-column:last-child .calc-line.highlight span:first-child {
  color: #a5b4fc;
  font-weight: 700;
}

.calc-column:last-child .calc-line.highlight span:last-child {
  color: #a5b4fc;
  font-size: 16px;
  text-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
}

.calc-line.income span:last-child {
  color: #22c55e;
  text-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

.calc-line.deposit-contribution span:last-child {
  color: #22c55e;
  font-weight: 700;
}

/* Mortgage Calculator Sliders */
.calc-inputs .calc-row input[type="range"] {
  accent-color: #14b8a6;
}

.calc-result {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(17, 94, 89, 0.08));
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-result span:first-child {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.calc-result .monthly-amount {
  color: #14b8a6;
  font-size: 22px;
  font-weight: 800;
  text-shadow: 0 0 25px rgba(20, 184, 166, 0.5);
  letter-spacing: -0.5px;
}

/* International Buyer Section - Compact Design */
.intl-suitability-compact {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.intl-suitability-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.intl-suitability-info h4 {
  color: #a78bfa;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.intl-suitability-info h4 svg {
  color: #a78bfa;
}

.intl-verdict {
  font-size: 12px;
  color: #818cf8;
  font-weight: 500;
}

.intl-score-badge {
  display: flex;
  align-items: baseline;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
}

.intl-score-value {
  font-size: 24px;
  font-weight: 800;
  color: #a78bfa;
  line-height: 1;
}

.intl-score-max {
  font-size: 12px;
  color: var(--light-gray);
  margin-left: 2px;
}

.intl-progress-bar {
  position: relative;
  height: 8px;
  margin-bottom: 6px;
}

.intl-progress-track {
  display: flex;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.intl-progress-segment {
  flex: 1;
}

.intl-progress-segment.segment-red { background: #ef4444; }
.intl-progress-segment.segment-orange { background: #f59e0b; }
.intl-progress-segment.segment-yellow { background: #eab308; }
.intl-progress-segment.segment-green { background: #22c55e; }

.intl-progress-indicator {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 16px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  transition: left 0.6s ease-out;
}

.intl-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.intl-progress-labels span {
  font-size: 9px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.intl-factors-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.intl-factor-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
}

.intl-factor-chip.positive {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.intl-factor-chip.negative {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

/* International Calculator */
.intl-calculator {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.02) 100%) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
}

.intl-calculator h4 {
  color: #818cf8 !important;
}

.intl-calculator .calc-inputs .calc-row input[type="range"] {
  accent-color: #818cf8;
}

.intl-calculator .calc-result {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.04) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.intl-calculator .calc-result .monthly-amount {
  color: #818cf8;
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.intl-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 8px;
  font-size: 12px;
  color: #fbbf24;
}

.intl-notice svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.calc-line.intl-surcharge span:last-child {
  color: #f59e0b;
  font-weight: 600;
}

/* International Considerations */
.intl-considerations {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.intl-considerations h5 {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.intl-considerations h5 svg {
  color: #f59e0b;
}

.considerations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.consideration-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.consideration-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.consideration-text {
  flex: 1;
}

.consideration-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.consideration-text span {
  font-size: 11px;
  color: var(--light-gray);
  line-height: 1.4;
}

/* Mobile Responsive for International */
@media (max-width: 768px) {
  .intl-suitability-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .intl-score-badge {
    align-self: flex-start;
  }

  .intl-factors-compact {
    flex-direction: column;
  }

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

  .consideration-card {
    padding: 12px;
  }
}

/* Analytics Section */
.analytics-section {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 24px;
}

.analytics-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.analytics-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.analytics-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.analytics-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.analytics-subtitle {
  font-size: 13px;
  color: var(--light-gray);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.analytics-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
}

.analytics-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.analytics-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.analytics-card-header svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.analytics-card-header span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--light-gray);
}

.analytics-value {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.analytics-detail {
  font-size: 12px;
  color: var(--light-gray);
}

/* Card specific colors */
.yield-card .analytics-card-header svg { color: #22c55e; }
.yield-card .yield-value {
  color: #22c55e;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.appreciation-card .analytics-card-header svg { color: #3b82f6; }
.appreciation-card .appreciation-value {
  color: #3b82f6;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.forecast-card .analytics-card-header svg { color: #f59e0b; }
.forecast-card .forecast-value {
  color: #f59e0b;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.rent-forecast-card .analytics-card-header svg { color: #8b5cf6; }
.rent-forecast-card .rent-forecast-value {
  color: #8b5cf6;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.analytics-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  margin-bottom: 16px;
}

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

.metric-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--light-gray);
  margin-bottom: 6px;
}

.metric-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.metric-value.highlight-green {
  color: #22c55e;
}

/* Analytics Charts */
.analytics-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.analytics-chart {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 16px;
}

.chart-header {
  margin-bottom: 16px;
}

.chart-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 4px 0;
}

.chart-subtitle {
  font-size: 11px;
  color: var(--light-gray);
}

.chart-container {
  position: relative;
}

.chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 160px;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.chart-bar-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.chart-bar {
  width: 100%;
  max-width: 40px;
  border-radius: 6px 6px 0 0;
  position: relative;
  min-height: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transition: all 0.3s ease;
}

.chart-bar:hover {
  opacity: 0.9;
  transform: scaleY(1.02);
  transform-origin: bottom;
}

.chart-bar.price-bar {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.chart-bar.rent-bar {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

.chart-bar-value {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.chart-bar-label {
  font-size: 11px;
  color: var(--light-gray);
  margin-top: 8px;
  font-weight: 500;
}

.chart-baseline {
  margin-top: 12px;
  text-align: center;
}

.chart-baseline span {
  font-size: 11px;
  color: var(--medium-gray);
}

.analytics-disclaimer {
  font-size: 11px;
  color: var(--medium-gray);
  text-align: center;
  font-style: italic;
}

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

  .analytics-charts {
    grid-template-columns: 1fr;
  }

  .analytics-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .analytics-value {
    font-size: 24px;
  }
}

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

  .calc-tab {
    padding: 14px 12px;
    font-size: 12px;
  }

  .calc-column:first-child,
  .calc-column:last-child {
    border-radius: 12px;
  }
}

/* Inquiry Form */
.inquiry-form {
  margin-top: 24px;
}

.inquiry-form h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--dark);
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Inquiry Success Message */
.inquiry-success-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  animation: slideInFade 0.4s ease-out;
}

.inquiry-success-message svg {
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}

.inquiry-success-message strong {
  display: block;
  color: #22c55e;
  font-size: 15px;
  margin-bottom: 4px;
}

.inquiry-success-message p {
  color: var(--light-gray);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

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

/* Sticky CTA Bar */
.sticky-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -150px;
  z-index: 1000;
  background: linear-gradient(135deg, #0f172a 0%, #1a1a2e 40%, #16213e 100%);
  border-top: 1px solid rgba(255, 212, 0, 0.15);
  transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(255, 212, 0, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.sticky-cta-bar.visible {
  bottom: 0;
}

/* Push chat widget up when sticky bar is visible */
.sticky-cta-active .chat-widget-bubble {
  bottom: 80px !important;
  transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta-active .chat-widget-panel {
  bottom: 156px !important;
  transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-cta-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sticky-cta-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.sticky-cta-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.sticky-cta-btn {
  flex-shrink: 0;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 600px) {
  .sticky-cta-inner {
    padding: 12px 16px;
  }
  .sticky-cta-price {
    font-size: 17px;
  }
  .sticky-cta-title {
    max-width: 180px;
    font-size: 12px;
  }
  .sticky-cta-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .sticky-cta-active .chat-widget-bubble {
    bottom: 72px !important;
  }
  .sticky-cta-active .chat-widget-panel {
    bottom: 140px !important;
  }
}

/* Enquiry Modal */
.enquiry-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.enquiry-modal.active {
  display: flex;
}

.enquiry-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}

.enquiry-modal-content {
  position: relative;
  background: var(--dark-gray);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--medium-gray);
  animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.enquiry-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--medium-gray);
}

.enquiry-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--white);
}

.enquiry-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.enquiry-modal-property {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--dark);
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.enquiry-modal-thumb {
  width: 72px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.enquiry-modal-property-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.enquiry-modal-property-info strong {
  font-size: 14px;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.enquiry-modal-property-info span {
  font-size: 12px;
  color: var(--light-gray);
}

.enquiry-modal-price {
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 15px !important;
}

.enquiry-modal-body .form-group {
  margin-bottom: 14px;
}

.enquiry-modal-body .form-input,
.enquiry-modal-body .form-textarea,
.enquiry-modal-body .form-select {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--white);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.enquiry-modal-body .form-input:focus,
.enquiry-modal-body .form-textarea:focus,
.enquiry-modal-body .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.12);
}

.enquiry-modal-body .btn-primary {
  margin-top: 4px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
}

.enquiry-modal-body .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 520px) {
  .enquiry-modal {
    padding: 0;
    align-items: flex-end;
  }
  .enquiry-modal-content {
    border-radius: 16px 16px 0 0;
    max-height: 95vh;
    max-width: 100%;
    animation: modalSlideUpMobile 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  @keyframes modalSlideUpMobile {
    from {
      opacity: 0;
      transform: translateY(100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Builder Section */
.builders-section {
  padding: 80px 0;
  background: var(--dark-gray);
}

.builders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.builder-card {
  background: var(--dark);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}

.builder-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.builder-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.builder-logo img {
  max-height: 100%;
  max-width: 150px;
  object-fit: contain;
}

.builder-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.builder-count {
  font-size: 13px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* About Page */
.about-hero {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  text-align: center;
}

.about-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
}

.about-hero p {
  font-size: 20px;
  color: var(--light-gray);
  max-width: 700px;
  margin: 0 auto;
}

.about-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

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

.about-card {
  background: var(--dark-gray);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
}

.about-card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.about-card-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--dark);
}

.about-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--light-gray);
  font-size: 15px;
}

/* Contact Page */
.contact-section {
  padding: 80px 0;
}

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

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

.contact-info h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--light-gray);
  font-size: 18px;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--dark-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.contact-text h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 14px;
  color: var(--light-gray);
  margin: 0;
}

.contact-form-card {
  background: var(--dark-gray);
  padding: 40px;
  border-radius: 16px;
}

.contact-form-card h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

/* Footer */
.footer {
  background: var(--dark);
  padding: 0;
  position: relative;
  z-index: 200;
}

.footer > .container {
  padding: 60px 20px 30px;
}

/* Footer Top Yellow Bar */
.footer-top-bar {
  background: var(--primary);
  padding: 0;
  position: relative;
}

.footer-top-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 16px 0;
}

.footer-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--dark);
}

.footer-bar-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-bar-btn:hover {
  background: #3B82F6;
  color: var(--white);
  border-color: #3B82F6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

@media (max-width: 480px) {
  .footer-top-bar-content {
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
  }

  .footer-bar-btn {
    width: 200px;
    justify-content: center;
  }
}

.footer-grid {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.footer-grid > div {
  min-width: 0;
  flex: 1;
}

.footer-grid > .footer-brand {
  flex: 1.5;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-wrap: wrap;
  }
  .footer-grid > div {
    flex: 1 1 45%;
  }
  .footer-grid > .footer-brand {
    flex: 1 1 100%;
  }
}

.footer-brand {
  max-width: 260px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-brand p {
  color: var(--light-gray);
  font-size: 14px;
  line-height: 1.7;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--light-gray);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--dark-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--light-gray);
}

.footer-disclaimer {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-gray);
  text-align: center;
}

.footer-disclaimer h5 {
  color: var(--light-gray);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-disclaimer p {
  color: var(--medium-gray);
  font-size: 11px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 8px;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-gray);
  color: var(--light-gray);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* Results Count */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.results-count {
  font-size: 14px;
  color: var(--light-gray);
}

.results-count strong {
  color: var(--white);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

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

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: var(--dark-gray);
  border-radius: 16px;
}

.empty-state svg {
  width: 80px;
  height: 80px;
  fill: var(--medium-gray);
  margin-bottom: 24px;
}

.empty-state h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--light-gray);
}

/* Alert Messages */
.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--success);
  color: var(--success);
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--error);
  color: var(--error);
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--dark);
}

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

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-selector-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--dark);
  border-radius: 6px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-selector-trigger:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.25);
}

.lang-selector.open .lang-selector-trigger {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lang-chevron {
  transition: transform 0.2s ease;
}

.lang-selector.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  min-width: 140px;
  z-index: 1001;
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
  text-align: left;
}

.lang-option:hover {
  background: rgba(0, 0, 0, 0.05);
}

.lang-option.active {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
  font-weight: 600;
}

.lang-option .lang-flag {
  font-size: 18px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  background: var(--dark);
  color: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-cta:hover {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.header-login-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--dark);
  border-radius: 8px;
  border: 2px solid var(--dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-login-btn:hover {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.header-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  color: var(--dark);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-user-btn:hover {
  background: #3B82F6;
  border-color: #3B82F6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.header-user-btn svg {
  width: 16px;
  height: 16px;
}

.header-user-btn .user-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* User Dropdown Styles */
.user-dropdown-wrapper {
  position: relative;
}

.user-dropdown-trigger {
  cursor: pointer;
}

.user-dropdown-trigger .dropdown-chevron {
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.user-dropdown-wrapper.open .dropdown-chevron {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  overflow: hidden;
}

.user-dropdown-wrapper.open .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.user-dropdown-header {
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.user-dropdown-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 2px;
}

.user-dropdown-email {
  display: block;
  font-size: 12px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-dropdown-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.15s ease;
}

.user-dropdown-item:hover {
  background: #f8fafc;
  color: #3B82F6;
}

.user-dropdown-item svg {
  flex-shrink: 0;
  color: #64748b;
  transition: color 0.15s ease;
}

.user-dropdown-item:hover svg {
  color: #3B82F6;
}

.user-dropdown-signout {
  color: #ef4444;
}

.user-dropdown-signout:hover {
  background: #fef2f2;
  color: #dc2626;
}

.user-dropdown-signout svg {
  color: #ef4444;
}

.user-dropdown-signout:hover svg {
  color: #dc2626;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .header-login-btn,
  .header-user-btn {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 24px;
    border-top: 1px solid var(--primary-dark);
    gap: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--primary-dark);
    color: var(--dark);
    opacity: 1;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a:hover,
  .nav a.active {
    color: var(--dark);
    font-weight: 700;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--dark);
  opacity: 0.8;
  margin-bottom: 32px;
}

.cta-section .btn {
  background: var(--dark);
  color: var(--white);
}

.cta-section .btn:hover {
  background: var(--dark-gray);
}

/* ============================================
   BUILDERS PAGE STYLES
   ============================================ */

/* Builders Hero */
.builders-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.builders-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: var(--primary);
  opacity: 0.03;
  border-radius: 50%;
  filter: blur(100px);
}

.builders-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.builders-hero h1 .highlight {
  color: var(--primary);
}

.builders-hero > .container > p {
  font-size: 18px;
  color: var(--light-gray);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* Builders Search */
.builders-search-wrapper {
  max-width: 600px;
  margin: 0 auto 32px;
}

.builders-search {
  display: flex;
  align-items: center;
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 12px;
  padding: 6px;
  transition: border-color 0.2s;
}

.builders-search:focus-within {
  border-color: var(--primary);
}

.builders-search .search-icon {
  width: 20px;
  height: 20px;
  margin-left: 14px;
  color: var(--light-gray);
  flex-shrink: 0;
}

.builders-search .search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--white);
  font-size: 15px;
}

.builders-search .search-input::placeholder {
  color: var(--light-gray);
}

.builders-search .search-input:focus {
  outline: none;
}

.builders-search .search-btn {
  background: var(--primary);
  color: var(--dark);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.builders-search .search-btn:hover {
  background: var(--primary-dark);
}

/* Builders Stats */
.builders-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

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

.builders-stat .stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.builders-stat .stat-label {
  font-size: 14px;
  color: var(--light-gray);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--medium-gray);
}

/* Builders Grid Section */
.builders-grid-section {
  padding: 60px 0 80px;
}

.search-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--dark-gray);
  border-radius: 8px;
}

.search-results-info p {
  color: var(--light-gray);
  font-size: 14px;
  margin: 0;
}

.search-results-info strong {
  color: var(--white);
}

.clear-search {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

.clear-search:hover {
  text-decoration: underline;
}

/* New Builders Grid */
.builders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

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

/* New Builder Card Design */
.builder-card-new {
  display: flex;
  flex-direction: column;
  background: var(--dark-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}

.builder-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.builder-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.builder-card-new .builder-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.builder-card-new .builder-logo.has-image {
  background: var(--white);
  padding: 4px;
}

.builder-card-new .builder-logo.has-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.builder-card-new .builder-logo span {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.builder-card-new .builder-info {
  flex: 1;
  min-width: 0;
}

.builder-card-new .builder-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.builder-card-new .builder-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.builder-card-new .property-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--light-gray);
}

.builder-card-new .property-count.muted {
  opacity: 0.7;
}

.builder-card-new .property-count.available {
  color: var(--success);
}

.builder-card-new .property-count svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.builder-card-new .stat-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--lighter-gray);
}

.builder-card-new .stat-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.builder-card-new .website-badge {
  display: flex;
  align-items: center;
}

.builder-card-new .website-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--light-gray);
}

.builder-card-body {
  padding: 0 20px 16px;
  flex: 1;
}

.builder-card-new .builder-description {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.builder-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--medium-gray);
}

.builder-card-new .view-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s;
}

.builder-card-new:hover .view-link {
  gap: 10px;
}

.builder-card-new .view-link svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

/* No Builders Found */
.no-builders {
  text-align: center;
  padding: 80px 24px;
  background: var(--dark-gray);
  border-radius: 16px;
}

.no-builders svg {
  width: 64px;
  height: 64px;
  fill: var(--medium-gray);
  margin-bottom: 24px;
}

.no-builders h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--white);
}

.no-builders p {
  color: var(--light-gray);
  font-size: 15px;
}

.no-builders a {
  color: var(--primary);
}

.no-builders a:hover {
  text-decoration: underline;
}

/* Builders CTA */
.builders-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.builders-cta .cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.builders-cta h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.builders-cta p {
  font-size: 18px;
  color: var(--dark);
  opacity: 0.8;
  margin-bottom: 32px;
}

.builders-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.builders-cta .btn-primary {
  background: var(--dark);
  color: var(--white);
}

.builders-cta .btn-primary:hover {
  background: var(--dark-gray);
}

.builders-cta .btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.builders-cta .btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.builders-cta .btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-right: 8px;
}

/* ============================================
   BUILDER DETAIL PAGE STYLES
   ============================================ */

.builder-detail-hero {
  padding: 40px 0 60px;
  position: relative;
}

.builder-detail-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--light-gray);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.builder-detail-hero .back-link:hover {
  color: var(--primary);
}

.builder-detail-hero .back-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.builder-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.builder-logo-large {
  width: 160px;
  height: 160px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.builder-logo-large.has-image {
  background: var(--white);
  padding: 6px;
}

.builder-logo-large.has-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.builder-logo-large span {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
}

.builder-detail-info h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.builder-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.builder-detail-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--light-gray);
}

.builder-detail-meta .meta-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.builder-detail-meta .meta-item.link {
  color: var(--primary);
  cursor: pointer;
}

.builder-detail-meta .meta-item.link:hover {
  text-decoration: underline;
}

.builder-detail-meta .meta-item.available {
  color: var(--success);
}

/* Builder About Section */
.builder-about {
  padding: 40px 0;
  background: var(--dark-gray);
}

.builder-about-content {
  max-width: 100%;
}

.builder-about h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.builder-about .description-text p {
  color: var(--light-gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.builder-about .description-text p:last-child {
  margin-bottom: 0;
}

.builder-about .no-description {
  color: var(--light-gray);
  font-size: 15px;
  line-height: 1.7;
}

/* Builder Properties Section */
.builder-properties {
  padding: 60px 0;
}

.builder-properties .section-header {
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 32px;
}

.builder-properties .section-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.builder-properties .section-header p {
  color: var(--light-gray);
  font-size: 15px;
  margin: 0;
}

.builder-properties .properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .builder-properties .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .builder-properties .properties-grid {
    grid-template-columns: 1fr;
  }
}

.builder-properties .view-all-wrapper {
  text-align: center;
  margin-top: 40px;
}

.builder-properties .view-all-wrapper .btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 8px;
}

/* Builder No Properties */
.builder-no-properties {
  padding: 60px 0;
}

.builder-no-properties .no-properties-card {
  text-align: center;
  background: var(--dark-gray);
  padding: 60px 40px;
  border-radius: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.builder-no-properties .no-properties-card svg {
  width: 64px;
  height: 64px;
  fill: var(--medium-gray);
  margin-bottom: 24px;
}

.builder-no-properties .no-properties-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.builder-no-properties .no-properties-card p {
  color: var(--light-gray);
  font-size: 15px;
  margin-bottom: 24px;
}

/* Builder CTA */
.builder-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--dark) 100%);
}

.builder-cta .cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.builder-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.builder-cta p {
  font-size: 16px;
  color: var(--light-gray);
  margin-bottom: 32px;
}

.builder-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.builder-cta .btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .builders-hero h1 {
    font-size: 32px;
  }

  .builders-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 80px;
    height: 1px;
  }

  .builder-detail-header {
    flex-direction: column;
    text-align: center;
  }

  .builder-detail-meta {
    justify-content: center;
  }

  .builder-detail-info h1 {
    font-size: 28px;
  }
}

/* ==========================================
   BUILDER DETAIL PAGE - NEW PREMIUM DESIGN
   ========================================== */

.builder-hero-new {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.builder-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.builder-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.builder-hero-shapes .shape-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #ffd400, #ff6b6b);
  opacity: 0.12;
  top: -200px;
  right: -100px;
  animation: float 12s ease-in-out infinite;
}

.builder-hero-shapes .shape-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.1;
  bottom: -150px;
  left: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

.builder-hero-shapes .shape-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #14b8a6, #06b6d4);
  opacity: 0.08;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 10s ease-in-out infinite;
}

.builder-hero-content {
  position: relative;
  z-index: 1;
}

.builder-hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.builder-logo-hero {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.builder-logo-hero.has-image {
  background: var(--white);
  padding: 10px;
}

.builder-logo-hero.has-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.builder-logo-hero span {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.builder-hero-new h1 {
  font-size: 52px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -1px;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.builder-hero-tagline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.builder-hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.builder-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.builder-back-link:hover {
  color: var(--primary);
  background: rgba(255, 212, 0, 0.1);
  border-color: rgba(255, 212, 0, 0.3);
}

.builder-back-link svg {
  width: 14px;
  height: 14px;
}

.builder-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.25);
}

.builder-follow-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 212, 0, 0.35);
}

.builder-follow-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.builder-follow-btn svg {
  width: 14px;
  height: 14px;
}

/* Builder Stats Section */
.builder-stats-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--dark) 100%);
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.builder-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.builder-stat-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.builder-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  opacity: 0;
  transition: opacity 0.4s;
}

.builder-stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.builder-stat-card:hover::before {
  opacity: 1;
}

.builder-stat-card.highlight {
  border-color: rgba(255, 212, 0, 0.3);
  background: linear-gradient(145deg, rgba(255, 212, 0, 0.08), rgba(30, 30, 40, 0.95));
}

.builder-stat-card.highlight::before {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
  opacity: 1;
}

.builder-stat-card.highlight .stat-icon {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 107, 107, 0.2));
  color: var(--primary);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b5cf6;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Builder Stats Mini - Compact Version */
.builder-stats-section-mini {
  padding: 20px 0 30px;
  background: transparent;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.builder-stats-grid-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.builder-stat-mini {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.builder-stat-mini:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.builder-stat-mini.highlight {
  border-color: rgba(255, 212, 0, 0.2);
  background: rgba(255, 212, 0, 0.05);
}

.builder-stat-mini .mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b5cf6;
  flex-shrink: 0;
}

.builder-stat-mini.highlight .mini-icon {
  background: rgba(255, 212, 0, 0.1);
  color: var(--primary);
}

.builder-stat-mini .mini-icon svg {
  width: 22px;
  height: 22px;
}

.builder-stat-mini .mini-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.builder-stat-mini .mini-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.builder-stat-mini .mini-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .builder-stats-grid-mini {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .builder-stats-grid-mini {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .builder-stat-mini {
    padding: 10px 12px;
  }

  .builder-stat-mini .mini-value {
    font-size: 14px;
  }
}

/* Builder About Section - New */
.builder-about-new {
  padding: 40px 0;
  background: var(--dark);
}

.builder-about-new h2 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.builder-about-new h2 span {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.builder-about-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  padding: 32px 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.builder-description p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.builder-description p:last-child {
  margin-bottom: 0;
}

/* Builder Developments Section - New */
.builder-developments-new {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-gray) 100%);
}

.section-header-new {
  text-align: center;
  margin-bottom: 48px;
}

.section-header-new h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header-new h2 span {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header-new p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

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

/* Builder Development Card */
.builder-dev-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.builder-dev-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.builder-dev-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.builder-dev-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.builder-dev-card:hover .builder-dev-card-image img {
  transform: scale(1.08);
}

.builder-dev-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.builder-dev-card-placeholder svg {
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.3);
}

.builder-dev-status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.builder-dev-status.badge-success {
  background: rgba(16, 185, 129, 0.9);
  color: white;
}

.builder-dev-status.badge-warning {
  background: rgba(245, 158, 11, 0.9);
  color: white;
}

.builder-dev-status.badge-error {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}

.builder-dev-builder-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.builder-dev-card-content {
  padding: 24px;
}

.builder-dev-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.builder-dev-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.builder-dev-location svg {
  color: var(--primary);
  flex-shrink: 0;
}

.builder-dev-postcode {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.builder-dev-details {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.builder-dev-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.builder-dev-detail .detail-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.builder-dev-detail .detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.builder-dev-detail .detail-value.price {
  color: var(--primary);
}

.builder-dev-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.builder-type-tag {
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 16px;
  font-size: 12px;
  color: #a5b4fc;
}

.builder-dev-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.1), rgba(255, 107, 107, 0.1));
  border: 1px solid rgba(255, 212, 0, 0.3);
  border-radius: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}

.builder-dev-btn:hover {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  border-color: transparent;
}

/* Builder Properties Section - New */
.builder-properties-new {
  padding: 80px 0;
  background: var(--dark-gray);
}

/* Builder Empty State - New */
.builder-empty-new {
  padding: 100px 0;
  background: var(--dark);
}

.builder-empty-card {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 24px;
  padding: 60px 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.builder-empty-card .empty-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.builder-empty-card .empty-icon svg {
  width: 48px;
  height: 48px;
  color: #8b5cf6;
}

.builder-empty-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.builder-empty-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

.builder-empty-card .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.builder-empty-card .btn svg {
  width: 18px;
  height: 18px;
}

/* Builder CTA Section - New */
.builder-cta-new {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.builder-cta-new::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  opacity: 0.12;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.builder-cta-new::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 10s ease-in-out infinite reverse;
}

.builder-cta-new .cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.builder-cta-new h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.builder-cta-new p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.7;
}

.builder-cta-new .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.builder-cta-new .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s;
}

.builder-cta-new .btn svg {
  width: 20px;
  height: 20px;
}

.builder-cta-new .btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  box-shadow: 0 8px 30px rgba(255, 212, 0, 0.3);
}

.builder-cta-new .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 212, 0, 0.4);
}

.builder-cta-new .btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.builder-cta-new .btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 212, 0, 0.1);
}

/* Builder Detail Page Responsive */
@media (max-width: 1200px) {
  .builder-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .builder-hero-new {
    padding: 80px 0 60px;
  }

  .builder-hero-title-row {
    flex-direction: column;
    gap: 16px;
  }

  .builder-logo-hero {
    width: 80px;
    height: 80px;
  }

  .builder-logo-hero span {
    font-size: 32px;
  }

  .builder-hero-new h1 {
    font-size: 32px;
  }

  .builder-hero-tagline {
    font-size: 16px;
  }

  .builder-hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .builder-back-link,
  .builder-follow-btn {
    width: 100%;
    justify-content: center;
  }

  .builder-stats-grid {
    grid-template-columns: 1fr;
  }

  .builder-stat-card {
    padding: 20px;
  }

  .stat-value {
    font-size: 22px;
  }

  .builder-about-new {
    padding: 24px 0;
  }

  .builder-about-new h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .section-header-new h2 {
    font-size: 28px;
  }

  .builder-about-card {
    padding: 20px;
  }

  .builder-developments-new,
  .builder-properties-new {
    padding: 60px 0;
  }

  .builder-developments-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .builder-cta-new {
    padding: 60px 20px;
  }

  .builder-cta-new h2 {
    font-size: 28px;
  }

  .builder-cta-new .cta-buttons {
    flex-direction: column;
  }

  .builder-cta-new .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Property Detail Mobile Responsive */
@media (max-width: 768px) {
  .property-detail {
    padding: 20px 0 60px;
  }

  .property-detail-grid {
    gap: 24px;
  }

  .gallery-main {
    aspect-ratio: 16 / 10;
  }

  .gallery-thumbs {
    display: none;
  }

  .gallery-dots {
    display: flex;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
  }

  .gallery-arrow svg {
    width: 22px;
    height: 22px;
  }

  .gallery-arrow-left {
    left: 8px;
  }

  .gallery-arrow-right {
    right: 8px;
  }

  .gallery-counter {
    bottom: 12px;
    right: 12px;
    font-size: 12px;
    padding: 4px 10px;
  }

  .property-gallery {
    max-width: 100%;
  }

  .property-info-card {
    padding: 20px;
    position: static;
  }

  .property-info-price {
    font-size: 28px;
  }

  .property-info-title {
    font-size: 20px;
  }

  .property-info-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .info-spec-value {
    font-size: 20px;
  }

  .mortgage-calculator {
    padding: 16px;
  }

  .inquiry-form {
    padding: 20px;
  }

  .about-property-card {
    padding: 20px;
  }

  .about-property-header {
    gap: 12px;
  }

  .about-property-title h3 {
    font-size: 18px;
  }

  .transport-info-line {
    font-size: 13px;
    padding: 8px 12px;
    flex-wrap: wrap;
  }

  .incentives-info-line {
    font-size: 13px;
    padding: 8px 12px;
    flex-wrap: wrap;
  }

  .appliances-info-line {
    font-size: 13px;
    padding: 8px 12px;
    flex-wrap: wrap;
  }

  .property-grades {
    display: none;
  }

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

  .grade-item {
    min-width: 80px;
  }

  .grade-badge {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .parking-info-line,
  .garage-info-line,
  .ev-charger-info-line,
  .heating-info-line,
  .water-info-line,
  .solar-panel-info-line {
    font-size: 13px;
    padding: 8px 12px;
    flex-wrap: wrap;
  }

  .info-line-row {
    flex-direction: column;
    gap: 8px;
  }

  .info-line-row .parking-info-line,
  .info-line-row .ev-charger-info-line,
  .info-line-row .heating-info-line,
  .info-line-row .solar-panel-info-line {
    flex: none;
  }

  .property-section-card {
    height: auto;
    min-height: 140px;
    padding: 14px;
  }

  .section-card-header h3 {
    font-size: 15px;
  }

  .floorplan-section h3,
  .siteplan-section h3 {
    font-size: 16px;
  }

  .floorplan-image {
    max-height: 250px;
  }

  .costs-section,
  .epc-section {
    padding: 14px;
  }

  .breadcrumb {
    font-size: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .property-detail {
    padding: 16px 0 40px;
  }

  .gallery-main {
    aspect-ratio: 16 / 10;
  }

  .gallery-thumbs {
    padding: 6px;
    gap: 6px;
  }

  .gallery-thumb {
    width: 50px;
    height: 50px;
  }

  .property-info-card {
    padding: 16px;
  }

  .property-info-price {
    font-size: 24px;
  }

  .property-info-title {
    font-size: 18px;
  }

  .property-info-location {
    font-size: 13px;
  }

  .property-info-specs {
    gap: 8px;
  }

  .info-spec-value {
    font-size: 18px;
  }

  .info-spec-label {
    font-size: 11px;
  }

  .transport-info-line {
    font-size: 12px;
    gap: 8px;
  }

  .transport-info-line svg {
    width: 16px;
    height: 16px;
  }

  .incentives-info-line {
    font-size: 12px;
    gap: 8px;
  }

  .incentives-info-line svg {
    width: 16px;
    height: 16px;
  }

  .appliances-info-line {
    font-size: 12px;
    gap: 8px;
  }

  .appliances-info-line svg {
    width: 16px;
    height: 16px;
  }

  .parking-info-line,
  .garage-info-line,
  .ev-charger-info-line,
  .heating-info-line,
  .water-info-line,
  .solar-panel-info-line {
    font-size: 12px;
    gap: 8px;
  }

  .parking-info-line svg,
  .garage-info-line svg,
  .ev-charger-info-line svg,
  .heating-info-line svg,
  .water-info-line svg,
  .solar-panel-info-line svg {
    width: 16px;
    height: 16px;
  }

  .about-property-card {
    padding: 16px;
  }

  .about-property-icon {
    width: 40px;
    height: 40px;
  }

  .about-property-content p {
    font-size: 14px;
  }

  .property-section-card {
    padding: 12px;
  }

  .tags-grid-compact {
    gap: 6px;
  }

  .tag {
    font-size: 11px;
    padding: 4px 8px;
  }

  .floorplan-image {
    max-height: 200px;
  }

  .calc-row label {
    font-size: 13px;
  }

  .inquiry-form {
    padding: 16px;
  }

  .inquiry-form h3 {
    font-size: 18px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  /* Calculations Section Mobile */
  .calculations-section {
    padding: 16px;
    margin-top: 24px;
  }

  .calc-tabs {
    gap: 0;
  }

  .calc-tab {
    padding: 12px 10px;
    font-size: 11px;
  }

  .mortgage-calculator {
    padding: 12px;
  }

  .mortgage-calculator h4 {
    font-size: 12px;
  }

  .calc-row {
    grid-template-columns: 70px 1fr 45px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .calc-row label {
    font-size: 11px;
  }

  .calc-row span {
    font-size: 12px;
  }

  .calc-result {
    padding: 10px;
  }

  .calc-result .monthly-amount {
    font-size: 16px;
  }

  .calc-column {
    padding: 12px;
  }

  .calc-column h5 {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .calc-line {
    padding: 8px 0;
    font-size: 12px;
  }

  .calc-line.highlight {
    margin: 8px -12px -12px -12px;
    padding: 10px 12px;
  }

  .calc-line.highlight span:last-child {
    font-size: 13px;
  }

  /* Analytics Section Mobile */
  .analytics-section {
    padding: 16px;
    margin-top: 24px;
  }

  .analytics-header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .analytics-icon {
    width: 40px;
    height: 40px;
  }

  .analytics-icon svg {
    width: 20px;
    height: 20px;
  }

  .analytics-header h3 {
    font-size: 16px;
  }

  .analytics-subtitle {
    font-size: 11px;
  }

  .analytics-card {
    padding: 12px;
  }

  .analytics-card-header {
    margin-bottom: 8px;
  }

  .analytics-card-header span {
    font-size: 10px;
  }

  .analytics-value {
    font-size: 22px;
  }

  .analytics-detail {
    font-size: 11px;
  }

  .analytics-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .metric-label {
    font-size: 9px;
  }

  .metric-value {
    font-size: 14px;
  }

  .analytics-disclaimer {
    font-size: 10px;
  }

  /* Charts Mobile */
  .analytics-charts {
    gap: 12px;
  }

  .analytics-chart {
    padding: 12px;
  }

  .chart-header h4 {
    font-size: 12px;
  }

  .chart-subtitle {
    font-size: 10px;
  }

  .chart-bars {
    height: 120px;
    gap: 4px;
  }

  .chart-bar {
    max-width: 30px;
  }

  .chart-bar-value {
    font-size: 8px;
    top: -20px;
  }

  .chart-bar-label {
    font-size: 10px;
  }

  .chart-baseline span {
    font-size: 10px;
  }

  /* Map Section Mobile */
  .map-section {
    margin-top: 24px;
  }

  .map-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .property-map iframe {
    height: 250px;
  }

  /* Plans Row Mobile */
  .plans-row {
    gap: 16px;
  }

  .property-section.compact h3 {
    font-size: 16px;
  }
}

/* Schools Section */
.schools-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.02) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.schools-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.schools-section h3 svg {
  color: #6366f1;
}

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

.school-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: background 0.2s;
}

.school-item:hover {
  background: rgba(0, 0, 0, 0.3);
}

.school-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.school-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.school-type {
  font-size: 12px;
  color: var(--light-gray);
  text-transform: capitalize;
}

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

.school-rating {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.school-rating.rating-outstanding {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}

.school-rating.rating-good {
  background: linear-gradient(135deg, #84cc16, #65a30d);
  color: white;
}

.school-rating.rating-requires-improvement,
.school-rating.rating-ri {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.school-rating.rating-inadequate {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.school-distance {
  font-size: 12px;
  color: var(--light-gray);
}

/* Construction Progress Section */
.construction-section {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.02) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.construction-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}

.construction-section h3 svg {
  color: #f59e0b;
}

.construction-progress-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.construction-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.construction-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--medium-gray);
  z-index: 0;
}

.construction-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.stage-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--dark-gray);
  border: 2px solid var(--medium-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.construction-stage.completed .stage-dot {
  background: #22c55e;
  border-color: #22c55e;
}

.construction-stage.completed .stage-dot svg {
  color: white;
}

.construction-stage.current .stage-dot {
  background: #f59e0b;
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
  }
}

.stage-label {
  font-size: 11px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.construction-stage.completed .stage-label,
.construction-stage.current .stage-label {
  color: var(--white);
  font-weight: 600;
}

.construction-bar {
  height: 8px;
  background: var(--dark-gray);
  border-radius: 4px;
  overflow: hidden;
}

.construction-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #f59e0b 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.construction-percentage {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

/* Mobile responsive for schools and construction */
@media (max-width: 768px) {
  .schools-section,
  .construction-section {
    padding: 20px;
  }

  .schools-section h3,
  .construction-section h3 {
    font-size: 16px;
  }

  .school-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .school-meta {
    width: 100%;
    justify-content: space-between;
  }

  .construction-timeline {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .construction-timeline::before {
    display: none;
  }

  .construction-stage {
    flex: 0 0 30%;
  }

  .stage-label {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .construction-stage {
    flex: 0 0 45%;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .analytics-metrics-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
  }

  .metric-label {
    font-size: 8px;
  }

  .metric-value {
    font-size: 12px;
  }

  .calc-row {
    grid-template-columns: 60px 1fr 40px;
    gap: 6px;
  }

  .calc-row label {
    font-size: 10px;
  }

  .analytics-value {
    font-size: 20px;
  }

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

/* ============================================
   COMMUTE TIME PLANNER SECTION
   ============================================ */

.commute-section {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.02) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.commute-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.commute-section h3 svg {
  color: #3b82f6;
}

.commute-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.commute-card {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.commute-card:hover {
  background: rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.3);
}

.commute-destination-header {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.airport-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.airport-icon svg {
  width: 18px;
  height: 18px;
  color: #f59e0b;
}

.commute-card-airport {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}

.commute-card-airport:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

.commute-distance {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: -8px;
}

.commute-times-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.commute-time-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(59, 130, 246, 0.1);
  padding: 10px 14px;
  border-radius: 8px;
}

.commute-icon {
  width: 32px;
  height: 32px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.commute-icon svg {
  color: #3b82f6;
  width: 18px;
  height: 18px;
}

.commute-time-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.commute-time {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.commute-frequency {
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
}

/* ============================================
   LOCATION SCORES SECTION (Walk/Transit/Bike)
   ============================================ */

.lifestyle-scores-section {
  background: linear-gradient(145deg, rgba(30, 30, 35, 0.95) 0%, rgba(20, 20, 25, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  margin-top: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lifestyle-scores-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}

.lifestyle-scores-section h3 svg {
  color: #fbbf24;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
}

.location-scores-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.score-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 140px;
  flex: 1;
  max-width: 180px;
  position: relative;
  overflow: hidden;
}

.score-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  opacity: 0.8;
}

.walk-score-card::before {
  background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
}

.transit-score-card::before {
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
}

.bike-score-card::before {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}

.score-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.walk-score-card:hover {
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.15);
}

.transit-score-card:hover {
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.bike-score-card:hover {
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.15);
}

.score-circle-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
}

.score-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.score-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
}

.score-circle-fill {
  fill: none;
  stroke: #22c55e;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dasharray 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.5));
}

.score-circle-fill.transit {
  stroke: #3b82f6;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}

.score-circle-fill.bike {
  stroke: #f59e0b;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
}

.score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.score-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.score-description {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.4;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  margin-top: 4px;
}

.walk-score-card .score-value {
  color: #4ade80;
  text-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}
.transit-score-card .score-value {
  color: #60a5fa;
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}
.bike-score-card .score-value {
  color: #fbbf24;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

/* ============================================
   AREA VIBE SECTION
   ============================================ */

.area-vibe-section {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(168, 85, 247, 0.02) 100%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.area-vibe-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.area-vibe-section h3 svg {
  color: #a855f7;
}

.area-vibe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vibe-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  transition: all 0.2s;
}

.vibe-tag:hover {
  background: rgba(168, 85, 247, 0.25);
  transform: translateY(-1px);
}

.vibe-tag svg {
  color: #a855f7;
}

/* ============================================
   CONNECTIVITY SECTION
   ============================================ */

.connectivity-section {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.02) 100%);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.connectivity-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.connectivity-section h3 svg {
  color: #0ea5e9;
}

.connectivity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.connectivity-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}

.connectivity-card:hover {
  background: rgba(0, 0, 0, 0.3);
}

.connectivity-icon {
  width: 52px;
  height: 52px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.connectivity-icon svg {
  color: #0ea5e9;
}

.connectivity-info {
  flex: 1;
}

.connectivity-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-bottom: 4px;
}

.connectivity-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.connectivity-type {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 2px;
}

.broadband-rating {
  text-align: right;
}

.rating-excellent {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.rating-good {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(135deg, #84cc16, #65a30d);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.rating-fair {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.rating-poor {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(135deg, #64748b, #475569);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.signal-bar {
  width: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  transition: background 0.2s;
}

.signal-bar.active {
  background: #22c55e;
}

/* ============================================
   FUTURE DEVELOPMENTS SECTION
   ============================================ */

.future-dev-section {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(236, 72, 153, 0.02) 100%);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.future-dev-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.future-dev-section h3 svg {
  color: #ec4899;
}

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

.future-dev-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 16px;
  border-left: 3px solid transparent;
  transition: background 0.2s;
}

.future-dev-card:hover {
  background: rgba(0, 0, 0, 0.3);
}

.future-dev-card.impact-positive {
  border-left-color: #22c55e;
}

.future-dev-card.impact-neutral {
  border-left-color: #64748b;
}

.future-dev-card.impact-negative {
  border-left-color: #ef4444;
}

.dev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dev-type-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ec4899;
  letter-spacing: 0.5px;
}

.impact-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.impact-badge.impact-positive {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.impact-badge.impact-neutral {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
}

.impact-badge.impact-negative {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.dev-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.dev-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dev-distance,
.dev-completion {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--light-gray);
}

.dev-distance svg,
.dev-completion svg {
  color: var(--light-gray);
}

.future-dev-disclaimer {
  margin-top: 16px;
  font-size: 11px;
  color: var(--medium-gray);
  font-style: italic;
}

/* ============================================
   PORTFOLIO ANALYSIS SECTION
   ============================================ */

.portfolio-section {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.02) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.portfolio-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}

.portfolio-section h3 svg {
  color: #8b5cf6;
}

.portfolio-header {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.portfolio-main-score {
  text-align: center;
}

.portfolio-score-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}

.portfolio-score-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.portfolio-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 4;
}

.portfolio-circle-fill {
  fill: none;
  stroke: url(#portfolioGradient);
  stroke: #8b5cf6;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dasharray 0.5s ease;
}

.portfolio-score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: 800;
  color: #8b5cf6;
}

.portfolio-score-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.portfolio-score-desc {
  font-size: 12px;
  color: var(--light-gray);
}

.portfolio-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.portfolio-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 14px;
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon.risk-icon { background: rgba(239, 68, 68, 0.15); }
.metric-icon.risk-icon svg { color: #ef4444; }

.metric-icon.liquidity-icon { background: rgba(34, 197, 94, 0.15); }
.metric-icon.liquidity-icon svg { color: #22c55e; }

.metric-icon.demand-icon { background: rgba(59, 130, 246, 0.15); }
.metric-icon.demand-icon svg { color: #3b82f6; }

.metric-content {
  flex: 1;
}

.metric-content .metric-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-bottom: 4px;
  display: block;
}

.metric-content .metric-value {
  font-size: 16px;
  font-weight: 700;
  display: block;
}

.metric-value.risk-low { color: #22c55e; }
.metric-value.risk-medium { color: #f59e0b; }
.metric-value.risk-high { color: #ef4444; }

.metric-value.demand-high-demand { color: #22c55e; }
.metric-value.demand-moderate { color: #f59e0b; }
.metric-value.demand-low { color: #ef4444; }

.liquidity-bar-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.liquidity-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.liquidity-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #84cc16);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.liquidity-value {
  font-size: 14px;
  font-weight: 700;
  color: #22c55e;
  min-width: 40px;
}

.portfolio-insight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
}

.portfolio-insight svg {
  color: #8b5cf6;
  flex-shrink: 0;
  margin-top: 2px;
}

.portfolio-insight span {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.6;
}

/* ============================================
   LOCATION INSIGHTS SECTION (Property Detail)
   ============================================ */

.location-insights-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.location-insights-section h3 {
  color: #10B981;
}

.location-insights-section h3 svg {
  color: #10B981;
}

.location-insight-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.location-insight-card:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.12);
}

.insight-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.insight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Flood Risk Icons */
.insight-icon.flood-icon.very_low { background: rgba(16, 185, 129, 0.2); color: #10B981; }
.insight-icon.flood-icon.low { background: rgba(59, 130, 246, 0.2); color: #3B82F6; }
.insight-icon.flood-icon.medium { background: rgba(245, 158, 11, 0.2); color: #F59E0B; }
.insight-icon.flood-icon.high { background: rgba(239, 68, 68, 0.2); color: #EF4444; }

/* Air Quality Icons */
.insight-icon.air-icon.low { background: rgba(16, 185, 129, 0.2); color: #10B981; }
.insight-icon.air-icon.moderate { background: rgba(245, 158, 11, 0.2); color: #F59E0B; }
.insight-icon.air-icon.high { background: rgba(239, 68, 68, 0.2); color: #EF4444; }
.insight-icon.air-icon.very_high { background: rgba(127, 29, 29, 0.3); color: #FCA5A5; }

/* Broadband Icons */
.insight-icon.broadband-icon.excellent { background: rgba(16, 185, 129, 0.2); color: #10B981; }
.insight-icon.broadband-icon.good { background: rgba(59, 130, 246, 0.2); color: #3B82F6; }
.insight-icon.broadband-icon.adequate { background: rgba(245, 158, 11, 0.2); color: #F59E0B; }
.insight-icon.broadband-icon.limited { background: rgba(239, 68, 68, 0.2); color: #EF4444; }

.insight-title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.insight-title h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.insight-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Flood badges */
.insight-badge.very_low { background: rgba(16, 185, 129, 0.2); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.3); }
.insight-badge.low { background: rgba(59, 130, 246, 0.2); color: #60A5FA; border: 1px solid rgba(59, 130, 246, 0.3); }
.insight-badge.medium { background: rgba(245, 158, 11, 0.2); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.3); }
.insight-badge.high { background: rgba(239, 68, 68, 0.2); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Air quality badges */
.insight-badge.moderate { background: rgba(245, 158, 11, 0.2); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.3); }
.insight-badge.very_high { background: rgba(127, 29, 29, 0.3); color: #FCA5A5; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Broadband badges */
.insight-badge.excellent { background: rgba(16, 185, 129, 0.2); color: #10B981; border: 1px solid rgba(16, 185, 129, 0.3); }
.insight-badge.good { background: rgba(59, 130, 246, 0.2); color: #60A5FA; border: 1px solid rgba(59, 130, 246, 0.3); }
.insight-badge.adequate { background: rgba(245, 158, 11, 0.2); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.3); }
.insight-badge.limited { background: rgba(239, 68, 68, 0.2); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.insight-details {
  padding-left: 52px;
}

.insight-alert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #F87171;
  margin-bottom: 8px;
}

.insight-info {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0 0;
  line-height: 1.5;
}

.air-pollutants {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.air-pollutants span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
}

.broadband-speeds {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.speed-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.speed-stat svg {
  color: #a78bfa;
}

.speed-stat strong {
  color: #fff;
  font-weight: 700;
}

.broadband-coverage {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.broadband-coverage span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 4px;
}

.view-full-analytics-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  color: #10B981;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.view-full-analytics-btn:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(6, 182, 212, 0.3));
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateX(4px);
}

/* ============================================
   COMPACT LOCATION SECTIONS (Property Detail)
   ============================================ */

/* Compact la-section when inside property detail page */
.property-detail .la-section {
  padding: 20px;
  margin-bottom: 16px;
  border-radius: 16px;
}

.property-detail .la-section:first-of-type {
  margin-top: 24px;
}

.property-detail .la-section:last-of-type {
  margin-bottom: 0;
}

.property-detail .la-section-header {
  margin-bottom: 16px;
}

.property-detail .la-section-header h2 {
  font-size: 18px;
}

.property-detail .la-section-subtitle {
  font-size: 12px;
}

.property-detail .la-section-icon-wrapper {
  width: 40px;
  height: 40px;
}

.property-detail .la-section-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.property-detail .la-stats-grid {
  gap: 12px;
  margin-bottom: 16px;
}

.property-detail .la-stat-card {
  padding: 14px;
}

.property-detail .la-stat-value {
  font-size: 18px;
}

.property-detail .la-stat-label {
  font-size: 11px;
}

.property-detail .la-stat-icon svg {
  width: 20px;
  height: 20px;
}

.property-detail .la-chart-card {
  padding: 16px;
  margin-bottom: 12px;
}

.property-detail .la-chart-card h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.property-detail .la-chart-description {
  font-size: 11px;
  margin-bottom: 12px;
}

.property-detail .la-flood-description,
.property-detail .la-air-description {
  padding: 12px 16px;
  margin-bottom: 12px;
}

.property-detail .la-flood-description p,
.property-detail .la-air-description p {
  font-size: 13px;
}

.property-detail .la-station-list {
  gap: 8px;
}

.property-detail .la-station-item {
  padding: 10px 12px;
}

.property-detail .la-station-name {
  font-size: 13px;
}

.property-detail .la-station-river {
  font-size: 11px;
}

.property-detail .la-station-distance {
  font-size: 11px;
}

.property-detail .la-pollutant-item {
  padding: 8px 0;
}

.property-detail .la-pollutant-label {
  font-size: 12px;
}

.property-detail .la-pollutant-value {
  font-size: 11px;
}

.property-detail .la-health-advice {
  padding: 14px 16px;
  margin-top: 12px;
}

.property-detail .la-health-advice h4 {
  font-size: 13px;
  margin-bottom: 8px;
}

.property-detail .la-health-advice p {
  font-size: 12px;
}

.property-detail .la-broadband-speed-badge {
  padding: 8px 14px;
  margin-bottom: 16px;
}

.property-detail .la-speed-indicator {
  width: 10px;
  height: 10px;
}

.property-detail .la-speed-label {
  font-size: 12px;
}

.property-detail .la-broadband-bars {
  gap: 12px;
}

.property-detail .la-broadband-label {
  font-size: 12px;
}

.property-detail .la-broadband-percent {
  font-size: 12px;
}

.property-detail .la-broadband-bar-container {
  height: 8px;
}

.property-detail .la-coverage-grid {
  gap: 10px;
}

.property-detail .la-coverage-item {
  padding: 12px;
}

.property-detail .la-coverage-icon {
  width: 36px;
  height: 36px;
}

.property-detail .la-coverage-icon svg {
  width: 18px;
  height: 18px;
}

.property-detail .la-coverage-label {
  font-size: 11px;
}

.property-detail .la-coverage-value {
  font-size: 15px;
}

.property-detail .la-providers-section {
  padding: 14px;
  margin-top: 12px;
}

.property-detail .la-providers-section h4 {
  font-size: 13px;
  margin-bottom: 10px;
}

.property-detail .la-providers-list {
  gap: 8px;
}

.property-detail .la-provider-tag {
  padding: 6px 12px;
  font-size: 11px;
}

.property-detail .la-crime-source {
  margin-top: 12px;
  padding-top: 12px;
}

.property-detail .la-source-tag,
.property-detail .la-source-date {
  font-size: 10px;
}

.property-detail .view-full-analytics-btn {
  margin-top: 20px;
  padding: 10px 16px;
  font-size: 13px;
}

/* Loading skeleton for lazy-loaded location insights */
.la-loading-skeleton {
  margin-top: 24px;
}

.la-skeleton-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.la-skeleton-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.la-skeleton-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.la-skeleton-title {
  width: 150px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.la-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.la-skeleton-card {
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.la-loading-text {
  text-align: center;
  color: var(--light-gray);
  font-size: 13px;
  margin-top: 16px;
  animation: pulse 1.5s infinite;
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Full page loading skeleton for location analytics */
.la-loading-page {
  padding-top: 20px;
}

.la-skeleton-large {
  padding: 28px;
}

.la-skeleton-title-lg {
  width: 200px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.la-skeleton-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.la-skeleton-card-lg {
  height: 100px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.la-skeleton-chart {
  height: 200px;
  border-radius: 16px;
  margin-top: 20px;
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0.02) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.la-loading-text-page {
  text-align: center;
  color: var(--light-gray);
  font-size: 15px;
  margin-top: 32px;
  animation: pulse 1.5s infinite;
}

.la-tag-loading {
  background: rgba(255, 255, 255, 0.05);
  animation: pulse 1.5s infinite;
}

/* Progress Bar */
.la-progress-container {
  width: 100%;
  max-width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 20px auto 0;
  overflow: hidden;
}

.la-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFD400, #FFA500);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Progress Section (after hero) */
.la-progress-section {
  background: linear-gradient(180deg, rgba(15, 15, 20, 0.95) 0%, rgba(10, 10, 15, 0.9) 100%);
  border-bottom: 1px solid rgba(255, 212, 0, 0.15);
  padding: 20px 0;
}

.la-progress-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 12px;
}

.la-progress-count {
  font-weight: 700;
  color: #FFD400;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
  background: rgba(255, 212, 0, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  min-width: 60px;
  text-align: center;
  border: 1px solid rgba(255, 212, 0, 0.2);
}

.la-progress-label {
  color: rgba(255, 255, 255, 0.7);
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .la-progress-info {
    flex-direction: column;
    gap: 8px;
  }
  .la-progress-label {
    font-size: 12px;
    max-width: 200px;
  }
}

/* ============================================
   PROGRESSIVE LOADING STYLES
   ============================================ */

.la-progress-indicator {
  position: sticky;
  top: 70px;
  z-index: 100;
  background: rgba(15, 15, 20, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  margin: 0 -20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.3s ease;
}

.la-progress-text {
  font-size: 14px;
  color: var(--light-gray);
  text-align: center;
  margin-bottom: 8px;
}

.la-progress-bar-container {
  width: 100%;
  max-width: 400px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 0 auto;
  overflow: hidden;
}

.la-section-container {
  margin-bottom: 0;
}

.la-progressive-skeleton {
  position: relative;
  overflow: hidden;
}

.la-skeleton-title-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  font-weight: 600;
}

.la-skeleton-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  animation: shimmer 2s infinite;
  pointer-events: none;
}

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

.la-skeleton-icon-gold { background: rgba(255, 212, 0, 0.15); }
.la-skeleton-icon-blue { background: rgba(59, 130, 246, 0.15); }
.la-skeleton-icon-green { background: rgba(16, 185, 129, 0.15); }
.la-skeleton-icon-purple { background: rgba(139, 92, 246, 0.15); }
.la-skeleton-icon-red { background: rgba(239, 68, 68, 0.15); }
.la-skeleton-icon-cyan { background: rgba(6, 182, 212, 0.15); }

.la-section-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.la-section-error p {
  color: #EF4444;
  margin: 0;
  font-size: 14px;
}

/* ============================================
   MOBILE RESPONSIVE FOR NEW SECTIONS
   ============================================ */

@media (max-width: 768px) {
  .commute-section,
  .lifestyle-scores-section,
  .area-vibe-section,
  .connectivity-section,
  .future-dev-section,
  .portfolio-section {
    padding: 20px;
  }

  .commute-section h3,
  .lifestyle-scores-section h3,
  .area-vibe-section h3,
  .connectivity-section h3,
  .future-dev-section h3,
  .portfolio-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
  }

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

  .commute-card {
    padding: 14px;
    gap: 12px;
  }

  .commute-icon {
    width: 40px;
    height: 40px;
  }

  .commute-mode-label {
    font-size: 10px;
  }

  .commute-destination {
    font-size: 13px;
  }

  .commute-time {
    font-size: 18px;
  }

  .commute-time-wrapper {
    gap: 8px;
  }

  .commute-frequency {
    font-size: 10px;
    padding: 3px 8px;
  }

  .location-scores-grid {
    gap: 12px;
    justify-content: center;
  }

  .score-card {
    padding: 18px 16px;
    min-width: 110px;
    max-width: 150px;
  }

  .score-circle-wrapper {
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
  }

  .score-value {
    font-size: 22px;
  }

  .score-label {
    font-size: 13px;
  }

  .score-description {
    font-size: 10px;
    padding: 5px 6px;
  }

  .score-label {
    font-size: 13px;
  }

  .area-vibe-tags {
    gap: 8px;
  }

  .vibe-tag {
    padding: 8px 12px;
    font-size: 12px;
  }

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

  .connectivity-card {
    padding: 16px;
  }

  .connectivity-icon {
    width: 44px;
    height: 44px;
  }

  .connectivity-value {
    font-size: 16px;
  }

  .dev-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .dev-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .portfolio-score-circle {
    width: 100px;
    height: 100px;
  }

  .portfolio-score-value {
    font-size: 30px;
  }

  .portfolio-metrics {
    grid-template-columns: 1fr;
  }

  .portfolio-metric {
    padding: 12px;
  }
}

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

  .location-scores-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .score-card {
    min-width: 100px;
    max-width: calc(50% - 5px);
    flex: 1 1 calc(50% - 5px);
    padding: 16px 12px;
  }

  .score-circle-wrapper {
    width: 64px;
    height: 64px;
  }

  .score-value {
    font-size: 20px;
  }

  .vibe-tag {
    padding: 6px 10px;
    font-size: 11px;
    gap: 6px;
  }

  .vibe-tag svg {
    width: 14px;
    height: 14px;
  }

  .portfolio-insight {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-insight svg {
    margin: 0 auto;
  }
}

/* ============================================
   SUN PATH & NATURAL LIGHT SECTION
   ============================================ */

.sun-path-section {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.02) 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}

.sun-path-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}

.sun-path-section h3 svg {
  color: #22c55e;
}

.sun-path-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Compass Visualization */
.sun-compass {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.compass-outer {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.02) 100%);
  border: 2px solid rgba(34, 197, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-directions {
  position: absolute;
  width: 100%;
  height: 100%;
}

.compass-directions span {
  position: absolute;
  font-size: 14px;
  font-weight: 700;
  color: var(--light-gray);
}

.compass-n {
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.compass-e {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.compass-s {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: #22c55e !important;
}

.compass-w {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.compass-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.compass-house {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.compass-house svg {
  width: 36px;
  height: 36px;
  color: #22c55e;
}

/* House rotation based on aspect */
.aspect-south .compass-house { transform: rotate(0deg); }
.aspect-southwest .compass-house { transform: rotate(45deg); }
.aspect-west .compass-house { transform: rotate(90deg); }
.aspect-northwest .compass-house { transform: rotate(135deg); }
.aspect-north .compass-house { transform: rotate(180deg); }
.aspect-northeast .compass-house { transform: rotate(-135deg); }
.aspect-east .compass-house { transform: rotate(-90deg); }
.aspect-southeast .compass-house { transform: rotate(-45deg); }

.aspect-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.aspect-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.aspect-rating {
  font-size: 12px;
  color: #22c55e;
  font-weight: 600;
}

/* Sun Stats */
.sun-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sun-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 16px;
  transition: background 0.2s;
}

.sun-stat-card:hover {
  background: rgba(0, 0, 0, 0.3);
}

.sun-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sun-stat-icon.sun-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.sun-stat-icon.sun-icon svg {
  color: #22c55e;
}

.sun-stat-icon.garden-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.sun-stat-icon.garden-icon svg {
  color: #22c55e;
}

.sun-stat-icon.light-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.sun-stat-icon.light-icon svg {
  color: #22c55e;
}

.sun-stat-info {
  flex: 1;
}

.sun-stat-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-bottom: 4px;
}

.sun-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.sun-stat-desc {
  font-size: 11px;
  color: var(--light-gray);
  margin-top: 2px;
}

/* Room Light Analysis */
.room-light-analysis {
  margin-top: 24px;
}

.room-light-analysis h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-light-analysis h4 svg {
  color: #22c55e;
}

.room-light-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.room-light-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 14px;
  transition: background 0.2s;
}

.room-light-card:hover {
  background: rgba(0, 0, 0, 0.3);
}

.room-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.light-times {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.light-time {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.light-period {
  display: block;
  font-size: 10px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.light-level {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.light-level.excellent { color: #22c55e; }
.light-level.good { color: #84cc16; }
.light-level.moderate { color: #f59e0b; }
.light-level.low { color: #64748b; }

/* Sunlight Rating Indicator */
.sunlight-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.sun-ray {
  width: 16px;
  height: 3px;
  background: var(--medium-gray);
  border-radius: 2px;
}

.sun-ray.active {
  background: #22c55e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sun-path-section {
    padding: 20px;
  }

  .sun-path-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .sun-path-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .compass-outer {
    width: 160px;
    height: 160px;
  }

  .compass-inner {
    width: 90px;
    height: 90px;
  }

  .compass-house svg {
    width: 32px;
    height: 32px;
  }

  .aspect-label {
    font-size: 16px;
  }

  .sun-stat-card {
    padding: 14px;
  }

  .sun-stat-icon {
    width: 42px;
    height: 42px;
  }

  .sun-stat-value {
    font-size: 16px;
  }

  .room-light-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .compass-outer {
    width: 140px;
    height: 140px;
  }

  .compass-inner {
    width: 80px;
    height: 80px;
  }

  .compass-directions span {
    font-size: 12px;
  }

  .aspect-badge {
    padding: 10px 16px;
  }

  .aspect-label {
    font-size: 14px;
  }

  .light-times {
    gap: 4px;
  }

  .light-time {
    padding: 6px 2px;
  }

  .light-period {
    font-size: 9px;
  }

  .light-level {
    font-size: 11px;
  }
}

/* Download PDF Button */
.download-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.download-pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.download-pdf-btn svg {
  width: 18px;
  height: 18px;
}

/* PDF Print Styles - A4 Layout */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  @page {
    size: A4;
    margin: 15mm 12mm;
  }

  body {
    background: white !important;
    color: #1a1a1a !important;
    font-size: 11pt;
    line-height: 1.4;
    margin: 0;
    padding: 0;
  }

  .header,
  .footer,
  .breadcrumb,
  .inquiry-form,
  .download-pdf-btn,
  .section-more-btn,
  .gallery-thumbs,
  .zoom-hint,
  .image-lightbox,
  .section-modal,
  .property-map,
  .nav,
  .btn-primary,
  .btn-secondary,
  .mobile-menu,
  .cookie-banner,
  iframe,
  form,
  .calc-tabs,
  .calc-tab-content:not(.active),
  .mortgage-calculator,
  .calc-inputs,
  .analytics-charts,
  .chart-container,
  .construction-section,
  .commute-section,
  .connectivity-section,
  .area-vibe-section,
  .lifestyle-scores-section,
  .portfolio-section,
  .future-dev-section,
  .no-print {
    display: none !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .property-detail {
    padding: 0 !important;
  }

  .property-detail-grid {
    display: block !important;
    width: 100%;
  }

  .pdf-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #ffd400;
    padding-bottom: 16px;
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .pdf-header-logo {
    font-size: 24pt;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -1px;
  }

  .pdf-header-logo span {
    color: #ffd400;
  }

  .pdf-header-info {
    text-align: right;
    font-size: 9pt;
    color: #666;
  }

  .property-info-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    position: relative !important;
    top: auto !important;
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .property-info-price {
    font-size: 28pt !important;
    color: #1a1a1a !important;
    font-weight: 800 !important;
    margin-bottom: 8px;
  }

  .property-info-title {
    font-size: 18pt !important;
    color: #1a1a1a !important;
    margin-bottom: 8px;
    line-height: 1.2;
  }

  .property-info-location {
    font-size: 11pt;
    color: #666 !important;
    margin-bottom: 16px;
  }

  .property-info-location svg {
    display: none;
  }

  .property-info-specs {
    display: flex !important;
    gap: 24px;
    padding: 12px 16px;
    background: #f5f5f5 !important;
    border-radius: 8px;
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .info-spec {
    text-align: left;
  }

  .info-spec-value {
    font-size: 16pt !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
  }

  .info-spec-label {
    font-size: 9pt !important;
    color: #666 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .property-grades {
    margin-bottom: 16px;
    padding: 12px;
    background: #f9f9f9 !important;
    border-radius: 8px;
    page-break-inside: avoid;
  }

  .grades-title {
    font-size: 11pt !important;
    margin-bottom: 8px;
  }

  .grades-grid {
    display: flex !important;
    gap: 16px;
  }

  .grade-badge {
    padding: 4px 10px !important;
    font-size: 10pt !important;
    border-radius: 4px;
  }

  .grade-a { background: #22c55e !important; color: white !important; }
  .grade-b { background: #84cc16 !important; color: white !important; }
  .grade-c { background: #f59e0b !important; color: white !important; }
  .grade-d { background: #f97316 !important; color: white !important; }
  .grade-e { background: #ef4444 !important; color: white !important; }
  .grade-f { background: #dc2626 !important; color: white !important; }

  .property-gallery {
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .gallery-main {
    height: auto !important;
    max-height: 300px;
  }

  .gallery-main img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
  }

  .gallery-placeholder {
    display: none !important;
  }

  .about-property-card {
    background: transparent !important;
    border: 1px solid #e5e5e5 !important;
    padding: 16px !important;
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .about-property-header {
    margin-bottom: 12px;
  }

  .about-property-icon {
    display: none;
  }

  .about-property-title h3 {
    font-size: 14pt !important;
    color: #1a1a1a !important;
  }

  .about-property-subtitle {
    display: none;
  }

  .about-property-content {
    font-size: 10pt;
    color: #333 !important;
    line-height: 1.5;
  }

  .about-property-content p {
    margin-bottom: 8px;
  }

  .about-property-accent {
    display: none;
  }

  .features-amenities-row {
    display: flex !important;
    gap: 20px;
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .property-section-card {
    flex: 1;
    background: transparent !important;
    border: 1px solid #e5e5e5 !important;
    padding: 12px !important;
  }

  .section-card-header h3 {
    font-size: 12pt !important;
    color: #1a1a1a !important;
  }

  .section-card-icon {
    display: none;
  }

  .tags-grid-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .tag {
    padding: 4px 8px !important;
    font-size: 9pt !important;
    border-radius: 4px;
    background: #f5f5f5 !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
  }

  .tag-more {
    display: none !important;
  }

  .transport-info-line,
  .incentives-info-line,
  .appliances-info-line,
  .parking-info-line,
  .ev-charger-info-line,
  .garage-info-line,
  .heating-info-line,
  .solar-panel-info-line,
  .water-info-line {
    padding: 8px 12px !important;
    background: #f9f9f9 !important;
    margin-bottom: 8px;
    font-size: 10pt;
    color: #333 !important;
    border-radius: 4px;
  }

  .info-line-row {
    display: flex !important;
    gap: 12px;
  }

  .calculations-section {
    background: #f5f5f5 !important;
    padding: 16px !important;
    border-radius: 8px;
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .calculations-grid {
    display: flex !important;
    gap: 24px;
  }

  .calc-column {
    flex: 1;
  }

  .calc-column h5 {
    font-size: 11pt !important;
    color: #1a1a1a !important;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
  }

  .calc-line {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 9pt;
    color: #333 !important;
  }

  .calc-line.highlight {
    font-weight: 700;
    color: #1a1a1a !important;
    border-top: 1px solid #ddd;
    margin-top: 6px;
    padding-top: 6px;
  }

  .calc-line.income span:last-child {
    color: #22c55e !important;
  }

  .calc-line.deposit-contribution span:last-child {
    color: #22c55e !important;
  }

  .analytics-section {
    background: transparent !important;
    border: 1px solid #e5e5e5 !important;
    padding: 16px !important;
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .analytics-header {
    margin-bottom: 12px;
  }

  .analytics-icon {
    display: none;
  }

  .analytics-header h3 {
    font-size: 14pt !important;
    color: #1a1a1a !important;
  }

  .analytics-subtitle {
    font-size: 9pt !important;
    color: #666 !important;
  }

  .analytics-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px;
    margin-bottom: 12px;
  }

  .analytics-card {
    background: #f9f9f9 !important;
    padding: 12px !important;
    border-radius: 6px;
    text-align: center;
  }

  .analytics-card-header {
    margin-bottom: 6px;
  }

  .analytics-card-header span {
    font-size: 8pt !important;
    color: #666 !important;
  }

  .analytics-card-header svg {
    display: none;
  }

  .analytics-value {
    font-size: 18pt !important;
    font-weight: 700 !important;
  }

  .yield-value { color: #22c55e !important; }
  .appreciation-value { color: #3b82f6 !important; }
  .forecast-value { color: #f59e0b !important; }
  .rent-forecast-value { color: #8b5cf6 !important; }

  .analytics-detail {
    font-size: 8pt !important;
    color: #666 !important;
  }

  .analytics-metrics-row {
    display: flex !important;
    justify-content: space-between;
    background: #f5f5f5 !important;
    padding: 10px 16px;
    border-radius: 6px;
  }

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

  .analytics-disclaimer {
    font-size: 8pt !important;
    color: #999 !important;
    margin-top: 8px;
  }

  .plans-row {
    display: flex !important;
    gap: 20px;
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .floorplan-section,
  .siteplan-section {
    flex: 1;
    background: transparent !important;
    border: 1px solid #e5e5e5 !important;
    padding: 12px !important;
  }

  .floorplan-section h3,
  .siteplan-section h3 {
    font-size: 12pt !important;
    color: #1a1a1a !important;
    margin-bottom: 8px;
  }

  .floorplan-image {
    cursor: default !important;
  }

  .floorplan-image img {
    max-height: 200px;
    object-fit: contain;
  }

  .schools-section {
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .schools-section h3 {
    font-size: 12pt !important;
    color: #1a1a1a !important;
    margin-bottom: 12px;
  }

  .schools-section h3 svg {
    display: none;
  }

  .schools-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .school-item {
    background: #f9f9f9 !important;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 9pt;
  }

  .school-name {
    font-weight: 600;
    color: #1a1a1a !important;
  }

  .school-type {
    font-size: 8pt;
    color: #666 !important;
  }

  .school-rating {
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 8pt;
  }

  .rating-outstanding { background: #22c55e !important; color: white !important; }
  .rating-good { background: #84cc16 !important; color: white !important; }
  .rating-requires-improvement { background: #f59e0b !important; color: white !important; }
  .rating-inadequate { background: #ef4444 !important; color: white !important; }

  .epc-section {
    margin-bottom: 16px;
    page-break-inside: avoid;
  }

  .epc-section h4 {
    font-size: 11pt !important;
    color: #1a1a1a !important;
    margin-bottom: 8px;
  }

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

  .epc-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16pt;
    font-weight: 700;
    border-radius: 4px;
    color: white !important;
  }

  .epc-a { background: #22c55e !important; }
  .epc-b { background: #84cc16 !important; }
  .epc-c { background: #a3e635 !important; color: #1a1a1a !important; }
  .epc-d { background: #facc15 !important; color: #1a1a1a !important; }
  .epc-e { background: #f97316 !important; }
  .epc-f { background: #ef4444 !important; }
  .epc-g { background: #dc2626 !important; }

  .info-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 10pt;
  }

  .info-detail-label {
    color: #666 !important;
  }

  .info-detail-value {
    font-weight: 600;
    color: #1a1a1a !important;
  }

  .ownership-badge {
    text-transform: capitalize;
  }

  .costs-section {
    margin-bottom: 16px;
    page-break-inside: avoid;
  }

  .costs-section h4 {
    font-size: 11pt !important;
    color: #1a1a1a !important;
    margin-bottom: 8px;
  }

  .cost-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 10pt;
    color: #333 !important;
  }

  .sun-path-section {
    margin-bottom: 20px;
    page-break-inside: avoid;
  }

  .sun-path-section h3 {
    font-size: 12pt !important;
    color: #1a1a1a !important;
    margin-bottom: 12px;
  }

  .sun-path-section h3 svg {
    display: none;
  }

  .sun-path-container {
    display: flex;
    gap: 20px;
  }

  .sun-compass {
    display: none;
  }

  .aspect-badge {
    background: #f5f5f5 !important;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
  }

  .aspect-label {
    font-weight: 600;
    color: #1a1a1a !important;
  }

  .sun-stats {
    display: flex;
    gap: 12px;
  }

  .sun-stat-card {
    background: #f9f9f9 !important;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
  }

  .sun-stat-icon {
    display: none;
  }

  .sun-stat-value {
    font-size: 14pt !important;
    font-weight: 700;
    color: #1a1a1a !important;
  }

  .sun-stat-label {
    font-size: 8pt;
    color: #666 !important;
  }

  .room-light-analysis {
    margin-top: 12px;
  }

  .room-light-analysis h4 {
    font-size: 10pt !important;
    color: #1a1a1a !important;
    margin-bottom: 8px;
  }

  .room-light-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .room-light-card {
    background: #f9f9f9 !important;
    padding: 8px;
    border-radius: 4px;
    font-size: 8pt;
  }

  .room-name {
    font-weight: 600;
    color: #1a1a1a !important;
    margin-bottom: 4px;
  }

  .light-period {
    color: #666 !important;
  }

  .light-level {
    color: #1a1a1a !important;
  }

  .light-level svg {
    display: none;
  }

  .pdf-footer {
    display: block !important;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
    font-size: 8pt;
    color: #999 !important;
    text-align: center;
    page-break-inside: avoid;
  }

  .pdf-footer p {
    margin-bottom: 4px;
  }

  .property-section {
    page-break-inside: avoid;
  }

  h3 {
    page-break-after: avoid;
  }

  .intl-suitability-compact {
    background: #f5f5f5 !important;
    padding: 12px !important;
    border-radius: 8px;
    margin-bottom: 12px;
  }

  .intl-suitability-header h4 {
    font-size: 11pt !important;
    color: #1a1a1a !important;
  }

  .intl-verdict {
    font-size: 9pt !important;
    color: #666 !important;
  }

  .intl-score-badge {
    background: #f9f9f9 !important;
  }

  .intl-score-value {
    color: #1a1a1a !important;
    font-size: 18pt !important;
  }

  .intl-progress-bar,
  .intl-considerations,
  .intl-notice {
    display: none !important;
  }
}

/* ==================== */
/* PRICING PAGE STYLES  */
/* ==================== */

.pricing-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: var(--primary);
  opacity: 0.05;
  border-radius: 50%;
  filter: blur(100px);
}

.pricing-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.pricing-hero h1 span {
  color: var(--primary);
}

.pricing-hero p {
  font-size: 18px;
  color: var(--light-gray);
  max-width: 500px;
  margin: 0 auto;
}

.pricing-section {
  padding: 60px 0 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.pricing-card {
  background: var(--dark-gray);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--medium-gray);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card-highlight {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, rgba(255, 212, 0, 0.08) 0%, var(--dark-gray) 100%);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--medium-gray);
  margin-bottom: 24px;
}

.pricing-plan-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.pricing-card-highlight .pricing-plan-name {
  color: var(--primary);
}

.pricing-plan-description {
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 20px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -2px;
}

.pricing-period {
  font-size: 16px;
  color: var(--light-gray);
}

.pricing-card-body {
  flex: 1;
  padding-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--white);
}

.pricing-feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature.included svg {
  color: #22c55e;
}

.pricing-feature.not-included {
  color: var(--light-gray);
  opacity: 0.6;
}

.pricing-feature.not-included svg {
  color: var(--medium-gray);
}

.pricing-card-footer {
  padding-top: 24px;
  border-top: 1px solid var(--medium-gray);
}

.pricing-cta {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
}

/* FAQ Section */
.pricing-faq {
  margin-bottom: 80px;
}

.pricing-faq h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

.pricing-faq h2 span {
  color: var(--primary);
}

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

.faq-item {
  background: var(--dark-gray);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.faq-item p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
}

/* CTA Section */
.pricing-cta-section {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--dark) 100%);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  border: 1px solid var(--medium-gray);
}

.pricing-cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-cta-content p {
  font-size: 18px;
  color: var(--light-gray);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }


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

@media (max-width: 768px) {
  .pricing-hero h1 {
    font-size: 36px;
  }

  .pricing-hero p {
    font-size: 16px;
  }

  .pricing-faq h2 {
    font-size: 28px;
  }

  .pricing-cta-section {
    padding: 40px 24px;
  }

  .pricing-cta-content h2 {
    font-size: 24px;
  }

  .pricing-cta-buttons {
    flex-direction: column;
  }

  .pricing-cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .pricing-amount {
    font-size: 40px;
  }

  .pricing-card {
    padding: 24px;
  }
}

/* ==========================================
   NEW Pricing Page - Vibrant Design
   ========================================== */

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 212, 0, 0.3); }
  50% { box-shadow: 0 0 40px rgba(255, 212, 0, 0.6); }
}

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

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================
   Properties Hero - Clean Design
   ========================================== */

.props-hero {
  position: relative;
  padding: 120px 0 80px;
  text-align: center;
  overflow: hidden;
}

.props-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.props-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #111118 100%);
}

.props-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.props-hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.15) 0%, transparent 70%);
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
}

.props-hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  bottom: -200px;
  right: -100px;
}

.props-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.props-hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.props-hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -2px;
  line-height: 1.1;
}

.props-hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.props-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .props-hero {
    padding: 100px 0 60px;
  }

  .props-hero h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .props-hero p {
    font-size: 15px;
  }
}

.pricing-hero-new {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.pricing-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.pricing-hero-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #ffd400, #ff6b6b);
  opacity: 0.15;
  top: -250px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.pricing-hero-shapes .shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.12;
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.pricing-hero-shapes .shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #22c55e, #06b6d4);
  opacity: 0.1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.pricing-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 107, 107, 0.2));
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 212, 0, 0.4);
  animation: pulse-glow 3s ease-in-out infinite;
}

.pricing-hero-new h1 {
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.pricing-hero-new h1 span {
  background: linear-gradient(90deg, #ffd400, #ff6b6b, #ffd400);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.pricing-hero-new p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.pricing-section-new {
  padding: 40px 0 140px;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--dark) 100%);
}

.pricing-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 120px;
  align-items: stretch;
  max-width: 100%;
}

.pricing-card-new {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 16px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.pricing-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: all 0.4s;
}

.pricing-card-new::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 50%);
  pointer-events: none;
}

.pricing-card-new:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 40px 80px rgba(99, 102, 241, 0.25), 0 0 40px rgba(255, 212, 0, 0.1);
  border-color: rgba(255, 212, 0, 0.4);
}

.pricing-card-new:hover::before {
  background: linear-gradient(90deg, var(--primary), #ff6b6b, var(--primary));
  background-size: 200% auto;
  animation: shimmer 2s linear infinite;
}

.pricing-card-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(145deg, rgba(255, 212, 0, 0.12), rgba(30, 30, 40, 0.95));
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 30px 60px rgba(255, 212, 0, 0.2);
}

.pricing-card-featured::before {
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #ff6b6b, var(--primary));
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.pricing-card-featured::after {
  background: radial-gradient(circle at top right, rgba(255, 212, 0, 0.15), transparent 50%);
}

.pricing-card-featured:hover {
  transform: scale(1.02) translateY(-12px);
  box-shadow: 0 50px 100px rgba(255, 212, 0, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
  padding: 8px 18px 12px;
  border-radius: 0 0 12px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(255, 212, 0, 0.4);
}

.pricing-card-top {
  margin-bottom: 24px;
}

.pricing-tier-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.pricing-card-featured .pricing-tier-name {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-tier-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.pricing-price-block {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

.pricing-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
}

.pricing-card-featured .pricing-value {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-duration {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  align-self: flex-end;
  margin-bottom: 10px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s;
}

.pricing-feature-item:last-child {
  border-bottom: none;
}

.pricing-feature-item:hover {
  padding-left: 8px;
}

.pricing-feature-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.pricing-feature-item.included .check-icon {
  color: #22c55e;
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.5));
}

.pricing-feature-item.excluded {
  color: rgba(255, 255, 255, 0.4);
}

.pricing-feature-item.excluded .x-icon {
  color: rgba(255, 255, 255, 0.2);
}

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.pricing-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s;
}

.pricing-btn:hover svg {
  transform: translateX(6px);
}

.pricing-btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  box-shadow: 0 8px 30px rgba(255, 212, 0, 0.4);
}

.pricing-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.pricing-btn-primary:hover::before {
  left: 100%;
}

.pricing-btn-primary:hover {
  box-shadow: 0 12px 40px rgba(255, 212, 0, 0.5);
  transform: translateY(-3px);
}

.pricing-btn-secondary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  color: var(--white);
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.pricing-btn-secondary:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
  transform: translateY(-3px);
}

.pricing-btn-current {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: default;
}

.pricing-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.pricing-btn .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Feature Comparison Table */
.pricing-features-comparison {
  margin-bottom: 100px;
}

.pricing-features-comparison h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 56px;
}

.pricing-features-comparison h2 span {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.comparison-table-wrapper {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.comparison-table thead th {
  background: rgba(0, 0, 0, 0.4);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  padding: 16px 14px;
}

.comparison-table thead th.highlight-col {
  background: linear-gradient(180deg, rgba(255, 212, 0, 0.2), rgba(255, 212, 0, 0.1));
  color: var(--primary);
}

.comparison-table tbody td {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.comparison-table tbody td.highlight-col {
  background: rgba(255, 212, 0, 0.05);
}

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

.comparison-table tbody tr {
  transition: all 0.3s;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.table-check,
.table-x {
  width: 22px;
  height: 22px;
  margin: 0 auto;
}

.table-check {
  color: #22c55e;
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.5));
}

.table-x {
  color: rgba(255, 255, 255, 0.2);
}

/* New FAQ Style - Vibrant */
.pricing-faq-new {
  margin-bottom: 100px;
}

.pricing-faq-new h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 56px;
}

.pricing-faq-new h2 span {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-grid-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.faq-card {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(30, 30, 50, 0.6));
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.faq-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #6366f1, #3B82F6);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.faq-card:hover {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.18), rgba(40, 40, 60, 0.8));
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
  transform: translateY(-8px);
}

.faq-card:hover::before {
  opacity: 1;
}

.faq-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 107, 107, 0.15));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s;
}

.faq-card:hover .faq-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(255, 212, 0, 0.3);
}

.faq-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.faq-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.faq-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}

/* New CTA - Vibrant */
.pricing-cta-new {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 28px;
  padding: 80px 60px;
  text-align: center;
  border: 1px solid rgba(255, 212, 0, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.pricing-cta-new::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.pricing-cta-new::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 10s ease-in-out infinite reverse;
}

.pricing-cta-new .cta-content {
  position: relative;
  z-index: 1;
}

.pricing-cta-new h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-cta-new p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.pricing-cta-new .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.pricing-cta-new .btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  box-shadow: 0 8px 30px rgba(255, 212, 0, 0.4);
}

.pricing-cta-new .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(255, 212, 0, 0.5);
  transform: translateY(-3px);
}

.pricing-cta-new .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.pricing-cta-new .btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 212, 0, 0.1);
}

/* Responsive - New Pricing */
@media (max-width: 1200px) {
  .pricing-grid-new {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .pricing-card-new {
    padding: 20px 16px;
  }
}

@media (max-width: 1024px) {
  .pricing-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pricing-card-new {
    padding: 24px 20px;
  }
}

@media (max-width: 600px) {
  .pricing-grid-new {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
}

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translateY(-12px);
  }

  .faq-grid-new {
    grid-template-columns: 1fr;
  }

  .comparison-table-wrapper {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 800px;
  }

  .pricing-hero-new {
    padding: 80px 0 60px;
  }

  .pricing-hero-new h1 {
    font-size: 36px;
  }

  .pricing-hero-new p {
    font-size: 16px;
  }

  .pricing-features-comparison h2,
  .pricing-faq-new h2 {
    font-size: 28px;
  }

  .pricing-cta-new {
    padding: 50px 30px;
  }

  .pricing-cta-new h2 {
    font-size: 26px;
  }

  .pricing-cta-new .cta-buttons {
    flex-direction: column;
  }

  .pricing-cta-new .cta-buttons .btn {
    width: 100%;
  }

  .guarantee-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .guarantee-content h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .pricing-value {
    font-size: 48px;
  }

  .pricing-card-new {
    padding: 28px 24px;
  }

  .pricing-tier-name {
    font-size: 24px;
  }
}

/* ==========================================
   About Page - New Premium Design (Teal/Emerald Theme)
   ========================================== */

.about-hero-new {
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1f22 25%, #134e4a 50%, #115e59 75%, #0d1f22 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.about-hero-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  opacity: 0.15;
  top: -250px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.about-hero-shapes .shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #ffd400, #f59e0b);
  opacity: 0.12;
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.about-hero-shapes .shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  opacity: 0.1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.about-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 107, 107, 0.2));
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 212, 0, 0.4);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow-teal {
  0%, 100% { box-shadow: 0 0 20px rgba(20, 184, 166, 0.3); }
  50% { box-shadow: 0 0 40px rgba(20, 184, 166, 0.5); }
}

.about-hero-new h1 {
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.about-hero-new h1 span {
  background: linear-gradient(90deg, #14b8a6, #22c55e, #14b8a6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.about-hero-new p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.about-section-new {
  padding: 100px 0 140px;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--dark) 100%);
}

/* Mission Card */
.about-mission-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 28px;
  padding: 60px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
}

.about-mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #14b8a6, #22c55e, #14b8a6);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(34, 197, 94, 0.2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.mission-icon svg {
  width: 40px;
  height: 40px;
  color: #14b8a6;
}

.about-mission-card h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

.about-mission-card h2 span {
  background: linear-gradient(90deg, #14b8a6, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-mission-card p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Stats Grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 100px;
}

.about-stat-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-stat-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(20, 184, 166, 0.15);
}

.stat-value {
  display: block;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(90deg, #14b8a6, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Features Section */
.about-features-section {
  margin-bottom: 100px;
}

.about-features-section h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 56px;
  color: var(--white);
}

.about-features-section h2 span {
  background: linear-gradient(90deg, #14b8a6, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-feature-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #22c55e);
  opacity: 0;
  transition: opacity 0.4s;
}

.about-feature-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(20, 184, 166, 0.2);
}

.about-feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(34, 197, 94, 0.15));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s;
}

.about-feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  color: #14b8a6;
}

.about-feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.about-feature-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}

/* Builders Section */
.about-builders-section {
  margin-bottom: 100px;
}

.about-builders-section h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--white);
}

.about-builders-section h2 span {
  background: linear-gradient(90deg, #14b8a6, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.builders-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-bottom: 56px;
}

.about-builders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-builder-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-builder-card:hover {
  border-color: rgba(255, 212, 0, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-builder-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.about-builder-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.about-cta-new {
  background: linear-gradient(135deg, #0d1f22 0%, #134e4a 50%, #115e59 100%);
  border-radius: 28px;
  padding: 80px 60px;
  text-align: center;
  border: 1px solid rgba(20, 184, 166, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.about-cta-new::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.about-cta-new::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #ffd400, #f59e0b);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 10s ease-in-out infinite reverse;
}

.about-cta-new h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.about-cta-new h2 span {
  background: linear-gradient(90deg, #14b8a6, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-cta-new p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.about-cta-new .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.about-cta-new .btn-primary {
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  color: var(--dark);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-cta-new .btn-primary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.about-cta-new .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.5);
  transform: translateY(-3px);
}

.about-cta-new .btn-primary:hover svg {
  transform: translateX(4px);
}

.about-cta-new .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.about-cta-new .btn-outline:hover {
  border-color: #14b8a6;
  color: #14b8a6;
  background: rgba(20, 184, 166, 0.1);
}

/* Responsive - About Page */
@media (max-width: 1024px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .about-hero-new {
    padding: 80px 0 60px;
  }

  .about-hero-new h1 {
    font-size: 36px;
  }

  .about-hero-new p {
    font-size: 16px;
  }

  .about-section-new {
    padding: 60px 0 100px;
  }

  .about-mission-card {
    padding: 40px 28px;
  }

  .about-mission-card h2 {
    font-size: 28px;
  }

  .about-features-section h2,
  .about-builders-section h2 {
    font-size: 28px;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-value {
    font-size: 36px;
  }

  .about-builders-grid {
    grid-template-columns: 1fr;
  }

  .about-cta-new {
    padding: 50px 30px;
  }

  .about-cta-new h2 {
    font-size: 26px;
  }

  .about-cta-new .cta-buttons {
    flex-direction: column;
  }

  .about-cta-new .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .about-mission-card {
    padding: 32px 20px;
  }

  .about-feature-card {
    padding: 28px 24px;
  }

  .about-builder-card {
    padding: 24px 20px;
  }
}

/* ==========================================
   Contact Page - New Premium Design
   ========================================== */

.contact-hero-new {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.contact-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.contact-hero-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #ffd400, #ff6b6b);
  opacity: 0.15;
  top: -250px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.contact-hero-shapes .shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.12;
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.contact-hero-shapes .shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #22c55e, #06b6d4);
  opacity: 0.1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.contact-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 107, 107, 0.2));
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 212, 0, 0.4);
  animation: pulse-glow 3s ease-in-out infinite;
}

.contact-hero-new h1 {
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.contact-hero-new h1 span {
  background: linear-gradient(90deg, #ffd400, #ff6b6b, #ffd400);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.contact-hero-new p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.contact-section-new {
  padding: 80px 0 140px;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--dark) 100%);
}

/* Contact Methods Grid */
.contact-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.contact-methods-bottom {
  margin-top: 80px;
  margin-bottom: 0;
}

.contact-method-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  opacity: 0;
  transition: opacity 0.4s;
}

.contact-method-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
  transform: translateY(-8px);
}

.contact-method-card:hover::before {
  opacity: 1;
}

.contact-method-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 107, 107, 0.15));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s;
}

.contact-method-card:hover .contact-method-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(255, 212, 0, 0.3);
}

.contact-method-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.contact-method-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-method-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.contact-method-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s;
}

a.contact-method-value:hover {
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 212, 0, 0.5);
}

/* Contact Main Grid */
.contact-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Form Card */
.contact-form-card-new {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 24px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #ff6b6b, var(--primary));
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.form-card-header {
  margin-bottom: 36px;
}

.form-card-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.form-card-header h2 span {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-card-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

/* Alert Styles */
.alert-new {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 15px;
}

.alert-new svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.alert-success-new {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.alert-error-new {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.1));
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Form Styles */
.contact-form-new {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group-new {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group-new label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input-new,
.form-select-new,
.form-textarea-new {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.form-input-new::placeholder,
.form-textarea-new::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input-new:focus,
.form-select-new:focus,
.form-textarea-new:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.15), 0 4px 20px rgba(255, 212, 0, 0.1);
  background: rgba(0, 0, 0, 0.6);
}

.form-select-new {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
}

.form-select-new option {
  background: #1a1a2e;
  color: var(--white);
}

.form-textarea-new {
  resize: vertical;
  min-height: 140px;
}

.contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  box-shadow: 0 8px 30px rgba(255, 212, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.contact-submit-btn:hover::before {
  left: 100%;
}

.contact-submit-btn:hover {
  box-shadow: 0 12px 40px rgba(255, 212, 0, 0.5);
  transform: translateY(-3px);
}

.contact-submit-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s;
}

.contact-submit-btn:hover svg {
  transform: translateX(4px) translateY(-4px);
}

/* Sidebar Info Cards */
.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(8px);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
  color: #8b5cf6;
}

.contact-info-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.contact-info-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

.contact-info-card p a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.contact-info-card p a:hover {
  color: #ff6b6b;
}

/* Responsive - Contact Page */
@media (max-width: 1024px) {
  .contact-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-info-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-info-card {
    flex: 1;
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .contact-hero-new {
    padding: 80px 0 60px;
  }

  .contact-hero-new h1 {
    font-size: 36px;
  }

  .contact-hero-new p {
    font-size: 16px;
  }

  .contact-section-new {
    padding: 60px 0 100px;
  }

  .contact-methods-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 60px;
  }

  .contact-form-card-new {
    padding: 32px 24px;
  }

  .form-card-header h2 {
    font-size: 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info-sidebar {
    flex-direction: column;
  }

  .contact-info-card {
    min-width: auto;
  }

  .contact-info-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .contact-form-card-new {
    padding: 24px 20px;
  }

  .form-input-new,
  .form-select-new,
  .form-textarea-new {
    padding: 14px 16px;
  }

  .contact-submit-btn {
    padding: 16px 28px;
  }
}

/* ==========================================
   Property Comparison Page Styles - Premium Design
   ========================================== */

/* Property Card Wrapper for Compare Checkbox */
.property-card-wrapper {
  position: relative;
}

.compare-checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(45, 45, 45, 0.9));
  border: 1px solid rgba(255, 212, 0, 0.2);
  margin-left: auto;
  width: fit-content;
}

.compare-checkbox:hover {
  background: linear-gradient(135deg, rgba(45, 45, 45, 0.98), rgba(60, 60, 60, 0.95));
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(255, 212, 0, 0.15);
}

.compare-checkbox input {
  display: none;
}

.compare-checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--light-gray);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-checkmark svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-checkbox input:checked + .compare-checkmark {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(255, 212, 0, 0.4);
}

.compare-checkbox input:checked + .compare-checkmark svg {
  opacity: 1;
  transform: scale(1);
  stroke: var(--dark);
}

.compare-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Results Header Actions */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

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

.compare-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
}

/* Floating Compare Bar - Premium */
.compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.98), rgba(20, 20, 20, 1));
  border-top: 1px solid rgba(255, 212, 0, 0.3);
  padding: 16px 24px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.compare-bar-inner {
  max-width: 1280px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.compare-bar-items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.compare-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--dark-gray), var(--medium-gray));
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideIn 0.3s ease;
}

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

.compare-bar-item button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--light-gray);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 4px;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.compare-bar-item button:hover {
  background: var(--error);
  color: white;
}

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

.compare-count {
  font-size: 14px;
  color: var(--light-gray);
  font-weight: 500;
}

.compare-bar-header {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.compare-bar-header span {
  color: var(--primary);
  font-weight: 700;
}

.compare-bar-clear {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--light-gray);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.compare-bar-clear:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.compare-bar-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: var(--dark);
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 212, 0, 0.3);
}

.compare-bar-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.4);
}

.compare-bar-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ==========================================
   Compare Page - New Premium Design (Teal/Emerald Theme)
   ========================================== */

.compare-page-new {
  min-height: 80vh;
}

.compare-hero-new {
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1f22 25%, #134e4a 50%, #115e59 75%, #0d1f22 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 45px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.compare-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.compare-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.compare-hero-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  opacity: 0.15;
  top: -250px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.compare-hero-shapes .shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #ffd400, #f59e0b);
  opacity: 0.12;
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.compare-hero-shapes .shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  opacity: 0.1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.compare-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 107, 107, 0.2));
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 212, 0, 0.4);
  animation: pulse-glow 3s ease-in-out infinite;
}

.compare-hero-new h1 {
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.compare-hero-new h1 span {
  background: linear-gradient(90deg, #14b8a6, #22c55e, #14b8a6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.compare-hero-new p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.compare-view-toggle-new {
  display: inline-flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.view-btn-new {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-btn-new:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.view-btn-new.active {
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4);
}

.compare-content-new {
  padding: 80px 0 140px;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--dark) 100%);
}

/* Selector Card */
.compare-selector-new {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.compare-selector-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #14b8a6, #22c55e, #14b8a6);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.selector-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.selector-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(34, 197, 94, 0.2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.selector-icon svg {
  color: #14b8a6;
}

.selector-title h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.selector-title p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.selector-search-new {
  position: relative;
}

.selector-search-new input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 24px;
  font-size: 16px;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.selector-search-new input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.selector-search-new input:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15), 0 4px 20px rgba(20, 184, 166, 0.1);
  background: rgba(0, 0, 0, 0.6);
}

.selected-properties-new {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.selected-property-chip-new {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(34, 197, 94, 0.2));
  border: 1px solid rgba(20, 184, 166, 0.4);
  border-radius: 100px;
  padding: 10px 16px 10px 20px;
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}

.remove-btn-new {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.2);
  border: none;
  border-radius: 50%;
  color: #ef4444;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}

.remove-btn-new:hover {
  background: #ef4444;
  color: var(--white);
}

/* Empty State */
.compare-empty-new {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.empty-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(34, 197, 94, 0.15));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.empty-icon svg {
  color: #14b8a6;
}

.compare-empty-new h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.compare-empty-new p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 450px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.compare-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  color: var(--dark);
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-browse-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.compare-browse-btn:hover {
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.5);
  transform: translateY(-3px);
}

.compare-browse-btn:hover svg {
  transform: translateX(4px);
}

/* Responsive - Compare Page New */
@media (max-width: 768px) {
  .compare-hero-new {
    padding: 80px 0 60px;
  }

  .compare-hero-new h1 {
    font-size: 36px;
  }

  .compare-hero-new p {
    font-size: 16px;
  }

  .compare-view-toggle-new {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .view-btn-new {
    justify-content: center;
  }

  .compare-content-new {
    padding: 60px 0 100px;
  }

  .compare-selector-new {
    padding: 28px 20px;
  }

  .selector-header {
    flex-direction: column;
    text-align: center;
  }

  .selector-title h3 {
    font-size: 20px;
  }
}

/* Compare Page - Hero Section (Legacy) */
.compare-page {
  padding: 0 0 80px;
  min-height: 80vh;
  background: linear-gradient(180deg, var(--dark) 0%, #0a0a0a 50%, #0d0d0d 100%);
  position: relative;
}

.compare-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 212, 0, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 212, 0, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.compare-hero {
  background: linear-gradient(180deg, rgba(45, 45, 45, 0.6) 0%, rgba(26, 26, 26, 0.8) 100%);
  padding: 70px 0 50px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 212, 0, 0.1);
}

.compare-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.12) 0%, rgba(255, 212, 0, 0.02) 40%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.compare-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

.compare-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.compare-header > div:first-child {
  position: relative;
}

.compare-header > div:first-child::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(255, 212, 0, 0.2) 100%);
  border-radius: 2px;
}

.compare-header h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--white) 0%, var(--white) 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.compare-header p {
  color: var(--light-gray);
  font-size: 17px;
  max-width: 400px;
  line-height: 1.5;
}

.compare-view-toggle {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.view-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: none;
  background: transparent;
  color: var(--light-gray);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.view-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.view-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.view-btn:hover::before {
  opacity: 1;
}

.view-btn svg {
  transition: transform 0.3s ease;
}

.view-btn:hover svg {
  transform: scale(1.1);
}

.view-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(255, 212, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.view-btn.active svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Property Selector - Premium Glass Effect */
.compare-selector {
  background: linear-gradient(145deg, rgba(45, 45, 45, 0.7), rgba(26, 26, 26, 0.9));
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 50px;
  border: 1px solid rgba(255, 212, 0, 0.12);
  backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(255, 212, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.compare-selector::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.selector-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 24px;
  color: var(--white);
  position: relative;
}

.selector-label svg {
  color: var(--primary);
  padding: 10px;
  background: rgba(255, 212, 0, 0.1);
  border-radius: 10px;
  width: 40px;
  height: 40px;
}

.selector-search {
  position: relative;
  margin-bottom: 20px;
}

.selector-search input {
  width: 100%;
  padding: 18px 20px 18px 50px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--white);
  font-size: 16px;
  transition: all 0.3s;
}

.selector-search input::placeholder {
  color: var(--light-gray);
}

.selector-search input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(255, 212, 0, 0.15);
}

.selector-search::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238a8a8a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  pointer-events: none;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--dark-gray), var(--dark));
  border: 1px solid rgba(255, 212, 0, 0.2);
  border-radius: 14px;
  max-height: 360px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: linear-gradient(90deg, rgba(255, 212, 0, 0.1), transparent);
}

.result-image {
  width: 70px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--medium-gray), var(--dark-gray));
}

.result-info {
  flex: 1;
  min-width: 0;
}

.result-title {
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--white);
}

.result-meta {
  font-size: 13px;
  color: var(--light-gray);
}

.no-results {
  padding: 32px;
  text-align: center;
  color: var(--light-gray);
}

.selected-properties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selected-property-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--dark);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 212, 0, 0.25);
  animation: chipIn 0.3s ease;
}

@keyframes chipIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.selected-property-chip .remove-btn {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: var(--dark);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.selected-property-chip .remove-btn:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* Empty State - Premium */
.compare-empty {
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--dark-gray), rgba(45, 45, 45, 0.5));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.compare-empty::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.compare-empty svg {
  color: var(--primary);
  margin-bottom: 28px;
  opacity: 0.8;
}

.compare-empty h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.compare-empty p {
  color: var(--light-gray);
  margin-bottom: 32px;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.6;
}


/* Compare Grid */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(var(--columns, 2), 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Property Cards in Compare - Premium */
.compare-property-card {
  background: linear-gradient(145deg, rgba(45, 45, 45, 0.9), rgba(30, 30, 30, 1));
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.compare-property-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 212, 0, 0.03) 0%, transparent 30%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 1;
}

.compare-property-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 212, 0, 0.08);
  border-color: rgba(255, 212, 0, 0.25);
}

.compare-property-card:hover::before {
  opacity: 1;
}

.compare-remove-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-remove-btn:hover {
  background: linear-gradient(135deg, var(--error), #dc2626);
  border-color: var(--error);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.compare-property-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.compare-property-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 30%, transparent 70%, rgba(30, 30, 30, 0.9) 100%);
  z-index: 1;
  pointer-events: none;
}

.compare-property-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(30, 30, 30, 1) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.compare-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-property-card:hover .compare-property-image img {
  transform: scale(1.08);
}

.compare-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--medium-gray), var(--dark-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gray);
}

.compare-property-info {
  padding: 24px;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 212, 0, 0.02) 100%);
}

.compare-property-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.compare-property-info h3 a {
  color: var(--white);
  transition: all 0.3s;
  text-decoration: none;
}

.compare-property-info h3 a:hover {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(255, 212, 0, 0.3);
}

.compare-location {
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-location::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
}

.compare-price {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #ffe066 50%, var(--primary) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: priceShimmer 3s ease-in-out infinite;
}

@keyframes priceShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.best-badge {
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--success), #4ade80);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
  -webkit-text-fill-color: white;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35); }
  50% { box-shadow: 0 4px 25px rgba(34, 197, 94, 0.5); }
}

/* Best value highlighting for rows - NOT for price */
.spec-row.best-value,
.investment-row.best-value {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0.05));
  border-radius: 8px;
  border-left: 3px solid var(--success);
  padding-left: 12px;
  margin-left: 0;
}

/* Price should NEVER have best-value styling - only the badge */
.compare-price.best-value {
  background: linear-gradient(135deg, var(--primary) 0%, #ffe066 50%, var(--primary) 100%) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  border-left: none !important;
  padding-left: 0 !important;
  border-radius: 0 !important;
}

/* Section Styles - Premium */
.compare-section {
  margin-top: 60px;
  position: relative;
}

.compare-section::before {
  content: '';
  position: absolute;
  top: 40px;
  left: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.compare-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--white);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.compare-section-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.compare-section-title svg {
  color: var(--primary);
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.05));
  border-radius: 14px;
  border: 1px solid rgba(255, 212, 0, 0.2);
  box-shadow: 0 4px 15px rgba(255, 212, 0, 0.1);
}

/* Specs Card - Premium */
.compare-specs-card {
  background: linear-gradient(145deg, rgba(45, 45, 45, 0.8), rgba(30, 30, 30, 0.9));
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.compare-specs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.compare-specs-card:hover {
  border-color: rgba(255, 212, 0, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.compare-specs-card:hover::before {
  opacity: 1;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.spec-row:hover {
  background: linear-gradient(90deg, rgba(255, 212, 0, 0.05), transparent);
  margin: 0 -28px;
  padding: 14px 28px;
  border-radius: 8px;
}

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

.spec-label {
  color: var(--light-gray);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-value {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  text-align: right;
}

/* Grades Card - Premium */
.compare-grades-card {
  background: linear-gradient(145deg, rgba(45, 45, 45, 0.8), rgba(30, 30, 30, 0.9));
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.compare-grades-card:hover {
  border-color: rgba(255, 212, 0, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.grade-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  transition: all 0.3s ease;
}

.grade-row:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
  margin: 0 -28px;
  padding: 12px 28px;
  border-radius: 8px;
}

.grade-row.overall {
  padding: 20px;
  margin: -28px -28px 20px -28px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.03));
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid rgba(255, 212, 0, 0.25);
  position: relative;
}

.grade-row.overall::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 0, 0.5), transparent);
}

.grade-row.overall .grade-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.grade-label {
  color: var(--light-gray);
  font-size: 14px;
}

.grade-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.grade-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

.grade-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.grade-badge-sm {
  min-width: 36px;
  height: 36px;
  font-size: 14px;
  border-radius: 10px;
}

/* Investment Card - Premium */
.compare-investment-card {
  background: linear-gradient(145deg, rgba(45, 45, 45, 0.8), rgba(30, 30, 30, 0.9));
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.compare-investment-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.compare-investment-card:hover {
  border-color: rgba(255, 212, 0, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.investment-header {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.investment-header::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--primary), rgba(255, 212, 0, 0.3));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 212, 0, 0.3);
}

.investment-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.investment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.investment-row:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
  margin: 0 -28px;
  padding: 12px 28px;
  border-radius: 8px;
}

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

.investment-row.highlight {
  background: linear-gradient(90deg, rgba(255, 212, 0, 0.18), rgba(255, 212, 0, 0.05));
  margin: 10px -28px;
  padding: 16px 28px;
  border-bottom: none;
  border-left: 4px solid var(--primary);
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(255, 212, 0, 0.1);
}

.investment-row.highlight .investment-label {
  color: var(--white);
  font-weight: 600;
}

.investment-row.highlight .investment-value {
  color: var(--primary);
  font-size: 18px;
  text-shadow: 0 0 20px rgba(255, 212, 0, 0.3);
}

.investment-label {
  color: var(--light-gray);
  font-size: 13px;
}

.investment-value {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.investment-value.positive {
  color: var(--success);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.investment-value.negative {
  color: var(--error);
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.investment-value.risk-low {
  color: var(--success);
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.investment-value.risk-medium {
  color: var(--warning);
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.investment-value.risk-high {
  color: var(--error);
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Location Card - Premium */
.compare-location-card {
  background: linear-gradient(145deg, rgba(45, 45, 45, 0.8), rgba(30, 30, 30, 0.9));
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.compare-location-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.compare-location-card:hover {
  border-color: rgba(255, 212, 0, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.location-group {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.location-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.location-group-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-group-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 212, 0, 0.5);
}

.location-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  transition: all 0.2s ease;
}

.location-row:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
  margin: 0 -28px;
  padding: 10px 28px;
  border-radius: 6px;
}

.location-label {
  color: var(--light-gray);
  font-size: 13px;
}

.location-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.location-value.highlight-value {
  color: var(--primary);
  background: rgba(255, 212, 0, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700;
}

/* Score Bars */
.score-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.score-bar-row {
  display: grid;
  grid-template-columns: 85px 1fr 45px;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.score-bar-row span:first-child {
  color: var(--light-gray);
}

.score-bar {
  height: 10px;
  background: rgba(74, 74, 74, 0.5);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), #ffe066);
  border-radius: 5px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 0 10px rgba(255, 212, 0, 0.3);
}

.score-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  border-radius: 5px;
}

.score-num {
  text-align: right;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(255, 212, 0, 0.3);
}

/* Commute Row */
.commute-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  transition: all 0.2s ease;
}

.commute-row:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
  margin: 0 -28px;
  padding: 8px 28px;
  border-radius: 6px;
}

.commute-dest {
  color: var(--white);
  font-weight: 500;
}

.commute-row .commute-time {
  color: var(--light-gray);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.commute-mode {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--light-gray);
}

.commute-mode svg {
  color: var(--primary);
  width: 11px;
  height: 11px;
}

.commute-separator {
  color: var(--medium-gray);
}

/* Area Vibes */
.area-vibes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vibe-tag {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.05));
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--primary);
  border: 1px solid rgba(255, 212, 0, 0.2);
  transition: all 0.3s ease;
}

.vibe-tag:hover {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.25), rgba(255, 212, 0, 0.1));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 212, 0, 0.15);
}

/* Features Card */
.compare-features-card {
  background: linear-gradient(145deg, rgba(45, 45, 45, 0.8), rgba(30, 30, 30, 0.9));
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.compare-features-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.compare-features-card:hover {
  border-color: rgba(255, 212, 0, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.features-group {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.features-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.features-group-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-group-title::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 212, 0, 0.5);
}

.features-list {
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--white);
  transition: all 0.2s ease;
}

.features-list li:hover {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.05), transparent);
  margin: 0 -28px;
  padding: 8px 28px;
  border-radius: 6px;
}

.features-list li svg {
  color: var(--success);
  flex-shrink: 0;
  background: rgba(34, 197, 94, 0.15);
  padding: 4px;
  border-radius: 6px;
  width: 22px;
  height: 22px;
}

.features-list li.no-data {
  color: var(--light-gray);
  font-style: italic;
}

.features-list li.no-data:hover {
  background: transparent;
  margin: 0;
  padding: 8px 0;
}

.features-list li.more-items {
  color: var(--primary);
  font-style: normal;
  font-weight: 500;
}

.inclusion-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  transition: all 0.2s ease;
}

.inclusion-row:hover {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
  margin: 0 -28px;
  padding: 10px 28px;
  border-radius: 6px;
}

.inclusion-row span:first-child {
  color: var(--light-gray);
}

.inclusion-row span:last-child {
  font-weight: 600;
  color: var(--white);
}

/* Table View */
.compare-table-view {
  position: relative;
}

.compare-table-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(45, 45, 45, 0.8), rgba(30, 30, 30, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  transition: all 0.3s ease;
}

.compare-table th {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.9));
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
  color: var(--white);
  text-transform: capitalize;
  border-bottom: 2px solid rgba(255, 212, 0, 0.2);
}

.compare-table .sticky-col {
  position: sticky;
  left: 0;
  background: linear-gradient(90deg, rgba(45, 45, 45, 1), rgba(45, 45, 45, 0.95));
  z-index: 5;
  font-weight: 500;
  color: var(--light-gray);
  min-width: 180px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table th.sticky-col {
  background: linear-gradient(90deg, rgba(26, 26, 26, 1), rgba(26, 26, 26, 0.95));
  z-index: 15;
  color: var(--primary);
  font-weight: 700;
}

.compare-table tr:hover td {
  background: rgba(255, 212, 0, 0.03);
}

.compare-table tr:hover .sticky-col {
  background: linear-gradient(90deg, rgba(60, 60, 60, 1), rgba(55, 55, 55, 0.95));
}

.compare-table .section-header td {
  background: linear-gradient(90deg, rgba(255, 212, 0, 0.12), rgba(255, 212, 0, 0.05));
  font-weight: 700;
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 20px;
  border-bottom: none;
  border-top: 1px solid rgba(255, 212, 0, 0.2);
}

.compare-table .best-cell {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
  color: var(--success);
  font-weight: 700;
  border-left: 3px solid var(--success);
  padding-left: 17px;
}

.compare-table .positive {
  color: var(--success);
}

.compare-table .negative {
  color: var(--error);
}

.table-property-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.table-property-header a {
  color: var(--white);
  font-weight: 600;
}

.table-property-header a:hover {
  color: var(--primary);
}

.table-location {
  font-size: 12px;
  color: var(--light-gray);
  font-weight: 400;
}

/* Responsive */
@media (max-width: 1024px) {
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .compare-header {
    flex-direction: column;
    align-items: stretch;
  }

  .compare-view-toggle {
    justify-content: center;
  }

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

  .compare-bar-inner {
    flex-direction: column;
    gap: 12px;
  }

  .compare-bar-items {
    justify-content: center;
  }

  .compare-bar-actions {
    width: 100%;
    justify-content: center;
  }

  .results-header {
    flex-direction: column;
    align-items: stretch;
  }

  .results-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .compare-page {
    padding: 24px 0 100px;
  }

  .compare-header h1 {
    font-size: 24px;
  }

  .view-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .view-btn svg {
    display: none;
  }

  .compare-property-image {
    height: 140px;
  }
}

/* Developments Page */
.developments-section {
  padding: 60px 0;
  min-height: 80vh;
}

.developments-section .section-subtitle {
  color: var(--light-gray);
  font-size: 18px;
  margin-top: 8px;
}

.dev-filters {
  background: var(--dark-gray);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.dev-filters .filter-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.dev-filters .filter-group {
  flex: 1;
  min-width: 150px;
}

.dev-filters .filter-group.search-group {
  flex: 2;
  min-width: 250px;
}

.dev-filters label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--light-gray);
  margin-bottom: 6px;
}

.dev-filters select,
.dev-filters input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
}

.dev-filters select:focus,
.dev-filters input:focus {
  outline: none;
  border-color: var(--primary);
}

.dev-filters .filter-actions {
  display: flex;
  gap: 8px;
}

.developments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.development-card {
  background: var(--dark-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.development-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.development-card-image {
  position: relative;
  height: 180px;
  background: var(--medium-gray);
  overflow: hidden;
}

.development-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.development-card-image .placeholder-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--light-gray);
}

.development-card-image .placeholder-image svg {
  width: 48px;
  height: 48px;
}

.development-card-image .status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.development-card-image .status-badge.badge-success {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}

.development-card-image .status-badge.badge-warning {
  background: rgba(245, 158, 11, 0.9);
  color: white;
}

.development-card-image .status-badge.badge-error {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}

.development-card-image .builder-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.7);
  color: var(--primary);
}

.development-card-content {
  padding: 20px;
}

.development-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.development-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 16px;
}

.development-location svg {
  flex-shrink: 0;
}

.development-location .postcode {
  margin-left: auto;
  background: var(--medium-gray);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.development-details {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.development-details .detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.development-details .detail-label {
  font-size: 11px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.development-details .detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.development-details .detail-value.price {
  color: var(--primary);
}

.property-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.property-types .type-tag {
  background: var(--medium-gray);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: capitalize;
}

.development-actions {
  padding-top: 16px;
  border-top: 1px solid var(--medium-gray);
}

.development-actions .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

  .dev-filters .filter-row {
    flex-direction: column;
  }

  .dev-filters .filter-group,
  .dev-filters .filter-group.search-group {
    min-width: 100%;
  }

  .dev-filters .filter-actions {
    width: 100%;
    justify-content: stretch;
  }

  .dev-filters .filter-actions .btn {
    flex: 1;
  }
}

/* Builder Detail - Developments Section */
.builder-developments {
  padding: 60px 0;
  background: var(--dark);
}

.builder-developments .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.builder-developments .section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.builder-developments .section-header p {
  color: var(--light-gray);
  font-size: 16px;
}

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

.dev-card {
  background: var(--dark-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.dev-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 212, 0, 0.2),
    0 0 60px rgba(255, 212, 0, 0.1);
}

.dev-card-image {
  position: relative;
  height: 160px;
  background: var(--medium-gray);
  overflow: hidden;
}

.dev-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dev-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--light-gray);
}

.dev-card-placeholder svg {
  width: 48px;
  height: 48px;
}

.dev-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.dev-status-badge.badge-success {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}

.dev-status-badge.badge-warning {
  background: rgba(245, 158, 11, 0.9);
  color: white;
}

.dev-status-badge.badge-error {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}

.dev-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  transition: background 0.3s;
}

.dev-card-content::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 212, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.dev-card:hover .dev-card-content::before {
  opacity: 1;
}

.dev-card:hover .dev-card-content {
  background: linear-gradient(180deg, rgba(255, 212, 0, 0.08) 0%, transparent 100%);
}

.dev-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dev-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--light-gray);
  font-size: 13px;
  margin-bottom: 4px;
}

.dev-card-location svg {
  flex-shrink: 0;
  color: var(--primary);
}

.dev-card-postcode {
  display: inline-block;
  background: var(--medium-gray);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--light-gray);
  margin-bottom: 12px;
}

.dev-card-details {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.dev-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dev-detail-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--light-gray);
  letter-spacing: 0.5px;
}

.dev-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.dev-detail-value.price {
  color: var(--primary);
}

.dev-card-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.dev-type-tag {
  background: rgba(255, 212, 0, 0.1);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
}

.dev-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: var(--medium-gray);
  color: var(--white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  margin-top: auto;
}

.dev-card-btn:hover {
  background: var(--primary);
  color: var(--dark);
}

.dev-card-btn svg {
  width: 14px;
  height: 14px;
}

/* Responsive: 3 columns on medium screens */
@media (max-width: 1200px) {
  .builder-developments .developments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive: 2 columns on tablets */
@media (max-width: 900px) {
  .builder-developments .developments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 column on mobile */
@media (max-width: 600px) {
  .builder-developments {
    padding: 40px 0;
  }

  .builder-developments .section-header h2 {
    font-size: 24px;
  }

  .builder-developments .developments-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   DEVELOPMENT DETAIL PAGE
   =============================================== */

.development-hero {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--darker-gray) 100%);
  padding: 60px 0;
}

.development-hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.development-hero-image {
  width: 400px;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.development-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.development-hero-content {
  flex: 1;
}

.development-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.development-breadcrumb a {
  color: var(--light-gray);
  transition: color 0.2s;
}

.development-breadcrumb a:hover {
  color: var(--primary);
}

.development-breadcrumb span {
  color: var(--lighter-gray);
}

.development-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 8px 0;
}

.development-hero-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--light-gray);
  font-size: 16px;
  margin-bottom: 24px;
}

.development-hero-location svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.development-hero-stats {
  display: flex;
  gap: 32px;
}

.development-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.development-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--light-gray);
}

.development-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.development-stat-value.price {
  color: var(--primary);
}

/* House Types Section */
.house-types-section {
  padding: 60px 0;
  background: var(--darker-gray);
}

.house-types-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.house-types-section .section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.house-types-section .section-header p {
  color: var(--light-gray);
  margin: 0;
}

/* House Type Cards Grid */
.house-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .house-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .house-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .house-types-grid {
    grid-template-columns: 1fr;
  }
}

/* House Type Card */
.ht-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}

.ht-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.ht-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.ht-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ht-card:hover .ht-card-image img {
  transform: scale(1.05);
}

.ht-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--success);
  color: var(--dark);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.ht-card-badge.unavailable {
  background: var(--error);
  color: var(--white);
}

.ht-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.ht-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px 0;
}

.ht-card-price {
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.ht-card-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.ht-card-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--light-gray);
}

.ht-card-spec svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ht-card-plots {
  font-size: 12px;
  color: var(--lighter-gray);
  margin-bottom: auto;
  padding-bottom: 12px;
}

.ht-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: var(--medium-gray);
  color: var(--white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  margin-top: auto;
}

.ht-card-btn:hover {
  background: var(--primary);
  color: var(--dark);
}

.ht-card-btn svg {
  width: 14px;
  height: 14px;
}

/* ===============================================
   HOUSE TYPE DETAIL PAGE
   =============================================== */

.ht-detail-hero {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--darker-gray) 100%);
  padding: 40px 0;
}

.ht-detail-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
}

@media (max-width: 1024px) {
  .ht-detail-layout {
    grid-template-columns: 1fr;
  }
}

/* Gallery */
.ht-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ht-gallery-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--medium-gray);
}

.ht-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ht-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.ht-gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.ht-gallery-thumb:hover,
.ht-gallery-thumb.active {
  border-color: var(--primary);
}

.ht-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Property Info Sidebar */
.ht-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ht-info-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}

.ht-info-breadcrumb a {
  color: var(--light-gray);
  transition: color 0.2s;
}

.ht-info-breadcrumb a:hover {
  color: var(--primary);
}

.ht-info-breadcrumb span {
  color: var(--lighter-gray);
}

.ht-info h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.ht-info-address {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--light-gray);
  font-size: 15px;
}

.ht-info-address svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ht-info-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.ht-info-specs {
  display: flex;
  gap: 24px;
  padding: 20px;
  background: var(--medium-gray);
  border-radius: 10px;
}

.ht-spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.ht-spec-item svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.ht-spec-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.ht-spec-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--light-gray);
  letter-spacing: 0.5px;
}

.ht-info-availability {
  padding: 16px;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--success);
  border-radius: 8px;
}

.ht-info-availability h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--success);
  margin: 0 0 8px 0;
}

.ht-info-availability p {
  font-size: 13px;
  color: var(--light-gray);
  margin: 0;
}

.ht-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.ht-cta-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Room Dimensions Section */
.ht-rooms-section {
  padding: 60px 0;
  background: var(--darker-gray);
}

.ht-rooms-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 32px 0;
}

.ht-floor-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ht-floor-tab {
  padding: 10px 20px;
  background: var(--medium-gray);
  color: var(--light-gray);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
}

.ht-floor-tab:hover,
.ht-floor-tab.active {
  background: var(--primary);
  color: var(--dark);
}

.ht-rooms-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dark-gray);
  border-radius: 10px;
  overflow: hidden;
}

.ht-rooms-table th,
.ht-rooms-table td {
  padding: 14px 20px;
  text-align: left;
}

.ht-rooms-table th {
  background: var(--medium-gray);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--light-gray);
  font-weight: 600;
}

.ht-rooms-table td {
  border-bottom: 1px solid var(--medium-gray);
  font-size: 14px;
  color: var(--white);
}

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

.ht-rooms-table .room-name {
  font-weight: 600;
}

.ht-rooms-table .dimensions {
  color: var(--lighter-gray);
}

.ht-rooms-table .sqft {
  color: var(--primary);
  font-weight: 600;
}

.ht-total-row {
  background: rgba(255, 212, 0, 0.1);
}

.ht-total-row td {
  font-weight: 700;
  color: var(--primary) !important;
}

/* Floorplans Section */
.ht-floorplans {
  padding: 60px 0;
  background: var(--dark-gray);
}

.ht-floorplans h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 32px 0;
}

.ht-floorplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.ht-floorplan {
  background: var(--medium-gray);
  border-radius: 12px;
  overflow: hidden;
}

.ht-floorplan img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  padding: 16px;
}

.ht-floorplan h3 {
  padding: 12px 16px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  background: var(--primary);
}

/* Siteplan Section */
.ht-siteplan {
  padding: 60px 0;
  background: var(--darker-gray);
}

.ht-siteplan h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 32px 0;
}

.ht-siteplan-image {
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.ht-siteplan-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.ht-features-section {
  padding: 60px 0;
  background: var(--dark-gray);
}

.ht-features-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 32px 0;
}

.ht-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.ht-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--medium-gray);
  border-radius: 8px;
}

.ht-feature-item svg {
  width: 20px;
  height: 20px;
  fill: var(--success);
  flex-shrink: 0;
}

.ht-feature-item span {
  font-size: 14px;
  color: var(--white);
}

/* Related House Types */
.ht-related-section {
  padding: 60px 0;
  background: var(--darker-gray);
}

.ht-related-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 32px 0;
}

/* Empty State */
.ht-empty-state {
  text-align: center;
  padding: 80px 20px;
}

.ht-empty-state svg {
  width: 64px;
  height: 64px;
  fill: var(--medium-gray);
  margin-bottom: 20px;
}

.ht-empty-state h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 8px 0;
}

.ht-empty-state p {
  color: var(--light-gray);
  font-size: 14px;
  margin: 0 0 24px 0;
}

/* Development Hero Responsive */
@media (max-width: 900px) {
  .development-hero .container {
    flex-direction: column;
    text-align: center;
  }

  .development-hero-image {
    width: 100%;
    max-width: 400px;
  }

  .development-hero-stats {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .development-hero {
    padding: 40px 0;
  }

  .development-hero h1 {
    font-size: 28px;
  }

  .development-hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ===============================================
   DEVELOPMENT DETAIL PAGE V2
   =============================================== */

.dev-detail-hero {
  background-size: cover;
  background-position: center;
  padding: 60px 0 80px;
  position: relative;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--light-gray);
  font-size: 14px;
  margin-bottom: 24px;
  transition: color 0.2s;
}

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

.back-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.dev-detail-header {
  max-width: 700px;
}

.dev-status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-success {
  background: rgba(76, 175, 80, 0.2);
  color: var(--success);
}

.badge-warning {
  background: rgba(255, 152, 0, 0.2);
  color: #ff9800;
}

.badge-error {
  background: rgba(244, 67, 54, 0.2);
  color: var(--error);
}

.dev-detail-header h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 16px;
  line-height: 1.1;
}

.dev-detail-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--light-gray);
  font-size: 16px;
  margin-bottom: 8px;
}

.dev-detail-location svg {
  flex-shrink: 0;
}

.dev-postcode {
  background: var(--medium-gray);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  margin-left: 8px;
}

.dev-detail-address {
  color: var(--lighter-gray);
  font-size: 14px;
  margin: 0 0 24px;
}

.dev-detail-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.dev-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dev-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.dev-stat-value.price {
  color: var(--primary);
}

.dev-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--light-gray);
  letter-spacing: 0.5px;
}

.dev-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--light-gray);
  color: var(--white);
}

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

/* House Types Section */
.dev-house-types {
  padding: 60px 0;
  background: var(--darker-gray);
}

.dev-house-types .section-header {
  margin-bottom: 32px;
}

.dev-house-types .section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}

.dev-house-types .section-header p {
  color: var(--light-gray);
  margin: 0;
}

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

@media (max-width: 1200px) {
  .ht-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .ht-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* House Type Card V2 */
.ht-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}

.ht-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.ht-card-image {
  position: relative;
  height: 180px;
  background: var(--medium-gray);
  overflow: hidden;
}

.ht-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ht-card:hover .ht-card-image img {
  transform: scale(1.05);
}

.ht-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lighter-gray);
}

.ht-card-placeholder svg {
  width: 48px;
  height: 48px;
}

.ht-beds-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--dark);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.ht-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.ht-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
}

.ht-card-type {
  font-size: 13px;
  color: var(--light-gray);
  margin: 0 0 4px;
  text-transform: capitalize;
}

.ht-card-plot {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
  margin: 0 0 12px;
}

.ht-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--medium-gray);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.ht-status-badge.sold {
  background: var(--error);
}

.ht-status-badge.reserved {
  background: #f59e0b;
}

.ht-card-details {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

.ht-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ht-detail-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--light-gray);
}

.ht-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.ht-detail-value.price {
  color: var(--primary);
}

.ht-card-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: auto;
  padding-bottom: 12px;
}

.ht-spec {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--light-gray);
}

.ht-spec svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.ht-spec.available {
  color: var(--success);
}

.ht-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: var(--medium-gray);
  color: var(--white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  margin-top: auto;
}

.ht-card:hover .ht-card-btn {
  background: var(--primary);
  color: var(--dark);
}

/* No Properties State */
.dev-no-properties {
  padding: 80px 0;
  background: var(--darker-gray);
}

.dev-no-properties .no-properties-card {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  padding: 40px;
  background: var(--dark-gray);
  border-radius: 16px;
}

.dev-no-properties .no-properties-card svg {
  width: 64px;
  height: 64px;
  color: var(--lighter-gray);
  margin-bottom: 20px;
}

.dev-no-properties .no-properties-card h3 {
  font-size: 20px;
  color: var(--white);
  margin: 0 0 8px;
}

.dev-no-properties .no-properties-card p {
  color: var(--light-gray);
  font-size: 14px;
  margin: 0 0 24px;
}

/* About Section */
.dev-about {
  padding: 60px 0;
  background: var(--dark-gray);
}

.dev-about h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 20px;
}

.dev-description p {
  color: var(--light-gray);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.dev-description p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .dev-detail-hero {
    padding: 40px 0 60px;
  }

  .dev-detail-header h1 {
    font-size: 28px;
  }

  .dev-detail-stats {
    gap: 20px;
  }
}
}

/* ========================================
   PUBLIC ANALYTICS PAGE
   ======================================== */

.analytics-section {
  padding: 60px 0;
}

.analytics-section.alt-bg {
  background: var(--dark-gray);
}

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

@media (max-width: 992px) {
  .analytics-overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .analytics-overview {
    grid-template-columns: 1fr;
  }
}

.analytics-stat-card {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.analytics-stat-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

.analytics-stat-card:nth-child(3) {
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-color: rgba(168, 85, 247, 0.3);
}

.analytics-section.alt-bg .analytics-stat-card {
  background: rgba(255, 255, 255, 0.03);
}

.analytics-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
}

.analytics-stat-card:nth-child(2):hover {
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.25);
}

.analytics-stat-card:nth-child(3):hover {
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25);
}

.analytics-stat-card.highlight {
  background: linear-gradient(135deg, #ffd400 0%, #f59e0b 100%);
  border: none;
}

.analytics-stat-card.highlight:hover {
  box-shadow: 0 20px 40px rgba(255, 212, 0, 0.35);
}

.analytics-stat-card.highlight .analytics-stat-icon {
  background: rgba(0, 0, 0, 0.2);
}

.analytics-stat-card.highlight .analytics-stat-icon svg {
  fill: var(--dark);
}

.analytics-stat-card.highlight .analytics-stat-value,
.analytics-stat-card.highlight .analytics-stat-label {
  color: var(--dark);
}

.analytics-stat-icon {
  width: 68px;
  height: 68px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.analytics-stat-card:nth-child(2) .analytics-stat-icon {
  background: rgba(16, 185, 129, 0.2);
}

.analytics-stat-card:nth-child(3) .analytics-stat-icon {
  background: rgba(168, 85, 247, 0.2);
}

.analytics-stat-icon svg {
  fill: #3b82f6;
}

.analytics-stat-card:nth-child(2) .analytics-stat-icon svg {
  fill: #10b981;
}

.analytics-stat-card:nth-child(3) .analytics-stat-icon svg {
  fill: #a855f7;
}

.analytics-stat-value {
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.analytics-stat-label {
  font-size: 13px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

@media (max-width: 768px) {
  .analytics-grid-2 {
    grid-template-columns: 1fr;
  }
}

.analytics-card {
  background: var(--dark-gray);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.analytics-section.alt-bg .analytics-card {
  background: var(--medium-gray);
}

.analytics-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.price-item {
  background: var(--medium-gray);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.analytics-section.alt-bg .price-item {
  background: var(--dark-gray);
}

.price-label {
  display: block;
  font-size: 12px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.price-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.price-value.highlight {
  color: var(--primary);
}

.price-ranges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-range-item {
  background: var(--medium-gray);
  padding: 16px;
  border-radius: 12px;
  border-left: 4px solid #10b981;
}

.price-range-item:nth-child(2) { border-left-color: #3b82f6; }
.price-range-item:nth-child(3) { border-left-color: #a855f7; }
.price-range-item:nth-child(4) { border-left-color: #f59e0b; }
.price-range-item:nth-child(5) { border-left-color: #ef4444; }

.analytics-section.alt-bg .price-range-item {
  background: var(--dark-gray);
}

.price-range-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.price-range-label {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}

.price-range-count {
  font-size: 13px;
  color: var(--light-gray);
}

.price-range-bar {
  height: 8px;
  background: var(--dark-gray);
  border-radius: 4px;
  overflow: hidden;
}

.analytics-section.alt-bg .price-range-bar {
  background: var(--medium-gray);
}

.price-range-fill {
  height: 100%;
  background: #10b981;
  border-radius: 4px;
}

.price-range-item:nth-child(2) .price-range-fill { background: #3b82f6; }
.price-range-item:nth-child(3) .price-range-fill { background: #a855f7; }
.price-range-item:nth-child(4) .price-range-fill { background: #f59e0b; }
.price-range-item:nth-child(5) .price-range-fill { background: #ef4444; }

.bedroom-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.bedroom-card {
  background: var(--dark-gray);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: transform 0.3s;
  border-top: 4px solid #3b82f6;
}

.bedroom-card:nth-child(2) { border-top-color: #10b981; }
.bedroom-card:nth-child(3) { border-top-color: #a855f7; }
.bedroom-card:nth-child(4) { border-top-color: #f59e0b; }
.bedroom-card:nth-child(5) { border-top-color: #ef4444; }
.bedroom-card:nth-child(6) { border-top-color: #06b6d4; }

.bedroom-card:hover {
  transform: translateY(-4px);
}

.bedroom-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.bedroom-number {
  font-size: 36px;
  font-weight: 800;
  color: #3b82f6;
}

.bedroom-card:nth-child(2) .bedroom-number { color: #10b981; }
.bedroom-card:nth-child(3) .bedroom-number { color: #a855f7; }
.bedroom-card:nth-child(4) .bedroom-number { color: #f59e0b; }
.bedroom-card:nth-child(5) .bedroom-number { color: #ef4444; }
.bedroom-card:nth-child(6) .bedroom-number { color: #06b6d4; }

.bedroom-icon svg {
  fill: var(--light-gray);
}

.bedroom-count {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.bedroom-label {
  font-size: 13px;
  color: var(--light-gray);
  margin-top: 4px;
}

.bedroom-price {
  font-size: 14px;
  color: #10b981;
  font-weight: 600;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--medium-gray);
}

.region-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 500px;
  overflow-y: auto;
}

.region-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--medium-gray);
  border-radius: 10px;
}

.analytics-section.alt-bg .region-item {
  background: var(--dark-gray);
}

.region-rank {
  width: 30px;
  height: 30px;
  background: #ffd400;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.region-item:nth-child(n+4) .region-rank {
  background: #3b82f6;
  color: white;
}

.region-info {
  flex: 1;
  min-width: 0;
}

.region-name {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
  text-transform: capitalize;
  margin-bottom: 6px;
}

.region-bar {
  height: 4px;
  background: var(--dark-gray);
  border-radius: 2px;
  overflow: hidden;
}

.analytics-section.alt-bg .region-bar {
  background: var(--medium-gray);
}

.region-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd400, #f59e0b);
  border-radius: 2px;
}

.region-count {
  font-size: 14px;
  font-weight: 600;
  color: #ffd400;
  flex-shrink: 0;
}

.property-type-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.property-type-item {
  padding: 14px;
  background: var(--medium-gray);
  border-radius: 12px;
  border-left: 4px solid #a855f7;
}

.property-type-item:nth-child(2) { border-left-color: #3b82f6; }
.property-type-item:nth-child(3) { border-left-color: #10b981; }
.property-type-item:nth-child(4) { border-left-color: #f59e0b; }
.property-type-item:nth-child(5) { border-left-color: #ef4444; }

.analytics-section.alt-bg .property-type-item {
  background: var(--dark-gray);
}

.property-type-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.property-type-name {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
  text-transform: capitalize;
}

.property-type-percent {
  font-size: 14px;
  color: #a855f7;
  font-weight: 600;
}

.property-type-item:nth-child(2) .property-type-percent { color: #3b82f6; }
.property-type-item:nth-child(3) .property-type-percent { color: #10b981; }
.property-type-item:nth-child(4) .property-type-percent { color: #f59e0b; }
.property-type-item:nth-child(5) .property-type-percent { color: #ef4444; }

.property-type-bar {
  height: 6px;
  background: var(--dark-gray);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.analytics-section.alt-bg .property-type-bar {
  background: var(--medium-gray);
}

.property-type-fill {
  height: 100%;
  background: #a855f7;
  border-radius: 3px;
}

.property-type-item:nth-child(2) .property-type-fill { background: #3b82f6; }
.property-type-item:nth-child(3) .property-type-fill { background: #10b981; }
.property-type-item:nth-child(4) .property-type-fill { background: #f59e0b; }
.property-type-item:nth-child(5) .property-type-fill { background: #ef4444; }

.property-type-count {
  font-size: 12px;
  color: var(--light-gray);
}

.top-builders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .top-builders-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

.top-builder-card {
  background: var(--dark-gray);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.top-builder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 212, 0, 0.15);
  border-color: rgba(255, 212, 0, 0.2);
}

.top-builder-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ffd400, #f59e0b);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
}

.top-builder-logo {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.top-builder-logo img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.top-builder-logo span {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.top-builder-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.top-builder-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.top-builder-stats span {
  font-size: 12px;
  color: var(--light-gray);
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--medium-gray) 100%);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: var(--light-gray);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   COMPREHENSIVE ANALYTICS STYLES
   ================================ */

.analytics-hero {
  text-align: center;
  padding: 60px 0 40px;
}

.analytics-summary-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.analytics-summary-badges .badge {
  background: var(--dark-gray);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Analytics Filter Section */
.analytics-filter-section {
  background: var(--dark);
  padding: 20px 0;
  border-bottom: 1px solid var(--medium-gray);
}

.analytics-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.filter-label {
  color: var(--light-gray);
  font-size: 14px;
  font-weight: 500;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  color: var(--light-gray);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.filter-btn:hover {
  background: var(--medium-gray);
  color: var(--white);
  border-color: var(--light-gray);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.filter-toggle {
  display: flex;
  align-items: center;
}

.toggle-btn {
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  color: var(--light-gray);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  min-width: 140px;
  text-align: center;
}

.toggle-btn:hover {
  background: var(--medium-gray);
  color: var(--white);
}

.toggle-btn.active {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}

.filter-notice {
  margin-top: 12px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 6px;
  color: var(--success);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn .icon, .toggle-btn .icon {
  display: inline-flex;
  margin-right: 6px;
  vertical-align: middle;
}

/* Generate Pending AI Button */
.btn-generate-pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-generate-pending:hover {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-generate-pending:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-generate-pending .icon {
  display: inline-flex;
}

/* AI Modal Styles */
.ai-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.ai-modal-content {
  background: var(--dark);
  border: 1px solid var(--medium-gray);
  border-radius: 12px;
  padding: 24px 32px;
  min-width: 450px;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ai-modal-content h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.ai-progress-container {
  background: var(--medium-gray);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ai-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  border-radius: 6px;
  transition: width 0.3s ease;
}

.ai-progress-text {
  text-align: center;
  color: var(--light-gray);
  font-size: 14px;
  margin-bottom: 16px;
}

.ai-status-log {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--medium-gray);
  border-radius: 6px;
  padding: 12px;
  max-height: 200px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 12px;
}

.ai-log-entry {
  padding: 4px 0;
  color: var(--light-gray);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-log-entry:last-child {
  border-bottom: none;
}

.ai-log-entry.success {
  color: var(--success);
}

.ai-log-entry.error {
  color: var(--error);
}

.ai-log-entry.info {
  color: var(--primary);
  font-weight: 600;
}

/* Spin animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

/* ================================
   DASHBOARD STYLES
   ================================ */

/* Dashboard Hero */
.dashboard-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  padding: 50px 0 40px;
  border-bottom: 1px solid var(--medium-gray);
}

.dashboard-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.dashboard-hero-text h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.dashboard-hero-text h1 span {
  color: var(--primary);
}

.dashboard-hero-text p {
  color: var(--light-gray);
  font-size: 16px;
}

.dashboard-hero-stats {
  display: flex;
  gap: 24px;
}

.hero-stat {
  text-align: center;
  padding: 16px 24px;
  background: var(--dark-gray);
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
}

.hero-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat-label {
  display: block;
  font-size: 12px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dashboard Section */
.dashboard-section {
  padding: 40px 0;
}

/* KPI Cards Row */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.kpi-card {
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.kpi-card.primary {
  border-left: 4px solid var(--primary);
}

.kpi-card.accent-blue {
  border-left: 4px solid #3b82f6;
}

.kpi-card.accent-green {
  border-left: 4px solid var(--success);
}

.kpi-card.accent-purple {
  border-left: 4px solid #8b5cf6;
}

.kpi-card.accent-orange {
  border-left: 4px solid #f59e0b;
}

.kpi-card.accent-red {
  border-left: 4px solid #ef4444;
}

.kpi-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 212, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.kpi-card.accent-blue .kpi-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.kpi-card.accent-green .kpi-icon {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

.kpi-card.accent-purple .kpi-icon {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.kpi-card.accent-orange .kpi-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.kpi-card.accent-red .kpi-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.kpi-content {
  flex: 1;
  min-width: 0;
}

.kpi-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.kpi-label {
  font-size: 14px;
  color: var(--light-gray);
  margin-top: 4px;
}

.kpi-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--light-gray);
}

.kpi-trend.up {
  color: var(--success);
}

.kpi-trend.down {
  color: var(--error);
}

.kpi-chart {
  flex-shrink: 0;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-widget {
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 16px;
  padding: 20px;
}

.stat-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}

.stat-widget-header .icon {
  color: var(--primary);
}

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

.mini-stat {
  text-align: center;
  padding: 12px 8px;
  background: var(--dark);
  border-radius: 8px;
}

.mini-stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.mini-stat-label {
  display: block;
  font-size: 11px;
  color: var(--light-gray);
  text-transform: uppercase;
  margin-top: 4px;
}

.mini-stat.accent-green .mini-stat-value {
  color: var(--success);
}

/* Progress Bar */
.progress-bar-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.progress-bar-track {
  flex: 1;
  height: 8px;
  background: var(--dark);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s;
}

.progress-bar-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  min-width: 50px;
  text-align: right;
}

.status-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-label {
  font-size: 12px;
  color: var(--light-gray);
  min-width: 70px;
}

/* Dashboard Panel */
.dashboard-panel {
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 20px;
  margin-bottom: 30px;
  overflow: hidden;
}

.panel-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--medium-gray);
  background: linear-gradient(135deg, var(--dark-gray) 0%, rgba(45,45,45,0.5) 100%);
}

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

.panel-title .icon {
  color: var(--primary);
}

.panel-title h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.panel-subtitle {
  font-size: 14px;
  color: var(--light-gray);
  margin-top: 4px;
}

.panel-content {
  padding: 28px;
}

.sub-section {
  margin-top: 32px;
}

.sub-section:first-child {
  margin-top: 0;
}

.sub-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--medium-gray);
}

.sub-section h3 .icon {
  color: var(--primary);
}

/* Data Grids */
.data-grid-8 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.data-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.data-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

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

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

@media (max-width: 1200px) {
  .data-grid-8 { grid-template-columns: repeat(4, 1fr); }
  .data-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .data-grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .data-grid-8 { grid-template-columns: repeat(2, 1fr); }
  .data-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .data-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .data-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .data-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Mini Stat Color Variants */
.mini-stat.primary { border-left: 3px solid var(--primary); }
.mini-stat.success { border-left: 3px solid var(--success); }
.mini-stat.blue { border-left: 3px solid #3b82f6; }
.mini-stat.purple { border-left: 3px solid #8b5cf6; }
.mini-stat.orange { border-left: 3px solid #f59e0b; }
.mini-stat.cyan { border-left: 3px solid #06b6d4; }
.mini-stat.green { border-left: 3px solid #10b981; }
.mini-stat.red { border-left: 3px solid #ef4444; }

/* Price KPI Grid */
.price-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.price-kpi {
  text-align: center;
  padding: 20px;
  background: var(--dark);
  border-radius: 12px;
}

.price-kpi-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  background: rgba(255, 212, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.price-kpi-icon.avg { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.price-kpi-icon.median { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.price-kpi-icon.min { background: rgba(34, 197, 94, 0.1); color: var(--success); }
.price-kpi-icon.max { background: rgba(239, 68, 68, 0.1); color: var(--error); }

.price-kpi-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.price-kpi-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Sqft Stats */
.sqft-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sqft-stat {
  text-align: center;
  padding: 16px;
  background: var(--dark);
  border-radius: 10px;
}

.sqft-stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.sqft-stat-label {
  display: block;
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Distribution Chart */
.distribution-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.distribution-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.distribution-bar-label {
  min-width: 120px;
  font-size: 13px;
  color: var(--light-gray);
}

.distribution-bar-wrapper {
  flex: 1;
  background: var(--dark);
  border-radius: 6px;
  height: 28px;
  overflow: hidden;
}

.distribution-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 6px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  transition: width 0.3s;
}

.distribution-bar-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
}

.distribution-bar-percent {
  min-width: 50px;
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

/* Affordability Grid */
.affordability-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.afford-card {
  text-align: center;
  padding: 16px 12px;
  background: var(--dark);
  border-radius: 10px;
  border: 1px solid var(--medium-gray);
}

.afford-card .icon {
  display: block;
  margin: 0 auto 8px;
  color: var(--light-gray);
}

.afford-card.green { border-color: var(--success); }
.afford-card.green .icon { color: var(--success); }

.afford-card.orange { border-color: var(--warning); }
.afford-card.orange .icon { color: var(--warning); }

.afford-card.red { border-color: var(--error); }
.afford-card.red .icon { color: var(--error); }

.afford-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.afford-label {
  display: block;
  font-size: 11px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Data Table */
.data-table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--medium-gray);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--medium-gray);
}

.data-table th {
  background: var(--dark);
  color: var(--light-gray);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  color: var(--white);
}

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

.data-table tr:hover td {
  background: rgba(255, 212, 0, 0.05);
}

.data-table td.highlight {
  color: var(--primary);
  font-weight: 600;
}

.data-table td.rank {
  color: var(--light-gray);
  font-weight: 600;
}

.builder-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

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

.builder-logo-mini {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--white);
}

/* Bedroom Chart Grid */
.bedroom-chart-grid {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: center;
}

.bedroom-stat {
  text-align: center;
  min-width: 60px;
}

.bedroom-visual {
  height: 100px;
  width: 40px;
  margin: 0 auto 8px;
  background: var(--dark);
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.bedroom-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: 6px 6px 0 0;
  min-height: 4px;
  transition: height 0.3s;
}

.bedroom-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.bedroom-label {
  font-size: 12px;
  color: var(--light-gray);
}

.bedroom-percent {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.summary-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--medium-gray);
}

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

.summary-label {
  display: block;
  font-size: 12px;
  color: var(--light-gray);
}

.summary-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

/* Property Type Grid */
.property-type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.property-type-card {
  text-align: center;
  padding: 20px 12px;
  background: var(--dark);
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
}

.property-type-card .icon {
  display: block;
  margin: 0 auto 10px;
  color: var(--primary);
}

.pt-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.pt-label {
  display: block;
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Size Stats */
.size-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.size-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  background: var(--dark);
  border-radius: 10px;
}

.size-stat .icon {
  color: var(--primary);
  margin-bottom: 8px;
}

.size-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.size-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.feature-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  background: var(--dark);
  border-radius: 10px;
}

.feature-stat .icon {
  color: var(--light-gray);
  margin-bottom: 8px;
}

.feature-stat.green .icon {
  color: var(--success);
}

.feature-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.feature-label {
  font-size: 11px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* EPC Grid */
.epc-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.epc-stat {
  text-align: center;
  padding: 16px 24px;
  border-radius: 10px;
  min-width: 80px;
}

.epc-stat.a { background: #22c55e; }
.epc-stat.b { background: #84cc16; }
.epc-stat.c { background: #eab308; }
.epc-stat.avg { background: var(--dark); border: 1px solid var(--medium-gray); }

.epc-grade {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.epc-stat.a .epc-grade,
.epc-stat.b .epc-grade,
.epc-stat.c .epc-grade {
  color: var(--dark);
}

.epc-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.epc-stat.a .epc-value,
.epc-stat.b .epc-value,
.epc-stat.c .epc-value {
  color: var(--dark);
}

.epc-label {
  display: block;
  font-size: 11px;
  color: var(--light-gray);
  margin-bottom: 4px;
}

/* Ownership Row */
.ownership-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ownership-stat {
  text-align: center;
  padding: 20px;
  background: var(--dark);
  border-radius: 10px;
}

.ownership-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.ownership-label {
  display: block;
  font-size: 13px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Builder Stats Grid */
.builder-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.builder-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: var(--dark);
  border-radius: 12px;
}

.builder-stat-card .icon {
  color: var(--primary);
  margin-bottom: 12px;
}

.builder-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.builder-stat-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Market Share */
.market-share-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.market-share-stat {
  text-align: center;
}

.ms-label {
  display: block;
  font-size: 13px;
  color: var(--light-gray);
  margin-top: 12px;
}

/* Builder Scale */
.builder-scale-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.scale-stat {
  text-align: center;
  padding: 16px;
  background: var(--dark);
  border-radius: 10px;
}

.scale-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.scale-label {
  display: block;
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Region Coverage */
.region-coverage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.region-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  background: var(--dark);
  border-radius: 10px;
}

.region-stat .icon {
  color: var(--primary);
  margin-bottom: 8px;
}

.region-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.region-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Lifestyle Scores */
.lifestyle-scores-row {
  display: flex;
  gap: 40px;
  justify-content: center;
}

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

.score-circle {
  position: relative;
  width: 100px;
  height: 100px;
}

.score-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-bg {
  fill: none;
  stroke: var(--medium-gray);
  stroke-width: 3;
}

.score-fill {
  fill: none;
  stroke: var(--score-color, var(--primary));
  stroke-width: 3;
  stroke-linecap: round;
}

.score-circle .score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.score-label {
  display: block;
  font-size: 13px;
  color: var(--light-gray);
  margin-top: 8px;
}

/* Transport Grid */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.transport-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: var(--dark);
  border-radius: 12px;
}

.transport-stat .icon {
  color: var(--primary);
  margin-bottom: 12px;
}

.transport-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.transport-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Yield KPI */
.yield-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.yield-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: var(--dark);
  border-radius: 12px;
}

.yield-kpi.primary {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.1) 0%, rgba(255, 212, 0, 0.05) 100%);
  border: 1px solid var(--primary);
}

.yield-kpi-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 212, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 12px;
}

.yield-kpi-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.yield-kpi.primary .yield-kpi-value {
  color: var(--primary);
}

.yield-kpi-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* High Yield Grid */
.high-yield-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.high-yield-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: var(--dark);
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
}

.high-yield-card .icon {
  color: var(--success);
  margin-bottom: 12px;
}

.high-yield-card.highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-color: var(--success);
}

.hy-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.hy-label {
  font-size: 13px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Grade Cards */
.grade-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grade-card {
  text-align: center;
  padding: 24px;
  background: var(--dark);
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
}

.grade-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}

.grade-label {
  font-size: 13px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Risk Grid */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.risk-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--medium-gray);
}

.risk-stat.low {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--success);
}

.risk-stat.low .icon {
  color: var(--success);
}

.risk-stat.medium {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--warning);
}

.risk-stat.medium .icon {
  color: var(--warning);
}

.risk-stat.high {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--error);
}

.risk-stat.high .icon {
  color: var(--error);
}

.risk-stat .icon {
  margin-bottom: 10px;
}

.risk-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.risk-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Demand Grid */
.demand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.demand-stat {
  text-align: center;
  padding: 20px;
  background: var(--dark);
  border-radius: 10px;
}

.demand-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.demand-label {
  display: block;
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Dev Size Grid */
.dev-size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dev-size-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: var(--dark);
  border-radius: 12px;
}

.dev-size-stat .icon {
  color: var(--primary);
  margin-bottom: 10px;
}

.dev-size-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.dev-size-label {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

/* Dashboard Footer */
.dashboard-footer {
  background: var(--dark-gray);
  padding: 20px 0;
  border-top: 1px solid var(--medium-gray);
}

.footer-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.footer-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--light-gray);
  font-size: 14px;
}

.footer-stat .icon {
  color: var(--primary);
}

/* Donut Chart */
.donut-chart text {
  font-family: inherit;
}

/* Icon helpers */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  display: block;
}

/* Responsive */
@media (max-width: 1200px) {
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .price-kpi-grid,
  .yield-kpi-grid,
  .builder-stats-grid,
  .transport-grid,
  .grade-cards-row,
  .dev-size-grid,
  .size-stats-row,
  .sqft-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-type-grid,
  .features-grid,
  .region-coverage-grid,
  .affordability-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .dashboard-hero-text h1 {
    font-size: 28px;
  }

  .kpi-row {
    grid-template-columns: 1fr;
  }

  .price-kpi-grid,
  .yield-kpi-grid,
  .builder-stats-grid,
  .transport-grid,
  .grade-cards-row,
  .dev-size-grid,
  .size-stats-row,
  .sqft-stats-grid,
  .ownership-row,
  .risk-grid,
  .demand-grid,
  .high-yield-grid,
  .builder-scale-grid {
    grid-template-columns: 1fr;
  }

  .property-type-grid,
  .features-grid,
  .region-coverage-grid,
  .affordability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-share-row,
  .lifestyle-scores-row {
    flex-direction: column;
    gap: 24px;
  }

  .bedroom-chart-grid {
    flex-wrap: wrap;
  }

  .epc-grid {
    flex-wrap: wrap;
    gap: 12px;
  }

  .panel-content {
    padding: 20px;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px;
  }

  .footer-stats {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .analytics-filters {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-group {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .filter-buttons {
    width: 100%;
  }

  .filter-btn {
    flex: 1;
    min-width: auto;
    text-align: center;
  }

  .toggle-btn {
    width: 100%;
  }
}

/* Tabs */
.analytics-tabs-section {
  background: var(--dark-gray);
  padding: 16px 0;
  position: sticky;
  top: 60px;
  z-index: 100;
  border-bottom: 1px solid var(--medium-gray);
}

.analytics-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--medium-gray);
  color: var(--light-gray);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}

.tab-btn:hover {
  background: var(--medium-gray);
  color: var(--white);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

/* Tab Content */
.analytics-tab-content {
  display: none;
  padding: 40px 0;
}

.analytics-tab-content.active {
  display: block;
}

.section-subtitle {
  color: var(--light-gray);
  font-size: 16px;
  margin-bottom: 32px;
}

.subsection-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--medium-gray);
}

/* Stats Grids */
.stats-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stats-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stats-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

@media (max-width: 1024px) {
  .stats-grid-5, .stats-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .stats-grid-2, .stats-grid-3, .stats-grid-4, .stats-grid-5, .stats-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mt-4 { margin-top: 24px; }

/* Stat Cards */
.stat-card {
  background: var(--dark-gray);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--medium-gray);
  transition: all 0.2s;
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.stat-card.primary {
  padding: 28px 20px;
}

.stat-card.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary);
}

.stat-card.highlight .stat-value,
.stat-card.highlight .stat-label,
.stat-card.highlight .stat-sub {
  color: var(--dark);
}

.stat-card.small {
  padding: 16px;
}

.stat-card.green-border { border-color: var(--success); }
.stat-card.orange-border { border-color: var(--warning); }
.stat-card.red-border { border-color: var(--error); }

.stat-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.stat-card.small .stat-value {
  font-size: 22px;
}

.stat-value.green { color: var(--success); }
.stat-value.orange { color: var(--warning); }
.stat-value.red { color: var(--error); }
.stat-value.blue { color: #3b82f6; }

.stat-label {
  font-size: 13px;
  color: var(--light-gray);
  margin-top: 4px;
  font-weight: 500;
}

.stat-sub {
  font-size: 12px;
  color: var(--medium-gray);
  margin-top: 4px;
}

/* Analytics Cards */
.analytics-card {
  background: var(--dark-gray);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--medium-gray);
}

.analytics-card.full-width {
  grid-column: 1 / -1;
}

/* Distribution Bars */
.price-distribution-bars,
.property-type-bars,
.sqft-distribution-bars,
.status-distribution-bars,
.intl-distribution-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-bar-item,
.type-bar-item,
.sqft-bar-item,
.status-bar-item,
.intl-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-bar-header,
.type-bar-header,
.sqft-bar-header,
.status-bar-header,
.intl-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.price-bar-label,
.type-bar-label,
.sqft-bar-label,
.status-bar-label,
.intl-bar-label {
  color: var(--white);
  font-weight: 500;
}

.price-bar-count,
.type-bar-count,
.sqft-bar-count,
.status-bar-count,
.intl-bar-count {
  color: var(--light-gray);
}

.price-bar-track,
.type-bar-track,
.sqft-bar-track,
.status-bar-track,
.intl-bar-track {
  height: 8px;
  background: var(--medium-gray);
  border-radius: 4px;
  overflow: hidden;
}

.price-bar-fill,
.type-bar-fill,
.sqft-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.status-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.status-bar-fill.available { background: var(--success); }
.status-bar-fill.coming_soon { background: #3b82f6; }
.status-bar-fill.last_remaining { background: var(--warning); }
.status-bar-fill.sold_out { background: var(--error); }

.intl-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.intl-bar-fill.excellent-opportunity { background: var(--success); }
.intl-bar-fill.good-opportunity { background: #22d3ee; }
.intl-bar-fill.moderate { background: var(--warning); }
.intl-bar-fill.challenging { background: var(--error); }

.price-bar-footer {
  font-size: 12px;
  color: var(--medium-gray);
}

/* Analytics Tables */
.analytics-table-wrapper {
  overflow-x: auto;
  margin: 16px 0;
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.analytics-table th,
.analytics-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--medium-gray);
}

.analytics-table th {
  background: var(--dark-gray);
  color: var(--light-gray);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.analytics-table td {
  color: var(--white);
}

.analytics-table tr:hover td {
  background: rgba(255, 212, 0, 0.05);
}

.analytics-table td.green { color: var(--success); font-weight: 600; }
.analytics-table td.orange { color: var(--warning); font-weight: 600; }
.analytics-table td.red { color: var(--error); font-weight: 600; }

.analytics-table .highlight-value {
  color: var(--primary);
  font-weight: 700;
}

.builder-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

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

.builder-logo-tiny {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--white);
  padding: 2px;
}

/* Analytics Summary Footer */
.analytics-summary-footer {
  background: var(--dark-gray);
  padding: 20px 0;
  border-top: 1px solid var(--medium-gray);
}

.summary-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--light-gray);
}

.summary-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .analytics-tabs {
    padding: 0 16px;
  }

  .tab-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .stat-value {
    font-size: 22px;
  }

  .stat-card.small .stat-value {
    font-size: 18px;
  }

  .analytics-table {
    font-size: 13px;
  }

  .analytics-table th,
  .analytics-table td {
    padding: 10px 12px;
  }

  .summary-info {
    gap: 16px;
  }
}

/* ================================
   CHART COMPONENT STYLES
   ================================ */

/* Gauge Chart */
.gauge-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.gauge-label {
  font-size: 13px;
  color: var(--light-gray);
  text-align: center;
  font-weight: 500;
}

/* Donut & Pie Charts */
.donut-chart-container,
.pie-chart-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.donut-chart-wrapper,
.pie-chart-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.donut-legend,
.pie-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.legend-label {
  color: var(--white);
  flex: 1;
  min-width: 80px;
}

.legend-value {
  color: var(--light-gray);
  font-weight: 600;
}

.chart-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

/* Bar Chart */
.bar-chart-container {
  width: 100%;
}

.bar-chart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.bar-label {
  color: var(--white);
  font-weight: 500;
}

.bar-value {
  color: var(--primary);
  font-weight: 700;
}

.bar-track {
  background: var(--medium-gray);
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.5s ease;
}

.bar-sublabel {
  font-size: 11px;
  color: var(--light-gray);
}

/* Vertical Bar Chart */
.vbar-chart-container {
  width: 100%;
}

.vbar-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vbar-chart-area {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: 8px;
}

.vbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vbar-value-label {
  font-size: 10px;
  color: var(--light-gray);
  font-weight: 600;
  text-align: center;
  min-height: 14px;
}

.vbar-track {
  width: 100%;
  max-width: 40px;
  height: 100%;
  background: var(--medium-gray);
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: flex-end;
}

.vbar-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
}

.vbar-labels {
  display: flex;
  justify-content: space-around;
  gap: 8px;
}

.vbar-label {
  font-size: 10px;
  color: var(--light-gray);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Line Chart */
.line-chart-container {
  width: 100%;
  overflow-x: auto;
}

/* Progress Circle */
.progress-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.progress-label {
  font-size: 12px;
  color: var(--light-gray);
  text-align: center;
  font-weight: 500;
}

/* Sparkline */
.sparkline {
  display: block;
}

/* Mini Stat */
.mini-stat {
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-stat:hover {
  border-color: var(--primary);
}

.mini-stat-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-stat-icon {
  font-size: 18px;
}

.mini-stat-label {
  font-size: 12px;
  color: var(--light-gray);
  font-weight: 500;
}

.mini-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.mini-stat-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-stat-trend {
  font-size: 12px;
  font-weight: 600;
}

.mini-stat-trend-label {
  font-size: 11px;
  color: var(--light-gray);
}

/* Heat Map */
.heatmap-container {
  width: 100%;
  overflow-x: auto;
}

.heatmap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: max-content;
}

.heatmap-row {
  display: flex;
  gap: 2px;
}

.heatmap-cell {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--white);
  border-radius: 4px;
}

.heatmap-label {
  background: transparent;
}

.heatmap-row-label {
  width: 80px;
  justify-content: flex-end;
  padding-right: 8px;
  color: var(--light-gray);
  font-weight: 500;
}

.heatmap-col-label {
  color: var(--light-gray);
  font-weight: 500;
}

/* Metric Card */
.metric-card {
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.metric-card-small { padding: 12px; }
.metric-card-large { padding: 24px; }

.metric-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.metric-icon {
  font-size: 20px;
}

.metric-title {
  font-size: 12px;
  color: var(--light-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.metric-card-small .metric-value { font-size: 22px; }
.metric-card-large .metric-value { font-size: 36px; }

.metric-subtitle {
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 4px;
}

.metric-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

/* Comparison Bar */
.comparison-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comparison-label {
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
}

.comparison-values {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.comparison-track {
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--medium-gray);
}

.comparison-fill-1,
.comparison-fill-2 {
  height: 100%;
  transition: width 0.5s ease;
}

/* Radial Progress */
.radial-progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.radial-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.radial-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.legend-text {
  color: var(--light-gray);
}

/* Chart Grid Layouts */
.chart-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

.chart-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

@media (max-width: 1024px) {
  .chart-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .chart-grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .chart-grid-2,
  .chart-grid-3,
  .chart-grid-4,
  .chart-grid-6 {
    grid-template-columns: 1fr;
  }

  .donut-chart-wrapper,
  .pie-chart-wrapper {
    flex-direction: column;
  }
}

/* Gauge Grid */
.gauge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

/* Analytics Panel */
.analytics-panel {
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.analytics-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.analytics-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.analytics-panel-subtitle {
  font-size: 13px;
  color: var(--light-gray);
}

/* ===========================================
   SEARCH PAGE STYLES (Rightmove-style)
   =========================================== */

/* Search Hero Section */
.search-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  padding: 60px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.search-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffd400' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.search-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.search-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}

.search-hero h1 span {
  color: var(--primary);
}

.search-hero p {
  font-size: 18px;
  color: var(--light-gray);
  margin-bottom: 32px;
}

/* Main Search Form */
.search-form-main {
  max-width: 700px;
  margin: 0 auto;
}

.search-form-main .search-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.search-form-main .search-input-wrapper:focus-within {
  box-shadow: 0 8px 40px rgba(255, 212, 0, 0.2);
}

.search-icon {
  width: 24px;
  height: 24px;
  color: var(--light-gray);
  flex-shrink: 0;
}

.search-input-main {
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px;
  font-size: 17px;
  color: var(--dark);
  outline: none;
}

.search-input-main::placeholder {
  color: var(--light-gray);
}

.search-btn-main {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--dark);
  border: none;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.search-btn-main:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.search-btn-main svg {
  width: 20px;
  height: 20px;
}

/* Quick Filters */
.quick-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.quick-filters-label {
  font-size: 14px;
  color: var(--light-gray);
}

.quick-filter-chip {
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.3);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.quick-filter-chip:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

/* Search Filters Section */
.search-filters-section {
  background: var(--dark-gray);
  border-bottom: 1px solid var(--medium-gray);
  padding: 24px 0;
  position: sticky;
  top: 62px;
  z-index: 100;
}

.search-filters-form {
  width: 100%;
}

.filters-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 150px;
}

.filter-group-actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
  min-width: auto;
}

.filter-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--light-gray);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-select {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--medium-gray);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-select-full {
  width: 100%;
}

.filter-dual-select {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-dual-select .filter-select {
  flex: 1;
  min-width: 0;
}

.filter-input {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  background: var(--white);
  color: var(--dark-gray);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.15);
}

.filter-input::placeholder {
  color: var(--light-gray);
}

.filter-group-wide {
  grid-column: span 2;
}

.filter-separator {
  color: var(--light-gray);
  font-size: 13px;
  flex-shrink: 0;
}

.btn-filters-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  position: relative;
}

.btn-filters-toggle.active {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.filter-count-badge {
  background: var(--primary);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

.btn-filters-toggle.active .filter-count-badge {
  background: var(--dark);
  color: var(--primary);
}

.btn-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
}

.btn-apply-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), #f5c800) !important;
  color: var(--dark) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 212, 0, 0.3);
  white-space: nowrap;
}

.btn-apply-filters svg {
  width: 18px;
  height: 18px;
}

.btn-apply-filters:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 212, 0, 0.5);
}

/* Expanded Filters */
.filters-expanded {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--medium-gray);
}

.filters-expanded-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filters-features {
  width: 100%;
}

.feature-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.feature-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 12px 16px;
  background: var(--dark);
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 14px;
  color: var(--white);
}

.feature-checkbox:hover {
  border-color: var(--primary);
}

.feature-checkbox input {
  display: none;
}

.feature-checkbox input:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}

.feature-checkbox input:checked + .checkbox-custom::after {
  opacity: 1;
}

.feature-checkbox input:checked ~ svg {
  color: var(--primary);
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--medium-gray);
  border-radius: 4px;
  position: relative;
  transition: all 0.2s;
  flex-shrink: 0;
}

.checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s;
}

.feature-checkbox svg {
  color: var(--light-gray);
  transition: color 0.2s;
}

/* Search Results Section */
.search-results-section {
  padding: 40px 0 60px;
  min-height: 50vh;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.results-info {
  flex: 1;
}

.results-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.results-title span {
  color: var(--primary);
}

.results-count {
  font-size: 15px;
  color: var(--light-gray);
}

.results-count strong {
  color: var(--white);
}

.results-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sort Wrapper */
.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 14px;
  color: var(--light-gray);
  white-space: nowrap;
}

.sort-select {
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  color: var(--white);
  padding: 10px 36px 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.sort-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Active Filters Tags */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.3);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.filter-tag-remove {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.filter-tag-remove:hover {
  opacity: 1;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-state svg {
  color: var(--medium-gray);
  margin-bottom: 24px;
}

.empty-state h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--light-gray);
  font-size: 16px;
  margin-bottom: 24px;
}

.empty-state-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive Styles for Search Page */
@media (max-width: 1024px) {
  .filters-row {
    flex-wrap: wrap;
  }

  .filter-group {
    flex: 1 1 calc(50% - 8px);
    min-width: 180px;
  }

  .filter-group-actions {
    flex: 1 1 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .search-hero {
    padding: 40px 16px 60px;
  }

  .search-hero h1 {
    font-size: 28px;
  }

  .search-hero p {
    font-size: 16px;
  }

  .search-form-main .search-input-wrapper {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
  }

  .search-form-main .search-icon {
    display: none;
  }

  .search-form-main .search-input-main {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
  }

  .search-form-main .search-btn-main {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    min-height: 52px;
  }

  .quick-filters {
    flex-direction: column;
    gap: 8px;
  }

  .quick-filter-chip {
    width: 100%;
    text-align: center;
  }

  .search-filters-section {
    position: relative;
    top: 0;
  }

  .filter-group {
    flex: 1 1 100%;
  }

  .filter-dual-select {
    flex-direction: column;
  }

  .filter-separator {
    display: none;
  }

  .filter-group-actions {
    flex-direction: column;
  }

  .filter-group-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .results-header {
    flex-direction: column;
    align-items: stretch;
  }

  .results-actions {
    justify-content: space-between;
  }

  .sort-wrapper {
    flex: 1;
  }

  .sort-select {
    flex: 1;
  }

  .feature-checkboxes {
    flex-direction: column;
  }

  .feature-checkbox {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .search-hero h1 {
    font-size: 24px;
  }

  .results-title {
    font-size: 22px;
  }

  .results-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-wrapper {
    width: 100%;
  }

  .results-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Pagination Styles */
.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--medium-gray);
}

.pagination-info {
  font-size: 14px;
  color: var(--light-gray);
}

.pagination-info strong {
  color: var(--white);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.pagination-btn:hover:not(.disabled) {
  background: var(--medium-gray);
  border-color: var(--primary);
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-btn svg {
  flex-shrink: 0;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pagination-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--dark-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination-page:hover:not(.active) {
  background: var(--medium-gray);
  border-color: var(--primary);
}

.pagination-page.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--light-gray);
  font-size: 14px;
}

@media (max-width: 768px) {
  .pagination-controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .pagination-prev,
  .pagination-next {
    order: 2;
  }

  .pagination-pages {
    order: 1;
    width: 100%;
    justify-content: center;
    margin-bottom: 8px;
  }

  .pagination-page {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .pagination-pages {
    gap: 2px;
  }

  .pagination-page {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }

  .pagination-btn {
    padding: 8px 10px;
  }

  .pagination-btn span {
    display: none;
  }
}

/* ==========================================
   VIBRANT Properties Search Page
   ========================================== */

/* Properties Hero */
.properties-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.properties-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.properties-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.properties-hero-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #ffd400, #ff6b6b);
  opacity: 0.15;
  top: -250px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.properties-hero-shapes .shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  opacity: 0.12;
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.properties-hero-shapes .shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #22c55e, #06b6d4);
  opacity: 0.1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.properties-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 107, 107, 0.2));
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 212, 0, 0.4);
  animation: pulse-glow 3s ease-in-out infinite;
}

.properties-hero h1 {
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
  color: var(--white);
}

.properties-hero h1 span {
  background: linear-gradient(90deg, #ffd400, #ff6b6b, #ffd400);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.properties-hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Filters Section */
.properties-filters-section {
  padding: 40px 0 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, transparent 0%, #0a0a0a 100px);
}

.filters-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.95), rgba(20, 20, 30, 0.98));
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr) auto;
  gap: 20px;
  align-items: end;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-item .filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-item .filter-label svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.filter-select-new {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffd400' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.filter-select-new:hover {
  border-color: rgba(255, 212, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.5);
}

.filter-select-new:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.15);
}

.filter-actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.btn-search-new {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(255, 212, 0, 0.4);
  white-space: nowrap;
}

.btn-search-new svg {
  width: 18px;
  height: 18px;
}

.btn-search-new:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 212, 0, 0.5);
}

.btn-clear-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--light-gray);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-clear-filters svg {
  width: 16px;
  height: 16px;
}

.btn-clear-filters:hover {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

/* Results Section */
.properties-results {
  padding: 60px 0 100px;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--dark) 100%);
}

.results-header-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.results-info-new {
  flex: 1;
}

.results-title-new {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.results-title-new span {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.results-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
}

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

.btn-compare-new {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.4);
  text-decoration: none;
  transition: all 0.3s;
}

.btn-compare-new svg {
  width: 18px;
  height: 18px;
}

.btn-compare-new:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

/* Property Grid */
.property-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ==========================================
   Property Card - Premium Design (matching developments)
   ========================================== */

.prop-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.prop-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.prop-card-image-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.prop-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.prop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.prop-card:hover .prop-card-image img {
  transform: scale(1.08);
}

.prop-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.prop-card-placeholder svg {
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.3);
}

.prop-status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.prop-status.badge-success {
  background: rgba(16, 185, 129, 0.9);
  color: white;
}

.prop-status.badge-warning {
  background: rgba(245, 158, 11, 0.9);
  color: white;
}

.prop-status.badge-error {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}

.prop-status.badge-info {
  background: rgba(59, 130, 246, 0.9);
  color: white;
}

.prop-code-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.prop-featured {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
}

.prop-card-content {
  padding: 24px;
}

.prop-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.prop-name-row .prop-code-badge {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  flex-shrink: 0;
  margin-top: 0;
}

.prop-location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.prop-location-row .prop-location {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.prop-plot-number {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.prop-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.prop-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.prop-location svg {
  color: var(--primary);
  flex-shrink: 0;
}

.prop-builder-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}

.prop-id-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  margin-bottom: 16px;
  gap: 10px;
}

.prop-id-col {
  display: flex;
}

.prop-id-col-left {
}

.prop-id-col-right {
}

.prop-id-row .prop-code-badge {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  transform: none;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  box-shadow: none;
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.prop-id-row .prop-wishlist-btn {
  margin-left: 0;
  flex: 1;
}

.prop-builder-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.prop-details {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.prop-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.prop-detail .detail-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prop-detail .detail-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.prop-detail .detail-value.price {
  color: var(--primary);
}

.prop-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.prop-spec-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #3b82f6;
}

.prop-spec-tag svg {
  color: #3b82f6;
}

/* Wishlist Button */
.prop-wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  min-width: 80px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}

.prop-wishlist-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.prop-wishlist-btn:hover .wishlist-icon {
  stroke: #fff;
}

.prop-wishlist-btn:hover .wishlist-text {
  color: #fff;
}

.prop-wishlist-btn .wishlist-icon {
  color: rgba(255, 255, 255, 0.8);
  stroke: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.prop-wishlist-btn .wishlist-text {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.prop-wishlist-btn.wishlisted {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
}

.prop-wishlist-btn.wishlisted .wishlist-icon {
  fill: #ef4444;
  stroke: #ef4444;
}

.prop-wishlist-btn.wishlisted .wishlist-text {
  color: #ef4444;
}

/* Wishlist Toast */
.wishlist-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.wishlist-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.wishlist-toast svg {
  flex-shrink: 0;
  fill: white;
}

.prop-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
}

.prop-view-btn {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  background: rgba(255, 212, 0, 0.1);
  border: 2px solid #ffd400;
  color: #ffd400;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.prop-view-btn:hover {
  background: linear-gradient(135deg, #ffd400, #ff6b6b);
  color: #000;
  border-color: transparent;
}

.prop-view-btn svg {
  transition: transform 0.3s;
}

.prop-view-btn:hover svg {
  transform: translateX(4px);
}

/* Compare Checkbox in Property Card */
.prop-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.prop-compare:hover {
  background: rgba(255, 255, 255, 0.12);
}

.prop-compare input {
  display: none;
}

.prop-compare-check {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: transparent;
}

.prop-compare-check svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}

.prop-compare input:checked + .prop-compare-check {
  background: #ffd400;
  border-color: #ffd400;
}

.prop-compare input:checked + .prop-compare-check svg {
  opacity: 1;
  transform: scale(1);
  stroke: #000;
}

.prop-compare-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* Empty State */
.empty-state-new {
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.5), rgba(20, 20, 30, 0.5));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.empty-state-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.1), rgba(255, 107, 107, 0.1));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.empty-state-icon svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.empty-state-new h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.empty-state-new p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}

/* Compare Bar */
.compare-bar-new {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.98), rgba(20, 20, 30, 0.98));
  border-top: 1px solid rgba(255, 212, 0, 0.3);
  padding: 16px 24px;
  z-index: 1000;
  backdrop-filter: blur(20px);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.compare-bar-inner-new {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.compare-bar-items-new {
  display: flex;
  gap: 12px;
  flex: 1;
  overflow-x: auto;
}

.compare-bar-item-new {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.3);
  padding: 10px 14px;
  border-radius: 10px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--white);
}

.compare-bar-item-new button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.compare-bar-item-new button:hover {
  opacity: 1;
}

.compare-bar-actions-new {
  display: flex;
  align-items: center;
  gap: 16px;
}

.compare-count-new {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.btn-compare-clear {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-gray);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-compare-clear:hover {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

.btn-compare-action {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  box-shadow: 0 4px 20px rgba(255, 212, 0, 0.3);
}

.btn-compare-action svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.btn-compare-action:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 212, 0, 0.4);
}

.btn-compare-action:hover:not(:disabled) svg {
  transform: translateX(4px);
}

.btn-compare-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive - Properties Page */
@media (max-width: 1200px) {
  .filters-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .filter-actions {
    grid-column: span 3;
    justify-content: center;
    margin-top: 12px;
  }
}

@media (max-width: 1024px) {
  .property-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .properties-hero {
    padding: 80px 0 60px;
  }

  .properties-hero h1 {
    font-size: 36px;
  }

  .filters-card {
    padding: 24px;
  }

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

  .filter-actions {
    grid-column: span 2;
  }

  .results-header-new {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare-bar-inner-new {
    flex-direction: column;
    gap: 16px;
  }

  .compare-bar-items-new {
    width: 100%;
  }

  .compare-bar-actions-new {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .property-grid-new {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .filter-actions {
    grid-column: span 1;
    flex-direction: column;
  }

  .btn-search-new,
  .btn-clear-filters {
    width: 100%;
    justify-content: center;
  }

  .results-title-new {
    font-size: 26px;
  }
}

/* ==========================================
   VIBRANT Property Detail Page Colors
   ========================================== */

/* Enhanced Gallery */
.property-detail .property-gallery {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.property-detail .gallery-thumb {
  border: 2px solid transparent;
  transition: all 0.3s;
}

.property-detail .gallery-thumb:hover {
  opacity: 1;
  border-color: rgba(255, 212, 0, 0.5);
}

.property-detail .gallery-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(255, 212, 0, 0.3);
}

/* Enhanced Price */
.property-detail .property-info-price {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced Info Card */
.property-detail .property-info-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.95), rgba(20, 20, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Enhanced Cards */
.property-detail .about-property-card,
.property-detail .property-section-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s;
}

.property-detail .about-property-card:hover,
.property-detail .property-section-card:hover {
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.property-detail .about-property-icon,
.property-detail .section-card-icon {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 107, 107, 0.15));
}

/* Enhanced Info Lines */
.property-detail .transport-info-line,
.property-detail .incentives-info-line,
.property-detail .appliances-info-line,
.property-detail .parking-info-line,
.property-detail .ev-charger-info-line,
.property-detail .garage-info-line,
.property-detail .heating-info-line,
.property-detail .solar-panel-info-line {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.7), rgba(20, 20, 30, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s;
}

.property-detail .transport-info-line:hover,
.property-detail .incentives-info-line:hover,
.property-detail .appliances-info-line:hover,
.property-detail .parking-info-line:hover,
.property-detail .ev-charger-info-line:hover,
.property-detail .garage-info-line:hover,
.property-detail .heating-info-line:hover,
.property-detail .solar-panel-info-line:hover {
  border-color: rgba(255, 212, 0, 0.2);
  background: linear-gradient(145deg, rgba(40, 40, 50, 0.7), rgba(30, 30, 40, 0.7));
}

/* Enhanced Tags */
.property-detail .tag {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--white);
  transition: all 0.3s;
}

.property-detail .tag:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.1), rgba(255, 107, 107, 0.1));
}

.property-detail .tag-feature {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(6, 182, 212, 0.15));
  border-color: rgba(34, 197, 94, 0.3);
}

.property-detail .tag-amenity {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
  border-color: rgba(99, 102, 241, 0.3);
}

/* Enhanced Grades */
.property-detail .property-grades {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Enhanced Buttons */
.property-detail .section-more-btn,
.property-detail .btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  box-shadow: 0 4px 20px rgba(255, 212, 0, 0.3);
  transition: all 0.4s;
}

.property-detail .section-more-btn:hover,
.property-detail .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 212, 0, 0.4);
}

/* Enhanced Stats */
.property-detail .property-stats .stat-value {
  color: var(--primary);
}

/* Enhanced Investment Card */
.property-detail .investment-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.95), rgba(20, 20, 30, 0.98));
  border: 1px solid rgba(255, 212, 0, 0.2);
}

/* Enhanced EPC Bars */
.property-detail .epc-bar-fill {
  background: linear-gradient(90deg, var(--primary), #ff6b6b);
}

/* Enhanced Related Properties */
.property-detail .related-properties .property-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s;
}

.property-detail .related-properties .property-card:hover {
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   Builders Page - Premium Purple Theme
   ========================================== */

.builders-hero-new {
  position: relative;
  padding: 45px 0 30px;
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #4c1d95 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  overflow: hidden;
  text-align: center;
}

.builders-hero-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.builders-hero-new .container {
  position: relative;
  z-index: 2;
}

.builders-hero-badge {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.05));
  border: 1px solid rgba(255, 212, 0, 0.4);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  animation: pulse-glow 3s ease-in-out infinite;
}

.builders-hero-new h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.builders-hero-new h1 span {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.builders-hero-new > .container > p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.builders-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.builders-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.builders-hero-shapes .shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.builders-hero-shapes .shape-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  bottom: -150px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.builders-hero-shapes .shape-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  top: 50%;
  left: 10%;
  animation: float 7s ease-in-out infinite 1s;
}

/* Builders Search */
.builders-search-new {
  max-width: 600px;
  margin: 0 auto 32px;
}

.search-form-new {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 60px;
  padding: 8px;
  transition: all 0.3s;
}

.search-form-new:focus-within {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.search-form-new .search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 20px;
  gap: 12px;
}

.search-form-new .search-input-wrapper .search-icon {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.search-form-new .search-input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 16px;
  outline: none;
  padding: 12px 0;
}

.search-form-new .search-input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-submit-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.search-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.4);
}

.search-submit-btn svg {
  width: 18px;
  height: 18px;
}

/* Builders Stats */
.builders-stats-new {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.stat-item-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number-new {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
}

.stat-label-new {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider-new {
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.5), transparent);
}

/* Builders Section */
.builders-section-new {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #1a0a2e 0%, #0f0f1a 50%, var(--dark) 100%);
}

.search-results-info-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  margin-bottom: 32px;
}

.search-results-info-new p {
  color: #1a1a2e;
  font-size: 15px;
  margin: 0;
}

.search-results-info-new strong {
  color: #7c3aed;
}

.clear-search-new {
  color: #7c3aed;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}

.clear-search-new:hover {
  color: var(--primary);
}

/* Builders Grid */
.builders-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

/* Premium Builder Card */
.builder-card-premium {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.98));
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.builder-card-premium:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 24px 64px rgba(139, 92, 246, 0.25);
}

.builder-card-accent {
  height: 6px;
  transition: height 0.3s;
}

.builder-card-premium:hover .builder-card-accent {
  height: 8px;
}

.builder-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.builder-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.builder-logo-new {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.builder-logo-new span {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
}

.builder-logo-new.has-image {
  background: var(--white);
  padding: 8px;
  position: relative;
}

.builder-logo-new.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Fallback for broken images - show initial letter */
.builder-logo-new.has-image img {
  position: relative;
  z-index: 1;
}

.builder-logo-new.has-image::before {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  background: var(--fallback-bg);
  border-radius: inherit;
  z-index: 0;
}

/* Show fallback when logo fails to load */
.builder-logo-new.has-image.logo-failed {
  background: var(--fallback-bg);
}

.builder-logo-new.has-image.logo-failed::before {
  display: flex;
}

.builder-title {
  flex: 1;
}

.builder-title h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.3;
}

.builder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.builder-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(26, 26, 46, 0.08);
  border-radius: 20px;
  font-size: 12px;
  color: #64748b;
}

.builder-badge svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.builder-badge.highlight {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.1));
  color: #7c3aed;
}

.builder-badge.highlight svg {
  color: #7c3aed;
  opacity: 1;
}

.builder-description-new {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.builder-card-footer-new {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 26, 46, 0.08);
}

.view-developer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #7c3aed;
  transition: all 0.3s;
}

.view-developer svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.builder-card-premium:hover .view-developer {
  color: #ff6b6b;
}

.builder-card-premium:hover .view-developer svg {
  transform: translateX(4px);
}

/* No Builders State */
.no-builders-new {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.98));
  border-radius: 28px;
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.no-builders-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.no-builders-icon svg {
  width: 48px;
  height: 48px;
  color: #7c3aed;
}

.no-builders-new h3 {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 14px;
}

.no-builders-new p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 28px;
}

.builders-browse-btn {
  padding: 16px 32px;
  font-size: 15px;
}

/* Builders CTA Section */
.builders-cta-new {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--dark) 0%, #1a0a2e 100%);
}

.cta-card-new {
  background: linear-gradient(145deg, rgba(30, 15, 50, 0.95), rgba(20, 10, 35, 0.98));
  border-radius: 32px;
  padding: 60px;
  text-align: center;
  border: 1px solid rgba(139, 92, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, var(--primary), #ff6b6b, var(--primary), #8b5cf6);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.cta-card-new h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-card-new h2 span {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-card-new p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-buttons-new {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 8px 32px rgba(255, 212, 0, 0.3);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 212, 0, 0.4);
}

.cta-btn-primary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.cta-btn-primary:hover svg {
  transform: translateX(4px);
}

.cta-btn-outline {
  padding: 18px 36px;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.4s;
}

.cta-btn-outline:hover {
  border-color: #a78bfa;
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
}

/* Responsive - Builders Page */
@media (max-width: 768px) {
  .builders-hero-new {
    padding: 35px 0 25px;
  }

  .builders-hero-new h1 {
    font-size: 32px;
  }

  .builders-hero-new > .container > p {
    font-size: 14px;
  }

  .search-form-new {
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
  }

  .search-input-wrapper {
    padding: 8px 16px;
  }

  .search-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
  }

  .builders-stats-new {
    gap: 24px;
  }

  .stat-number-new {
    font-size: 24px;
  }

  .builders-section-new {
    padding: 50px 0 80px;
  }

  .builders-grid-new {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .search-results-info-new {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .builder-card-content {
    padding: 20px;
  }

  .builder-logo-new {
    width: 56px;
    height: 56px;
  }

  .builder-title h3 {
    font-size: 18px;
  }

  .cta-card-new {
    padding: 40px 24px;
  }

  .cta-card-new h2 {
    font-size: 28px;
  }

  .cta-card-new p {
    font-size: 16px;
  }

  .cta-buttons-new {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn-primary,
  .cta-btn-outline {
    justify-content: center;
    padding: 16px 28px;
  }
}

@media (max-width: 480px) {
  .builders-hero-new h1 {
    font-size: 28px;
  }

  .builder-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .builder-badges {
    margin-top: 8px;
  }

  .no-builders-new {
    padding: 50px 24px;
  }

  .no-builders-icon {
    width: 80px;
    height: 80px;
  }

  .no-builders-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================
   Home Page - Premium Design
   ========================================== */

/* Home Hero */
.home-hero-new {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  overflow: hidden;
  text-align: center;
}

.home-hero-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.home-hero-new .container {
  position: relative;
  z-index: 2;
}

.home-hero-badge {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.05));
  border: 1px solid rgba(255, 212, 0, 0.4);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  animation: pulse-glow 3s ease-in-out infinite;
}

.home-hero-new h1 {
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.home-hero-new h1 span {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-new > .container > p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

.home-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.home-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 8px 32px rgba(255, 212, 0, 0.3);
}

.home-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 212, 0, 0.4);
}

.home-btn-primary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.home-btn-primary:hover svg {
  transform: translateX(4px);
}

.home-btn-outline {
  padding: 18px 36px;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.4s;
}

.home-btn-outline:hover {
  border-color: var(--primary);
  background: rgba(255, 212, 0, 0.1);
  color: var(--primary);
}

.home-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.home-hero-shapes .shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.home-hero-shapes .shape-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  bottom: -150px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.home-hero-shapes .shape-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  top: 50%;
  left: 10%;
  animation: float 7s ease-in-out infinite 1s;
}

/* Home Stats Section */
.home-stats-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #0f3460 0%, var(--dark) 100%);
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.home-stat-card {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(145deg, rgba(30, 30, 50, 0.8), rgba(20, 20, 35, 0.9));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s;
}

.home-stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.home-stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.home-stat-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
  stroke: var(--primary);
}

.home-stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.home-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Home Section Header */
.home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}

.home-section-header.center {
  justify-content: center;
  text-align: center;
}

.home-section-title-wrapper {
  max-width: 500px;
}

.home-section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.05));
  border: 1px solid rgba(255, 212, 0, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.home-section-title-wrapper h2 {
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.home-section-title-wrapper h2 span {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-section-title-wrapper p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

.home-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 6px 24px rgba(255, 212, 0, 0.25);
  flex-shrink: 0;
}

.home-view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(255, 212, 0, 0.35);
}

.home-view-all-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.home-view-all-btn:hover svg {
  transform: translateX(4px);
}

/* Home Featured Section */
.home-featured-section {
  padding: 100px 0;
  background: var(--dark);
}

.home-property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

/* Home Builders Section */
.home-builders-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--dark) 0%, #1a1a2e 100%);
}

.home-builders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.home-builder-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(30, 30, 50, 0.8), rgba(20, 20, 35, 0.9));
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-builder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.home-builder-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.home-builder-logo span {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
}

.home-builder-info {
  flex: 1;
}

.home-builder-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.home-builder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s;
}

.home-builder-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.home-builder-card:hover .home-builder-link {
  color: #ff6b6b;
}

.home-builder-card:hover .home-builder-link svg {
  transform: translateX(4px);
}

/* Home Features Section */
.home-features-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #1a1a2e 0%, var(--dark) 100%);
}

.home-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.home-feature-card {
  position: relative;
  padding: 40px 28px;
  background: linear-gradient(145deg, rgba(30, 30, 50, 0.8), rgba(20, 20, 35, 0.9));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.home-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.home-feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.05));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.4s;
}

.home-feature-card:hover .home-feature-icon {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  transform: scale(1.1);
}

.home-feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  transition: fill 0.4s;
}

.home-feature-card:hover .home-feature-icon svg {
  fill: var(--dark);
}

.home-feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.home-feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}

.home-feature-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
}

/* Home CTA Section */
.home-cta-section {
  padding: 100px 0;
  background: var(--dark);
}

.home-cta-card {
  background: linear-gradient(145deg, rgba(30, 30, 50, 0.95), rgba(20, 20, 35, 0.98));
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  border: 1px solid rgba(99, 102, 241, 0.2);
  position: relative;
  overflow: hidden;
}

.home-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, var(--primary), #ff6b6b, var(--primary), #6366f1);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.home-cta-content h2 {
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}

.home-cta-content h2 span {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.home-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.home-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 8px 32px rgba(255, 212, 0, 0.3);
}

.home-cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 212, 0, 0.4);
}

.home-cta-btn-primary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.home-cta-btn-primary:hover svg {
  transform: translateX(4px);
}

.home-cta-btn-outline {
  padding: 18px 36px;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.4s;
}

.home-cta-btn-outline:hover {
  border-color: var(--primary);
  background: rgba(255, 212, 0, 0.1);
  color: var(--primary);
}

/* Responsive - Home Page */
@media (max-width: 1200px) {
  .home-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-hero-new {
    padding: 80px 0 60px;
  }

  .home-hero-new h1 {
    font-size: 36px;
  }

  .home-hero-new > .container > p {
    font-size: 16px;
  }

  .home-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .home-btn-primary,
  .home-btn-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .home-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-stat-number {
    font-size: 36px;
  }

  .home-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .home-section-header.center {
    align-items: center;
  }

  .home-section-title-wrapper h2 {
    font-size: 28px;
  }

  .home-view-all-btn {
    width: 100%;
    justify-content: center;
  }

  .home-featured-section,
  .home-builders-section,
  .home-features-section,
  .home-cta-section {
    padding: 60px 0;
  }

  .home-property-grid {
    grid-template-columns: 1fr;
  }

  .home-builders-grid {
    grid-template-columns: 1fr;
  }

  .home-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-feature-card {
    padding: 32px 24px;
  }

  .home-cta-card {
    padding: 50px 24px;
  }

  .home-cta-content h2 {
    font-size: 28px;
  }

  .home-cta-content p {
    font-size: 16px;
  }

  .home-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .home-cta-btn-primary,
  .home-cta-btn-outline {
    justify-content: center;
  }
}

/* ==========================================
   Analytics Page - Premium Design
   ========================================== */

/* Analytics Hero */
.analytics-hero-new {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  overflow: hidden;
  text-align: center;
}

.analytics-hero-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.analytics-hero-new .container {
  position: relative;
  z-index: 2;
}

.analytics-hero-badge {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.05));
  border: 1px solid rgba(255, 212, 0, 0.4);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  animation: pulse-glow 3s ease-in-out infinite;
}

.analytics-hero-new h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.analytics-hero-new h1 span {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.analytics-hero-new > .container > p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.analytics-hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.analytics-hero-stat {
  text-align: center;
}

.analytics-hero-stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}

.analytics-hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.analytics-hero-stat-divider {
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.analytics-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.analytics-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.analytics-hero-shapes .shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.analytics-hero-shapes .shape-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  bottom: -150px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.analytics-hero-shapes .shape-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  top: 50%;
  left: 10%;
  animation: float 7s ease-in-out infinite 1s;
}

/* Analytics Filter Bar */
.analytics-filter-new {
  padding: 30px 0;
  background: linear-gradient(180deg, #0f3460 0%, var(--dark) 100%);
}

.analytics-filter-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  background: linear-gradient(145deg, rgba(30, 30, 50, 0.8), rgba(20, 20, 35, 0.9));
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.filter-section {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-section-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-buttons-new {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
}

.filter-btn-new:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.filter-btn-new.active {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  border-color: var(--primary);
  color: var(--dark);
}

.filter-btn-new.locked {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  position: relative;
}

.filter-btn-new.locked:hover {
  background: rgba(255, 212, 0, 0.1);
  border-color: rgba(255, 212, 0, 0.3);
  color: rgba(255, 212, 0, 0.8);
}

.filter-btn-new.locked.active-locked {
  background: rgba(255, 212, 0, 0.15);
  border-color: rgba(255, 212, 0, 0.4);
  color: rgba(255, 212, 0, 0.9);
}

.filter-btn-new.locked .lock-icon {
  font-size: 12px;
  margin-left: 4px;
}

/* Dashboard section with blur for restricted views */
.dashboard-section.content-restricted {
  position: relative;
}

.dashboard-section.content-restricted > .container {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.filter-btn-new .icon {
  display: flex;
}

.filter-notice-new.upgrade-notice {
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.2);
}

.filter-notice-new.upgrade-notice a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.toggle-btn-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
}

.toggle-btn-new:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.toggle-btn-new.active {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.btn-generate-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-generate-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.filter-notice-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: #22c55e;
}

/* Responsive - Analytics Page */
@media (max-width: 768px) {
  .analytics-hero-new {
    padding: 70px 0 50px;
  }

  .analytics-hero-new h1 {
    font-size: 32px;
  }

  .analytics-hero-new > .container > p {
    font-size: 16px;
  }

  .analytics-hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .analytics-hero-stat-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.5), transparent);
  }

  .analytics-hero-stat-number {
    font-size: 28px;
  }

  .analytics-filter-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .filter-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .filter-buttons-new {
    width: 100%;
  }

  .filter-btn-new {
    flex: 1;
    justify-content: center;
    padding: 12px 14px;
    font-size: 13px;
  }

  .filter-actions {
    width: 100%;
    justify-content: stretch;
  }

  .toggle-btn-new,
  .btn-generate-new {
    flex: 1;
    justify-content: center;
  }
}

/* ============================================ */
/* AUTH PAGES STYLES */
/* ============================================ */

.auth-section {
  min-height: calc(100vh - 60px);
  padding: 60px 24px;
  background: linear-gradient(135deg, var(--dark) 0%, #0d0d0d 100%);
}

.auth-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.auth-container-single {
  max-width: 480px;
  display: block;
}

.auth-card {
  background: var(--dark-gray);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.auth-logo svg {
  width: 32px;
  height: 32px;
  color: var(--dark);
}

.auth-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--light-gray);
  font-size: 15px;
}

.auth-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
}

.auth-alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.auth-alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.auth-alert-error svg {
  color: #ef4444;
}

.auth-alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.auth-alert-success svg {
  color: #22c55e;
}

.auth-alert-info {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.auth-alert-info svg {
  color: #3b82f6;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--lighter-gray);
}

.auth-form .input-wrapper {
  position: relative;
}

.auth-form .input-wrapper svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--light-gray);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 14px 14px 14px 44px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  font-size: 15px;
  transition: all 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.4);
}

.auth-form input::placeholder {
  color: var(--light-gray);
}

.form-hint {
  display: block;
  font-size: 12px;
  color: var(--light-gray);
  margin-top: 6px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--light-gray);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: var(--primary);
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.checkbox-label a:hover {
  color: #f5e16d;
}

.terms-agreement {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.terms-agreement .checkbox-label {
  margin: 0;
}

.terms-agreement .checkbox-label span {
  color: rgba(255, 255, 255, 0.8);
}

.forgot-link {
  font-size: 14px;
  color: var(--primary);
  transition: opacity 0.2s;
}

.forgot-link:hover {
  opacity: 0.8;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.auth-btn svg {
  width: 18px;
  height: 18px;
}

.auth-btn-primary {
  background: var(--primary);
  color: var(--dark);
}

.auth-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.auth-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.auth-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
  font-size: 13px;
  color: var(--light-gray);
}

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

.auth-footer p {
  font-size: 14px;
  color: var(--light-gray);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 500;
}

.auth-features {
  padding: 20px 0;
}

.auth-features h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--primary);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 212, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.feature-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-content p {
  font-size: 14px;
  color: var(--light-gray);
}

/* Signup Tier Preview */
.tier-preview {
  background: rgba(255, 212, 0, 0.05);
  border: 1px solid rgba(255, 212, 0, 0.2);
  border-radius: 16px;
  padding: 24px;
}

.tier-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.tier-benefits {
  list-style: none;
  margin-bottom: 16px;
}

.tier-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--lighter-gray);
}

.tier-benefits svg {
  width: 18px;
  height: 18px;
  color: var(--success);
}

.upgrade-note {
  font-size: 13px;
  color: var(--light-gray);
  text-align: center;
}

/* Success State */
.auth-success-state {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: #22c55e;
}

.auth-success-state h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.auth-success-state p {
  color: var(--light-gray);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Auth Responsive */
@media (max-width: 768px) {
  .auth-section {
    padding: 40px 16px;
  }

  .auth-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .auth-header h1 {
    font-size: 24px;
  }

  .auth-features {
    display: none;
  }

  .form-options {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ============================================ */
/* DASHBOARD STYLES */
/* ============================================ */

.dashboard-section {
  padding: 40px 24px 80px;
  min-height: calc(100vh - 60px);
  background: linear-gradient(135deg, var(--dark) 0%, #0d0d0d 100%);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.dashboard-welcome h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.dashboard-welcome p {
  color: var(--light-gray);
  font-size: 16px;
}

.dashboard-actions .btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-actions .btn svg {
  width: 18px;
  height: 18px;
}

/* Stats Grid */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--dark-gray);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.stat-icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

.stat-icon-green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.stat-icon-orange {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.stat-content {
  margin-bottom: 12px;
}

.stat-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--light-gray);
}

.stat-progress {
  margin-top: 8px;
}

.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s;
}

.progress-text {
  font-size: 12px;
  color: var(--light-gray);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dashboard-card {
  background: var(--dark-gray);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-card .card-header h2 {
  font-size: 18px;
  font-weight: 600;
}

.card-link {
  font-size: 14px;
  color: var(--primary);
  transition: opacity 0.2s;
}

.card-link:hover {
  opacity: 0.8;
}

/* Subscription Card */
.subscription-info {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.plan-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.plan-badge-free {
  background: rgba(107, 114, 128, 0.2);
  color: #9ca3af;
}

.plan-badge-personal {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.plan-badge-assurance {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.plan-badge-professional {
  background: rgba(255, 212, 0, 0.2);
  color: var(--primary);
}

.plan-badge-admin {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.plan-price {
  margin-bottom: 8px;
}

.price-amount {
  font-size: 36px;
  font-weight: 700;
}

.price-period {
  font-size: 14px;
  color: var(--light-gray);
}

.subscription-date {
  font-size: 13px;
  color: var(--light-gray);
}

.plan-features h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--lighter-gray);
}

.plan-features ul {
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

.plan-features li.disabled {
  color: var(--light-gray);
  opacity: 0.6;
}

.plan-features li.disabled svg {
  color: var(--light-gray);
}

.btn-upgrade {
  width: 100%;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-upgrade svg {
  width: 18px;
  height: 18px;
}

/* Wishlist Card */
.feature-locked {
  text-align: center;
  padding: 40px 20px;
}

.locked-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.locked-icon svg {
  width: 28px;
  height: 28px;
  color: var(--light-gray);
}

.feature-locked h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-locked p {
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 16px;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 212, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.empty-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 16px;
}

.wishlist-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wishlist-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  transition: all 0.2s;
}

.wishlist-item:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateX(4px);
}

.wishlist-image {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.wishlist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: var(--medium-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-image svg {
  width: 24px;
  height: 24px;
  color: var(--light-gray);
}

.wishlist-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.wishlist-location {
  font-size: 12px;
  color: var(--light-gray);
  margin-bottom: 4px;
}

.wishlist-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* Quick Actions */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  transition: all 0.2s;
  text-align: center;
  position: relative;
}

.quick-action:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.quick-action.locked {
  opacity: 0.6;
}

.quick-action .action-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 212, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-action .action-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.quick-action span {
  font-size: 14px;
  font-weight: 500;
}

.lock-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary);
  color: var(--dark);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
}

/* Account Card */
.account-info {
  margin-bottom: 20px;
}

.account-detail {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.account-detail:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 14px;
  color: var(--light-gray);
}

.detail-value {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-value.verified {
  color: var(--success);
}

.detail-value.verified svg {
  width: 14px;
  height: 14px;
}

.detail-value.unverified {
  color: var(--warning);
}

.detail-value.unverified svg {
  width: 14px;
  height: 14px;
}

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

.account-actions-new {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.account-actions-new .pricing-btn {
  width: 100%;
}

.account-actions-new .pricing-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pricing-btn-outline {
  background: transparent;
  color: var(--light-gray);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

/* Button variations */
.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-ghost {
  background: transparent;
  color: var(--light-gray);
  border: none;
  cursor: pointer;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

/* Dashboard Responsive */
@media (max-width: 1024px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-section {
    padding: 24px 16px 60px;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .dashboard-welcome h1 {
    font-size: 24px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .stat-value {
    font-size: 28px;
  }
}

/* ============================================ */
/* SETTINGS PAGE STYLES */
/* ============================================ */

.settings-section {
  padding: 40px 24px 80px;
  min-height: calc(100vh - 60px);
  background: linear-gradient(135deg, var(--dark) 0%, #0d0d0d 100%);
}

.settings-header {
  margin-bottom: 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--light-gray);
  font-size: 14px;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--white);
}

.back-link svg {
  width: 18px;
  height: 18px;
}

.settings-header h1 {
  font-size: 32px;
  font-weight: 700;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
}

.settings-card {
  background: var(--dark-gray);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-card .card-header {
  margin-bottom: 20px;
}

.settings-card .card-header h2 {
  font-size: 18px;
  font-weight: 600;
}

.settings-form .form-group {
  margin-bottom: 20px;
}

.settings-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--lighter-gray);
}

.settings-form input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  font-size: 15px;
  transition: all 0.2s;
}

.settings-form input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Subscription Settings */
.subscription-settings {
  grid-column: span 2;
}

.subscription-details {
  margin-bottom: 20px;
}

.current-plan {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.plan-label {
  font-size: 14px;
  color: var(--light-gray);
}

.renewal-info,
.cancellation-info {
  font-size: 14px;
  color: var(--light-gray);
}

.cancellation-info {
  color: var(--warning);
}

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

/* Danger Zone */
.danger-zone {
  border-color: rgba(239, 68, 68, 0.3);
}

.danger-zone .card-header h2 {
  color: #f87171;
}

.danger-zone p {
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 16px;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

@media (max-width: 768px) {
  .settings-section {
    padding: 24px 16px 60px;
  }

  .settings-header h1 {
    font-size: 24px;
  }

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

  .subscription-settings {
    grid-column: span 1;
  }
}

/* ============================================ */
/* FEATURE GATING - BLUR OVERLAY */
/* ============================================ */

.feature-gated {
  position: relative;
}

.feature-gated-content {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.feature-gated-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  z-index: 10;
}

.gated-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 212, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.gated-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.feature-gated-overlay h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-gated-overlay p {
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 20px;
  max-width: 300px;
}

.upgrade-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--dark);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.upgrade-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.upgrade-cta svg {
  width: 18px;
  height: 18px;
}

/* Inline upgrade prompt */
.upgrade-prompt-inline {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.1) 0%, rgba(255, 212, 0, 0.05) 100%);
  border: 1px solid rgba(255, 212, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 16px 0;
}

.upgrade-prompt-inline .prompt-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.upgrade-prompt-inline .prompt-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.upgrade-prompt-inline .prompt-icon svg {
  width: 20px;
  height: 20px;
  color: var(--dark);
}

.upgrade-prompt-inline h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.upgrade-prompt-inline p {
  font-size: 13px;
  color: var(--light-gray);
}

.upgrade-prompt-inline .btn {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .upgrade-prompt-inline {
    flex-direction: column;
    text-align: center;
  }

  .upgrade-prompt-inline .prompt-content {
    flex-direction: column;
  }
}

/* ==========================================
   RESTRICTED OVERLAY STYLES (Blur + Overlay)
   ========================================== */

.page-content-wrapper {
  position: relative;
}

.page-content-wrapper.content-restricted {
  position: relative;
}

.page-content-wrapper.content-restricted > section,
.page-content-wrapper.content-restricted > div:not(.restricted-overlay) {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.restricted-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(4px);
  pointer-events: auto;
}

.restricted-overlay a,
.restricted-overlay button,
.restricted-overlay .pricing-btn {
  pointer-events: auto;
  cursor: pointer;
}

.restricted-overlay-content {
  background: var(--dark-gray);
  border-radius: 24px;
  padding: 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255, 212, 0, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  animation: overlay-appear 0.3s ease-out;
}

@keyframes overlay-appear {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.restricted-icon {
  font-size: 72px;
  margin-bottom: 24px;
  display: block;
}

.restricted-overlay-content h2 {
  font-size: 26px;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 700;
}

.restricted-description {
  font-size: 16px;
  color: var(--light-gray);
  margin-bottom: 28px;
  line-height: 1.6;
}

.restricted-usage {
  background: rgba(255, 212, 0, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 212, 0, 0.2);
}

.usage-bar-wrapper {
  background: var(--medium-gray);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.usage-bar-fill {
  background: linear-gradient(90deg, var(--error) 0%, var(--warning) 100%);
  height: 100%;
  border-radius: 6px;
  transition: width 0.4s ease;
}

.usage-count {
  font-size: 14px;
  color: var(--lighter-gray);
}

.current-tier-badge {
  display: inline-block;
  background: var(--medium-gray);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  color: var(--light-gray);
  margin-bottom: 28px;
}

.current-tier-badge strong {
  color: var(--primary);
}

.restricted-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.restricted-actions .pricing-btn {
  border: none;
  cursor: pointer;
}

@media (max-width: 640px) {
  .restricted-overlay-content {
    padding: 32px 24px;
  }

  .restricted-icon {
    font-size: 56px;
  }

  .restricted-overlay-content h2 {
    font-size: 22px;
  }

  .restricted-description {
    font-size: 15px;
  }
}

/* ==========================================
   UPGRADE PAGE STYLES
   ========================================== */

.upgrade-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
  padding: 80px 0 60px;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.upgrade-message-box {
  background: var(--dark-gray);
  border-radius: 20px;
  padding: 48px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(255, 212, 0, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.upgrade-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.upgrade-message-box h1 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 12px;
}

.upgrade-description {
  font-size: 16px;
  color: var(--light-gray);
  margin-bottom: 24px;
}

.upgrade-usage-info {
  background: rgba(255, 212, 0, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.usage-bar-container {
  background: var(--medium-gray);
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}

.usage-bar {
  background: linear-gradient(90deg, var(--error) 0%, var(--warning) 100%);
  height: 100%;
  border-radius: 8px;
  transition: width 0.5s ease;
}

.usage-text {
  font-size: 14px;
  color: var(--lighter-gray);
}

.usage-text strong {
  color: var(--white);
}

.current-plan-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--medium-gray);
  border-radius: 30px;
  display: inline-flex;
}

.current-label {
  font-size: 14px;
  color: var(--light-gray);
}

.current-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.upgrade-plans {
  padding: 60px 0 80px;
  background: var(--dark);
}

.upgrade-plans h2 {
  font-size: 32px;
  text-align: center;
  color: var(--white);
  margin-bottom: 8px;
}

.upgrade-subtitle {
  text-align: center;
  color: var(--light-gray);
  font-size: 16px;
  margin-bottom: 40px;
}

.upgrade-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.upgrade-plan-card {
  background: var(--dark-gray);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  border: 1px solid var(--medium-gray);
  transition: all 0.3s ease;
}

.upgrade-plan-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.upgrade-plan-card.recommended {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--dark-gray) 0%, rgba(255, 212, 0, 0.1) 100%);
}

.recommended-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upgrade-plan-card h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 16px;
  text-align: center;
}

.plan-price {
  text-align: center;
  margin-bottom: 24px;
}

.plan-price .currency {
  font-size: 18px;
  color: var(--light-gray);
  vertical-align: top;
}

.plan-price .amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
}

.plan-price .period {
  font-size: 14px;
  color: var(--light-gray);
}

.plan-limits {
  list-style: none;
  margin-bottom: 28px;
}

.plan-limits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--lighter-gray);
  border-bottom: 1px solid var(--medium-gray);
}

.plan-limits li:last-child {
  border-bottom: none;
}

.limit-icon {
  font-size: 18px;
}

.upgrade-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.upgrade-btn.primary {
  background: var(--primary);
  color: var(--dark);
}

.upgrade-btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.upgrade-btn.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--medium-gray);
}

.upgrade-btn.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.upgrade-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.upgrade-footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

.view-all-plans,
.back-link {
  font-size: 14px;
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.view-all-plans:hover,
.back-link:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .upgrade-message-box {
    padding: 32px 24px;
  }

  .upgrade-message-box h1 {
    font-size: 24px;
  }

  .upgrade-icon {
    font-size: 48px;
  }

  .upgrade-plans h2 {
    font-size: 26px;
  }

  .plan-price .amount {
    font-size: 40px;
  }

  .upgrade-footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* ==========================================
   Custom Dropdown Styles
   ========================================== */

.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
}

.custom-select-trigger:hover {
  border-color: rgba(255, 212, 0, 0.3);
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.custom-select-trigger-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-trigger-text.placeholder {
  color: var(--light-gray);
}

.custom-select-arrow {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  color: var(--light-gray);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  flex-shrink: 0;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(45, 45, 45, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: rgba(255, 212, 0, 0.3);
  border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 212, 0, 0.5);
}

.custom-select-option {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--lighter-gray);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.custom-select-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.custom-select-option:hover {
  background: rgba(255, 212, 0, 0.1);
  color: var(--white);
}

.custom-select-option:hover::before {
  transform: scaleY(1);
}

.custom-select-option.selected {
  background: rgba(255, 212, 0, 0.15);
  color: var(--primary);
  font-weight: 500;
}

.custom-select-option.selected::before {
  transform: scaleY(1);
}

.custom-select-option:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dual select variant for price range / bedrooms */
.filter-dual-select .custom-select-wrapper {
  flex: 1;
  min-width: 0;
}

/* Native select hidden but accessible */
.custom-select select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* Sort dropdown specific styling */
.sort-wrapper .custom-select-trigger {
  padding: 10px 14px;
  font-size: 13px;
  background: var(--dark-gray);
  min-width: 180px;
}

.sort-wrapper .custom-select-options {
  min-width: 180px;
}

/* Animation for option appearance */
.custom-select.open .custom-select-option {
  animation: optionFadeIn 0.3s ease forwards;
  opacity: 0;
}

.custom-select.open .custom-select-option:nth-child(1) { animation-delay: 0.02s; }
.custom-select.open .custom-select-option:nth-child(2) { animation-delay: 0.04s; }
.custom-select.open .custom-select-option:nth-child(3) { animation-delay: 0.06s; }
.custom-select.open .custom-select-option:nth-child(4) { animation-delay: 0.08s; }
.custom-select.open .custom-select-option:nth-child(5) { animation-delay: 0.1s; }
.custom-select.open .custom-select-option:nth-child(6) { animation-delay: 0.12s; }
.custom-select.open .custom-select-option:nth-child(7) { animation-delay: 0.14s; }
.custom-select.open .custom-select-option:nth-child(8) { animation-delay: 0.16s; }
.custom-select.open .custom-select-option:nth-child(9) { animation-delay: 0.18s; }
.custom-select.open .custom-select-option:nth-child(10) { animation-delay: 0.2s; }
.custom-select.open .custom-select-option:nth-child(n+11) { animation-delay: 0.22s; }

@keyframes optionFadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hover ripple effect */
.custom-select-option::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 212, 0, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.custom-select-option:active::after {
  width: 200%;
  height: 200%;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .custom-select-options {
    position: fixed;
    top: auto !important;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 50vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .custom-select.open .custom-select-options {
    transform: translateY(0);
  }

  .custom-select-option {
    padding: 16px 20px;
    font-size: 16px;
  }

  /* Backdrop overlay for mobile */
  .custom-select-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99;
  }

  .custom-select.open ~ .custom-select-backdrop,
  .custom-select.open .custom-select-backdrop {
    opacity: 1;
    visibility: visible;
  }
}

/* Focus states for accessibility */
.custom-select-trigger:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.15);
}

.custom-select-option:focus {
  outline: none;
  background: rgba(255, 212, 0, 0.15);
}

/* Keyboard navigation highlight */
.custom-select-option.highlighted {
  background: rgba(255, 212, 0, 0.1);
  color: var(--white);
}

.custom-select-option.highlighted::before {
  transform: scaleY(1);
}

/* ==========================================
   Privacy Policy Page - Green Gradient Design
   ========================================== */

.privacy-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1f0d 25%, #166534 50%, #15803d 75%, #0d1f0d 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.privacy-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.privacy-hero-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  opacity: 0.15;
  top: -250px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.privacy-hero-shapes .shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #4ade80, #86efac);
  opacity: 0.12;
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.privacy-hero-shapes .shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #15803d, #22c55e);
  opacity: 0.1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.privacy-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2));
  color: #4ade80;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  animation: pulse-glow-green 3s ease-in-out infinite;
}

@keyframes pulse-glow-green {
  0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 40px rgba(34, 197, 94, 0.5); }
}

.privacy-hero h1 {
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.privacy-hero h1 span {
  background: linear-gradient(90deg, #22c55e, #4ade80, #22c55e);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.privacy-hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.privacy-section {
  padding: 100px 0 140px;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--dark) 100%);
}

.privacy-content-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 28px;
  padding: 60px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.privacy-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #4ade80, #22c55e);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.privacy-intro {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-intro p {
  color: var(--light-gray);
  font-size: 14px;
}

.privacy-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.privacy-block h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.privacy-block .section-number {
  color: #22c55e;
  font-weight: 800;
}

.privacy-block h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin: 24px 0 12px;
}

.privacy-block p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy-block ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.privacy-block ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.privacy-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  border-radius: 50%;
}

.privacy-block ul li strong {
  color: var(--white);
}

.privacy-block .contact-email {
  background: rgba(34, 197, 94, 0.1);
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: inline-block;
}

.privacy-block .contact-email a {
  color: #4ade80;
  text-decoration: none;
  font-weight: 600;
}

.privacy-block .contact-email a:hover {
  text-decoration: underline;
}

/* Disclaimer Card */
.disclaimer-card {
  background: linear-gradient(145deg, rgba(40, 30, 30, 0.9), rgba(30, 20, 20, 0.95));
  border-radius: 28px;
  padding: 50px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  margin-bottom: 30px;
}

.disclaimer-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.disclaimer-header svg {
  width: 40px;
  height: 40px;
  color: #ef4444;
}

.disclaimer-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.disclaimer-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.disclaimer-content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.disclaimer-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.disclaimer-content ul li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: #ef4444;
  font-weight: 700;
  font-size: 12px;
}

/* Developer Disclaimer Card */
.developer-disclaimer-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 50px;
}

.developer-disclaimer-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.developer-disclaimer-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.developer-disclaimer-card p:last-child {
  margin-bottom: 0;
}

/* Back Link */
.privacy-back-link {
  text-align: center;
}

.privacy-back-link .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.privacy-back-link .btn svg {
  width: 18px;
  height: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .privacy-hero {
    padding: 80px 0 60px;
  }

  .privacy-hero h1 {
    font-size: 36px;
  }

  .privacy-hero p {
    font-size: 16px;
  }

  .privacy-section {
    padding: 60px 0 100px;
  }

  .privacy-content-card {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .privacy-block h2 {
    font-size: 20px;
  }

  .privacy-block h3 {
    font-size: 16px;
  }

  .privacy-block p,
  .privacy-block ul li {
    font-size: 14px;
  }

  .disclaimer-card {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .disclaimer-header h2 {
    font-size: 22px;
  }

  .disclaimer-header svg {
    width: 32px;
    height: 32px;
  }

  .developer-disclaimer-card {
    padding: 28px 24px;
    border-radius: 16px;
  }

  .developer-disclaimer-card h3 {
    font-size: 18px;
  }
}

/* ==========================================
   TERMS OF SERVICE PAGE STYLES
   ========================================== */

.terms-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 25%, #7f1d1d 50%, #991b1b 75%, #1a0a0a 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.terms-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.terms-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.terms-hero-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  opacity: 0.15;
  top: -250px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.terms-hero-shapes .shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #f87171, #fca5a5);
  opacity: 0.12;
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.terms-hero-shapes .shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #b91c1c, #ef4444);
  opacity: 0.1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.terms-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
  color: #f87171;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  animation: pulse-glow-red 3s ease-in-out infinite;
}

@keyframes pulse-glow-red {
  0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }
  50% { box-shadow: 0 0 40px rgba(239, 68, 68, 0.5); }
}

.terms-hero h1 {
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.terms-hero h1 span {
  background: linear-gradient(90deg, #ef4444, #f87171, #ef4444);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.terms-hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.terms-section {
  padding: 100px 0 140px;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--dark) 100%);
}

.terms-content-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 28px;
  padding: 60px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.terms-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #f87171, #ef4444);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.terms-intro {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-intro p {
  color: var(--light-gray);
  font-size: 14px;
  margin: 0;
}

.terms-note {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 30px;
  color: #fca5a5;
  font-size: 14px;
}

.terms-toc {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.terms-toc strong {
  display: block;
  color: var(--white);
  font-size: 16px;
  margin-bottom: 16px;
}

.terms-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 40px;
}

.terms-toc li {
  margin-bottom: 8px;
  color: var(--light-gray);
  font-size: 14px;
}

.terms-toc a {
  color: #f87171;
  text-decoration: none;
  transition: color 0.2s ease;
}

.terms-toc a:hover {
  color: #fca5a5;
  text-decoration: underline;
}

.terms-block {
  margin-bottom: 40px;
  scroll-margin-top: 100px;
}

.terms-block h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.terms-block .section-number {
  color: #ef4444;
  font-weight: 800;
}

.terms-block h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 12px;
  color: rgba(255, 255, 255, 0.9);
}

.terms-block p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 14px;
}

.terms-block ul {
  margin: 12px 0 20px;
  padding-left: 24px;
}

.terms-block ul li {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
}

.terms-block ul li::marker {
  color: #ef4444;
}

.terms-block a {
  color: #f87171;
  text-decoration: none;
  transition: color 0.2s ease;
}

.terms-block a:hover {
  color: #fca5a5;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .terms-hero {
    padding: 80px 0 60px;
  }

  .terms-hero h1 {
    font-size: 36px;
  }

  .terms-hero p {
    font-size: 16px;
  }

  .terms-section {
    padding: 60px 0 100px;
  }

  .terms-content-card {
    padding: 30px 24px;
    border-radius: 20px;
  }

  .terms-toc ol {
    columns: 1;
  }

  .terms-block h2 {
    font-size: 20px;
  }

  .terms-block h3 {
    font-size: 16px;
  }

  .terms-block p,
  .terms-block ul li {
    font-size: 14px;
  }
}

/* ==========================================
   NEWS/BLOG PAGE STYLES
   ========================================== */

.news-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.news-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.news-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.news-hero-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  opacity: 0.15;
  top: -250px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.news-hero-shapes .shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
  opacity: 0.12;
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.news-hero-shapes .shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  opacity: 0.1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.news-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
  color: #60a5fa;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.news-hero h1 {
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.news-hero h1 span {
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.news-hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Featured Section */
.news-featured-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--dark) 100%);
}

.news-featured-section .section-header {
  margin-bottom: 40px;
}

.news-featured-section .section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.news-featured-section .section-header p {
  color: var(--light-gray);
}

.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.featured-main {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: block;
  height: 450px;
}

.featured-main .featured-image {
  position: absolute;
  inset: 0;
}

.featured-main .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-main:hover .featured-image img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.featured-main .featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 2;
}

.featured-main .article-category {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.featured-main h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.featured-main p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--light-gray);
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-small {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  flex: 1;
}

.featured-small .featured-image {
  position: absolute;
  inset: 0;
}

.featured-small .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-small:hover .featured-image img {
  transform: scale(1.05);
}

.featured-small .featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.featured-small .article-category {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.featured-small h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.featured-small .article-date {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* Categories Section */
.news-categories-section {
  padding: 30px 0;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.categories-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-pill svg {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

.category-pill .count {
  background: rgba(255,255,255,0.12);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.category-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.category-pill.active {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.category-pill.active .count {
  background: rgba(0,0,0,0.25);
  color: #fff;
}

/* Per-category colors */
.category-pill.cat-all { border-color: rgba(255,255,255,0.2); }
.category-pill.cat-all:hover, .category-pill.cat-all.active { background: #fff; color: #0a0a0a; border-color: #fff; }

.category-pill.cat-buying-guide { border-color: rgba(59,130,246,0.4); }
.category-pill.cat-buying-guide:hover, .category-pill.cat-buying-guide.active { background: #3b82f6; border-color: #3b82f6; color: #fff; box-shadow: 0 4px 15px rgba(59,130,246,0.35); }

.category-pill.cat-first-time-buyer { border-color: rgba(168,85,247,0.4); }
.category-pill.cat-first-time-buyer:hover, .category-pill.cat-first-time-buyer.active { background: #a855f7; border-color: #a855f7; color: #fff; box-shadow: 0 4px 15px rgba(168,85,247,0.35); }

.category-pill.cat-mortgage { border-color: rgba(34,197,94,0.4); }
.category-pill.cat-mortgage:hover, .category-pill.cat-mortgage.active { background: #22c55e; border-color: #22c55e; color: #fff; box-shadow: 0 4px 15px rgba(34,197,94,0.35); }

.category-pill.cat-costs-finance { border-color: rgba(245,158,11,0.4); }
.category-pill.cat-costs-finance:hover, .category-pill.cat-costs-finance.active { background: #f59e0b; border-color: #f59e0b; color: #0a0a0a; box-shadow: 0 4px 15px rgba(245,158,11,0.35); }

.category-pill.cat-legal { border-color: rgba(239,68,68,0.4); }
.category-pill.cat-legal:hover, .category-pill.cat-legal.active { background: #ef4444; border-color: #ef4444; color: #fff; box-shadow: 0 4px 15px rgba(239,68,68,0.35); }

.category-pill.cat-snagging { border-color: rgba(20,184,166,0.4); }
.category-pill.cat-snagging:hover, .category-pill.cat-snagging.active { background: #14b8a6; border-color: #14b8a6; color: #fff; box-shadow: 0 4px 15px rgba(20,184,166,0.35); }

.category-pill.cat-government { border-color: rgba(99,102,241,0.4); }
.category-pill.cat-government:hover, .category-pill.cat-government.active { background: #6366f1; border-color: #6366f1; color: #fff; box-shadow: 0 4px 15px rgba(99,102,241,0.35); }

.category-pill.cat-location-guide { border-color: rgba(236,72,153,0.4); }
.category-pill.cat-location-guide:hover, .category-pill.cat-location-guide.active { background: #ec4899; border-color: #ec4899; color: #fff; box-shadow: 0 4px 15px rgba(236,72,153,0.35); }

.category-pill.cat-homeownership { border-color: rgba(6,182,212,0.4); }
.category-pill.cat-homeownership:hover, .category-pill.cat-homeownership.active { background: #06b6d4; border-color: #06b6d4; color: #fff; box-shadow: 0 4px 15px rgba(6,182,212,0.35); }

.category-pill.cat-market-news { border-color: rgba(251,146,60,0.4); }
.category-pill.cat-market-news:hover, .category-pill.cat-market-news.active { background: #fb923c; border-color: #fb923c; color: #0a0a0a; box-shadow: 0 4px 15px rgba(251,146,60,0.35); }

.category-pill.cat-investment { border-color: rgba(132,204,22,0.4); }
.category-pill.cat-investment:hover, .category-pill.cat-investment.active { background: #84cc16; border-color: #84cc16; color: #0a0a0a; box-shadow: 0 4px 15px rgba(132,204,22,0.35); }

.category-pill.cat-developer-news { border-color: rgba(244,114,182,0.4); }
.category-pill.cat-developer-news:hover, .category-pill.cat-developer-news.active { background: #f472b6; border-color: #f472b6; color: #fff; box-shadow: 0 4px 15px rgba(244,114,182,0.35); }

/* Articles Grid */
.news-grid-section {
  padding: 60px 0 100px;
  background: var(--dark);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.category-header h2 {
  font-size: 28px;
  font-weight: 700;
}

.clear-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--light-gray);
  font-size: 14px;
  transition: color 0.2s;
}

.clear-filter:hover {
  color: var(--primary);
}

.clear-filter svg {
  width: 16px;
  height: 16px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,212,0,0.3);
}

.article-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-image .article-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-body {
  padding: 24px;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-body p {
  color: var(--light-gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.article-footer .article-date {
  color: var(--light-gray);
  font-size: 13px;
}

.read-more {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.read-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.article-card:hover .read-more svg {
  transform: translateX(4px);
}

.no-articles {
  text-align: center;
  padding: 80px 20px;
  background: rgba(255,255,255,0.02);
  border-radius: 20px;
}

.no-articles svg {
  width: 64px;
  height: 64px;
  color: var(--light-gray);
  margin-bottom: 20px;
}

.no-articles h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.no-articles p {
  color: var(--light-gray);
}

/* Pagination */
/* Blog Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 60px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.6), rgba(20, 20, 30, 0.8));
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-width: 140px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.page-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.page-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.page-btn.prev:hover svg {
  transform: translateX(-4px);
}

.page-btn.next:hover svg {
  transform: translateX(4px);
}

.page-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255,212,0,0.1);
  border-radius: 50px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .pagination {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .page-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  background: var(--darker);
}

.newsletter-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, rgba(255,212,0,0.1), rgba(255,212,0,0.05));
  border: 1px solid rgba(255,212,0,0.2);
  border-radius: 24px;
  padding: 50px;
}

.newsletter-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.newsletter-content p {
  color: var(--light-gray);
  font-size: 16px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  padding: 16px 24px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 15px;
  width: 300px;
}

.newsletter-form input::placeholder {
  color: var(--light-gray);
}

/* Article Detail Page */
.news-article .article-header {
  padding: 140px 0 70px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.news-article .article-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse 50% 70% at 50% 30%, rgba(96,165,250,0.15) 0%, transparent 50%),
              radial-gradient(ellipse 40% 50% at 25% 20%, rgba(52,211,153,0.1) 0%, transparent 50%),
              radial-gradient(ellipse 40% 50% at 75% 20%, rgba(244,114,182,0.1) 0%, transparent 50%),
              radial-gradient(ellipse 60% 40% at 50% 80%, rgba(251,191,36,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.news-article .article-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, #0f172a, transparent);
  pointer-events: none;
}

.news-article .article-header .container {
  position: relative;
  z-index: 1;
}

.news-article .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--light-gray);
  font-size: 14px;
  background: rgba(255,255,255,0.05);
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  transition: color 0.2s;
}

.news-article .back-link:hover {
  color: var(--primary);
  background: rgba(255,212,0,0.1);
  border-color: rgba(255,212,0,0.3);
  transform: translateX(-4px);
}

.news-article .back-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.news-article .back-link:hover svg {
  transform: translateX(-4px);
}

.article-category-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #f59e0b);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(255,212,0,0.3);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,212,0,0.3); }
  50% { box-shadow: 0 4px 30px rgba(255,212,0,0.5); }
}

.news-article .article-header h1 {
  font-size: 52px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,0.85) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 900px;
  margin: 0 auto 24px;
  line-height: 1.2;
}

.news-article .article-header h1 .article-subtitle {
  display: block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-meta-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: var(--light-gray);
  font-size: 14px;
  background: rgba(255,255,255,0.03);
  padding: 16px 32px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.06);
  max-width: fit-content;
  margin: 0 auto;
}

.article-meta-header .author {
  color: var(--primary);
  font-weight: 600;
}

.article-meta-header .views {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-header .views::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.article-meta-header .divider {
  opacity: 0.2;
  font-size: 8px;
}

.article-hero-image {
  max-width: 100%;
  padding: 0 20px 50px;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  margin-top: -40px;
}

.article-hero-image img {
  display: block;
  max-width: 1000px;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(96,165,250,0.1);
  border: 1px solid rgba(96,165,250,0.15);
}

.article-content {
  padding: 30px 0 80px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 20%, #0f172a 100%);
  position: relative;
}

.article-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(96,165,250,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 30% 10%, rgba(52,211,153,0.05) 0%, transparent 50%),
              radial-gradient(ellipse 60% 40% at 70% 10%, rgba(244,114,182,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 32px;
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
}

.content-main {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  background: linear-gradient(135deg, rgba(30,40,60,0.95) 0%, rgba(20,30,50,0.98) 100%);
  border: 1px solid rgba(99,182,255,0.15);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.content-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(99,182,255,0.06) 0%, transparent 100%);
  pointer-events: none;
}

.content-main > *:first-child {
  margin-top: 0;
}

.content-main > *:last-child {
  margin-bottom: 0;
}

.content-main h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: #60a5fa;
  position: relative;
  padding-bottom: 10px;
}

.content-main h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: linear-gradient(90deg, #60a5fa, #34d399);
  border-radius: 2px;
}

.content-main h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 26px 0 12px;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-main h3::before {
  content: '';
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #34d399, #10b981);
  border-radius: 2px;
  flex-shrink: 0;
}

.content-main h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 10px;
  color: #f472b6;
}

.content-main p {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.85);
}

.content-main p:first-of-type {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  border-left: 3px solid #60a5fa;
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(96,165,250,0.1) 0%, transparent 100%);
  border-radius: 0 8px 8px 0;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.content-main strong {
  color: #fbbf24;
  font-weight: 600;
}

.content-main em {
  color: #f472b6;
  font-style: italic;
}

.content-main ul, .content-main ol {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.content-main ul li, .content-main ol li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

.content-main ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 7px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #34d399, #10b981);
  border-radius: 50%;
}

.content-main ol {
  counter-reset: item;
}

.content-main ol li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  transform: none;
  border: none;
}

.content-main blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(244,114,182,0.1) 0%, rgba(168,85,247,0.08) 100%);
  border-left: 4px solid #f472b6;
  border-radius: 0 14px 14px 0;
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  position: relative;
}

.content-main blockquote::before {
  content: '"';
  position: absolute;
  top: -5px;
  left: 12px;
  font-size: 50px;
  font-family: Georgia, serif;
  color: rgba(244,114,182,0.3);
  line-height: 1;
}

.content-main a {
  color: #60a5fa;
  text-decoration: none;
  background: linear-gradient(90deg, #60a5fa, #60a5fa);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
  font-weight: 500;
}

.content-main a:hover {
  background-size: 100% 2px;
  color: #93c5fd;
}

.content-main img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(99,182,255,0.1);
}

.content-main hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99,182,255,0.3), rgba(52,211,153,0.3), transparent);
  margin: 32px 0;
}

.content-main code {
  background: rgba(96,165,250,0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  color: #fbbf24;
  font-family: 'SF Mono', Monaco, monospace;
}

.content-main pre {
  background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(30,40,60,0.5) 100%);
  border: 1px solid rgba(99,182,255,0.15);
  border-radius: 10px;
  padding: 18px;
  overflow-x: auto;
  margin: 20px 0;
  font-size: 13px;
}

.content-main pre code {
  background: none;
  padding: 0;
  color: #a5f3fc;
  font-size: 13px;
}

.content-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: rgba(30,40,60,0.5);
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
}

.content-main th {
  background: linear-gradient(135deg, rgba(96,165,250,0.2), rgba(52,211,153,0.15));
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #60a5fa;
  border-bottom: 2px solid rgba(96,165,250,0.3);
  font-size: 13px;
}

.content-main td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}

.content-main tr:hover td {
  background: rgba(96,165,250,0.05);
}

.content-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-card {
  background: linear-gradient(135deg, rgba(30,40,60,0.9) 0%, rgba(25,35,55,0.95) 100%);
  border: 1px solid rgba(99,182,255,0.12);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.sidebar-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-card h4::before {
  content: '';
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, #60a5fa, #34d399);
  border-radius: 2px;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(96,165,250,0.1) 0%, rgba(52,211,153,0.08) 100%);
  border: 1px solid rgba(99,182,255,0.15);
  border-radius: 12px;
  color: var(--white);
  transition: all 0.3s ease;
  cursor: pointer;
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.share-btn.twitter:hover { background: linear-gradient(135deg, #1da1f2, #0d8bd9); border-color: #1da1f2; }
.share-btn.facebook:hover { background: linear-gradient(135deg, #4267B2, #365899); border-color: #4267B2; }
.share-btn.linkedin:hover { background: linear-gradient(135deg, #0077b5, #005885); border-color: #0077b5; }
.share-btn.copy:hover { background: linear-gradient(135deg, #34d399, #10b981); border-color: #34d399; }
.share-btn.copy.copied { background: linear-gradient(135deg, #22c55e, #16a34a); border-color: #22c55e; }

.related-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(96,165,250,0.05) 0%, rgba(52,211,153,0.03) 100%);
  border: 1px solid rgba(99,182,255,0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.related-item:hover {
  background: linear-gradient(135deg, rgba(96,165,250,0.12) 0%, rgba(52,211,153,0.08) 100%);
  border-color: rgba(96,165,250,0.25);
  transform: translateY(-2px);
}

.related-item img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid rgba(99,182,255,0.1);
}

.related-item > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  flex: 1;
}

.related-item h5 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.4;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-item span {
  font-size: 10px;
  color: #34d399;
  font-weight: 500;
}

/* Blog Page Responsive Styles */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-main {
    min-height: 350px;
  }

  .featured-side {
    flex-direction: row;
  }

  .featured-small {
    min-height: 200px;
  }

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

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

  .content-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .news-hero h1 {
    font-size: 32px;
  }

  .featured-main {
    min-height: 300px;
  }

  .featured-main h3 {
    font-size: 24px;
  }

  .featured-main .featured-content {
    padding: 24px;
  }

  .featured-side {
    flex-direction: column;
  }

  .featured-small {
    min-height: 180px;
  }

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

  .newsletter-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
  }

  .news-article .article-header h1 {
    font-size: 28px;
  }

  .article-meta-header {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .categories-scroll {
    gap: 8px;
    justify-content: flex-start;
  }

  .category-pill {
    padding: 8px 14px;
    font-size: 12px;
  }

  .category-pill .count {
    padding: 2px 6px;
    font-size: 10px;
  }

  .article-body {
    padding: 16px;
  }

  .article-body h3 {
    font-size: 16px;
  }
}

/* ==========================================
   RELATED SEO PAGES SECTION (Blog)
   ========================================== */

.related-seo-pages {
  background: linear-gradient(180deg, #0f172a 0%, #1a1a2e 100%);
  padding: 50px 0;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.related-seo-pages a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .related-seo-pages {
    padding: 30px 0;
  }
}

/* ==========================================
   INTERACTIVE MAP SEARCH STYLES
   ========================================== */

.map-search-page {
  display: flex;
  height: calc(100vh - 80px);
  margin-top: 80px;
}

.map-sidebar {
  width: 420px;
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.98), rgba(15, 15, 25, 0.99));
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-header {
  padding: 30px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sidebar-header h2 svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.sidebar-header p {
  color: var(--light-gray);
  font-size: 14px;
}

.search-filters {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.search-filters .search-input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.search-filters .search-input-wrapper svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--light-gray);
}

.search-filters .search-input-wrapper input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 14px;
}

.search-filters .search-input-wrapper input:focus {
  border-color: var(--primary);
  outline: none;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group.full {
  grid-column: span 2;
}

.filter-group label {
  font-size: 12px;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select {
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
}

/* Custom Toggle Switch */
.toggle-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.toggle-switch input {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255,255,255,0.15);
  border-radius: 24px;
  transition: all 0.3s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.toggle-label {
  font-size: 13px;
  color: var(--light-gray);
  white-space: nowrap;
}

.toggle-switch:hover .toggle-slider {
  background: rgba(255,255,255,0.25);
}

.toggle-switch input:checked:hover + .toggle-slider {
  background: var(--primary-dark);
}

/* Popular destinations row with toggle */
.popular-destinations {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.popular-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* AI Suggestions row with toggle */
.ai-suggestions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.ai-toggle {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .popular-destinations {
    flex-direction: column;
    align-items: flex-start;
  }

  .ai-suggestions-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.results-header {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

#results-count {
  font-size: 14px;
  color: var(--light-gray);
}

.results-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.result-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.02);
  border-radius: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.result-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,212,0,0.3);
}

.result-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.result-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.result-info p {
  font-size: 12px;
  color: var(--light-gray);
  margin-bottom: 6px;
}

.result-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--light-gray);
}

/* Map Container */
.map-container {
  flex: 1;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
  background: #1a1a2e;
}

/* Custom Map Markers */
.custom-marker {
  background: none;
  border: none;
}

.marker-content {
  background: var(--primary) !important;
  color: var(--dark) !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 2px solid var(--primary) !important;
  transition: all 0.2s;
  transform: scale(1);
}

.custom-marker.active .marker-content {
  background: var(--dark) !important;
  color: var(--white) !important;
  border-color: var(--dark) !important;
  transform: scale(1.1);
}

/* Property Card Popup */
.property-card-popup {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 380px;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.98), rgba(20, 20, 30, 0.99));
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.property-card-popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.close-card {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.close-card:hover {
  background: rgba(0,0,0,0.8);
}

.close-card svg {
  width: 16px;
  height: 16px;
}

.card-image {
  position: relative;
  height: 180px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--primary);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
}

.card-status.coming_soon {
  background: #3b82f6;
  color: white;
}

.card-status.sold_out {
  background: #ef4444;
  color: white;
}

.card-content {
  padding: 24px;
}

.card-builder {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0 12px;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--light-gray);
  font-size: 14px;
  margin-bottom: 20px;
}

.card-location svg {
  width: 16px;
  height: 16px;
}

.card-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.card-details .detail {
  text-align: center;
}

.card-details .label {
  display: block;
  font-size: 11px;
  color: var(--light-gray);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-details .value {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.card-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
  transition: all 0.2s;
}

.card-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Map Controls */
.map-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.map-control-btn {
  width: 44px;
  height: 44px;
  background: rgba(30, 30, 40, 0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.map-control-btn:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.map-control-btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================
   AI SEARCH COMPONENT STYLES
   ========================================== */

.ai-search-section {
  background: linear-gradient(145deg, rgba(30, 30, 50, 0.8), rgba(20, 20, 40, 0.9));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.ai-search-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #a78bfa, #8b5cf6);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.ai-search-header {
  text-align: center;
  margin-bottom: 30px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(167, 139, 250, 0.2));
  color: #a78bfa;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.ai-badge svg {
  width: 16px;
  height: 16px;
}

.ai-search-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ai-search-header p {
  color: var(--light-gray);
  font-size: 15px;
}

.ai-search-box {
  margin-bottom: 20px;
}

.ai-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 8px;
  transition: all 0.3s;
}

.ai-input-wrapper:focus-within {
  border-color: var(--primary);
  background: rgba(255, 212, 0, 0.05);
  box-shadow: 0 0 20px rgba(255, 212, 0, 0.1);
}

.ai-input-icon {
  width: 24px;
  height: 24px;
  margin-left: 16px;
  color: var(--primary);
}

.ai-input-wrapper input {
  flex: 1;
  padding: 16px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 15px;
}

.ai-input-wrapper input::placeholder {
  color: var(--light-gray);
}

.ai-input-wrapper input:focus {
  outline: none;
}

.ai-search-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  border: none;
  border-radius: 12px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.ai-search-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 212, 0, 0.3);
}

.ai-search-submit svg {
  width: 18px;
  height: 18px;
}

.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.suggestions-label {
  font-size: 13px;
  color: var(--light-gray);
}

.ai-suggestion {
  padding: 8px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 100px;
  color: #a78bfa;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-suggestion:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

.ai-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
}

.ai-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(139, 92, 246, 0.2);
  border-top-color: #8b5cf6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ai-loading p {
  color: var(--light-gray);
  font-size: 14px;
}

.ai-search-results {
  margin-top: 30px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.ai-search-results.visible {
  opacity: 1;
  transform: translateY(0);
}

.ai-message {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.ai-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-avatar svg {
  width: 20px;
  height: 20px;
  color: white;
}

.ai-response {
  flex: 1;
}

.ai-response p {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  line-height: 1.6;
}

.ai-suggestion-text {
  margin-top: 12px;
  color: var(--light-gray) !important;
  font-size: 14px !important;
}

.ai-suggestion-text em {
  color: #a78bfa;
}

.ai-properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ai-property-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ai-property-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
}

.ai-property-image {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.ai-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ai-poi-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.ai-poi-badge svg {
  width: 12px;
  height: 12px;
}

.ai-poi-info {
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 6px;
  font-size: 12px;
  color: #10b981;
}

.ai-property-card:hover .ai-property-image img {
  transform: scale(1.1);
}

.ai-property-info {
  padding: 16px;
}

.ai-property-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.ai-property-location {
  color: var(--light-gray);
  font-size: 13px;
  margin-bottom: 12px;
}

.ai-property-details {
  display: flex;
  gap: 12px;
  font-size: 13px;
}

.ai-property-details span {
  color: var(--light-gray);
}

.ai-property-details span:first-child {
  color: var(--primary);
  font-weight: 600;
}

.ai-match-reason {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  color: #a78bfa;
}

.ai-no-results {
  text-align: center;
  padding: 40px;
}

.ai-no-results svg {
  width: 48px;
  height: 48px;
  color: var(--light-gray);
  margin-bottom: 16px;
}

.ai-no-results p {
  color: var(--light-gray);
}

.ai-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #f87171;
}

.ai-view-all {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* AI Chat Style */
.ai-chat-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.ai-chat-bubble {
  display: flex;
  gap: 12px;
  max-width: 100%;
}

.ai-chat-bubble.user-bubble {
  justify-content: flex-end;
}

.ai-chat-bubble.user-bubble .chat-bubble-content {
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.2);
  border-radius: 16px 16px 4px 16px;
}

.ai-chat-bubble.ai-bubble {
  justify-content: flex-start;
}

.ai-chat-bubble.ai-bubble .chat-bubble-content {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px 16px 16px 4px;
}

.ai-chat-bubble .ai-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-chat-bubble .ai-avatar svg {
  width: 22px;
  height: 22px;
  color: #8b5cf6;
}

.chat-bubble-content {
  padding: 16px 20px;
  max-width: 600px;
}

.chat-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
  font-weight: 600;
}

.user-bubble .chat-label {
  color: rgba(255, 212, 0, 0.7);
}

.ai-bubble .chat-label {
  color: rgba(139, 92, 246, 0.8);
}

.chat-bubble-content p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.ai-understanding {
  background: rgba(139, 92, 246, 0.15);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px !important;
  border-left: 3px solid #8b5cf6;
}

.ai-result-message {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

.ai-results-count {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 640px) {
  .chat-bubble-content {
    padding: 12px 16px;
    max-width: 100%;
  }

  .ai-chat-bubble .ai-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .ai-chat-bubble .ai-avatar svg {
    width: 18px;
    height: 18px;
  }
}

.ai-pagination {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
}

.ai-page-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.ai-page-btn:hover:not(.disabled) {
  background: rgba(255, 212, 0, 0.1);
  border-color: rgba(255, 212, 0, 0.3);
  color: var(--primary);
}

.ai-page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  font-weight: 700;
}

.ai-page-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}

.ai-page-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ai-page-info {
  display: inline-block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0 16px;
  white-space: nowrap;
}

/* POI Location Input Styles */
.poi-location-input-wrapper {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.poi-location-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.poi-location-input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.1);
}

.poi-location-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.poi-location-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.poi-location-submit:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.poi-location-submit svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.poi-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}

.poi-suggestions-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.poi-location-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 6px 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.poi-location-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  color: #a78bfa;
}

.ai-detected-filters {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(255, 212, 0, 0.1);
  border-radius: 8px;
  color: var(--primary);
  font-size: 13px;
}

@media (max-width: 640px) {
  .ai-pagination {
    gap: 6px;
  }

  .ai-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .ai-page-info {
    width: 100%;
    text-align: center;
    margin: 8px 0;
    order: 10;
  }

  .poi-location-input-wrapper {
    flex-direction: column;
  }

  .poi-location-submit {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-main {
    height: 350px;
  }

  .featured-side {
    flex-direction: row;
  }

  .featured-small {
    height: 200px;
  }

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

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

  .content-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .map-sidebar {
    width: 350px;
  }

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

@media (max-width: 768px) {
  .news-hero {
    padding: 80px 0 60px;
  }

  .news-hero h1 {
    font-size: 36px;
  }

  .news-hero p {
    font-size: 16px;
  }

  .featured-main h3 {
    font-size: 24px;
  }

  .featured-side {
    flex-direction: column;
  }

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

  .newsletter-card {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
  }

  .news-article .article-header h1 {
    font-size: 32px;
  }

  .news-article .article-header h1 .article-subtitle {
    font-size: 18px;
    margin-top: 8px;
  }

  .article-meta-header {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .map-search-page {
    flex-direction: column;
    height: auto;
  }

  .map-sidebar {
    width: 100%;
    max-height: 50vh;
  }

  .map-container {
    height: 50vh;
  }

  .property-card-popup {
    width: calc(100% - 40px);
    left: 20px;
    transform: translateY(20px);
  }

  .property-card-popup.visible {
    transform: translateY(0);
  }

  .ai-search-section {
    padding: 24px;
  }

  .ai-search-header h3 {
    font-size: 22px;
  }

  .ai-input-wrapper {
    flex-direction: column;
    padding: 16px;
  }

  .ai-input-icon {
    display: none;
  }

  .ai-input-wrapper input {
    padding: 12px 0;
  }

  .ai-search-submit {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
  }

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

/* ==========================================
   FOOTER CTA SECTION STYLES
   ========================================== */

.footer-cta-section {
  background: linear-gradient(180deg, var(--dark) 0%, rgba(20, 20, 30, 1) 100%);
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.footer-cta-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-cta-card:hover::before {
  opacity: 1;
}

.footer-cta-card:hover {
  transform: translateY(-4px);
}

/* About Card - Teal/Cyan gradient */
.about-card {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.about-card::before {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.25), rgba(6, 182, 212, 0.15));
}

.about-card:hover {
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 10px 40px rgba(20, 184, 166, 0.2);
}

.about-card .cta-icon {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.about-card .cta-icon svg {
  color: #2dd4bf;
}

.about-card h4 {
  color: #2dd4bf;
}

.about-card .cta-arrow svg {
  color: #2dd4bf;
}

/* Contact Card - Yellow/Orange gradient */
.contact-card {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(251, 191, 36, 0.1));
  border: 1px solid rgba(255, 212, 0, 0.3);
}

.contact-card::before {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.25), rgba(251, 191, 36, 0.15));
}

.contact-card:hover {
  border-color: rgba(255, 212, 0, 0.5);
  box-shadow: 0 10px 40px rgba(255, 212, 0, 0.2);
}

.contact-card .cta-icon {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(251, 191, 36, 0.2));
  border: 1px solid rgba(255, 212, 0, 0.3);
}

.contact-card .cta-icon svg {
  color: var(--primary);
}

.contact-card h4 {
  color: var(--primary);
}

.contact-card .cta-arrow svg {
  color: var(--primary);
}

/* CTA Card Elements */
.cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-icon svg {
  width: 26px;
  height: 26px;
}

.cta-content {
  flex: 1;
}

.cta-content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.cta-arrow {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cta-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.footer-cta-card:hover .cta-arrow {
  background: rgba(255, 255, 255, 0.1);
}

.footer-cta-card:hover .cta-arrow svg {
  transform: translateX(4px);
}

/* Footer Bottom Links */
.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
  .footer-cta-section {
    padding: 40px 0;
  }

  .footer-cta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-cta-card {
    padding: 20px 24px;
  }

  .cta-icon {
    width: 48px;
    height: 48px;
  }

  .cta-icon svg {
    width: 22px;
    height: 22px;
  }

  .cta-content h4 {
    font-size: 18px;
  }

  .cta-content p {
    font-size: 13px;
  }

  .cta-arrow {
    width: 36px;
    height: 36px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
  }
}

/* ==========================================
   NEW HOMEPAGE - CloudSwitched Style
   ========================================== */

/* Hero Landing Section */
.hero-landing {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
  background: #0a0a0f;
}

.hero-landing-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 212, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 212, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 107, 107, 0.1));
  top: -200px;
  right: -100px;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  bottom: -150px;
  left: -150px;
  animation-delay: -3s;
}

.hero-glow-3 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.1);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}

.hero-landing-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero-landing-text {
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 12px;
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-landing h1 {
  font-size: 72px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -3px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), #ff6b6b, var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

.hero-description {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--primary);
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(255, 212, 0, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 212, 0, 0.4);
}

.btn-hero-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.btn-hero-primary:hover svg {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all 0.3s;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 18px 32px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-hero-ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-value {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
}

/* Pain Points Section */
.pain-points-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.pain-points-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.section-intro {
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

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

.section-tag {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 212, 0, 0.1));
  border: 1px solid rgba(255, 212, 0, 0.4);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 212, 0, 0.15);
}

.section-intro h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-intro h2 span {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  line-height: 1.6;
}

.section-intro.center .section-subtitle {
  margin: 0 auto;
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.pain-point-card {
  padding: 36px;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(30, 30, 50, 0.6));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pain-point-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #6366f1, #3B82F6);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.pain-point-card:hover {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.18), rgba(40, 40, 60, 0.8));
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.pain-point-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.pain-point-icon svg {
  width: 30px;
  height: 30px;
}

.pain-point-icon-red {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.pain-point-icon-red svg {
  stroke: #60a5fa;
}

.pain-point-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.pain-point-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* Solutions Section */
.solutions-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #16213e 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.solutions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.solution-card {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 36px;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(30, 30, 50, 0.6));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.1), rgba(30, 30, 50, 0.6));
  border-color: rgba(16, 185, 129, 0.2);
}

.solution-card:nth-child(3) {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(30, 30, 50, 0.6));
  border-color: rgba(139, 92, 246, 0.2);
}

.solution-card:nth-child(4) {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.1), rgba(30, 30, 50, 0.6));
  border-color: rgba(245, 158, 11, 0.2);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.solution-card:nth-child(1):hover {
  border-color: rgba(255, 212, 0, 0.5);
  box-shadow: 0 20px 40px rgba(255, 212, 0, 0.15);
}

.solution-card:nth-child(2):hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.solution-card:nth-child(3):hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.solution-card:nth-child(4):hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

.solution-card-hover-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.solution-card:hover .solution-card-hover-bg {
  opacity: 1;
}

.solution-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.12), rgba(255, 107, 107, 0.05), rgba(30, 30, 50, 0.6));
  border: 2px solid rgba(255, 212, 0, 0.3);
}

.solution-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #ff6b6b, var(--primary));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.solution-card-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 212, 0, 0.1));
  border: 1px solid rgba(255, 212, 0, 0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  box-shadow: 0 8px 20px rgba(255, 212, 0, 0.15);
}

.solution-card:nth-child(2) .solution-card-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.1));
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.solution-card:nth-child(2) .solution-card-icon svg {
  stroke: #10b981;
}

.solution-card:nth-child(3) .solution-card-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(139, 92, 246, 0.1));
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15);
}

.solution-card:nth-child(3) .solution-card-icon svg {
  stroke: #8b5cf6;
}

.solution-card:nth-child(4) .solution-card-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.1));
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
}

.solution-card:nth-child(4) .solution-card-icon svg {
  stroke: #f59e0b;
}

.solution-card:hover .solution-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.solution-card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
}

.solution-card-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.solution-card-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.solution-card-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.solution-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.3s;
}

.solution-card:nth-child(2) .solution-card-link {
  color: #10b981;
}

.solution-card:nth-child(3) .solution-card-link {
  color: #a78bfa;
}

.solution-card:nth-child(4) .solution-card-link {
  color: #fbbf24;
}

.solution-card:hover .solution-card-link {
  gap: 14px;
}

.solution-card-link svg {
  width: 18px;
  height: 18px;
}

/* Builders Showcase Section */
.builders-showcase-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #1a1a2e 0%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.builders-showcase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 212, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.builders-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.builder-showcase-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.builder-showcase-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 212, 0, 0.4);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.builder-showcase-logo {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.builder-showcase-card:hover .builder-showcase-logo {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.builder-showcase-logo span {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.builder-showcase-name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.builder-showcase-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(255, 212, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}

.builder-showcase-card:hover .builder-showcase-arrow {
  opacity: 1;
  transform: translateX(0);
  background: rgba(255, 212, 0, 0.2);
}

.builder-showcase-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
}

.builders-showcase-cta {
  text-align: center;
  position: relative;
  z-index: 1;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.05));
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  border: 2px solid rgba(255, 212, 0, 0.4);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 4px 15px rgba(255, 212, 0, 0.1);
}

.btn-view-all:hover {
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 212, 0, 0.3);
}

.btn-view-all svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.btn-view-all:hover svg {
  transform: translateX(5px);
  stroke: var(--dark);
}

/* Benefits Section */
.benefits-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0f3460 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 100% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.benefit-card {
  display: flex;
  gap: 24px;
  padding: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.benefit-card:nth-child(1) {
  border-left: 3px solid #3b82f6;
}

.benefit-card:nth-child(2) {
  border-left: 3px solid #10b981;
}

.benefit-card:nth-child(3) {
  border-left: 3px solid #8b5cf6;
}

.benefit-card:nth-child(4) {
  border-left: 3px solid #f59e0b;
}

.benefit-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  transform: translateY(-6px) translateX(4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.benefit-card:nth-child(1):hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.benefit-card:nth-child(2):hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.benefit-card:nth-child(3):hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.benefit-card:nth-child(4):hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.1);
}

.benefit-number {
  flex-shrink: 0;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 2px;
}

.benefit-card:nth-child(1) .benefit-number {
  color: transparent;
  -webkit-text-stroke-color: rgba(59, 130, 246, 0.4);
}

.benefit-card:nth-child(2) .benefit-number {
  color: transparent;
  -webkit-text-stroke-color: rgba(16, 185, 129, 0.4);
}

.benefit-card:nth-child(3) .benefit-number {
  color: transparent;
  -webkit-text-stroke-color: rgba(139, 92, 246, 0.4);
}

.benefit-card:nth-child(4) .benefit-number {
  color: transparent;
  -webkit-text-stroke-color: rgba(245, 158, 11, 0.4);
}

.benefit-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.benefit-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* Blog Highlights Section */
.blog-highlights-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  position: relative;
}

.blog-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.blog-highlight-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-highlight-image {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #1a1a2e;
}

.blog-highlight-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

.blog-highlight-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(245, 158, 11, 0.95);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  z-index: 1;
}

.blog-highlight-day {
  font-size: 22px;
  font-weight: 800;
  color: #000;
}

.blog-highlight-month {
  font-size: 11px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-highlight-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-highlight-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f59e0b;
  margin-bottom: 12px;
}

.blog-highlight-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-highlight-card:hover .blog-highlight-title {
  color: #f59e0b;
}

.blog-highlight-excerpt {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-highlight-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #f59e0b;
  transition: gap 0.3s ease;
}

.blog-highlight-card:hover .blog-highlight-readmore {
  gap: 10px;
}

.blog-highlights-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .blog-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-highlights-section {
    padding: 60px 0;
  }
  .blog-highlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blog-highlight-image {
    height: 180px;
  }
}

/* Resources Highlights Section */
.resources-highlights-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
  position: relative;
}

.resources-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.resource-highlight-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.resource-highlight-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.resource-highlight-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-highlight-content {
  flex: 1;
  min-width: 0;
}

.resource-highlight-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.resource-highlight-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 4px 0 6px;
  line-height: 1.3;
}

.resource-highlight-card:hover .resource-highlight-title {
  color: #f59e0b;
}

.resource-highlight-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resource-highlight-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.resource-highlight-card:hover .resource-highlight-arrow {
  color: #f59e0b;
  transform: translateX(4px);
}

.resources-highlights-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .resources-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .resources-highlights-section {
    padding: 60px 0;
  }
  .resources-highlights-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .resource-highlight-card {
    padding: 16px;
  }
  .resource-highlight-icon {
    width: 44px;
    height: 44px;
  }
}

/* Final CTA Section */
.final-cta-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #1a1a2e 0%, #0a0a0f 100%);
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 212, 0, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-card {
  position: relative;
  padding: 80px 60px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 107, 107, 0.08), rgba(139, 92, 246, 0.05));
  border: 2px solid rgba(255, 212, 0, 0.3);
  border-radius: 32px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.final-cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 212, 0, 0.15), transparent 70%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
}

.final-cta-content h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.final-cta-content h2 span {
  color: var(--primary);
}

.final-cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto 36px;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive - New Homepage */
@media (max-width: 1024px) {
  .hero-landing h1 {
    font-size: 52px;
  }

  .hero-stats-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
  }

  .hero-stat-divider {
    display: none;
  }

  .pain-points-grid {
    grid-template-columns: 1fr;
  }

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

  .solution-card-featured {
    grid-column: span 1;
  }

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

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

@media (max-width: 768px) {
  .hero-landing {
    min-height: auto;
    padding: 60px 0 40px;
  }

  .hero-landing h1 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    padding: 24px;
    gap: 20px;
  }

  .hero-stat-value {
    font-size: 28px;
  }

  .pain-points-section,
  .solutions-section,
  .builders-showcase-section,
  .benefits-section,
  .final-cta-section {
    padding: 60px 0;
  }

  .section-intro h2 {
    font-size: 32px;
  }

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

  .final-cta-card {
    padding: 48px 24px;
  }

  .final-cta-content h2 {
    font-size: 28px;
  }

  .final-cta-buttons {
    flex-direction: column;
  }

  .final-cta-buttons .btn-hero-primary,
  .final-cta-buttons .btn-hero-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   LOCATION ANALYTICS PAGE - ULTRA VIBRANT
   ============================================ */

@keyframes la-gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes la-neon-pulse {
  0%, 100% {
    box-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor;
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor;
    opacity: 0.8;
  }
}

@keyframes la-float-glow {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: blur(80px);
  }
  50% {
    transform: translateY(-40px) scale(1.1);
    filter: blur(100px);
  }
}

@keyframes la-shimmer-border {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes la-card-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.15); }
  50% { box-shadow: 0 0 50px rgba(139, 92, 246, 0.25), 0 0 80px rgba(236, 72, 153, 0.15); }
}

@keyframes la-sparkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

/* Hero Section */
.la-hero {
  position: relative;
  padding: 40px 0 32px;
  background:
    linear-gradient(135deg,
      #030014 0%,
      #0f0728 15%,
      #1a0a3e 30%,
      #2d1b69 45%,
      #4c1d95 55%,
      #2d1b69 70%,
      #1a0a3e 85%,
      #0f0728 100%
    );
  background-size: 400% 400%;
  animation: la-gradient-flow 10s ease infinite;
  overflow: hidden;
  text-align: center;
}

.la-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(236, 72, 153, 0.4) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 20%, rgba(59, 130, 246, 0.35) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(6, 182, 212, 0.3) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 85%, rgba(245, 158, 11, 0.25) 0%, transparent 40%);
  pointer-events: none;
}

.la-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.la-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.la-hero-shape {
  position: absolute;
  border-radius: 50%;
}

.la-hero-shape-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  top: -250px;
  right: -150px;
  opacity: 0.4;
  animation: la-float-glow 8s ease-in-out infinite;
}

.la-hero-shape-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  bottom: -200px;
  left: -150px;
  opacity: 0.35;
  animation: la-float-glow 10s ease-in-out infinite reverse;
}

.la-hero-shape-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #ffd400, #f59e0b);
  top: 40%;
  left: 5%;
  opacity: 0.3;
  animation: la-float-glow 12s ease-in-out infinite 2s;
}

.la-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.la-hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, rgba(236, 72, 153, 0.3) 50%, transparent 70%);
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  animation: la-float-glow 6s ease-in-out infinite;
}

.la-hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(6, 182, 212, 0.2) 50%, transparent 70%);
  bottom: -200px;
  right: -150px;
  animation: la-float-glow 8s ease-in-out infinite reverse;
}

.la-hero .container {
  position: relative;
  z-index: 2;
}

.la-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.la-back-link:hover {
  color: var(--primary);
  background: rgba(255, 212, 0, 0.1);
  transform: translateX(-4px);
}

.la-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
  border: 1px solid;
  border-image: linear-gradient(90deg, #8b5cf6, #ec4899, #8b5cf6) 1;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: #e879f9;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  animation: la-card-glow 3s ease-in-out infinite;
}

.la-hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: la-shimmer-border 3s linear infinite;
}

.la-hero h1 {
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.la-hero h1 span {
  background: linear-gradient(135deg, #ffd400, #ff6b6b, #ec4899, #8b5cf6);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: la-gradient-flow 4s ease infinite;
}

.la-hero-subtitle {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(90deg, #ffd400, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(255, 212, 0, 0.3);
}

.la-hero-location {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.la-location-tag {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.la-location-tag:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

/* Main Content Area */
.la-content {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  position: relative;
}

.la-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.la-content .container {
  max-width: 1100px;
  position: relative;
  z-index: 1;
}

/* Tab panels - single column with gaps between sections */
[id^="tab-panel-"] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Section Cards - Dark Design with Effects */
.la-section {
  background: linear-gradient(160deg, #111827 0%, #0F172A 50%, #1E1E2E 100%);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(55, 65, 81, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.la-section:last-child {
  margin-bottom: 0;
}

/* Full-width sections that span both columns */
.la-section.la-full-width {
  grid-column: 1 / -1;
}

.la-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38BDF8, #818CF8, #C084FC, #F472B6, #38BDF8);
  background-size: 200% 100%;
  animation: la-shimmer-border 8s linear infinite;
}

.la-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.la-section:hover {
  transform: translateY(-2px);
  border-color: rgba(75, 85, 99, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.05);
}

.la-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.la-section-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.la-section-icon-wrapper.gold {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  color: #1E2A3A;
  box-shadow: 0 4px 16px rgba(252, 211, 77, 0.25);
}

.la-section-icon-wrapper.blue {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
  color: #1E2A3A;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.25);
}

.la-section-icon-wrapper.green {
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
  color: #1E2A3A;
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.25);
}

.la-section-icon-wrapper.purple {
  background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
  color: #1E2A3A;
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.25);
}

.la-section-icon-wrapper.red {
  background: linear-gradient(135deg, #FB7185 0%, #F43F5E 100%);
  color: #1E2A3A;
  box-shadow: 0 4px 16px rgba(251, 113, 133, 0.25);
}

.la-section-icon-wrapper.cyan {
  background: linear-gradient(135deg, #22D3EE 0%, #06B6D4 100%);
  color: #1E2A3A;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.25);
}

.la-section-icon-wrapper.teal {
  background: linear-gradient(135deg, #2DD4BF 0%, #14B8A6 100%);
  color: #1E2A3A;
  box-shadow: 0 4px 16px rgba(45, 212, 191, 0.25);
}

.la-section-icon-wrapper.indigo {
  background: linear-gradient(135deg, #818CF8 0%, #6366F1 100%);
  color: #1E2A3A;
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.25);
}

.la-section-icon-wrapper.pink {
  background: linear-gradient(135deg, #F472B6 0%, #EC4899 100%);
  color: #1E2A3A;
  box-shadow: 0 4px 16px rgba(244, 114, 182, 0.25);
}

.la-section-icon-wrapper.orange {
  background: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
  color: #1E2A3A;
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.25);
}

.la-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.la-section-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.la-section-header h2 {
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.la-section-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1px;
}

/* Stats Grid */
.la-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.la-stat-card {
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(30, 42, 58, 0.9), rgba(22, 32, 50, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.la-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  opacity: 0.9;
}

.la-stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 50%, rgba(255, 255, 255, 0.06));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.la-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Stat card color variants - top bar accent */
.la-stat-card.gold::before { background: linear-gradient(90deg, #FCD34D, #F59E0B); }
.la-stat-card.blue::before { background: linear-gradient(90deg, #60A5FA, #3B82F6); }
.la-stat-card.green::before { background: linear-gradient(90deg, #34D399, #10B981); }
.la-stat-card.purple::before { background: linear-gradient(90deg, #A78BFA, #8B5CF6); }
.la-stat-card.red::before { background: linear-gradient(90deg, #FB7185, #F43F5E); }
.la-stat-card.cyan::before { background: linear-gradient(90deg, #22D3EE, #06B6D4); }
.la-stat-card.teal::before { background: linear-gradient(90deg, #2DD4BF, #14B8A6); }
.la-stat-card.indigo::before { background: linear-gradient(90deg, #818CF8, #6366F1); }
.la-stat-card.pink::before { background: linear-gradient(90deg, #F472B6, #EC4899); }
.la-stat-card.orange::before { background: linear-gradient(90deg, #FB923C, #F97316); }

/* Hover glows for stat cards */
.la-stat-card.gold:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(252, 211, 77, 0.15); }
.la-stat-card.blue:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(96, 165, 250, 0.15); }
.la-stat-card.green:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(52, 211, 153, 0.15); }
.la-stat-card.purple:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(167, 139, 250, 0.15); }
.la-stat-card.red:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(251, 113, 133, 0.15); }
.la-stat-card.cyan:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(34, 211, 238, 0.15); }
.la-stat-card.teal:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(45, 212, 191, 0.15); }
.la-stat-card.indigo:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(129, 140, 248, 0.15); }
.la-stat-card.pink:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(244, 114, 182, 0.15); }
.la-stat-card.orange:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(251, 146, 60, 0.15); }

.la-stat-icon {
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
}

.la-stat-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  opacity: 0.9;
}

.la-stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.2;
}

/* Colored stat values */
.la-stat-card.gold .la-stat-value { color: #FCD34D; }
.la-stat-card.blue .la-stat-value { color: #60A5FA; }
.la-stat-card.green .la-stat-value { color: #34D399; }
.la-stat-card.purple .la-stat-value { color: #A78BFA; }
.la-stat-card.red .la-stat-value { color: #FB7185; }
.la-stat-card.cyan .la-stat-value { color: #22D3EE; }
.la-stat-card.teal .la-stat-value { color: #2DD4BF; }
.la-stat-card.indigo .la-stat-value { color: #818CF8; }
.la-stat-card.pink .la-stat-value { color: #F472B6; }
.la-stat-card.orange .la-stat-value { color: #FB923C; }

.la-stat-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Highlights Section */
.la-highlights {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.la-highlights h4 {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.la-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.la-highlight-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.la-highlight-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
}

.la-highlight-card:hover {
  transform: translateX(8px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.la-highlight-card.rental::before { background: linear-gradient(180deg, #22c55e, #10b981); }
.la-highlight-card.ownership::before { background: linear-gradient(180deg, #3b82f6, #2563eb); }
.la-highlight-card.education::before { background: linear-gradient(180deg, #8b5cf6, #7c3aed); }
.la-highlight-card.remote::before { background: linear-gradient(180deg, #06b6d4, #0891b2); }
.la-highlight-card.urban::before { background: linear-gradient(180deg, #f59e0b, #d97706); }
.la-highlight-card.transport::before { background: linear-gradient(180deg, #ec4899, #db2777); }

.la-highlight-card.rental:hover { box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15); }
.la-highlight-card.ownership:hover { box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15); }
.la-highlight-card.education:hover { box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15); }
.la-highlight-card.remote:hover { box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15); }
.la-highlight-card.urban:hover { box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15); }
.la-highlight-card.transport:hover { box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15); }

.la-highlight-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.la-highlight-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  opacity: 0.9;
}

.la-highlight-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.la-highlight-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.la-highlight-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.la-highlight-badge {
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Chart Grid */
.la-chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.la-chart-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.la-chart-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.la-chart-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 40px rgba(139, 92, 246, 0.15);
  transform: translateY(-4px);
}

.la-chart-card.full-width {
  grid-column: 1 / -1;
}

.la-chart-card h3 {
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.la-chart-description {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

/* Extra Stats Grid (for additional info in sections) */
.la-extra-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.la-extra-stat {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.la-extra-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 6px;
}

.la-extra-value {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: capitalize;
}

/* Bar Chart */
.la-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.la-bar-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 10px;
}

.la-bar-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.la-bar-container {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-radius: 6px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.la-bar-fill {
  height: 100%;
  border-radius: 8px;
  min-width: 4px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.la-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 8px 8px 0 0;
}

.la-bar-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  min-width: 40px;
  padding-right: 4px;
}

/* Pie Chart */
.la-pie-chart-container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.la-pie-chart-wrapper {
  position: relative;
  flex-shrink: 0;
}

.la-pie-chart {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: relative;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.la-pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: linear-gradient(145deg, #15152a, #0a0a15);
  border-radius: 50%;
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.la-pie-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 120px;
}

.la-pie-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.la-pie-legend-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.la-pie-legend-color {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.la-pie-legend-label {
  flex: 1;
  color: rgba(255, 255, 255, 0.7);
}

.la-pie-legend-value {
  font-weight: 800;
  color: var(--white);
}

/* Insights Grid */
.la-insights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.la-insight-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.la-insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.la-insight-card:hover::before {
  left: 100%;
}

.la-insight-card:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.18));
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.la-insight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.la-insight-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.la-insight-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.la-insight-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.la-insight-detail {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Error State */
.la-error {
  text-align: center;
  padding: 100px 32px;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.1), rgba(20, 20, 35, 0.95));
  border-radius: 32px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  position: relative;
  overflow: hidden;
}

.la-error::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #f87171, #ef4444);
  background-size: 200% 100%;
  animation: la-shimmer-border 3s linear infinite;
}

.la-error-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.la-error-icon svg {
  width: 64px;
  height: 64px;
  stroke: #ef4444;
  opacity: 0.9;
}

.la-error h3 {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #ef4444, #f87171);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.la-error p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  max-width: 450px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Data Source Footer */
.la-data-source {
  text-align: center;
  padding: 40px;
  margin-top: 32px;
  background: linear-gradient(145deg, rgba(20, 20, 35, 0.8), rgba(15, 15, 25, 0.9));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.la-data-source::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), transparent, rgba(139, 92, 246, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.la-source-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(255, 212, 0, 0.4);
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  color: #ffd400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(255, 212, 0, 0.15);
}

.la-data-source p {
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 12px;
}

.la-source-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.la-source-meta span:nth-child(2) {
  color: rgba(139, 92, 246, 0.6);
}

/* Location Details Button in Location Scores Section */
.location-scores-grid .location-details-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  color: #a78bfa;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
  min-height: 100px;
  text-decoration: none;
}

.location-scores-grid .location-details-btn:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.15));
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.location-scores-grid .location-details-btn svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* Crime Section Specific */
.la-stat-sublabel {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.la-crime-insights {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(20, 20, 35, 0.6), rgba(15, 15, 25, 0.7));
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.la-crime-insights h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.la-crime-source {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.la-source-tag {
  padding: 4px 12px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  color: #f87171;
  font-weight: 600;
}

.la-source-date {
  color: rgba(255, 255, 255, 0.4);
}

.la-no-data {
  padding: 40px;
  text-align: center;
  background: linear-gradient(145deg, rgba(20, 20, 35, 0.5), rgba(15, 15, 25, 0.6));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.la-no-data p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Flood Risk Section */
.la-flood-description {
  padding: 10px 12px;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.1), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 8px;
  margin-bottom: 12px;
}

.la-flood-description p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}

.la-station-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.la-station-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.08), rgba(6, 182, 212, 0.03));
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.la-station-item:hover {
  transform: translateX(2px);
  border-color: rgba(6, 182, 212, 0.3);
}

.la-station-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1));
  border-radius: 6px;
  color: #06b6d4;
}

.la-station-icon svg {
  width: 14px;
  height: 14px;
}

.la-station-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.la-station-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.la-station-river {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.la-station-distance {
  font-size: 11px;
  font-weight: 600;
  color: #06b6d4;
  padding: 2px 8px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 6px;
}

.la-flood-alerts {
  margin-top: 12px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
}

.la-flood-alerts h4 {
  font-size: 12px;
  font-weight: 700;
  color: #f87171;
  margin: 0 0 8px 0;
}

.la-flood-alert-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 6px;
  margin-bottom: 6px;
}

.la-alert-icon {
  color: #ef4444;
}

.la-alert-icon svg {
  width: 14px;
  height: 14px;
}

.la-alert-content {
  flex: 1;
}

.la-alert-severity {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #f87171;
  text-transform: uppercase;
}

.la-alert-message {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* Air Quality Section */
.la-air-description {
  padding: 10px 12px;
  background: linear-gradient(145deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.05));
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
  margin-bottom: 12px;
}

.la-air-description p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}

.la-pollutant-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.la-pollutant-item {
  display: grid;
  grid-template-columns: 50px 1fr 60px;
  align-items: center;
  gap: 10px;
}

.la-pollutant-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.la-pollutant-bar-container {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.la-pollutant-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.la-pollutant-value {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
}

.la-health-advice {
  margin-top: 12px;
  padding: 10px 12px;
  background: linear-gradient(145deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.05));
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 8px;
}

.la-health-advice h4 {
  font-size: 12px;
  font-weight: 700;
  color: #14b8a6;
  margin: 0 0 6px 0;
}

.la-health-advice p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}

/* ============================================
   WEATHER SECTION STYLES
   ============================================ */

.la-weather-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .la-weather-row {
    grid-template-columns: 1fr;
  }
}

.la-weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.la-weather-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.la-weather-item:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.la-weather-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.la-weather-icon.warm {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.la-weather-icon.cool {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.la-weather-icon.hot {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.la-weather-icon.cold {
  background: rgba(147, 197, 253, 0.2);
  color: #93c5fd;
}

.la-weather-icon.sunny {
  background: rgba(251, 191, 36, 0.2);
  color: #fcd34d;
}

.la-weather-icon.rainy {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.la-weather-icon.windy {
  background: rgba(156, 163, 175, 0.2);
  color: #d1d5db;
}

.la-weather-details {
  flex: 1;
}

.la-weather-value {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1px;
}

.la-weather-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.la-weather-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 600;
}

.la-stat-sublabel {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  line-height: 1.4;
}

/* ============================================
   BROADBAND SECTION STYLES
   ============================================ */

.la-broadband-speed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  border: 2px solid;
  margin-bottom: 12px;
}

.la-speed-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.la-speed-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.la-broadband-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.la-broadband-bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.la-broadband-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.la-broadband-percent {
  font-weight: 700;
  color: #fff;
}

.la-broadband-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.la-broadband-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease-out;
}

.la-coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.la-coverage-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.la-coverage-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
}

.la-coverage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
  border-radius: 6px;
  color: #a78bfa;
}

.la-coverage-icon svg {
  width: 14px;
  height: 14px;
}

.la-coverage-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.la-coverage-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.la-coverage-value {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.la-providers-section {
  margin-top: 12px;
  padding: 10px 12px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.02));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
}

.la-providers-section h4 {
  font-size: 12px;
  font-weight: 700;
  color: #a78bfa;
  margin: 0 0 8px 0;
}

.la-providers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.la-provider-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
}

.la-provider-tag:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #fff;
}

/* ============================================
   SCHOOLS COMPACT SECTION STYLES
   ============================================ */

.la-schools-compact .la-schools-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.la-school-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.la-school-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}

.la-school-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.la-school-icon.primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
  color: #818cf8;
}

.la-school-icon.secondary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
  color: #a78bfa;
}

.la-school-icon.independent {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.05));
  color: #f472b6;
}

.la-school-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.la-school-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.la-school-type {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: capitalize;
}

.la-school-distance {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* ============================================
   NHS COMPACT SECTION STYLES
   ============================================ */

.la-nhs-compact .la-nhs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.la-nhs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.la-nhs-item:hover {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.3);
}

.la-nhs-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.la-nhs-icon.gp {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.05));
  color: #f472b6;
}

.la-nhs-icon.pharmacy {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.05));
  color: #818cf8;
}

.la-nhs-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.la-nhs-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.la-nhs-type {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.la-nhs-distance {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* ============================================
   GREEN SPACES COMPACT SECTION STYLES
   ============================================ */

.la-section-icon-wrapper.green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05));
  color: #22c55e;
}

.la-green-compact .la-green-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.la-green-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.la-green-item:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}

.la-green-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05));
  color: #22c55e;
}

.la-green-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.la-green-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.la-green-type {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: capitalize;
}

.la-green-distance {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* ============================================
   TRANSPORT COMPACT SECTION STYLES
   ============================================ */

.la-section-icon-wrapper.blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
  color: #3b82f6;
}

.la-transport-compact .la-transport-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.la-transport-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.la-transport-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.la-transport-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.la-transport-icon.bus {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
  color: #3b82f6;
}

.la-transport-icon.train, .la-transport-icon.railway {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
  color: #a78bfa;
}

.la-transport-icon.tube, .la-transport-icon.metro {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.05));
  color: #ef4444;
}

.la-transport-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.la-transport-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.la-transport-type {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: capitalize;
}

.la-transport-distance {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* ============================================
   AMENITIES COMPACT SECTION STYLES
   ============================================ */

.la-section-icon-wrapper.orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.05));
  color: #f97316;
}

.la-amenities-compact .la-amenities-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.la-amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.la-amenity-item:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
}

.la-amenity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.la-amenity-icon.supermarket {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.05));
  color: #f97316;
}

.la-amenity-icon.restaurant {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.05));
  color: #eab308;
}

.la-amenity-icon.cafe {
  background: linear-gradient(135deg, rgba(168, 162, 158, 0.2), rgba(168, 162, 158, 0.05));
  color: #a8a29e;
}

.la-amenity-icon.pub {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
  color: #a78bfa;
}

.la-amenity-icon.shop {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
  color: #3b82f6;
}

.la-amenity-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.la-amenity-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.la-amenity-type {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: capitalize;
}

.la-amenity-distance {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* ============================================
   EV CHARGING COMPACT SECTION STYLES
   ============================================ */

.la-section-icon-wrapper.lime {
  background: linear-gradient(135deg, rgba(132, 204, 22, 0.2), rgba(132, 204, 22, 0.05));
  color: #84cc16;
}

.la-ev-compact .la-ev-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.la-ev-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.la-ev-item:hover {
  background: rgba(132, 204, 22, 0.1);
  border-color: rgba(132, 204, 22, 0.3);
}

.la-ev-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
}

.la-ev-icon.standard {
  background: linear-gradient(135deg, rgba(132, 204, 22, 0.2), rgba(132, 204, 22, 0.05));
  color: #84cc16;
}

.la-ev-icon.fast {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.05));
  color: #eab308;
}

.la-ev-icon.ultrafast {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.05));
  color: #f97316;
}

.la-ev-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.la-ev-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.la-ev-type {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.la-ev-distance {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.la-amenity-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.la-amenity-operator {
  color: rgba(255, 255, 255, 0.6);
}

.la-ev-power {
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

.la-ev-connectors {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.la-ev-connector-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ============================================
   NHS SERVICES SECTION STYLES
   ============================================ */

.la-section-icon-wrapper.pink {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.05));
  color: #f472b6;
}

.la-service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.la-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.la-service-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.la-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  flex-shrink: 0;
}

.la-service-icon svg {
  width: 16px;
  height: 16px;
}

.la-service-info {
  flex: 1;
  min-width: 0;
}

.la-service-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.la-service-address {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.la-service-type-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(34, 197, 94, 0.9);
  background: rgba(34, 197, 94, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.la-service-distance {
  font-size: 12px;
  font-weight: 600;
  color: #a78bfa;
  padding: 4px 8px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 6px;
  flex-shrink: 0;
}

/* ============================================
   GREEN SPACES SECTION STYLES
   ============================================ */

.la-green-list .la-service-item:hover {
  border-color: rgba(34, 197, 94, 0.3);
}

.la-green-list .la-service-distance {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.la-green-summary {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.02));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
}

.la-green-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.la-green-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
}

.la-green-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 12px;
  color: #22c55e;
}

.la-green-stat-icon svg {
  width: 22px;
  height: 22px;
}

.la-green-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.la-green-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* Section icon color variants */
.la-section-icon-wrapper.indigo {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.la-section-icon-wrapper.orange {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.la-section-icon-wrapper.emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.la-section-icon-wrapper.amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.la-section-icon-wrapper.slate {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  box-shadow: 0 8px 24px rgba(100, 116, 139, 0.35);
}

.la-section-icon-wrapper.rose {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.35);
}

.la-section-icon-wrapper.lime {
  background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  box-shadow: 0 8px 24px rgba(132, 204, 22, 0.35);
}

.la-section-icon-wrapper.sky {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

/* House Prices Section */
.la-price-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.la-price-type-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.la-price-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 6px;
  color: #10b981;
}

.la-price-type-icon svg {
  width: 14px;
  height: 14px;
}

.la-price-type-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.la-price-type-name {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.la-price-type-value {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

/* Planning Section */
.la-planning-insight {
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 12px;
}

.la-planning-insight p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* Planning Application Lists */
.la-planning-list-section {
  margin-top: 12px;
}

.la-planning-list-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.la-planning-list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.la-planning-list-icon.major {
  background: rgba(139, 92, 246, 0.2);
  color: #A78BFA;
}

.la-planning-list-icon.pending {
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
}

.la-planning-list-icon.approved {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
}

.la-planning-list-icon svg {
  width: 12px;
  height: 12px;
}

.la-planning-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.la-planning-item {
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.la-planning-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.la-planning-item.major {
  border-left: 3px solid #A78BFA;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.02));
}

.la-planning-item.pending {
  border-left: 3px solid #FBBF24;
}

.la-planning-item.approved {
  border-left: 3px solid #34D399;
}

.la-planning-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}

.la-planning-ref {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
}

.la-planning-status {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.la-planning-status.approved {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
}

.la-planning-status.pending {
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
}

.la-planning-type {
  font-size: 11px;
  font-weight: 500;
  text-transform: capitalize;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.la-planning-description {
  font-size: 12px;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 6px;
}

.la-planning-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.la-planning-address {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.la-planning-info {
  display: flex;
  gap: 12px;
  font-size: 11px;
}

.la-planning-date {
  color: rgba(255, 255, 255, 0.5);
}

.la-planning-distance {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .la-planning-item {
    padding: 12px;
  }

  .la-planning-item-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .la-planning-info {
    flex-direction: column;
    gap: 4px;
  }
}

/* Noise Section */
.la-noise-description {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 16px;
}

.la-noise-description p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.la-noise-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.la-noise-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.la-noise-indicator.warning {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.la-noise-indicator.good {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.la-noise-indicator-icon {
  display: flex;
  align-items: center;
}

.la-noise-indicator-icon svg {
  width: 18px;
  height: 18px;
}

/* Deprivation Section */
.la-deprivation-interpretation {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.la-deprivation-interpretation p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  font-size: 11px;
  margin: 0;
}

.la-domain-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.la-domain-item {
  display: grid;
  grid-template-columns: 90px 1fr 40px;
  align-items: center;
  gap: 8px;
}

.la-domain-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.la-domain-icon {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
}

.la-domain-icon svg {
  width: 12px;
  height: 12px;
}

.la-domain-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.la-domain-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.la-domain-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.la-domain-value {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

/* Council Tax Section */
.la-band-distribution {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

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

.la-band-label {
  font-size: 11px;
  font-weight: 600;
}

.la-band-percent {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.la-band-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.la-band-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .la-hero {
    padding: 28px 0 20px;
  }

  .la-hero h1 {
    font-size: 28px;
  }

  .la-hero-subtitle {
    font-size: 18px;
  }

  .la-content {
    padding: 40px 0 60px;
  }

  .la-content .container {
    padding: 0 16px;
  }

  [id^="tab-panel-"] {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .la-section {
    padding: 16px;
    border-radius: 12px;
  }

  .la-section-header h2 {
    font-size: 14px;
  }

  .la-section-icon-wrapper {
    width: 28px;
    height: 28px;
  }

  .la-section-icon svg {
    width: 14px;
    height: 14px;
  }

  .la-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .la-stat-value {
    font-size: 14px;
  }

  .la-highlights-grid {
    grid-template-columns: 1fr;
  }

  .la-chart-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .la-chart-card {
    padding: 20px;
  }

  .la-bar-row {
    grid-template-columns: 100px 1fr;
  }

  .la-pie-chart-container {
    flex-direction: column;
    align-items: center;
  }

  .la-pie-chart {
    width: 160px;
    height: 160px;
  }

  .la-pie-center {
    width: 70px;
    height: 70px;
  }

  .la-insights-grid {
    flex-direction: column;
  }

  .la-hero-location {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================
   AI CHAT CONVERSATIONAL INTERFACE
   ========================================== */

.ai-chat-container {
  background: linear-gradient(145deg, rgba(30, 30, 50, 0.95), rgba(20, 20, 40, 0.98));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 360px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ai-chat-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #a78bfa, #ec4899, #8b5cf6);
  background-size: 300% auto;
  animation: shimmer 4s linear infinite;
}

/* Chat Header */
.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(139, 92, 246, 0.08);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  flex-shrink: 0;
}

.ai-chat-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-chat-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.ai-chat-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.ai-chat-title-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: white;
}

.ai-chat-title-text .ai-status {
  font-size: 12px;
  color: rgba(167, 139, 250, 0.8);
  font-weight: 500;
}

.ai-chat-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-chat-controls .ai-toggle {
  scale: 0.85;
}

.ai-chat-controls .toggle-label {
  font-size: 12px;
  color: var(--light-gray);
}

.chat-control-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.chat-control-btn:hover {
  background: rgba(139, 92, 246, 0.2);
}

.chat-control-btn svg {
  width: 18px;
  height: 18px;
  color: var(--light-gray);
}

/* Messages Area */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

.ai-chat-messages::-webkit-scrollbar {
  width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 3px;
}

.ai-chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.5);
}

/* Chat Messages */
.chat-message {
  display: flex;
  gap: 12px;
  max-width: 90%;
  animation: messageSlide 0.3s ease;
}

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

.chat-message.user-message {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.chat-message.ai-message {
  align-self: flex-start;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.message-avatar.user-avatar {
  background: linear-gradient(135deg, var(--primary), #f59e0b);
}

.message-avatar.ai-avatar {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.message-avatar svg {
  width: 18px;
  height: 18px;
  color: white;
}

.message-content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.user-message .message-content {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(251, 191, 36, 0.1));
  border: 1px solid rgba(255, 212, 0, 0.2);
  border-radius: 16px 16px 4px 16px;
}

.ai-message .message-content {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px 16px 16px 4px;
}

.message-content p {
  margin: 0 0 8px 0;
}

.message-content p:last-child {
  margin-bottom: 0;
}

.message-content .ai-understanding {
  font-size: 13px;
  color: rgba(167, 139, 250, 0.9);
  font-style: italic;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.message-content .ai-no-match,
.message-content .ai-error {
  color: rgba(239, 68, 68, 0.9);
}

/* Welcome message list */
.welcome-list {
  margin: 12px 0;
  padding-left: 0;
  list-style: none;
}

.welcome-list li {
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 16px 20px !important;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #8b5cf6;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-8px); opacity: 1; }
}

/* Suggestion Buttons */
.suggestion-btn {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: #a78bfa;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.suggestion-btn:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
}

.ai-suggestion-text {
  margin-top: 12px !important;
  font-size: 13px;
}

/* Location Input in Chat */
.location-input-group {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.location-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: white;
  outline: none;
  transition: all 0.2s ease;
}

.location-input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.location-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.location-submit-btn {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.location-submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.location-submit-btn svg {
  width: 18px;
  height: 18px;
  color: white;
}

.location-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.location-quick-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}

.location-quick-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  color: #a78bfa;
}

/* Property Grid in Chat */
.chat-properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.chat-property-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
}

.chat-property-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.chat-property-image {
  position: relative;
  height: 90px;
  overflow: hidden;
}

.chat-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-property-image .poi-distance {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(139, 92, 246, 0.9);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  color: white;
}

.chat-property-info {
  padding: 10px 12px;
}

.chat-property-info h4 {
  font-size: 12px;
  font-weight: 600;
  color: white;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-property-info .location {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-property-info .details {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.chat-property-info .details .price {
  color: var(--primary);
  font-weight: 600;
}

.chat-property-info .poi-info {
  font-size: 10px;
  color: rgba(139, 92, 246, 0.9);
  margin: 6px 0 0 0;
}

/* Results Count */
.results-count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.results-count strong {
  color: var(--primary);
}

/* Chat Results Actions */
.chat-results-actions {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.view-all-btn {
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(251, 191, 36, 0.1));
  border: 1px solid rgba(255, 212, 0, 0.3);
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.view-all-btn:hover {
  background: rgba(255, 212, 0, 0.2);
  transform: translateY(-2px);
}

/* Follow-up Suggestions */
.chat-followup {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.followup-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px !important;
}

.followup-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* AI Detected Filters */
.ai-detected-filters {
  font-size: 12px;
  color: rgba(34, 197, 94, 0.9);
  background: rgba(34, 197, 94, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  margin: 8px 0;
}

/* Suggestions Row */
.ai-suggestions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
  flex-shrink: 0;
}

.ai-suggestions-row::-webkit-scrollbar {
  height: 4px;
}

.ai-suggestions-row::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 2px;
}

.ai-suggestions-row .suggestions-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.ai-chat-suggestion {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  padding: 7px 14px;
  font-size: 12px;
  color: #a78bfa;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ai-chat-suggestion:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

/* Chat Input Wrapper */
.ai-chat-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  flex-shrink: 0;
}

.ai-chat-input-wrapper textarea {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  color: white;
  resize: none;
  min-height: 46px;
  max-height: 120px;
  outline: none;
  font-family: inherit;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.ai-chat-input-wrapper textarea:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.ai-chat-input-wrapper textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.ai-chat-send {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), #f59e0b);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ai-chat-send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 212, 0, 0.4);
}

.ai-chat-send svg {
  width: 20px;
  height: 20px;
  color: var(--dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .chat-properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ai-chat-container {
    height: 380px;
    border-radius: 20px;
  }

  .ai-chat-container.expanded {
    height: 550px;
  }

  .ai-chat-header {
    padding: 12px 16px;
  }

  .ai-chat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .ai-chat-icon svg {
    width: 20px;
    height: 20px;
  }

  .ai-chat-title-text h3 {
    font-size: 16px;
  }

  .ai-chat-controls .ai-toggle {
    display: none;
  }

  .ai-chat-messages {
    padding: 16px;
    gap: 12px;
  }

  .chat-message {
    max-width: 95%;
  }

  .message-avatar {
    width: 32px;
    height: 32px;
  }

  .message-avatar svg {
    width: 16px;
    height: 16px;
  }

  .message-content {
    padding: 12px 14px;
    font-size: 13px;
  }

  .chat-properties-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .chat-property-image {
    height: 70px;
  }

  .chat-property-info {
    padding: 8px 10px;
  }

  .chat-property-info h4 {
    font-size: 11px;
  }

  .ai-suggestions-row {
    padding: 10px 16px;
  }

  .ai-chat-input-wrapper {
    padding: 12px 16px;
  }

  .ai-chat-input-wrapper textarea {
    padding: 10px 14px;
    font-size: 13px;
  }

  .ai-chat-send {
    width: 42px;
    height: 42px;
  }
}

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

  .followup-suggestions {
    flex-direction: column;
  }

  .followup-suggestions .suggestion-btn {
    text-align: center;
  }
}

/* AI Chat Section on Homepage */
.ai-chat-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--dark) 0%, rgba(15, 15, 30, 1) 50%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

.ai-chat-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.ai-chat-section-intro {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.ai-chat-section-intro h2 {
  font-size: 38px;
  font-weight: 800;
  margin: 16px 0;
  line-height: 1.2;
}

.ai-chat-section-intro h2 span {
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-chat-section-intro .section-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.ai-chat-section .ai-chat-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .ai-chat-section {
    padding: 50px 0;
  }

  .ai-chat-section-intro {
    margin-bottom: 30px;
  }

  .ai-chat-section-intro h2 {
    font-size: 28px;
  }

  .ai-chat-section-intro .section-subtitle {
    font-size: 15px;
  }
}

/* AI Chat Wrapper */
.ai-chat-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ai-chat-wrapper.compact .ai-chat-container {
  height: 320px;
}

/* Compact chat adjustments */
.ai-chat-wrapper.compact .ai-chat-messages {
  max-height: 180px;
}

/* AI Results Container - Outside Chat */
.ai-results-container {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.ai-results-container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Results Header */
.ai-results-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-results-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ai-results-title h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.ai-results-count {
  font-size: 14px;
  color: rgba(139, 92, 246, 0.9);
  font-weight: 500;
}

/* Refine Buttons */
.ai-results-refine {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.refine-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.refine-btn {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: #a78bfa;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.refine-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-1px);
}

/* Results Grid */
.ai-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Property Card in Results */
.ai-property-card {
  background: var(--dark-gray);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.ai-property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--primary);
}

.ai-property-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.ai-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.ai-property-card:hover .ai-property-image img {
  transform: scale(1.05);
}

.ai-poi-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(139, 92, 246, 0.95);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: white;
}

.ai-yield-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(34, 197, 94, 0.95);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: white;
}

.ai-property-details {
  padding: 16px;
}

.ai-property-details h4 {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin: 0 0 6px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ai-property-location {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 10px 0;
}

.ai-property-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.ai-property-price {
  color: var(--primary);
  font-weight: 700;
}

.ai-property-poi {
  font-size: 11px;
  color: rgba(139, 92, 246, 0.9);
  margin: 10px 0 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Results Footer */
.ai-results-footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.ai-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), #f59e0b);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.ai-view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 212, 0, 0.3);
}

.ai-view-all-btn svg {
  width: 18px;
  height: 18px;
}

/* Results summary in chat */
.results-summary {
  font-size: 14px;
  color: rgba(34, 197, 94, 0.9);
  margin-top: 8px !important;
}

.results-summary strong {
  color: var(--primary);
  font-weight: 700;
}

/* AI filters note in chat */
.ai-filters-note {
  font-size: 12px;
  color: rgba(34, 197, 94, 0.9);
  background: rgba(34, 197, 94, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  margin: 8px 0 !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .ai-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ai-results-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ai-results-title h3 {
    font-size: 20px;
  }

  .ai-results-refine {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
  }

  .ai-property-image {
    height: 150px;
  }

  .ai-property-details {
    padding: 12px;
  }

  .ai-property-details h4 {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .ai-results-grid {
    grid-template-columns: 1fr;
  }

  .ai-property-image {
    height: 200px;
  }
}

/* ============================================
   LOCATION ANALYTICS TABS
   ============================================ */

.la-tabs-container {
  position: sticky;
  top: 70px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(15, 15, 25, 0.98) 0%, rgba(15, 15, 25, 0.95) 80%, transparent 100%);
  padding: 20px 0 28px;
  margin: -20px -20px 24px -20px;
  padding-left: 20px;
  padding-right: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.la-tabs-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
}

.la-tabs-nav::-webkit-scrollbar {
  display: none;
}

.la-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border: 2px solid transparent;
  border-radius: 16px;
  color: #8B8FA3;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.la-tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 14px;
}

.la-tab-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(145deg, rgba(40, 40, 55, 0.95), rgba(30, 30, 45, 0.98));
  color: #FFFFFF;
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2), 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.la-tab-btn:hover::before {
  opacity: 1;
}

.la-tab-btn:hover svg {
  color: #818CF8;
}

.la-tab-btn.active {
  background: linear-gradient(135deg, #6366F1, #8B5CF6, #A855F7);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4), 0 4px 15px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.la-tab-btn.active::before {
  display: none;
}

.la-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  border-radius: 2px;
}

.la-tab-btn.active svg {
  color: #FFFFFF;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.la-tab-btn svg {
  flex-shrink: 0;
  transition: all 0.3s ease;
  width: 20px;
  height: 20px;
}

.la-tab-content {
  display: none !important;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.la-tab-content.active {
  display: block !important;
  visibility: visible;
  height: auto;
  overflow: visible;
  animation: tabFadeIn 0.3s ease;
}

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

/* Mobile responsive tabs */
@media (max-width: 768px) {
  .la-tabs-container {
    top: 60px;
    margin: -16px -16px 20px -16px;
    padding: 16px 16px 24px;
  }

  .la-tab-btn {
    padding: 12px 16px;
    font-size: 13px;
    gap: 8px;
    border-radius: 14px;
  }

  .la-tab-btn span {
    display: none;
  }

  .la-tab-btn svg {
    width: 22px;
    height: 22px;
  }

  .la-tab-btn.active span {
    display: inline;
  }
}

@media (max-width: 480px) {
  .la-tabs-container {
    top: 56px;
  }

  .la-tab-btn {
    padding: 12px 14px;
    border-radius: 12px;
  }
}

/* =============================================
   SUBSCRIPTION SUCCESS PAGE
   ============================================= */

.subscription-success-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #faf5ff 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 20px 60px;
}

.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -20px;
  opacity: 0;
  animation: confetti-fall 4s ease-out forwards;
}

.confetti-piece:nth-child(odd) {
  border-radius: 50%;
}

.confetti-piece:nth-child(even) {
  border-radius: 2px;
  transform: rotate(45deg);
}

@keyframes confetti-fall {
  0% {
    opacity: 1;
    top: -20px;
    transform: translateX(0) rotate(0deg);
  }
  100% {
    opacity: 0;
    top: 100vh;
    transform: translateX(100px) rotate(720deg);
  }
}

.success-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.success-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
  animation: success-pop 0.5s ease-out;
}

.success-icon svg {
  width: 40px;
  height: 40px;
}

.success-ring {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 3px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  animation: success-ring-pulse 2s ease-out infinite;
}

@keyframes success-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes success-ring-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.subscription-success-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.success-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 40px;
}

.plan-summary-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 40px;
  text-align: left;
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #ecfdf5;
  color: #059669;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.plan-features h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: #334155;
  font-size: 0.975rem;
}

.plan-features li svg {
  width: 20px;
  height: 20px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.success-actions .btn-primary-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.success-actions .btn-primary-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.success-actions .btn-primary-new svg {
  width: 20px;
  height: 20px;
}

.success-actions .btn-secondary-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  background: white;
  color: #475569;
  text-decoration: none;
  border: 2px solid #e2e8f0;
  transition: all 0.2s ease;
}

.success-actions .btn-secondary-new:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.quick-links {
  text-align: left;
}

.quick-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: 14px;
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}

.quick-link:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.quick-link-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
  flex-shrink: 0;
}

.quick-link-icon svg {
  width: 20px;
  height: 20px;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .subscription-success-page {
    padding: 60px 16px 40px;
  }

  .subscription-success-page h1 {
    font-size: 1.75rem;
  }

  .success-subtitle {
    font-size: 1rem;
  }

  .plan-summary-card {
    padding: 24px;
    border-radius: 16px;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .success-icon {
    width: 64px;
    height: 64px;
  }

  .success-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================
   FLOATING CHAT WIDGET
   ========================================== */

/* Floating Bubble Button */
.chat-widget-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  border: none;
}

.chat-widget-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
}

.chat-widget-bubble svg {
  width: 28px;
  height: 28px;
  color: white;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.chat-widget-bubble.hidden {
  display: none;
}

/* Chat Panel */
.chat-widget-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-height: 560px;
  background: linear-gradient(145deg, rgba(30, 30, 50, 0.98), rgba(20, 20, 40, 0.99));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  display: none;
  flex-direction: column;
  z-index: 9998;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.1);
  overflow: hidden;
}

.chat-widget-panel.open {
  display: flex;
  animation: chatWidgetSlideUp 0.3s ease;
}

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

/* Chat Header */
.chat-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(139, 92, 246, 0.1);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.chat-widget-title-area {
  display: flex;
  flex-direction: column;
}

.chat-widget-title {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.chat-widget-subtitle {
  font-size: 11px;
  color: rgba(167, 139, 250, 0.7);
  margin-top: 2px;
}

.chat-widget-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language Toggle Button */
.chat-lang-toggle {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #a78bfa;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.chat-lang-toggle:hover {
  background: rgba(139, 92, 246, 0.35);
  border-color: rgba(139, 92, 246, 0.6);
}

/* New Chat Button */
.chat-new-btn {
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s;
  border-radius: 6px;
}

.chat-new-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.chat-new-btn svg {
  width: 18px;
  height: 18px;
}

/* Close Button */
.chat-widget-close {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.chat-widget-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.chat-widget-close svg {
  width: 16px;
  height: 16px;
}

/* Messages Area */
.chat-widget-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  max-height: 320px;
}

.chat-widget-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-widget-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-widget-messages::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 3px;
}

/* Message Bubbles */
.chat-message {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  animation: chatMessageFadeIn 0.2s ease;
}

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

.chat-message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-message.assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 4px;
}

.chat-message.assistant .chat-link {
  color: #a78bfa;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
  cursor: pointer;
}

.chat-message.assistant .chat-link:hover {
  color: #c4b5fd;
}

/* Welcome Message */
.chat-welcome {
  text-align: center;
  padding: 20px 16px;
}

.chat-welcome-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.chat-welcome-icon svg {
  width: 24px;
  height: 24px;
  color: #a78bfa;
}

.chat-welcome h4 {
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.chat-welcome p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin: 0;
  line-height: 1.5;
}

/* Typing Indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  max-width: 85%;
}

.chat-typing-dots {
  display: flex;
  gap: 4px;
}

.chat-typing-dots span {
  width: 6px;
  height: 6px;
  background: rgba(139, 92, 246, 0.6);
  border-radius: 50%;
  animation: chatTypingBounce 1.4s infinite ease-in-out both;
}

.chat-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing-dots span:nth-child(2) { animation-delay: -0.16s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0; }

@keyframes chatTypingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Suggestions */
.chat-widget-suggestions {
  padding: 10px 16px;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.chat-suggestions-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.chat-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chat-suggestion-btn {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 11px;
  color: #a78bfa;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}

.chat-suggestion-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-1px);
}

/* Input Area */
.chat-widget-input-area {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

.chat-widget-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  color: white;
  font-size: 13px;
  font-family: inherit;
  transition: all 0.2s;
}

.chat-widget-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.chat-widget-input:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.chat-widget-send {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border: none;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chat-widget-send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.chat-widget-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chat-widget-send svg {
  width: 18px;
  height: 18px;
  color: white;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .chat-widget-bubble {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }

  .chat-widget-bubble svg {
    width: 24px;
    height: 24px;
  }

  .chat-widget-panel {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 86px;
    max-height: 70vh;
  }

  .chat-widget-messages {
    max-height: calc(70vh - 200px);
  }

  .chat-message {
    max-width: 90%;
  }
}

/* Adjust widget position when compare bar is open */
.compare-bar-active .chat-widget-bubble {
  bottom: 100px;
}

.compare-bar-active .chat-widget-panel {
  bottom: 176px;
}

/* ============================================
   BLOG DOWNLOAD BAR
   ============================================ */

/* ============================================
   INTERACTIVE TOOL PAGES
   ============================================ */

.tool-section {
  padding: 60px 0;
  background: #0a0a0a;
}
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .tool-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.tool-input-panel,
.tool-result-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
}
.tool-input-panel h2,
.tool-result-panel h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.tool-field {
  margin-bottom: 20px;
}
.tool-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}
.tool-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.tool-input-wrap:focus-within {
  border-color: #14b8a6;
}
.tool-prefix,
.tool-suffix {
  padding: 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}
.tool-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 16px;
  color: #fff;
  font-family: inherit;
}
.tool-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.tool-hint {
  display: block;
  font-size: 12px;
  color: #14b8a6;
  margin-top: 4px;
  min-height: 18px;
}
.tool-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.tool-radio:hover {
  border-color: rgba(20, 184, 166, 0.3);
}
.tool-radio input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0 10px 0 0;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s;
  background: transparent;
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
}
.tool-radio input[type="radio"]:checked {
  border-color: #14b8a6;
}
.tool-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: #14b8a6;
  border-radius: 50%;
}
.tool-radio span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.tool-calc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  margin-top: 8px;
}
.tool-calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

/* Result panel */
.tool-result-total {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(34, 197, 94, 0.1));
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}
.tool-result-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tool-result-value {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: #14b8a6;
  letter-spacing: -1px;
}
.tool-result-rate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin-bottom: 20px;
}
.tool-result-rate span:first-child {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.tool-result-rate span:last-child {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.tool-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.tool-result-stat {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.tool-result-stat span:first-child {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tool-result-stat span:last-child {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.tool-breakdown {
  margin-bottom: 20px;
}
.tool-breakdown h4 {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tool-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}
.tool-breakdown-row span:first-child {
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
}
.tool-breakdown-row span:nth-child(2) {
  color: #14b8a6;
  font-weight: 600;
  width: 60px;
  text-align: center;
}
.tool-breakdown-row span:last-child {
  color: #fff;
  font-weight: 600;
  width: 100px;
  text-align: right;
}
.tool-info-box {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  padding: 18px;
}
.tool-info-box h4 {
  font-size: 13px;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 8px;
}
.tool-info-box p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Rates reference table */
.tool-rates-table {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  overflow-x: auto;
}
.tool-rates-table h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.tool-rates-table table {
  width: 100%;
  border-collapse: collapse;
}
.tool-rates-table th {
  background: rgba(20, 184, 166, 0.15);
  color: #14b8a6;
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tool-rates-table td {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tool-rates-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* Enhanced affordability results — blog-matched navy glass design */
.tool-enhanced-results {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(30,40,60,0.95) 0%, rgba(20,30,50,0.98) 100%);
  border: 1px solid rgba(99,182,255,0.15);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.tool-enhanced-heading {
  font-size: 22px;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 16px;
}
.tool-enhanced-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  border-radius: 2px;
}
.tool-enhanced-card {
  background: rgba(30,40,60,0.5);
  border: 1px solid rgba(99,182,255,0.15);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.tool-enhanced-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid #34d399;
}
.tool-enhanced-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tool-enhanced-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tool-enhanced-results .tool-result-stat {
  background: rgba(96,165,250,0.08);
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.tool-enhanced-results .tool-result-stat span:first-child {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.tool-enhanced-results .tool-result-stat span:last-child {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #60a5fa;
}
.tool-enhanced-results .tool-breakdown-row {
  border-bottom-color: rgba(99,182,255,0.08);
}
.tool-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: -8px 0 16px;
}
.tool-split-bar {
  display: flex;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.06);
}
.tool-split-fill {
  transition: width 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #0a0a0a;
}
.tool-split-deposit { background: linear-gradient(90deg, #22c55e, #34d399); }
.tool-split-borrow { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.tool-split-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.tool-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.tool-afford-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.tool-afford-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.tool-afford-pct {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.tool-afford-track {
  height: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
}
.tool-afford-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease, background 0.3s;
}
.tool-afford-verdict {
  font-size: 13px;
  margin-top: 10px;
  line-height: 1.6;
}
.tool-stress-box {
  background: rgba(251,191,36,0.06);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 12px;
  padding: 20px;
}
.tool-stress-box h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(251,191,36,0.15);
}
.tool-stress-box .tool-breakdown-row {
  border-bottom-color: rgba(251,191,36,0.1);
}
.tool-chart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.tool-chart-label {
  width: 60px;
  font-size: 14px;
  font-weight: 700;
  color: #60a5fa;
  text-align: right;
  flex-shrink: 0;
}
.tool-chart-bar-wrap {
  flex: 1;
  height: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.tool-chart-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
  min-width: 2px;
}
.tool-chart-value {
  width: 120px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: right;
  flex-shrink: 0;
}
.tool-chart-diff {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #34d399;
  margin-top: 1px;
}
.tool-sdlt-note {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
  line-height: 1.6;
}
.tool-whatif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tool-whatif-title {
  font-size: 13px;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 10px;
}
.tool-whatif-note {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .tool-enhanced-results {
    padding: 24px;
    border-radius: 16px;
  }
  .tool-enhanced-row,
  .tool-afford-row,
  .tool-whatif-grid {
    grid-template-columns: 1fr;
  }
}
.tool-cta-card {
  margin-top: 4px;
  background: linear-gradient(135deg, rgba(20,184,166,0.12) 0%, rgba(34,197,94,0.08) 100%);
  border: 1px solid rgba(20,184,166,0.3);
  border-radius: 14px;
  padding: 28px;
}
.tool-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tool-cta-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.tool-cta-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.tool-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  color: #0a0a0a;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tool-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,184,166,0.3);
}
@media (max-width: 768px) {
  .tool-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Tool page slider inputs */
.tool-slider-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-slider-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}
.tool-slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #14b8a6;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20,184,166,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}
.tool-slider-row input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 12px rgba(20,184,166,0.6);
}
.tool-slider-row input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #14b8a6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20,184,166,0.4);
}
.tool-slider-row input[type="range"]::-moz-range-track {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  border: none;
}
.tool-slider-values {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tool-slider-badge {
  display: inline-block;
  background: rgba(20,184,166,0.15);
  color: #14b8a6;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(20,184,166,0.25);
  min-width: 48px;
  text-align: center;
}
.tool-slider-amt {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   END INTERACTIVE TOOL PAGES
   ============================================ */

/* Top download banner */
.blog-dl-topbar {
  background: linear-gradient(135deg, #0f2b2e 0%, #134e4a 100%);
  border-bottom: 1px solid rgba(20, 184, 166, 0.25);
}
.blog-dl-topbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.blog-dl-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}
.blog-dl-topbar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.blog-dl-topbar-label svg {
  color: #14b8a6;
  flex-shrink: 0;
}
.blog-dl-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-dl-topbar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}
@media (max-width: 600px) {
  .blog-dl-topbar-inner {
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
    gap: 10px;
  }
  .blog-dl-topbar-btn {
    width: 100%;
    justify-content: center;
  }
}

.blog-download-bar {
  background: linear-gradient(135deg, #0d1f22 0%, #134e4a 50%, #115e59 100%);
  padding: 40px 0;
  border-top: 3px solid rgba(20, 184, 166, 0.3);
}

.blog-download-inner {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.blog-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-dl-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.blog-dl-primary {
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  color: #0a0a0a;
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
}

.blog-dl-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.5);
}

.blog-dl-primary:hover svg {
  transform: translateY(2px);
  transition: transform 0.3s;
}

.blog-dl-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-dl-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(20, 184, 166, 0.5);
  color: #14b8a6;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .blog-download-inner {
    flex-direction: column;
  }

  .blog-dl-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
}

/* ============================================
   DOWNLOADS PAGE
   ============================================ */

.dl-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1f22 25%, #134e4a 50%, #115e59 75%, #0d1f22 100%);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dl-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.dl-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.dl-hero-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  opacity: 0.15;
  top: -250px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.dl-hero-shapes .shape-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #ffd400, #f59e0b);
  opacity: 0.12;
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

.dl-hero-shapes .shape-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  opacity: 0.1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}

.dl-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 107, 107, 0.2));
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 212, 0, 0.4);
  animation: pulse-glow 3s ease-in-out infinite;
}

.dl-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -1.5px;
  position: relative;
  z-index: 1;
  color: var(--white);
}

.dl-hero h1 span {
  background: linear-gradient(90deg, #14b8a6, #22c55e, #14b8a6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.dl-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Stats Bar */
.dl-stats-bar {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  padding: 0;
  position: relative;
  z-index: 2;
}

.dl-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: translateY(-20px);
  margin-bottom: -20px;
}

.dl-stat {
  text-align: center;
  padding: 14px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.dl-stat:last-child {
  border-right: none;
}

.dl-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(90deg, #14b8a6, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.dl-stat-value svg {
  color: #14b8a6;
}

.dl-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* Section */
/* Resources category navigation */
.dl-categories-nav {
  background: #111;
  padding: 14px 0 18px;
  position: sticky;
  top: 70px;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dl-categories-nav .categories-scroll {
  padding: 0;
  gap: 6px;
}

.dl-categories-nav .category-pill {
  padding: 6px 12px;
  font-size: 12px;
  gap: 5px;
}

.dl-categories-nav .category-pill svg {
  width: 13px;
  height: 13px;
}

.dl-categories-nav .category-pill .count {
  padding: 1px 6px;
  font-size: 10px;
}

.dl-categories-nav .category-pill[style] {
  border-color: color-mix(in srgb, var(--pill-color) 40%, transparent);
}

.dl-categories-nav .category-pill[style]:hover,
.dl-categories-nav .category-pill[style].active {
  background: var(--pill-color);
  border-color: var(--pill-color);
  color: #fff;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--pill-color) 35%, transparent);
}

.dl-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #111 0%, var(--dark) 100%);
}

.dl-section + .dl-section {
  padding-top: 0;
}

/* Category Block */
.dl-category {
  margin-bottom: 80px;
}

.dl-category:last-child {
  margin-bottom: 0;
}

.dl-category-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.dl-category-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cat-color) 20%, transparent), color-mix(in srgb, var(--cat-color) 10%, transparent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-category-icon svg {
  width: 30px;
  height: 30px;
  color: var(--cat-color);
}

.dl-category-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.dl-category-header h2 span {
  color: var(--cat-color);
}

.dl-category-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

/* Download Cards Grid */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dl-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.9), rgba(20, 20, 30, 0.95));
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.dl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cat-color);
  opacity: 0;
  transition: opacity 0.4s;
}

.dl-card:hover {
  border-color: color-mix(in srgb, var(--cat-color) 40%, transparent);
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.dl-card:hover::before {
  opacity: 1;
}

.dl-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dl-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cat-color) 15%, transparent), color-mix(in srgb, var(--cat-color) 8%, transparent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
}

.dl-card:hover .dl-card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--cat-color) 30%, transparent);
}

.dl-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--cat-color);
}

.dl-card-size {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dl-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.dl-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0 0 24px;
  flex: 1;
}

.dl-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cat-color) 18%, transparent), color-mix(in srgb, var(--cat-color) 10%, transparent));
  color: var(--cat-color);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--cat-color) 25%, transparent);
  transition: all 0.3s;
  text-decoration: none;
  justify-content: center;
}

.dl-card-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.dl-card-btn:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--cat-color) 30%, transparent), color-mix(in srgb, var(--cat-color) 20%, transparent));
  border-color: var(--cat-color);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--cat-color) 25%, transparent);
}

.dl-card-btn:hover svg {
  transform: translateY(2px);
}

/* CTA */
.dl-cta {
  background: linear-gradient(135deg, #0d1f22 0%, #134e4a 50%, #115e59 100%);
  border-radius: 28px;
  padding: 80px 60px;
  text-align: center;
  border: 1px solid rgba(20, 184, 166, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.dl-cta::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.dl-cta::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #ffd400, #f59e0b);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 10s ease-in-out infinite reverse;
}

.dl-cta h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.dl-cta h2 span {
  background: linear-gradient(90deg, #14b8a6, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dl-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.dl-cta .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.dl-cta .btn-primary {
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  color: var(--dark);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dl-cta .btn-primary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.dl-cta .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.5);
  transform: translateY(-3px);
}

.dl-cta .btn-primary:hover svg {
  transform: translateX(4px);
}

.dl-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.dl-cta .btn-outline:hover {
  border-color: #14b8a6;
  color: #14b8a6;
  background: rgba(20, 184, 166, 0.1);
}

/* Downloads Responsive */
@media (max-width: 1024px) {
  .dl-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .dl-stat:nth-child(2) {
    border-right: none;
  }

  .dl-stat:nth-child(3),
  .dl-stat:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 768px) {
  .dl-hero {
    padding: 50px 0 30px;
  }

  .dl-hero h1 {
    font-size: 30px;
  }

  .dl-hero p {
    font-size: 14px;
  }

  .dl-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .dl-category-header {
    flex-direction: column;
    gap: 16px;
  }

  .dl-category-header h2 {
    font-size: 26px;
  }

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

  .dl-categories-nav {
    top: 60px;
    padding: 12px 0 16px;
  }

  .dl-categories-nav .categories-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .dl-categories-nav .categories-scroll::-webkit-scrollbar {
    display: none;
  }

  .dl-section {
    padding: 60px 0;
  }

  .dl-cta {
    padding: 50px 30px;
  }

  .dl-cta h2 {
    font-size: 26px;
  }

  .dl-cta .cta-buttons {
    flex-direction: column;
  }

  .dl-cta .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .dl-stats-inner {
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
  }

  .dl-stat {
    padding: 24px 16px;
  }

  .dl-stat-value {
    font-size: 28px;
  }

  .dl-card {
    padding: 24px 20px;
  }
}
