/* ═══════════════════════════════════════════════════════════════
   LIVLY — Electric Indigo Design System
   Premium B2C SaaS for automated property search in Prague
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand palette */
  --void:            #0d0d1a;
  --deep-space:      #161625;
  --dusk:            #1e1e38;
  --electric-indigo: #6c5ce7;
  --lavender:        #a29bfe;
  --neon-mint:       #00d2a0;
  --ghost-violet:    #f3f1fe;
  --hot-red:         #ff4757;

  /* Legacy aliases for compatibility */
  --espresso:        var(--void);
  --dark-walnut:     var(--deep-space);
  --warm-brown:      var(--dusk);
  --terracotta:      var(--electric-indigo);
  --peach:           var(--lavender);
  --cream:           var(--ghost-violet);
  --warm-white:      #f4f4f8;
  --alert-red:       var(--hot-red);

  /* Semantic aliases */
  --bg-primary:      var(--warm-white);
  --bg-card:         #ffffff;
  --bg-secondary:    var(--ghost-violet);
  --accent:          var(--electric-indigo);
  --accent-light:    var(--lavender);
  --accent-hover:    #5a4bd6;
  --cta:             var(--electric-indigo);
  --text-primary:    var(--void);
  --text-secondary:  #555566;
  --text-muted:      #9999aa;
  --danger:          var(--hot-red);

  /* Typography */
  --font-display:    'Space Grotesk', sans-serif;
  --font-heading:    'Inter', sans-serif;
  --font-body:       'Inter', sans-serif;

  /* Spacing scale */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  /* Shadows — light theme */
  --shadow-sm:   0 2px 8px rgba(13, 13, 26, 0.06);
  --shadow-md:   0 4px 24px rgba(13, 13, 26, 0.08);
  --shadow-lg:   0 8px 48px rgba(13, 13, 26, 0.12);
  --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.15);
  --shadow-mint: 0 0 20px rgba(108, 92, 231, 0.2);

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --transition:  0.3s var(--ease-out);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;
  --sidebar-width: 260px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--accent-hover);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-secondary);
  max-width: 65ch;
}

.text-gradient {
  background: linear-gradient(135deg, var(--terracotta), var(--peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent { color: var(--terracotta); }
.text-mint   { color: var(--terracotta); }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ── Section ── */
.section,
.how-it-works,
.features,
.pricing,
.faq,
.stats,
.hero,
.savings-section,
.mission-vision,
.values-section,
.team-section,
.contact-section,
.comparison-section,
.cta-section,
.calculator-section,
.pricing-toggle-section,
.pricing-cards,
.faq-section,
.features-grid,
.visual-report-showcase {
  padding: var(--space-4xl) 0;
  position: relative;
}

@media (max-width: 768px) {
  .how-it-works,
  .features,
  .pricing,
  .faq,
  .stats,
  .savings-section,
  .mission-vision,
  .values-section,
  .team-section,
  .contact-section,
  .comparison-section,
  .cta-section,
  .calculator-section,
  .pricing-toggle-section,
  .pricing-cards,
  .faq-section,
  .features-grid,
  .visual-report-showcase {
    padding: var(--space-2xl) 0;
  }
  .container {
    padding: 0 var(--space-lg);
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header p {
  margin: var(--space-md) auto 0;
  font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════
   GRID PATTERN & SECTION BOUNDARIES
   ═══════════════════════════════════════════════ */

/* ── Subtle grid pattern over body (from Visual Report) ── */
body {
  background-image:
    linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-attachment: fixed;
}

/* ── Section separators — visible gradient borders between sections ── */
.stats,
.how-it-works,
.features,
.savings-section,
.pricing,
.faq,
.comparison-section,
.cta-section,
.calculator-section,
.pricing-toggle-section,
.pricing-cards,
.faq-section,
.features-grid,
.visual-report-showcase {
  border-top: 1px solid rgba(108, 92, 231, 0.1);
}

/* Subtle gradient glow at top of each section */
.stats::before,
.how-it-works::before,
.features::before,
.savings-section::before,
.pricing::before,
.faq::before,
.comparison-section::before,
.cta-section::before,
.calculator-section::before,
.pricing-toggle-section::before,
.pricing-cards::before,
.faq-section::before,
.features-grid::before,
.visual-report-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.2), transparent);
  pointer-events: none;
}

/* Alternating subtle background tints for section distinction */
.how-it-works,
.savings-section,
.faq,
.pricing-cards,
.faq-section,
.visual-report-showcase {
  background: rgba(108, 92, 231, 0.02);
}

.features,
.pricing,
.comparison-section,
.calculator-section,
.features-grid {
  background: rgba(108, 92, 231, 0.03);
}

/* ── Better card boundaries ── */
.glass-card {
  border: 1px solid rgba(108, 92, 231, 0.12);
  box-shadow: 0 2px 12px rgba(13, 13, 26, 0.04);
}

.glass-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: 0 4px 24px rgba(108, 92, 231, 0.1), 0 8px 32px rgba(13, 13, 26, 0.05);
}

/* Card border accent on top (Visual Report style colored borders) */
.card,
.pricing-card {
  border: 1px solid rgba(108, 92, 231, 0.1);
  box-shadow: 0 2px 12px rgba(13, 13, 26, 0.04);
}

.card:hover,
.pricing-card:hover {
  border-color: rgba(108, 92, 231, 0.25);
}

/* Negotiation cards — stronger left accent border (Visual Report argument style) */
.negotiation-card {
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-left: 4px solid var(--electric-indigo);
  box-shadow: 0 2px 12px rgba(13, 13, 26, 0.04);
}

.negotiation-card:nth-child(2) {
  border-left-color: var(--terracotta);
}

.negotiation-card:nth-child(3) {
  border-left-color: #f1c40f;
}

.negotiation-card:nth-child(4) {
  border-left-color: var(--hot-red);
}

.negotiation-card:nth-child(5) {
  border-left-color: var(--lavender);
}

.negotiation-card:nth-child(6) {
  border-left-color: #ff8c00;
}

.negotiation-card:hover {
  border-color: rgba(108, 92, 231, 0.2);
  box-shadow: 0 6px 24px rgba(13, 13, 26, 0.05);
}

/* Stats items — bordered cards */
.stat-item {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(13, 13, 26, 0.04);
  transition: all var(--transition);
}

.stat-item:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.1);
}

/* Step cards — bordered */
.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 2px 10px rgba(13, 13, 26, 0.04);
  transition: all var(--transition);
}

.step-card:hover {
  border-color: rgba(108, 92, 231, 0.15);
  box-shadow: 0 6px 20px rgba(13, 13, 26, 0.04);
}

