/* ============================================
   IMOBILIAA ENTERPRISE - STYLES
   Native HTML + CSS Production Ready
   ============================================ */

/* CSS Variables - Merged from all :root blocks */
:root {
  /* Primary Colors */
  --color-primary: #fbbf24;
  --color-primary-dark: #f59e0b;
  --color-primary-light: #fcd34d;
  --color-primary-50: #fffbeb;
  --color-primary-100: #fef3c7;
  --color-primary-200: #fde68a;
  --color-primary-300: #fcd34d;
  --color-primary-400: #fbbf24;
  --color-primary-500: #f59e0b;
  --color-primary-600: #d97706;
  --color-primary-700: #b45309;
  --color-primary-800: #92400e;
  --color-primary-900: #78350f;

  /* Semantic Colors */
  --color-blue: #3b82f6;
  --color-emerald: #10b981;
  --color-purple: #8b5cf6;
  --color-pink: #ec4899;
  --color-indigo: #6366f1;
  --color-red: #ef4444;
  --color-success: #22c55e;
  --color-success-50: #f0fdf4;
  --color-success-500: #22c55e;
  --color-success-600: #16a34a;
  --color-success-700: #15803d;
  --color-danger: #ef4444;
  --color-danger-50: #fef2f2;
  --color-danger-500: #ef4444;
  --color-danger-600: #dc2626;
  --color-danger-700: #b91c1c;
  --color-warning: #f59e0b;
  --color-warning-50: #fffbeb;
  --color-warning-500: #f59e0b;
  --color-warning-600: #d97706;
  --color-warning-700: #b45309;

  /* Neutral Colors */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  --color-white: #ffffff;
  --color-black: #000000;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms ease;
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Layout */
  --container-max: 1280px;
  --navbar-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-gray-900);
  background-color: var(--color-gray-50);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}


ul,
ol {
  list-style: none;
}

/* Container */
.imobiliaa-container,
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {

  .imobiliaa-container,
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {

  .imobiliaa-container,
  .container {
    padding: 0 2rem;
  }
}

/* Utility Classes */
.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex;
  }

  .mobile-only {
    display: none !important;
  }
}

.text-accent,
.text-amber {
  color: var(--color-primary-dark);
}

.text-muted {
  color: var(--color-gray-400);
}

.bg-blue {
  background-color: var(--color-blue);
}

.bg-emerald {
  background-color: var(--color-emerald);
}

.bg-purple {
  background-color: var(--color-purple);
}

.bg-pink {
  background-color: var(--color-pink);
}

.bg-indigo {
  background-color: var(--color-indigo);
}

.bg-amber {
  background-color: var(--color-primary);
}

.bg-red {
  background-color: var(--color-red);
}

.bg-emerald-light {
  background-color: #d1fae5;
}

.bg-red-light {
  background-color: #fee2e2;
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-2xl {
  max-width: 42rem;
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

/* Scroll Reveal Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVBAR / HEADER
   ============================================ */
.navbar,
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-white);
  height: var(--navbar-height);
  transition: box-shadow var(--transition);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-gray-200);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

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

/* Logo */
.logo,
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon,
.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-600) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: transform var(--transition-fast);
  font-weight: 700;
  font-size: var(--text-xl);
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  letter-spacing: -0.025em;
}

/* Search Bar */
.search-bar {
  position: relative;
  flex: 1;
  max-width: 400px;
  margin: 0 1.5rem;
}

.search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-400);
}

.search-input {
  width: 100%;
  padding: 0.625rem 2.5rem 0.625rem 2.5rem;
  background-color: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--color-gray-700);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

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

.search-kbd {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--color-gray-400);
  background-color: var(--color-gray-100);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
}

/* Nav Actions */
.nav-actions,
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn,
.btn-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-600);
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  background: transparent;
  border: none;
  position: relative;
}

.nav-btn:hover,
.btn-icon:hover {
  background-color: var(--color-gray-100);
  color: var(--color-gray-900);
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-primary-500);
  border-radius: var(--radius-full);
  border: 2px solid white;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--color-gray-100);
  color: var(--color-gray-900);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary-500);
  transition: width var(--transition-base);
}

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

.avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-gray-200);
  transition: border-color var(--transition-fast);
}

.avatar:hover {
  border-color: var(--color-primary-500);
}

.header-nav {
  display: none;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
}

.mobile-menu.active {
  display: block;
}

.mobile-search {
  margin: 0 0 0.75rem 0;
  max-width: none;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  border-radius: var(--radius);
  transition: background-color var(--transition-fast);
}

.mobile-nav-link:hover {
  background-color: var(--color-gray-100);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-600) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--color-gray-700);
  border: 2px solid var(--color-gray-200);
}

.btn-secondary:hover {
  border-color: var(--color-primary-500);
  color: var(--color-primary-600);
}

.btn-outline,
.btn-outline-light,
.btn-ghost {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline:hover,
.btn-outline-light:hover,
.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-gray {
  background-color: var(--color-gray-200);
  color: var(--color-gray-700);
}

.btn-gray:hover {
  background-color: var(--color-gray-300);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-white);
  gap: var(--space-1);
}