/* FAQ items — subtle border */
.faq-item {
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

/* Section header — accent left border (Visual Report section-title style) */
.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--electric-indigo), var(--lavender));
  margin: var(--space-md) auto 0;
  border-radius: 2px;
}

/* Pricing card featured — stronger glow border */
.pricing-card.featured {
  border: 2px solid var(--electric-indigo);
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.1), 0 4px 24px rgba(13, 13, 26, 0.05);
}

/* About page cards — better boundaries */
.mission-card,
.vision-card {
  border: 1px solid rgba(108, 92, 231, 0.12);
  box-shadow: 0 2px 12px rgba(13, 13, 26, 0.04);
}

.value-card {
  border: 1px solid rgba(108, 92, 231, 0.1);
  box-shadow: 0 2px 10px rgba(13, 13, 26, 0.04);
}

.value-card:hover {
  border-color: rgba(108, 92, 231, 0.25);
}

/* Mission/Vision sections on about page */
.mission-vision,
.values-section,
.team-section,
.contact-section {
  border-top: 1px solid rgba(108, 92, 231, 0.1);
}

.mission-vision::before,
.values-section::before,
.team-section::before,
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.2), transparent);
  pointer-events: none;
}

/* Alternate about sections */
.values-section,
.contact-section {
  background: rgba(108, 92, 231, 0.02);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cta);
  margin-bottom: var(--space-md);
}

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(13, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(108, 92, 231, 0.1);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-logo .dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.lang-toggle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 10px;
  border: 1px solid rgba(243, 241, 254, 0.15);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 100px var(--space-xl) var(--space-xl);
    gap: var(--space-xl);
    transition: right var(--transition);
    border-left: 1px solid rgba(108, 92, 231, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-actions {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: auto;
    padding: 0 var(--space-xl);
    padding-top: calc(100px + 250px);
    flex-direction: column;
    transition: right var(--transition);
  }

  .nav-links.open ~ .nav-actions {
    right: 0;
  }
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
  color: #ffffff;
}

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

.btn-secondary:hover {
  border-color: var(--terracotta);
  background: rgba(108, 92, 231, 0.06);
  color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--terracotta);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--accent-hover);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #ff6b7a;
  transform: translateY(-2px);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.1);
  color: var(--accent-light);
}

.btn-icon:hover {
  background: rgba(108, 92, 231, 0.2);
}

/* ═══════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(108, 92, 231, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Glassmorphism card */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
}

.glass-card:hover {
  border-color: rgba(108, 92, 231, 0.25);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* Feature card icon */
.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(108, 92, 231, 0.1);
  margin-bottom: var(--space-lg);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-light);
}

.card h3,
.glass-card h3 {
  margin-bottom: var(--space-md);
}

.card p, .glass-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   SAVINGS / NEGOTIATION SECTION
   ═══════════════════════════════════════════════ */
.savings-section {
  overflow: hidden;
}

.savings-hero {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.savings-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--terracotta), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

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

.negotiation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.negotiation-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.negotiation-card:hover {
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 13, 26, 0.05);
}

/* ── Negotiation card visuals ── */
.neg-visual {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.neg-anim {
  width: 72px;
  height: 72px;
  position: relative;
}

/* 1 — Price comparison bars */
.mini-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
  padding: 0 4px;
}

.mini-bar {
  flex: 1;
  height: var(--h, 60%);
  background: var(--c, var(--electric-indigo));
  border-radius: 3px 3px 0 0;
  animation: miniBarGrow 2.5s ease-out infinite;
  animation-delay: var(--d, 0s);
  transform-origin: bottom;
}

.mini-bar.highlight {
  box-shadow: 0 0 8px rgba(108, 92, 231, 0.25);
}

.mini-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  padding: 0 2px;
}

.mini-bar-labels span {
  font-size: 7px;
  color: var(--text-muted);
  font-weight: 500;
}

@keyframes miniBarGrow {
  0% { transform: scaleY(0); }
  25%, 85% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* 2 — AI scan animation */
.scan-frame {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(108, 92, 231, 0.2);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.scan-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric-indigo), transparent);
  animation: scanDown 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--electric-indigo);
}

@keyframes scanDown {
  0% { top: 0; }
  50% { top: 100%; }
  100% { top: 0; }
}

.scan-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hot-red);
  opacity: 0;
  animation: scanDotPop 2s ease-in-out infinite;
}

.sd-1 { top: 20%; left: 25%; animation-delay: 0.4s; }
.sd-2 { top: 50%; left: 65%; animation-delay: 0.8s; }
.sd-3 { top: 75%; left: 35%; animation-delay: 1.2s; }

@keyframes scanDotPop {
  0%, 30% { opacity: 0; transform: scale(0); }
  40%, 80% { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; transform: scale(0); }
}

.scan-badge {
  position: absolute;
  bottom: 2px;
  right: 6px;
  font-size: 9px;
  font-weight: 800;
  color: var(--electric-indigo);
  font-family: var(--font-display);
}

/* 3 — Energy gauge */
.neg-anim-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.gauge-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: conic-gradient(
    var(--terracotta) 0deg 60deg,
    #f1c40f 60deg 140deg,
    #e67e22 140deg 200deg,
    var(--hot-red) 200deg 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: gaugeRotate 4s ease-in-out infinite alternate;
}

.gauge-fill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--deep-space);
}

.gauge-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: #e67e22;
  animation: gaugePulse 2s ease-in-out infinite alternate;
}

.gauge-label {
  font-size: 8px;
  color: var(--text-muted);
}

@keyframes gaugeRotate {
  from { transform: rotate(-20deg); }
  to { transform: rotate(20deg); }
}

@keyframes gaugePulse {
  from { opacity: 0.6; }
  to { opacity: 1; color: var(--hot-red); }
}

/* 4 — Clock / time on market */
.neg-anim-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.clock-face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(108, 92, 231, 0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-hand {
  position: absolute;
  width: 2px;
  height: 14px;
  background: var(--hot-red);
  bottom: 50%;
  left: calc(50% - 1px);
  transform-origin: bottom center;
  animation: clockSpin 3s linear infinite;
  border-radius: 1px;
}

@keyframes clockSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.clock-days {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--hot-red);
  animation: daysPulse 1.5s ease-in-out infinite alternate;
}

.clock-label {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: -2px;
}

@keyframes daysPulse {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

/* 5 — Comparison bars */
.neg-anim-compare {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  height: 100%;
}

.compare-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.compare-bar {
  height: 10px;
  border-radius: 5px;
  animation: compareGrow 3s ease-out infinite;
}

.compare-bar.sold {
  width: var(--w, 72%);
  background: var(--terracotta);
  animation-delay: 0.2s;
}

.compare-bar.current {
  width: var(--w, 85%);
  background: var(--hot-red);
  opacity: 0.7;
  animation-delay: 0.5s;
}

.compare-label {
  font-size: 8px;
  color: var(--text-muted);
  white-space: nowrap;
}

.compare-diff {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--terracotta);
  text-align: center;
  animation: diffFlash 2s ease-in-out infinite alternate;
}

@keyframes compareGrow {
  0% { width: 0; }
  25%, 85% { width: var(--w, 72%); }
  100% { width: 0; }
}

@keyframes diffFlash {
  from { opacity: 0.5; text-shadow: none; }
  to { opacity: 1; text-shadow: 0 0 8px rgba(108, 92, 231, 0.25); }
}

/* 6 — Noise waves */
.neg-anim-noise {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.noise-icon {
  font-size: 20px;
  animation: noiseShake 0.5s ease-in-out infinite alternate;
}

@keyframes noiseShake {
  from { transform: translateX(-1px); }
  to { transform: translateX(1px); }
}

.noise-wave {
  position: absolute;
  border: 2px solid var(--hot-red);
  border-radius: 50%;
  opacity: 0;
  animation: noiseExpand 2s ease-out infinite;
}

.w1 { width: 30px; height: 30px; top: 6px; left: calc(50% - 15px); animation-delay: 0s; }
.w2 { width: 46px; height: 46px; top: -2px; left: calc(50% - 23px); animation-delay: 0.4s; }
.w3 { width: 62px; height: 62px; top: -10px; left: calc(50% - 31px); animation-delay: 0.8s; }

@keyframes noiseExpand {
  0% { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0; }
}

.noise-meter {
  width: 50px;
  height: 4px;
  background: rgba(108, 92, 231, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.noise-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), #f1c40f, var(--hot-red));
  border-radius: 2px;
  animation: noiseFill 2s ease-in-out infinite alternate;
}

@keyframes noiseFill {
  from { width: 30%; }
  to { width: 85%; }
}

.neg-content h4 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.neg-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.neg-example {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.neg-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(108, 92, 231, 0.08);
  color: var(--accent-light);
  font-weight: 500;
}

.neg-saving {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta);
  font-family: var(--font-display);
}

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

.savings-note {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .negotiation-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .savings-amount {
    font-size: 2.2rem;
  }
  .negotiation-card {
    padding: var(--space-lg);
  }
  .neg-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* ═══════════════════════════════════════════════
   PRICING CARDS
   ═══════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  transition: all var(--transition);
}

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

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(232, 168, 137, 0.04));
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-light);
  margin-bottom: var(--space-md);
}

.pricing-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

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

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.pricing-features {
  margin-bottom: var(--space-xl);
}

.pricing-features li,
.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.feature-item.disabled {
  opacity: 0.4;
}

.pricing-features li svg,
.feature-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex-shrink: 0;
}

.pricing-features li .check {
  stroke: var(--cta);
}

.pricing-features li .x-mark,
.feature-item.disabled .feature-icon {
  stroke: var(--text-muted);
}

.pricing-card .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .pricing-card {
    padding: var(--space-xl) var(--space-lg);
  }
  .pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
  }
  .pricing-amount,
  .pricing-price {
    margin-bottom: var(--space-sm);
  }
  .pricing-period {
    margin-bottom: var(--space-lg);
  }
  .pricing-card .btn {
    margin-top: var(--space-md);
    margin-bottom: var(--space-xl);
  }
  .feature-item {
    padding: 10px 0;
    font-size: 0.85rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(108, 92, 231, 0.05);
  }
  .feature-item:last-child {
    border-bottom: none;
  }
  .featured-badge {
    font-size: 0.7rem;
  }
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 26, 0.88) 0%, rgba(13, 13, 26, 0.94) 100%);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}

.hero-glow-1 {
  background: var(--accent);
  top: -100px;
  right: -100px;
}

.hero-glow-2 {
  background: var(--lavender);
  bottom: -100px;
  left: -100px;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  animation: heroFadeIn 1s ease-out both;
  color: #ffffff;
}

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

.hero-text h1 {
  margin-bottom: var(--space-lg);
  color: #ffffff;
}

.hero-text p {
  font-size: 1.15rem;
  margin-bottom: var(--space-2xl);
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

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

.hero-cta {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(108, 92, 231, 0.12);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 8px 32px rgba(13, 13, 26, 0.06);
  animation: floatCard 6s ease-in-out infinite;
  min-width: 130px;
  text-align: center;
}

.floating-card .card-stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--cta);
  margin-bottom: var(--space-xs);
}

.floating-card .card-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.floating-card.card-1,
.floating-card.card-animate-1 {
  top: 40px;
  left: -40px;
}

.floating-card.card-2,
.floating-card.card-animate-2 {
  top: 50%;
  right: 20px;
  animation-delay: -2s;
}

.floating-card.card-3,
.floating-card.card-animate-3 {
  bottom: 80px;
  left: 30px;
  animation-delay: -4s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { display: none; }
}

/* ═══════════════════════════════════════════════
   STATS / SOCIAL PROOF
   ═══════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--cta);
  margin-bottom: var(--space-xs);
}

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

/* ═══════════════════════════════════════════════
   FEATURE GRID
   ═══════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

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

/* ═══════════════════════════════════════════════
   HOW IT WORKS / STEPS
   ═══════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: rgba(108, 92, 231, 0.15);
  opacity: 1;
}

.step-item,
.step-card {
  text-align: center;
  position: relative;
}

.step-number,
.step-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.1);
  border: 2px solid var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent-light);
  position: relative;
  z-index: 1;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-light);
}

/* Animated Step Icons — no circle wrapper, let the animation breathe */
.step-icon-animated {
  background: transparent;
  border: none;
  width: auto;
  height: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

/* ═══════════════════════════════════════════════
   STEP ANIMATIONS — HTML/CSS based (Issue #2)
   ═══════════════════════════════════════════════ */

/* Base animation container */
.step-anim {
  width: 100%;
  max-width: 200px;
  margin: 0 auto var(--space-lg);
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(108, 92, 231, 0.06);
  border: 1px solid rgba(108, 92, 231, 0.1);
}

/* Chip styles for criteria animation */
.anim-chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.anim-chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  background: rgba(108, 92, 231, 0.08);
  border: 1px solid rgba(108, 92, 231, 0.12);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.anim-chip.small {
  padding: 4px 10px;
  font-size: 11px;
}

.anim-chip.active {
  background: var(--electric-indigo);
  border-color: var(--electric-indigo);
  color: white;
  box-shadow: 0 0 12px rgba(108, 92, 231, 0.25);
}

/* Cycle through chips animation */
.step-anim-criteria .anim-chips:first-child .anim-chip:nth-child(1) {
  animation: chipCycle 4s ease-in-out infinite;
}
.step-anim-criteria .anim-chips:first-child .anim-chip:nth-child(2) {
  animation: chipCycle 4s ease-in-out infinite 1.3s;
}
.step-anim-criteria .anim-chips:first-child .anim-chip:nth-child(3) {
  animation: chipCycle 4s ease-in-out infinite 2.6s;
}

@keyframes chipCycle {
  0%, 30% {
    background: var(--electric-indigo);
    border-color: var(--electric-indigo);
    color: white;
    box-shadow: 0 0 12px rgba(108, 92, 231, 0.25);
  }
  35%, 100% {
    background: rgba(108, 92, 231, 0.08);
    border-color: rgba(108, 92, 231, 0.12);
    color: var(--text-secondary);
    box-shadow: none;
  }
}

/* Slider animation */
.anim-slider {
  position: relative;
  height: 4px;
  margin: 20px 10px;
}

.anim-slider-track {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(108, 92, 231, 0.12);
  border-radius: 2px;
}

.anim-slider-fill {
  position: absolute;
  height: 100%;
  background: var(--electric-indigo);
  border-radius: 2px;
  animation: sliderFill 3s ease-in-out infinite;
}

.anim-slider-thumb {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--electric-indigo);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.3);
  animation: thumbSlide 3s ease-in-out infinite;
}