.badge-gray {
  background-color: var(--color-gray-100);
  color: var(--color-gray-700);
}

.badge-amber,
.badge-warning {
  background-color: #fef3c7;
  color: #b45309;
}

.badge-emerald,
.badge-success {
  background-color: #d1fae5;
  color: #047857;
}

.badge-purple {
  background-color: #ede9fe;
  color: #6d28d9;
}

.badge-dark {
  background-color: rgba(251, 191, 36, 0.2);
  color: var(--color-primary);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

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

.badge-solid-warning {
  background-color: var(--color-warning-600);
  color: white;
}

.badge-danger {
  background-color: var(--color-danger-100);
  color: var(--color-danger-700);
}

.badge-primary {
  background-color: var(--color-primary-100);
  color: var(--color-primary-800);
}

.ai-reports .badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

.ai-reports .badge.warn {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-warning);
}

.ai-reports .badge.success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
}

.ai-reports .badge.danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--navbar-height);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-600) 100%);
  color: white;
  padding: var(--space-20) 0;
}

.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='%23ffffff' fill-opacity='0.05'%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");
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
  margin: 1rem 0;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.hero-buttons,
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-buttons,
  .hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

.section-gray,
.section-alt {
  background-color: var(--color-gray-50);
}

.section-gradient {
  background: linear-gradient(to bottom, var(--color-white), var(--color-gray-50));
}

.section-dark {
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-gray-800));
}

.section-white {
  background-color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-top: 1rem;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

/* ============================================
   TARGET AUDIENCE
   ============================================ */
.audience-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.audience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.audience-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.audience-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.audience-item:hover .audience-icon {
  transform: scale(1.1) rotate(3deg);
}

.audience-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.25rem;
  transition: color var(--transition-fast);
}

.audience-item:hover .audience-text h3 {
  color: var(--color-primary-dark);
}

.audience-text p {
  color: var(--color-gray-600);
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.image-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image-col.offset {
  padding-top: 2rem;
}

.image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition);
}

.image-card:hover {
  box-shadow: var(--shadow-xl);
}

.image-card.tall {
  aspect-ratio: 3/4;
}

.image-card:not(.tall) {
  aspect-ratio: 1;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
}

.step-number {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 32px;
  height: 32px;
  background-color: var(--color-gray-900);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.step-card:hover .step-icon {
  transform: scale(1.1);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table thead {
  background-color: var(--color-gray-50);
}

.comparison-table th {
  font-weight: 600;
  color: var(--color-gray-700);
  font-size: 0.9375rem;
}

.comparison-table th.enterprise-col {
  background-color: rgba(251, 191, 36, 0.1);
  color: var(--color-primary-dark);
}

.comparison-table tbody tr {
  border-top: 1px solid var(--color-gray-100);
  transition: background-color var(--transition-fast);
}

.comparison-table tbody tr:hover {
  background-color: var(--color-gray-50);
}

.comparison-table td {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
}

.comparison-table td.enterprise-col {
  background-color: rgba(251, 191, 36, 0.05);
}

.icon-check,
.icon-x {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-check {
  background-color: #d1fae5;
}

.icon-check::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #059669;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.icon-x {
  background-color: #fee2e2;
}

.icon-x::after {
  content: '';
  width: 10px;
  height: 2px;
  background-color: #dc2626;
  transform: rotate(45deg);
  position: relative;
}

.icon-x::before {
  content: '';
  width: 10px;
  height: 2px;
  background-color: #dc2626;
  transform: rotate(-45deg);
  position: absolute;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card,
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.feature-card:hover,
.card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
  transform: translateY(-4px);
}

.card-interactive {
  cursor: pointer;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(3deg);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.feature-card:hover .feature-title {
  color: var(--color-primary-dark);
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
}

/* ============================================
   CLARIFICATION
   ============================================ */
.clarification-grid {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .clarification-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.clarification-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.clarification-card.is {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.clarification-card.is-not {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
}

.clarification-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.clarification-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.clarification-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

.clarification-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.clarification-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-gray-700);
}

.list-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.list-icon svg {
  color: inherit;
}

.bg-emerald-light svg {
  color: #059669;
}

.bg-red-light svg {
  color: #dc2626;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 1.5rem 0 1rem;
  letter-spacing: -0.025em;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--color-gray-400);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 3rem;
  }

  .cta-buttons {
    flex-direction: row;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer,
.site-footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  padding: 4rem 0 2rem;
}

.site-footer {
  background: var(--color-gray-900);
  color: white;
  padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

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

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

.footer-brand .logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.site-footer .footer-desc {
  color: var(--color-gray-400);
  margin-bottom: var(--space-6);
}

.social-links,
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--color-gray-100);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-600);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.site-footer .social-link {
  width: 44px;
  height: 44px;
  background: var(--color-gray-800);
  color: var(--color-gray-400);
}

.site-footer .social-link:hover {
  background: var(--color-primary-500);
  color: white;
  transform: translateY(-4px);
}

.footer-col h4,
.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 1.25rem;
}

.site-footer .footer-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

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

.site-footer .footer-links li {
  margin-bottom: var(--space-4);
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  transition: color var(--transition-fast);
}

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