@keyframes sliderFill {
  0%, 100% {
    width: 30%;
  }
  50% {
    width: 75%;
  }
}

@keyframes thumbSlide {
  0%, 100% {
    left: 30%;
  }
  50% {
    left: 75%;
  }
}

/* Radar animation */
.step-anim-radar {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-lg);
  padding: 0;
  background: transparent;
  border: none;
}

.radar-ring {
  position: absolute;
  border: 2px solid rgba(108, 92, 231, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 140px;
  height: 140px;
}
.ring-2 {
  width: 100px;
  height: 100px;
}
.ring-3 {
  width: 60px;
  height: 60px;
}

.radar-center {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--electric-indigo);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--electric-indigo);
}

.radar-sweep-line {
  position: absolute;
  width: 3px;
  height: 70px;
  background: linear-gradient(to top, transparent, var(--electric-indigo));
  bottom: 50%;
  left: calc(50% - 1.5px);
  transform-origin: bottom center;
  animation: sweepRotate 3s linear infinite;
  box-shadow: 0 0 12px var(--electric-indigo);
}

@keyframes sweepRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 6px var(--terracotta);
  animation: blipAppear 3s ease-in-out infinite;
}

.blip-1 {
  top: 25%;
  left: 65%;
  animation-delay: 0.3s;
}
.blip-2 {
  top: 40%;
  left: 80%;
  animation-delay: 0.9s;
}
.blip-3 {
  top: 70%;
  left: 30%;
  animation-delay: 1.5s;
}
.blip-4 {
  top: 55%;
  left: 70%;
  animation-delay: 2.1s;
}

@keyframes blipAppear {
  0%, 15% {
    opacity: 0;
    transform: scale(0);
  }
  20%, 80% {
    opacity: 1;
    transform: scale(1);
  }
  85%, 100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* Analysis animation — data-rich export preview */
.step-anim-analysis {
  padding: 0;
  background: transparent;
  border: none;
  max-width: 220px;
}

.analysis-card {
  background: var(--deep-space);
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: var(--radius-md);
  padding: 14px;
  max-width: 210px;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 4px 20px rgba(13, 13, 26, 0.06);
}

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

.analysis-badge {
  background: var(--electric-indigo);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-display);
}

.analysis-title {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.analysis-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.analysis-label {
  font-size: 10px;
  color: var(--text-muted);
}

.analysis-value {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.green-text {
  color: var(--terracotta) !important;
}

.analysis-price-bar {
  margin: 10px 0 6px;
}

.price-bar-track {
  height: 6px;
  background: rgba(108, 92, 231, 0.1);
  border-radius: 3px;
  position: relative;
  overflow: visible;
}

.price-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--electric-indigo));
  border-radius: 3px;
  animation: barExpand 3s ease-out infinite;
  width: var(--bar-width, 87%);
}

.price-bar-avg {
  position: absolute;
  top: -4px;
  right: 0;
  width: 2px;
  height: 14px;
  background: var(--hot-red);
  border-radius: 1px;
  opacity: 0.7;
}

.price-diff {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--terracotta);
  margin-top: 4px;
  animation: priceDiffPulse 2s ease-in-out infinite alternate;
}

@keyframes priceDiffPulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

.analysis-divider {
  height: 1px;
  background: rgba(108, 92, 231, 0.1);
  margin: 8px 0;
}

.analysis-arguments {
  margin: 8px 0 10px;
}

.arg-line {
  font-size: 9px;
  color: var(--text-muted);
  padding: 3px 0;
  padding-left: 10px;
  border-left: 2px solid rgba(108, 92, 231, 0.2);
  opacity: 0;
  animation: argReveal 6s ease-in-out infinite;
}

.arg-1 { animation-delay: 0s; }
.arg-2 { animation-delay: 0.8s; }
.arg-3 { animation-delay: 1.6s; }

@keyframes argReveal {
  0% { opacity: 0; transform: translateX(-5px); }
  10%, 80% { opacity: 1; transform: translateX(0); }
  90%, 100% { opacity: 0; transform: translateX(0); }
}

@keyframes barExpand {
  0% { width: 0; }
  30%, 100% { width: var(--bar-width, 87%); }
}

.analysis-score {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.score-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(var(--terracotta) 0deg 300deg, rgba(196,112,75,0.15) 300deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scoreGlow 2s ease-in-out infinite alternate;
}

.score-circle span {
  background: var(--deep-space);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--terracotta);
  font-family: var(--font-display);
}

.score-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

@keyframes scoreGlow {
  from { box-shadow: 0 0 5px rgba(108, 92, 231, 0.15); }
  to { box-shadow: 0 0 15px rgba(108, 92, 231, 0.25); }
}

.step-item h3,
.step-card h3 {
  margin-bottom: var(--space-sm);
}

.step-item p,
.step-card p {
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 700px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
  .steps-grid::before { display: none; }
  .step-card {
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(108, 92, 231, 0.08);
  }
  .step-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ═══════════════════════════════════════════════
   FAQ / ACCORDION
   ═══════════════════════════════════════════════ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(108, 92, 231, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent-light);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--accent-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-lg);
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--espresso);
  color: rgba(255, 255, 255, 0.8);
  border-top: none;
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer h4, .footer .nav-logo, .footer .logo {
  color: #ffffff !important;
}
.footer p, .footer .footer-col a, .footer .footer-brand p {
  color: rgba(255, 255, 255, 0.6) !important;
}
.footer .footer-col a:hover {
  color: var(--peach) !important;
}
.footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}
.footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.4) !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .nav-logo,
.footer-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 30ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--cta);
}

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

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.08);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(30, 30, 56, 0.8);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: all var(--transition);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

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

.form-input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.15);
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: var(--space-xs);
  display: none;
}

.form-input.error ~ .form-error,
.form-group.error .form-error {
  display: block;
}

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

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a29bfe' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* Checkbox / Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

/* Range slider */
.range-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.25);
}

/* ═══════════════════════════════════════════════
   AUTH PAGES (Login/Register)
   ═══════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  position: relative;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.auth-card h2 {
  text-align: center;
  margin-bottom: var(--space-xs);
}

.auth-card .auth-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(108, 92, 231, 0.1);
}

.social-btns {
  display: flex;
  gap: var(--space-md);
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px;
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.social-btn:hover {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.04);
  color: var(--text-primary);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.auth-footer {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════
   DASHBOARD LAYOUT
   ═══════════════════════════════════════════════ */
.app-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-card);
  border-right: 1px solid rgba(108, 92, 231, 0.08);
  padding: var(--space-xl) 0;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 50;
  transition: transform var(--transition);
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
  color: var(--text-primary);
  background: rgba(108, 92, 231, 0.04);
}

.sidebar-nav a.active {
  color: var(--accent-light);
  border-left-color: var(--accent);
  background: rgba(108, 92, 231, 0.06);
}

.sidebar-nav a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-section {
  padding: var(--space-md) var(--space-xl);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.app-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: var(--space-2xl);
  min-height: calc(100vh - var(--nav-height));
}

.page-header {
  margin-bottom: var(--space-2xl);
}

.page-header h1 {
  font-size: 1.8rem;
  margin-bottom: var(--space-xs);
}

.page-header p {
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .app-main {
    margin-left: 0;
    padding: var(--space-lg);
  }
}

/* ═══════════════════════════════════════════════
   DASHBOARD CARDS / METRICS
   ═══════════════════════════════════════════════ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.metric-card .metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.metric-card .metric-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--text-primary);
}

.metric-card .metric-change {
  font-size: 0.8rem;
  margin-top: var(--space-xs);
}

.metric-card .metric-change.up {
  color: var(--cta);
}

.metric-card .metric-change.down {
  color: var(--danger);
}

/* ═══════════════════════════════════════════════
   PROPERTY CARDS
   ═══════════════════════════════════════════════ */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.property-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.property-card:hover {
  border-color: rgba(108, 92, 231, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

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

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

.property-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--cta);
  color: var(--void);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.property-card-badge.warning {
  background: var(--danger);
  color: white;
}

.property-card-body {
  padding: var(--space-lg);
}

.property-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.property-card-title {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.property-card-meta {
  display: flex;
  gap: var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.property-card-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.property-card-meta svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-light);
}

/* ═══════════════════════════════════════════════
   PROPERTY DETAIL PAGE
   ═══════════════════════════════════════════════ */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 250px 250px;
  gap: var(--space-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.property-gallery .gallery-main {
  grid-row: 1 / 3;
}

.property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: opacity var(--transition);
}

.property-gallery img:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .property-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 300px;
  }
  .property-gallery .gallery-main { grid-row: auto; }
  .property-gallery > :not(.gallery-main) { display: none; }
}

.property-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
}

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

.property-info-section {
  margin-bottom: var(--space-2xl);
}

.property-info-section h2 {
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(108, 92, 231, 0.08);
}

/* AI Analysis box */
.ai-analysis-box {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(108, 92, 231, 0.04));
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.ai-analysis-box .ai-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-light);
}

.ai-analysis-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(108, 92, 231, 0.06);
}

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

.ai-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.ai-tag.green { background: rgba(108, 92, 231, 0.1); color: var(--cta); }
.ai-tag.yellow { background: rgba(255, 200, 50, 0.15); color: #ffc832; }
.ai-tag.red { background: rgba(255, 71, 87, 0.15); color: var(--danger); }

/* Price benchmark chart mockup */
.chart-placeholder {
  height: 200px;
  background: rgba(30, 30, 56, 0.5);
  border: 1px dashed rgba(108, 92, 231, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  gap: var(--space-sm);
}

.chart-bar {
  flex: 1;
  background: var(--accent);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  opacity: 0.6;
  transition: opacity var(--transition);
  position: relative;
}

.chart-bar.active {
  background: var(--cta);
  opacity: 1;
}

.chart-bar:hover { opacity: 1; }

/* Sticky sidebar panel */
.property-sidebar-card {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.property-sidebar-card .price-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.property-sidebar-card .price-sqm {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* ═══════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(108, 92, 231, 0.05);
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: rgba(108, 92, 231, 0.03);
}

.comparison-table .highlight {
  background: rgba(108, 92, 231, 0.05);
}

.comparison-table .highlight th,
.comparison-table .highlight td {
  color: var(--accent-light);
}

/* ═══════════════════════════════════════════════
   TOGGLE SWITCH
   ═══════════════════════════════════════════════ */
.toggle-group {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.toggle-option {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}

.toggle-option.active {
  background: var(--accent);
  color: white;
}

.toggle-option:hover:not(.active) {
  color: var(--text-primary);
}

/* Annual discount badge */
.toggle-discount {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cta);
  margin-left: var(--space-xs);
}

/* ═══════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════ */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(108, 92, 231, 0.08);
  margin-bottom: var(--space-xl);
}

.tab-btn {
  padding: var(--space-md) var(--space-xl);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.tab-btn:hover {
  color: var(--text-secondary);
}

.tab-btn.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent);
}

.tab-content {
  display: none;
}

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

/* ═══════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  font-size: 1.5rem;
}

/* ═══════════════════════════════════════════════
   NOTIFICATIONS / ALERTS
   ═══════════════════════════════════════════════ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.alert-success {
  background: rgba(108, 92, 231, 0.08);
  border: 1px solid rgba(108, 92, 231, 0.15);
  color: var(--cta);
}

.alert-warning {
  background: rgba(255, 200, 50, 0.1);
  border: 1px solid rgba(255, 200, 50, 0.2);
  color: #ffc832;
}

.alert-error {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.2);
  color: var(--danger);
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > * {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ═══════════════════════════════════════════════
   SETTINGS PAGE
   ═══════════════════════════════════════════════ */
.settings-section {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.settings-section h3 {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(108, 92, 231, 0.06);
}

.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(108, 92, 231, 0.04);
}

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

.settings-row-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.settings-row-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Toggle switch */
.switch {
  width: 44px;
  height: 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}

.switch.active {
  background: var(--accent);
}

.switch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
}

.switch.active::after {
  transform: translateX(20px);
}

/* ═══════════════════════════════════════════════
   ROI CALCULATOR
   ═══════════════════════════════════════════════ */