.site-footer .footer-links a {
  color: var(--color-gray-400);
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-100);
}

.site-footer .footer-bottom {
  border-top: 1px solid var(--color-gray-800);
  padding-top: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p,
.footer-copyright {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

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

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-gray-900);
  color: var(--color-white);
  padding: 1rem 0;
  z-index: 1000;
  transform: translateY(0);
  transition: transform var(--transition);
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .cookie-container {
    flex-direction: row;
  }
}

.cookie-container p {
  font-size: 0.875rem;
  color: var(--color-gray-300);
  text-align: center;
}

.cookie-container a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-700);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-4px);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background-color: rgba(251, 191, 36, 0.3);
  color: inherit;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-400);
}

/* ============================================
AI REPORTS / AI PANEL
============================================ */
.ai-reports {
  --color-primary: #ffcc41;
  --color-primary-dark: #e6b82e;
  --color-success: #22c55e;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-600: #4b5563;
  --color-gray-900: #111827;
}

/* Layout */
.ai-reports .col-span-12 {
  grid-column: span 12 / span 12;
}

.ai-reports .col-span-3 {
  grid-column: span 3 / span 3;
}

.ai-reports .\32xl:col-span-3 {
  grid-column: span 3 / span 3;
}

.ai-reports .mt-3.5 {
  margin-top: 0.875rem;
}

.ai-reports .mt-6 {
  margin-top: 1.5rem;
}

/* AI Panel */
.ai-reports .ai-panel,
.ai-panel {
  background: linear-gradient(135deg, #f59e0b 0%, #ffcc41 100%);
  color: white;
  border-radius: 0.6rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ai-panel::before,
.ai-reports .ai-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

/* AI Badge */
.ai-reports .ai-badge,
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--color-warning);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.ai-badge::before,
.ai-reports .ai-dot {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 9999px;
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

/* Titles and text */
.ai-reports .ai-title,
.ai-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.ai-reports .ai-desc,
.ai-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.ai-reports .ai-card-title,
.ai-item-content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.ai-reports .ai-card-text,
.ai-item-content p {
  font-size: 0.75rem;
  opacity: 0.85;
  margin: 0;
}

/* AI List / Cards */
.ai-reports .ai-list,
.ai-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.ai-reports .ai-card,
.ai-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all var(--transition-base);
}

.ai-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.ai-reports .ai-icon,
.ai-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-reports .ai-icon.green,
.ai-item-icon.success {
  background: rgba(34, 197, 94, 0.3);
}

.ai-reports .ai-icon.yellow,
.ai-item-icon.warning {
  background: rgba(234, 179, 8, 0.3);
}

.ai-reports .ai-icon.blue,
.ai-item-icon.info {
  background: rgba(59, 130, 246, 0.3);
}

/* Button */
.ai-reports .ai-btn,
.ai-btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.875rem;
  background: white;
  color: var(--color-warning);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-base);
}

.ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* Activity Stream */
.ai-reports .activity-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.ai-reports .activity-item:last-child {
  border-bottom: none;
}

.ai-reports .activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-reports .activity-icon.primary {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-warning);
}

.ai-reports .activity-icon.success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
}

.ai-reports .activity-content {
  flex: 1;
}

#qodef-membership-user-dashboard {
  padding: 50px;
}

/* ============================================
PORTFOLIO SECTION
============================================ */
.portfolio-section {
  padding: 4rem 0;
}

.portfolio-section:nth-child(even) {
  background-color: #f9fafb;
}

.portfolio-section:nth-child(odd) {
  background-color: #ffffff;
}