.calculator-card {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(232, 168, 137, 0.04));
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.calculator-result {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(108, 92, 231, 0.06);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
}

.calculator-result .result-value,
.calculator-result .result-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--cta);
}

.calculator-result .result-label,
.calculator-result .result-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.calculator-item {
  margin-bottom: var(--space-xl);
}

.calculator-item label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.calculator-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(108, 92, 231, 0.12);
  outline: none;
}

.calculator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--electric-indigo);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.25);
}

.slider-display {
  text-align: center;
  margin-top: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-light);
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════
   TEAM GRID
   ═══════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
}

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

.team-card .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 3px solid rgba(108, 92, 231, 0.12);
}

.team-card h4 {
  margin-bottom: var(--space-xs);
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--accent-light);
}

/* ═══════════════════════════════════════════════
   VISUAL REPORT MOCKUP
   ═══════════════════════════════════════════════ */
.visual-report-mockup {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(30, 30, 56, 0.9));
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(13, 13, 26, 0.08);
}

.report-header {
  background: linear-gradient(135deg, var(--electric-indigo), var(--accent));
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.report-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  margin-bottom: var(--space-sm);
}

.report-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: white;
}

.report-section {
  margin-bottom: var(--space-2xl);
}

.report-section h3 {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(108, 92, 231, 0.12);
}

.price-chart {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.chart-bar-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.chart-bar-wrapper.active .price-bar {
  border-color: var(--cta);
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.2);
}

.price-bar {
  flex: 1;
  padding: var(--space-md);
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(108, 92, 231, 0.04);
  animation: priceBarSlide 0.8s ease-out forwards;
  opacity: 0;
}

.price-bar.bar-low { animation-delay: 0.2s; }
.price-bar.bar-current { animation-delay: 0.4s; }
.price-bar.bar-high { animation-delay: 0.6s; }

.bar-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.bar-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cta);
}

@keyframes priceBarSlide {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.stat-box {
  background: rgba(108, 92, 231, 0.06);
  border: 1px solid rgba(108, 92, 231, 0.1);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.insights-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.insight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  animation: insightSlide 0.6s ease-out forwards;
  opacity: 0;
}

.insight-item.good {
  background: rgba(108, 92, 231, 0.06);
  border-left: 3px solid var(--cta);
  color: var(--cta);
  animation-delay: 0.8s;
}

.insight-item.warning {
  background: rgba(255, 200, 50, 0.08);
  border-left: 3px solid #ffc832;
  color: #ffc832;
  animation-delay: 1s;
}

.insight-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

@keyframes insightSlide {
  from { opacity: 0; transform: translateX(-15px); }
  to { opacity: 1; transform: translateX(0); }
}

.report-score {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(108, 92, 231, 0.08));
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  margin-top: var(--space-xl);
}

.score-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--cta);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.score-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .visual-report-mockup {
    padding: var(--space-xl);
  }
  .report-grid {
    grid-template-columns: 1fr;
  }
}

/* Icon container styles for about page */
.icon-container {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--electric-indigo);
  margin: 0 auto var(--space-lg);
}

.icon-container svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

/* Team image wrapper styles */
.team-image-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 3px solid rgba(108, 92, 231, 0.12);
  overflow: hidden;
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════ */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-sm      { gap: var(--space-sm); }
.gap-md      { gap: var(--space-md); }
.gap-lg      { gap: var(--space-lg); }
.gap-xl      { gap: var(--space-xl); }
.text-center { text-align: center; }
.mt-md       { margin-top: var(--space-md); }
.mt-lg       { margin-top: var(--space-lg); }
.mt-xl       { margin-top: var(--space-xl); }
.mt-2xl      { margin-top: var(--space-2xl); }
.mb-md       { margin-bottom: var(--space-md); }
.mb-lg       { margin-bottom: var(--space-lg); }
.mb-xl       { margin-bottom: var(--space-xl); }
.mb-2xl      { margin-bottom: var(--space-2xl); }
.mx-auto     { margin-left: auto; margin-right: auto; }
.w-full      { width: 100%; }
.hidden      { display: none !important; }

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }

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

/* Divider */
.divider {
  height: 1px;
  background: rgba(108, 92, 231, 0.08);
  margin: var(--space-xl) 0;
}

/* Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 12px;
  background: rgba(108, 92, 231, 0.08);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--accent-light);
}

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

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ═══════════════════════════════════════════════
   SEARCH CONFIG PAGE
   ═══════════════════════════════════════════════ */
.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

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

.filter-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.filter-card h3 {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.filter-card h3 svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-light);
}

/* Range display */
.range-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--accent-light);
  font-weight: 600;
  margin-top: var(--space-sm);
}

/* Multi-select chips */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.chip-option {
  padding: 6px 14px;
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.chip-option:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.chip-option.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ═══════════════════════════════════════════════
   NEGOTIATION ARGUMENTS
   ═══════════════════════════════════════════════ */
.argument-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  display: flex;
  gap: var(--space-md);
}

.argument-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(108, 92, 231, 0.08);
}

.argument-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--cta);
}

.argument-card h4 {
  margin-bottom: var(--space-xs);
}

.argument-card p {
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════
   CONNECTED SERVICES (Settings)
   ═══════════════════════════════════════════════ */
.service-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(108, 92, 231, 0.1);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-info {
  flex: 1;
}

.service-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.service-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   PAGE TRANSITIONS
   ═══════════════════════════════════════════════ */
.page-enter {
  animation: pageEnter 0.5s var(--ease-out);
}

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

/* Gradient border effect */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--cta));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Pulse dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cta);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--cta);
  animation: pulse 2s ease-out infinite;
}

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

/* ═══════════════════════════════════════════════════════════════
   COMPATIBILITY — alias classes used by page templates
   ═══════════════════════════════════════════════════════════════ */

/* ── Navbar aliases ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled,
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(13, 13, 26, 0.08);
}
.navbar > .container,
.navbar > .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-brand {
  display: flex;
  align-items: center;
}
.nav-brand .logo,
.nav-brand .nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 6px;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-brand .logo .dot,
.nav-brand .nav-logo .dot,
.nav-logo .dot {
  color: var(--electric-indigo);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Dashboard / app nav */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.navbar-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
}
.navbar-spacer {
  flex: 1;
}
.navbar-user {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.user-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ── Sidebar aliases ── */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}
.sidebar-link:hover {
  color: var(--text-primary);
  background: rgba(108, 92, 231, 0.04);
}
.sidebar-link.active {
  color: var(--accent-light);
  border-left-color: var(--accent);
  background: rgba(108, 92, 231, 0.06);
}
.sidebar-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.sidebar-section-label,
.sidebar-section-title {
  padding: var(--space-md) var(--space-xl);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: var(--space-md);
}
.sidebar-menu {
  padding: 0;
}