/* Stats Cards - Enterprise style */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.stat-box {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.stat-box-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-box-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.stat-box-label {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.stat-box-change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.stat-box-change.positive {
  background-color: #dcfce7;
  color: #16a34a;
}

.stat-box-change.negative {
  background-color: #fee2e2;
  color: #dc2626;
}

/* Chart Container */
.chart-wrapper {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.chart-container {
  position: relative;
  height: 350px;
}

/* Property Performance List */
.performance-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.performance-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.performance-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: var(--color-primary-200);
}

.performance-image,
.performance-thumb {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.performance-content {
  flex: 1;
  min-width: 0;
}

.performance-title,
.performance-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.performance-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.performance-location {
  color: #6b7280;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.performance-meta {
  display: flex;
  gap: 1.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.performance-price {
  text-align: right;
  min-width: 120px;
}

.price-value,
.price-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.price-original {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: var(--space-1);
}

/* AI Card - Enterprise style */
.ai-card-enterprise {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: white;
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.ai-card-enterprise::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.ai-badge-enterprise {
  display: inline-block;
  background: white;
  color: #f97316;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.ai-title-enterprise {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ai-subtitle-enterprise {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.ai-list-enterprise {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-item-enterprise {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.ai-item-icon.success {
  background: rgba(34, 197, 94, 0.3);
}

.ai-item-icon.warning {
  background: rgba(234, 179, 8, 0.3);
}

.ai-item-icon.info {
  background: rgba(59, 130, 246, 0.3);
}

.ai-btn-enterprise {
  width: 100%;
  margin-top: 2rem;
  padding: 1rem;
  background: white;
  color: #f97316;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ai-btn-enterprise:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

/* Property Grid */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

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

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

.property-card-enterprise,
.property-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--color-gray-100);
}

.property-card-enterprise:hover,
.property-card:hover {
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

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

.property-image-wrap img,
.property-image {
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.property-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

.badge-rented {
  background: #16a34a;
  color: white;
}

.badge-available {
  background: #ca8a04;
  color: white;
}

.property-fav-btn,
.property-fav {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}

.property-fav-btn:hover,
.property-fav:hover {
  background: white;
  transform: scale(1.1);
}

.property-fav.active {
  color: var(--color-danger-500);
}

.property-content {
  padding: 1.5rem;
}

.property-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.property-card:hover .property-name {
  color: #f59e0b;
}

.property-type-category,
.property-address {
  color: #6b7280;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-features {
  display: flex;
  gap: 1.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.property-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 1rem 0;
}

.property-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.property-potential {
  background: #fffbeb;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.property-potential.danger {
  background: #fee2e2;
}

/* Strategy Section */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .strategy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.strategy-box,
.strategy-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.strategy-box:hover,
.strategy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.strategy-box.sell,
.strategy-card.sell {
  border-color: #fecaca;
}

.strategy-box.sell:hover,
.strategy-card.sell:hover {
  border-color: #dc2626;
}

.strategy-box.hold,
.strategy-card.hold {
  border-color: #bbf7d0;
}

.strategy-box.hold:hover,
.strategy-card.hold:hover {
  border-color: #16a34a;
}

.strategy-box.buy,
.strategy-card.buy {
  border-color: #fde68a;
}

.strategy-box.buy:hover,
.strategy-card.buy:hover {
  border-color: #f59e0b;
}

.strategy-icon-box,
.strategy-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.strategy-box.sell .strategy-icon-box,
.strategy-card.sell .strategy-icon {
  background: #fee2e2;
  color: #dc2626;
}

.strategy-box.hold .strategy-icon-box,
.strategy-card.hold .strategy-icon {
  background: #dcfce7;
  color: #16a34a;
}

.strategy-box.buy .strategy-icon-box,
.strategy-card.buy .strategy-icon {
  background: #fef3c7;
  color: #f59e0b;
}

.strategy-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.strategy-desc {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.strategy-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.strategy-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #374151;
  border-bottom: 1px solid var(--color-gray-100);
}

.strategy-list li:last-child {
  border-bottom: none;
}

.strategy-btn {
  width: 100%;
  padding: 0.875rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.strategy-box.sell .strategy-btn,
.strategy-card.sell .strategy-btn {
  background: #dc2626;
  color: white;
}

.strategy-box.hold .strategy-btn,
.strategy-card.hold .strategy-btn {
  background: #16a34a;
  color: white;
}

.strategy-box.buy .strategy-btn,
.strategy-card.buy .strategy-btn {
  background: #f59e0b;
  color: white;
}

.strategy-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tip Box */
.tip-box {
  background: linear-gradient(135deg, #fffbeb 0%, #ffedd5 100%);
  border: 2px solid #fde68a;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.tip-icon {
  width: 48px;
  height: 48px;
  background: #fef3c7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  flex-shrink: 0;
}

.tip-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.tip-content p {
  color: #6b7280;
  margin: 0;
}

/* Filter Tabs */
.properties-toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 640px) {
  .properties-toolbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.filter-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
  background: white;
  color: #6b7280;
}

.filter-tab:hover {
  border-color: #f59e0b;
  color: #f59e0b;
}

.filter-tab.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: white;
}

/* Section Headers */
.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Two Column Layout */
.two-column-enterprise {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

@media (max-width: 968px) {
  .two-column-enterprise {
    grid-template-columns: 1fr;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.header-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-header-primary {
  background: white;
  color: #f97316;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-header-secondary {
  background: transparent;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-header-primary:hover,
.btn-header-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============================================
PERFORMANCE SECTION
============================================ */
.performance-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .performance-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.performance-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.performance-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-gray-900);
}

.performance-location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-gray-600);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.performance-meta {
  display: flex;
  gap: var(--space-6);
  color: var(--color-gray-600);
  font-size: var(--text-sm);
}

.performance-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.performance-price {
  text-align: right;
  min-width: 120px;
}

.price-current {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-gray-900);
  line-height: 1;
}

/* ============================================
STATS SECTION
============================================ */
.stats-section {
  margin-top: calc(var(--space-16) * -1);
  position: relative;
  z-index: 10;
}

.stat-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-100);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.stat-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, var(--color-primary-500) 0%, var(--color-primary-600) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-lg);
}

.stat-value {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-gray-900);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
}

.stat-change.positive {
  background-color: var(--color-success-50);
  color: var(--color-success-700);
}

.stat-change.negative {
  background-color: var(--color-danger-50);
  color: var(--color-danger-700);
}

/* ============================================
CHART SECTION
============================================ */
.chart-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-100);
}

.chart-select {
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  color: var(--color-gray-700);
  background: white;
  min-width: 180px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.chart-select:focus {
  outline: none;
  border-color: var(--color-primary-500);
}

/* ============================================
TYPOGRAPHY UTILITIES
============================================ */
.heading-1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .heading-1 {
    font-size: var(--text-5xl);
  }
}

.heading-2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .heading-2 {
    font-size: var(--text-4xl);
  }
}

.heading-3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.3;
}

.heading-4 {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.4;
}

.text-lead {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: 1.75;
}

.text-body {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  line-height: 1.75;
}

.text-small {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
}

/* ============================================
SKELETON LOADING
============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-lg);
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ============================================
FOCUS STYLES & ACCESSIBILITY
============================================ */
*:focus-visible {
  outline: 2px solid var(--color-primary-500);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.property-stat-value {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-gray-900);
}

.qodef-m-ai-report {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Header */
.qodef-m-author-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.qodef-m-author-image img {
    border-radius: 50%;
    border: 1px solid #e5e7eb;
}

.qodef-m-ai-badge {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qodef-m-author-heading-name {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    font-family: Poppins, sans-serif;
}

/* AI Price - padding normal */
.qodef-m-ai-price-main {
    text-align: center;
    padding: 16px;
    border: 2px solid #3b82f6;
    border-radius: 10px;
    margin-bottom: 16px;
    background: #eff6ff;
}

.qodef-m-ai-price-label {
    font-size: 13px;
    font-weight: 500;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-family: Poppins, sans-serif;
}

.qodef-m-ai-price-value {
    font-size: 32px;
    font-weight: 700;
    color: #1e40af;
    line-height: 1.2;
    margin-bottom: 4px;
    font-family: Poppins, sans-serif;
}

.qodef-m-ai-currency {
    font-size: 18px;
    font-weight: 500;
    color: #3b82f6;
}

.qodef-m-ai-price-per-sqm {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    font-family: Poppins, sans-serif;
}

/* Difference Box */
.qodef-m-ai-difference-box {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    text-align: center;
}

.qodef-m-ai-difference-box.overpriced {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.qodef-m-ai-difference-box.underpriced {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.qodef-m-ai-difference-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.qodef-m-ai-difference-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: Poppins, sans-serif;
}

.qodef-m-ai-difference-box.overpriced .qodef-m-ai-difference-label {
    color: #991b1b;
}

.qodef-m-ai-difference-box.underpriced .qodef-m-ai-difference-label {
    color: #166534;
}

.qodef-m-ai-difference-value {
    font-size: 24px;
    font-weight: 700;
    font-family: Poppins, sans-serif;
}

.qodef-m-ai-difference-box.overpriced .qodef-m-ai-difference-value {
    color: #dc2626;
}

.qodef-m-ai-difference-box.underpriced .qodef-m-ai-difference-value {
    color: #059669;
}

.qodef-m-ai-difference-amount {
    font-size: 14px;
    color: #6b7280;
    font-family: Poppins, sans-serif;
}

/* Market Context */
.qodef-m-ai-market-context {
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 16px;
}

.qodef-m-ai-market-title {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: Poppins, sans-serif;
}

.qodef-m-ai-market-stats {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.qodef-m-ai-stat-label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
    font-family: Poppins, sans-serif;
}

.qodef-m-ai-stat-value {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    font-family: Poppins, sans-serif;
}

.qodef-m-ai-stat-value.positive {
    color: #059669;
}

.qodef-m-ai-stat-value.negative {
    color: #dc2626;
}

/* Confidence */
.qodef-m-ai-confidence {
    margin-top: 12px;
}

.qodef-m-ai-confidence-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.qodef-m-ai-confidence-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: Poppins, sans-serif;
}

.qodef-m-ai-confidence-value {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    font-family: Poppins, sans-serif;
}

.qodef-m-ai-confidence-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.qodef-m-ai-confidence-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
}

/* Metrics */
.qodef-m-ai-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.qodef-m-ai-metric {
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}

.qodef-m-ai-metric-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-family: Poppins, sans-serif;
}

.qodef-m-ai-metric-value {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    font-family: Poppins, sans-serif;
}

/* Butonul tău original - margin top ca în CSS-ul tău */
.qodef-m-ai-report .qodef-m-author-link {
    margin-top: 25px;
}
.property-ai-badge-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.ai-logo-ring {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.ai-logo-inner {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ai-logo-inner img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.ai-ring-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    transform: rotate(-90deg);
}

.ai-ring-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 3;
}

.ai-ring-fill {
    fill: none;
    stroke: #10b981;
    stroke-width: 3;
    stroke-linecap: round;
}

.ai-info-box {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid;
    font-family: Poppins, sans-serif;
}

.ai-info-box.danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.ai-info-box.success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.ai-price-main {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.ai-price-diff {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
}

.property-potential {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fffbeb;
    border: 2px solid #fcd34d;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
    font-family: Poppins, sans-serif;
}

.property-potential svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Property Card Container */
.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Image Container */
.property-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

/* Transaction Labels */
.transaction-label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    min-width: 90px;
    text-align: center;
    z-index: 3;
}