/* ── App layout aliases ── */
.app {
  min-height: 100vh;
}
.app-container {
  display: flex;
  padding-top: var(--nav-height);
  min-height: 100vh;
}

/* ── Social button aliases ── */
.btn-social,
.btn-google,
.btn-apple {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px;
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  background: none;
}
.btn-social:hover {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.04);
  color: var(--text-primary);
}

/* ── Auth link ── */
.auth-link-small {
  font-size: 0.8rem;
  color: var(--accent-light);
  text-decoration: none;
}
.auth-link-small:hover {
  color: var(--cta);
}

/* ── Hero extra ── */
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 50ch;
  line-height: 1.6;
}

.hero-sm .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

/* Feature Card Variants with Unique Gradients */
.features-grid .glass-card:nth-child(1) {
  border-top: 2px solid var(--electric-indigo);
}
.features-grid .glass-card:nth-child(1):hover {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(108, 92, 231, 0.05));
  border-color: rgba(108, 92, 231, 0.3);
  transform: translateY(-6px) scale(1.01);
}

.features-grid .glass-card:nth-child(2) {
  border-top: 2px solid var(--lavender);
}
.features-grid .glass-card:nth-child(2):hover {
  background: linear-gradient(135deg, rgba(232, 168, 137, 0.06), rgba(108, 92, 231, 0.03));
  border-color: rgba(232, 168, 137, 0.4);
  transform: translateY(-6px) scale(1.01);
}

.features-grid .glass-card:nth-child(3) {
  border-top: 2px solid var(--cta);
}
.features-grid .glass-card:nth-child(3):hover {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(232, 168, 137, 0.04));
  border-color: rgba(108, 92, 231, 0.25);
  transform: translateY(-6px) scale(1.01);
}

.features-grid .glass-card:nth-child(4) {
  border-top: 2px solid var(--electric-indigo);
}
.features-grid .glass-card:nth-child(4):hover {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(108, 92, 231, 0.05));
  border-color: rgba(108, 92, 231, 0.3);
  transform: translateY(-6px) scale(1.01);
}

.features-grid .glass-card:nth-child(5) {
  border-top: 2px solid var(--lavender);
}
.features-grid .glass-card:nth-child(5):hover {
  background: linear-gradient(135deg, rgba(232, 168, 137, 0.06), rgba(108, 92, 231, 0.03));
  border-color: rgba(232, 168, 137, 0.4);
  transform: translateY(-6px) scale(1.01);
}

.features-grid .glass-card:nth-child(6) {
  border-top: 2px solid var(--cta);
}
.features-grid .glass-card:nth-child(6):hover {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(232, 168, 137, 0.04));
  border-color: rgba(108, 92, 231, 0.25);
  transform: translateY(-6px) scale(1.01);
}

/* ── Feature page hero (smaller) ── */
.hero-small {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-small .hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(108, 92, 231, 0.1) 0%, transparent 60%),
    var(--bg-primary);
  z-index: 0;
}
.hero-small .container {
  position: relative;
  z-index: 1;
}

/* ── Property sidebar ── */
.property-sidebar {
  position: relative;
}
.property-sidebar-card.sticky {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

/* ── Dashboard-specific ── */
.quick-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.activity-list {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.activity-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(108, 92, 231, 0.05);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.activity-item:last-child { border-bottom: none; }

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.activity-time {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Property detail extras ── */
.property-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

.spec-item {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

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

/* ── Transit info ── */
.transit-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.transit-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.transit-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-light);
  flex-shrink: 0;
}

.transit-time {
  margin-left: auto;
  font-weight: 600;
  color: var(--cta);
}

/* ── Profile photo placeholder ── */
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
}

/* ── Active sessions ── */
.session-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.session-info {
  flex: 1;
}
.session-info h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.session-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Mobile responsive for dashboard nav ── */
@media (max-width: 768px) {
  .navbar > .container,
  .navbar > .nav-container {
    padding: 0 var(--space-md);
  }
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 100px var(--space-xl) var(--space-xl);
    gap: var(--space-xl);
    transition: right var(--transition);
    border-left: 1px solid rgba(108, 92, 231, 0.1);
    z-index: 999;
  }
  .nav-menu.open { right: 0; }

  /* Hide nav-actions on mobile, show inside slide-out panel */
  .nav-actions {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: auto;
    padding: 0 var(--space-xl);
    padding-top: calc(100px + 220px);
    flex-direction: column;
    gap: var(--space-md);
    transition: right var(--transition);
    z-index: 999;
  }
  .nav-menu.open ~ .nav-actions { right: 0; }

  .hero-buttons { justify-content: center; }
  .quick-actions { flex-direction: column; }
  .property-specs { grid-template-columns: repeat(2, 1fr); }
}

/* ── Values grid (about page) ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

/* ── Contact form ── */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

/* ── Comparison table enhancements ── */
.comparison-table .bad {
  color: var(--danger);
  opacity: 0.7;
}
.comparison-table .good {
  color: var(--cta);
  font-weight: 600;
}

/* ── Page specific gradient ── */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(108, 92, 231, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(108, 92, 231, 0.06) 0%, transparent 50%),
    var(--bg-primary);
  z-index: 0;
}
.page-hero > * {
  position: relative;
  z-index: 1;
}

/* ── Additional navbar variant aliases ── */
.navbar-content {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.navbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.navbar-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
}
.navbar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
}
.navbar-user-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ── Sidebar toggle button ── */
.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
}
@media (max-width: 900px) {
  .sidebar-toggle { display: block; }
}

/* ── Hero glow fallback (when no -1/-2 suffix) ── */
.hero-glow:not(.hero-glow-1):not(.hero-glow-2):first-of-type {
  background: var(--accent);
  top: -100px; right: -100px;
}
.hero-glow:not(.hero-glow-1):not(.hero-glow-2):last-of-type {
  background: var(--cta);
  bottom: -100px; left: -100px;
  animation-delay: -6s;
}

/* ── Property back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
  transition: color var(--transition);
}
.back-link:hover { color: var(--accent-light); }

/* ── Chip tags row ── */
.chip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

/* ── Property description ── */
.property-description {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ── Chart bar labels ── */
.chart-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-xs);
}
.chart-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Price info row ── */
.price-info-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.price-info-row .value {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Source link ── */
.source-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--accent-light);
  font-size: 0.9rem;
}
.source-link svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════
   ABOUT PAGE COMPREHENSIVE STYLES (Issue #1)
   ═══════════════════════════════════════════════ */

/* Mobile padding fix for container */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* Hero section on sub-pages */
.hero-sm {
  min-height: auto;
  max-height: none;
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
}

.hero-sm .hero-content {
  display: block;
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  animation: heroFadeIn 1s ease-out both;
}

/* Section spacing for about page */
.mission-vision,
.values-section,
.team-section,
.contact-section {
  padding: 60px 0;
}

@media (max-width: 768px) {
  .mission-vision,
  .values-section,
  .team-section,
  .contact-section {
    padding: 40px 0;
  }
}

/* Mission & Vision Cards */
.mission-card,
.vision-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  text-align: center;
}