.transaction-sell { background: #e74c3c; color: white; }
.transaction-rent { background: #3498db; color: white; }
.transaction-auction { background: #9b59b6; color: white; }

/* Posting Date */
.posting-date {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
}

/* Badges */
.badges-container {
    position: absolute;
    top: 50px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.property-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.badge-new { background: #27ae60; }
.badge-promoted { background: #f39c12; }
.badge-featured { background: #e74c3c; }

/* Social Stats */
.social-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    padding: 25px 15px 10px;
    display: flex;
    gap: 20px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card:hover .social-stats {
    opacity: 1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.star-filled { color: #f1c40f; }
.star-empty { color: rgba(255,255,255,0.3); }

/* Action Buttons */
.action-buttons {
    position: absolute;
    bottom: 50px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 3;
}

.property-card:hover .action-buttons {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.action-btn:hover { transform: scale(1.1); }
.action-btn.favorite.active { background: #e74c3c; color: white; }
.action-btn.compare.active { background: #3498db; color: white; }
.action-btn.portfolio.active { background: #9b59b6; color: white; }
.action-btn.build-house { background: #667eea; color: white; }

/* Property Info */
.property-info {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.property-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2c3e50;
}

.property-price.interactive { color: #27ae60; }

.interactive-tag {
    font-size: 0.7rem;
    color: #27ae60;
    font-weight: 700;
    background: rgba(39, 174, 96, 0.1);
    padding: 3px 8px;
    border-radius: 8px;
}

.interactive-tag.auction {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.property-title {
    font-size: 1.15rem;
    color: #2c3e50;
    margin-bottom: 6px;
    font-weight: 600;
}

.property-location {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-text {
    color: #667eea;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
}

.property-features {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
    font-size: 0.85rem;
    color: #555;
}

/* AI Section */
.ai-minimal {
    margin-top: auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.ai-minimal.success { border-left: 3px solid #28a745; }
.ai-minimal.danger { border-left: 3px solid #dc3545; }
.ai-minimal.warning { border-left: 3px solid #ffc107; }

.ai-collapsed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ai-collapsed:hover { background: #e9ecef; }

.ai-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #495057;
}

.ai-status-icon { font-size: 1.1rem; }
.ai-insight-line { font-weight: 600; }

.ai-metric {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
}

.ai-metric.success { background: rgba(40, 167, 69, 0.15); color: #28a745; }
.ai-metric.danger { background: rgba(220, 53, 69, 0.15); color: #dc3545; }
.ai-metric.warning { background: rgba(255, 193, 7, 0.2); color: #856404; }

.ai-expand-icon {
    font-size: 0.9rem;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.ai-minimal.expanded .ai-expand-icon { transform: rotate(180deg); }

.ai-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.ai-minimal.expanded .ai-content { max-height: 200px; }

.ai-content-inner {
    padding: 12px 14px;
    border-top: 1px solid #e9ecef;
}

.ai-insight {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #495057;
    line-height: 1.4;
}

.ai-insight:last-child { margin-bottom: 0; }
.ai-bullet { color: #667eea; font-weight: 700; flex-shrink: 0; }

/* Responsive */
@media (max-width: 768px) {
    .action-buttons { opacity: 1; transform: translateY(0); bottom: 50px; }
    .social-stats { opacity: 1; }
}

/* Utility */
.hidden { display: none; }

/* Tooltip for action buttons */
.action-btn {
    position: relative;
}

.action-btn::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    padding: 6px 12px;
    background: #2c3e50;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 100;
}

.action-btn::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    border: 5px solid transparent;
    border-top-color: #2c3e50;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 100;
}

.action-btn:hover::after,
.action-btn:hover::before {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* If you want to use data-title instead of title attribute */
.action-btn[data-title]::after {
    content: attr(data-title);
}

.offer-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
    z-index: 3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Alternative: Ribbon style */
.offer-label-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: #e74c3c;
    color: white;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
    min-width: 80px;
    text-align: center;
    z-index: 3;
}

/* ============================================
    NEW SORT SECTION STYLES
    ============================================ */

.qodef-m-sort-section {
  width: 100%;
  padding: 20px 0;
}

/* Desktop Sort Styles */
.qodef-sort-desktop {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.qodef-sort-label {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
}

.qodef-sort-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qodef-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #555;
}

.qodef-sort-btn:hover {
  border-color: var(--qode-main-color-one, #337fff);
  color: var(--qode-main-color-one, #337fff);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(51, 127, 255, 0.15);
}

.qodef-sort-btn.active {
  background: var(--qode-main-color-one, #337fff);
  border-color: var(--qode-main-color-one, #337fff);
  color: #fff;
}

.qodef-sort-btn.active .qodef-sort-icon {
  color: #fff;
}

.qodef-sort-icon {
  display: flex;
  align-items: center;
  color: #999;
  transition: color 0.3s ease;
}

.qodef-sort-btn:hover .qodef-sort-icon {
  color: var(--qode-main-color-one, #337fff);
}

.qodef-sort-btn.active:hover .qodef-sort-icon {
  color: #fff;
}

.qodef-sort-text {
  white-space: nowrap;
}

/* Mobile Sort Styles */
.qodef-sort-mobile {
  display: none;
  width: 100%;
}

.qodef-sort-select-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}

.qodef-custom-select {
  position: relative;
  flex: 1;
  min-width: 0;
}

.qodef-sort-native-select {
  width: 100%;
  padding: 10px 35px 10px 15px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #555;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
}

.qodef-sort-native-select:focus {
  border-color: var(--qode-main-color-one, #337fff);
}

.qodef-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
}

/* Hidden Inputs */
.qodef-sort-hidden-inputs {
  display: none;
}

/* Responsive Breakpoints */
@media only screen and (max-width: 768px) {
  .qodef-sort-desktop {
    display: none;
  }
  
  .qodef-sort-mobile {
    display: block;
  }
}

/* Tablet adjustments */
@media only screen and (max-width: 1024px) and (min-width: 769px) {
  .qodef-sort-buttons {
    gap: 6px;
  }
  
  .qodef-sort-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Animation for sort button selection */
@keyframes sortPulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.qodef-sort-btn:active {
  animation: sortPulse 0.2s ease;
}


/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 40px 10px 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 14px;
    background: #F9FAFB;
    transition: all var(--transition-fast);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 194, 60, 0.15);
    background: var(--surface);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.shortcut {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-family: monospace;
    color: var(--text-muted);
}

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

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.lang-btn:hover {
    background: #F3F4F6;
}

.flag {
    font-size: 18px;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.user-btn:hover {
    background: #F3F4F6;
}

.user-btn svg {
    color: var(--text-secondary);
}

/* Dropdown */
/* .dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 100;
} */

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: background var(--transition-fast);
}

.dropdown-item:hover {
    background: #F9FAFB;
}

.dropdown-item.logout {
    color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 320px;
    margin-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-title {
    position: relative;
    color: white;
    font-size: 42px;
    font-weight: 700;
    padding-top: 100px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Quick Links
   ======================================== */
.quick-links {
    position: relative;
    margin-top: -40px;
    z-index: 10;
}

.quick-links-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-base);
    border-right: 1px solid var(--border);
}

.quick-link:last-child {
    border-right: none;
}

.quick-link:hover {
    background: #F9FAFB;
}

.quick-link-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform var(--transition-base);
}

.quick-link:hover .quick-link-icon {
    transform: scale(1.05);
}

.quick-link span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ========================================
   Portfolio Section
   ======================================== */
.portfolio {
    padding: 60px 0 40px;
}

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

.portfolio-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.portfolio-header p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 6px rgba(249, 194, 60, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(249, 194, 60, 0.4);
}

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

/* ========================================
   Performance Section
   ======================================== */
.performance {
    padding: 20px 0 40px;
}

.performance-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.performance h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Revenue Card */
.revenue-card {
    margin-bottom: 24px;
}

.revenue-card-bg {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--secondary-blue-light) 100%);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: white;
    display: flex;
    gap: 24px;
}

.revenue-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.revenue-content {
    flex: 1;
}

.revenue-label {
    font-size: 13px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.revenue-value {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 12px;
}

.revenue-value .amount {
    font-size: 32px;
    font-weight: 700;
}

.trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.trend.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
}

.trend.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}

.revenue-desc {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 16px;
}

.revenue-link {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition-fast);
}

.revenue-link:hover {
    opacity: 0.8;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.stat-select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--surface);
    cursor: pointer;
}

.stat-calendar {
    width: 32px;
    height: 32px;
    border: none;
    background: #F3F4F6;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.stat-calendar:hover {
    background: var(--border);
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-trend.positive {
    color: var(--success);
}

.stat-trend.negative {
    color: var(--danger);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Occupancy Card */
.occupancy-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
}

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

.occupancy-header span {
    font-size: 14px;
    color: var(--text-secondary);
}

.menu-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.menu-btn:hover {
    background: #F3F4F6;
    color: var(--text-primary);
}

.occupancy-value {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.occupancy-value .value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.chart-placeholder {
    height: 100px;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   Activity Section
   ======================================== */
.activity {
    padding: 20px 0 40px;
}

.activity-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 24px;
}

.activity-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
}

.activity-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.activity-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.activity-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-value .value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.activity-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.activity-select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--surface);
    cursor: pointer;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F9FAFB;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.activity-item:hover {
    background: #F3F4F6;
}

.activity-room {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-blue);
    min-width: 70px;
}

.activity-text {
    flex: 1;
    font-size: 13px;
    color: var(--text-secondary);
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.suite {
    background: #E0E7FF;
    color: #4338CA;
}

.badge.deluxe {
    background: #D1FAE5;
    color: #059669;
}

.badge.standard {
    background: #F3F4F6;
    color: var(--text-secondary);
}

/* Booking Chart */
.booking-chart {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.donut-chart {
    position: relative;
    width: 140px;
    height: 140px;
}

.donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.donut-trend {
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   Properties Section
   ======================================== */
.properties {
    padding: 40px 0;
}

.section-header {
    margin-bottom: 28px;
}

.section-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.section-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.property-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.property-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.property-trend {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.property-trend.positive {
    background: var(--success);
    color: white;
}

.property-trend.negative {
    background: var(--danger);
    color: white;
}

/* Property Labels - Type & Operation */
.property-labels {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.label-type,
.label-operation {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
}

.label-type {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.label-operation {
    color: white;
}

.label-operation.sell {
    background: rgba(16, 185, 129, 0.9);
}

.label-operation.rent {
    background: rgba(59, 89, 152, 0.9);
}

.property-content {
    padding: 20px;
}

.property-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.property-address {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.property-features span {
    font-size: 12px;
    padding: 4px 10px;
    background: #F3F4F6;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.property-features .warning {
    background: var(--danger-light);
    color: var(--danger);
}

.property-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.property-price .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.property-price .purchase {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   AI Recommendations
   ======================================== */
.ai-recommendations {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d1b4e 100%);
    color: white;
}

.ai-header {
    text-align: center;
    margin-bottom: 40px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.ai-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-header p {
    font-size: 15px;
    opacity: 0.8;
}

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

.recommendation-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.recommendation-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.rec-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.rec-icon.keep {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
}

.rec-icon.sell {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}

.rec-icon.opportunity {
    background: rgba(249, 194, 60, 0.2);
    color: #F9C23C;
}

.recommendation-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.recommendation-card p {
    font-size: 14px;
    opacity: 0.8;
}

.btn-secondary {
    display: block;
    margin: 0 auto;
    padding: 14px 32px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   AI Strategy
   ======================================== */
.ai-strategy {
    padding: 60px 0;
}

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

.strategy-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.strategy-card:hover {
    box-shadow: var(--shadow-lg);
}

.strategy-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.strategy-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.strategy-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.strategy-item:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.item-trend {
    font-size: 13px;
    font-weight: 600;
}

.item-trend.positive {
    color: var(--success);
}

.item-trend.negative {
    color: var(--danger);
}

.btn-outline {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    color: var(--secondary-blue);
    border: 1.5px solid var(--secondary-blue);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-outline:hover {
    background: var(--secondary-blue);
    color: white;
}

/* Optimization Suggestion */
.optimization-suggestion {
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    border: 1px solid #A7F3D0;
}

.optimization-suggestion h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.optimization-suggestion p {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 20px;
}

.roi-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 24px 0;
}

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

.roi-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.roi-value.highlight {
    color: var(--success);
}

.roi-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roi-comparison svg {
    color: var(--success);
}

.optimization-suggestion strong {
    color: var(--success);
    font-weight: 700;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    background: var(--primary);
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-section h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.btn-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--text-primary) !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: 8px;
}

.btn-link:hover {
    background: var(--primary-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.6;
}

/* ========================================
   Cookie Banner
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: white;
    padding: 20px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-content p {
    font-size: 14px;
    opacity: 0.9;
    flex: 1;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

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

.btn-cookie-decline {
    padding: 10px 20px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-cookie-accept {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cookie-accept:hover {
    background: var(--primary-hover);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .performance-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-grid {
        grid-template-columns: 1fr;
    }
    
    .properties-grid,
    .recommendations-grid,
    .strategy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        max-width: none;
        width: 100%;
    }
    
    .lang-text {
        display: none;
    }
    
    .quick-links-card {
        grid-template-columns: 1fr;
    }
    
    .quick-link {
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px 20px;
    }
    
    .quick-link:last-child {
        border-bottom: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .properties-grid,
    .recommendations-grid,
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    
    .revenue-card-bg {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .roi-comparison {
        flex-direction: column;
        gap: 16px;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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









/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    background: var(--primary);
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.footer-section h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.btn-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--text-primary) !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: 8px;
}

.btn-link:hover {
    background: var(--primary-hover);
}

/* Footer Bottom - 3 Column Layout */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.6;
}

/* Payment Methods */
.footer-payment a {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.footer-payment .payment {
    display: inline-block;
    width: 56px;
    height: 34px;
    vertical-align: top;
}

.footer-payment .payment1 {
    background: url(/images/design/payment-methods/card-visa.svg) left top no-repeat white;
    background-size: 56px;
}

.footer-payment .payment2 {
    background: url(/images/design/payment-methods/card-mastercard.svg) left top no-repeat white;
    background-size: 56px;
}

.footer-payment .payment3 {
    background: url(/images/design/payment-methods/card-americanexpress.svg) left top no-repeat white;
    background-size: 56px;
}

.footer-payment .payment4 {
    background: url(/images/design/payment-methods/card-maestro.svg?1) left top no-repeat white;
    background-size: 56px;
}

.footer-payment .payment5 {
    background: url(/images/design/payment-methods/card-wire.svg) left top no-repeat white;
    background-size: 56px;
}

/* Security Reports */
.footer-reports {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.footer-reports a {
    display: inline-block;
}

.footer-reports .report {
    display: inline-block;
    width: 106px;
    height: 40px;
    vertical-align: top;
}

.footer-reports .report1 {
    background: url(/images/iw_websec_large_dark.webp) left top no-repeat #fff0;
    background-size: 100%;
}

.footer-reports .report2 {
    background: url(/images/iw_privacy_large_dark.webp) left top no-repeat #fff0;
    background-size: 100%;
}

.footer-reports .report3 {
    background: url(/images/iw_ssl_large_dark.webp) left top no-repeat #fff0;
    background-size: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-payment,
    .footer-reports {
        justify-content: center;
    }
}

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