.mission-card:hover,
.vision-card:hover {
  border-color: rgba(108, 92, 231, 0.25);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.mission-card h3,
.vision-card h3 {
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.mission-card p,
.vision-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: none;
}

/* Mission, Vision, Value icons */
.mission-icon,
.vision-icon,
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--electric-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.2);
}

.mission-icon svg,
.vision-icon svg,
.value-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

/* About content grid (2 column on desktop, 1 on mobile) */
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin: var(--space-3xl) 0;
}

@media (max-width: 768px) {
  .about-content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* About text styling */
.about-text {
  line-height: 1.8;
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: none;
}

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

/* About image styling */
.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Team Grid (4 columns desktop, 2 tablet, 1 mobile) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

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

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* Team card styling */
.team-card {
  text-align: center;
}

.team-card h4 {
  margin: var(--space-lg) 0 var(--space-sm);
  font-size: 1.1rem;
}

/* Team image circular */
.team-image-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  overflow: hidden;
  border: 3px solid rgba(108, 92, 231, 0.12);
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team role (Electric Indigo, small caps) */
.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--electric-indigo);
  margin-bottom: var(--space-sm);
}

/* Team bio (muted text) */
.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Section subtitle */
.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: var(--space-md) auto 0;
  max-width: 500px;
}

/* Values section */
.values-section {
  position: relative;
}

.values-section h2 {
  margin-bottom: var(--space-3xl);
  text-align: center;
}

/* Grid for values (use glass-card with value-card class) */
.value-card {
  padding: 32px;
  text-align: center;
  border-radius: var(--radius-lg);
}

.value-card h3 {
  margin: var(--space-lg) 0 var(--space-md);
  font-size: 1.3rem;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: none;
}

/* Contact form wrapper and styles */
.contact-section {
  position: relative;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.contact-form-wrapper {
  max-width: 600px;
  margin: var(--space-3xl) auto 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: 20px;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(108, 92, 231, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--electric-indigo);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.2);
}

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

.contact-form .btn {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .contact-form .btn {
    width: 100%;
    align-self: stretch;
  }
}

/* Success message styles */
.form-success {
  text-align: center;
  padding: var(--space-2xl);
  background: rgba(108, 92, 231, 0.06);
  border: 1px solid rgba(108, 92, 231, 0.15);
  border-radius: var(--radius-lg);
  display: none;
}

.form-success.hidden {
  display: none;
}

.form-success.show {
  display: block;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--terracotta);
}

.form-success h3 {
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

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

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

/* ═══════════════════════════════════════════════
   FEATURE CARDS (features.html)
   ═══════════════════════════════════════════════ */
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(108, 92, 231, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(13, 13, 26, 0.05);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  max-width: 48px;
  min-height: 48px;
  max-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.feature-card .feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-light);
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.15rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.feature-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
  position: relative;
  line-height: 1.5;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* ═══════════════════════════════════════════════
   COMPARISON TABLE VALUES
   ═══════════════════════════════════════════════ */
.bad-value {
  color: var(--hot-red);
  opacity: 0.8;
}

.good-value {
  color: var(--terracotta);
  font-weight: 600;
}

/* Comparison table check/cross indicators */
.comparison-table td.check {
  color: var(--terracotta);
  font-weight: 600;
  font-size: 1.1rem;
}

.comparison-table td.cross {
  color: var(--text-muted);
  opacity: 0.5;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(108, 92, 231, 0.1);
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, rgba(108, 92, 231, 0.05) 0%, transparent 100%);
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  margin: 0 auto var(--space-2xl);
  font-size: 1.1rem;
  max-width: 50ch;
}

/* ═══════════════════════════════════════════════
   CALCULATOR SECTION
   ═══════════════════════════════════════════════ */
.calculator-section {
  text-align: center;
}

.calculator-section h2 {
  margin-bottom: var(--space-md);
}

/* ═══════════════════════════════════════════════
   PRICING TOGGLE SECTION
   ═══════════════════════════════════════════════ */
.pricing-toggle-section {
  text-align: center;
  padding-top: var(--space-2xl) !important;
  padding-bottom: var(--space-lg) !important;
  border-top: none !important;
}

.pricing-toggle-section::before {
  display: none !important;
}

/* ═══════════════════════════════════════════════
   SECTION SUBTITLE (used across pages)
   ═══════════════════════════════════════════════ */
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: var(--space-md) auto var(--space-2xl);
  text-align: center;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   FAQ GRID (pricing.html)
   ═══════════════════════════════════════════════ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.faq-grid .faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(108, 92, 231, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-bottom: none;
}

.faq-grid .faq-item h4 {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-size: 1rem;
}

.faq-grid .faq-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

/* ═══════════════════════════════════════════════
   PLAN HEADER (pricing cards)
   ═══════════════════════════════════════════════ */
.plan-header {
  margin-bottom: var(--space-lg);
}

.plan-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES
   ═══════════════════════════════════════════════ */

/* Mobile overlay when menu is open */
.nav-menu.open::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(13, 13, 26, 0.1);
  z-index: -1;
}

@media (max-width: 768px) {
  /* ── Hero section ── */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
  .hero-text p {
    font-size: 1rem;
  }

  /* ── Stats ── */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .stat-item {
    padding: var(--space-md);
  }
  .stat-label {
    font-size: 0.75rem;
  }

  /* ── Section headers ── */
  .section-header {
    margin-bottom: var(--space-2xl);
  }
  .section-header p {
    font-size: 0.95rem;
  }

  /* ── Negotiation cards inner layout ── */
  .negotiation-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .neg-visual {
    width: auto;
  }
  .neg-example {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ── Footer ── */
  .footer-logo {
    font-size: 1.4rem;
  }
  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* ── Extra small screens ── */
  .container {
    padding: 0 16px;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.4rem;
  }

  /* ── Stats single column on very small ── */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-number {
    font-size: 1.5rem;
  }

  /* ── Savings amount ── */
  .savings-amount {
    font-size: 1.8rem;
  }

  /* ── Footer single col ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* ── Hero buttons stack ── */
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn {
    text-align: center;
  }

  /* ── Pricing ── */
  .pricing-grid {
    max-width: 100%;
  }
  .pricing-card {
    padding: var(--space-lg);
  }
  .pricing-amount .currency,
  .pricing-price {
    font-size: 2rem;
  }
}
