@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   DESIGN TOKENS & VARIABLES (Light Theme)
   ========================================== */
:root {
  --bg-main: #f8fafc; /* Very light slate background */
  --bg-surface: #ffffff; /* Pure white for panels & cards */
  --bg-surface-hover: #f1f5f9;
  --border-color: rgba(15, 23, 42, 0.08); /* Soft slate border */
  --border-color-glow: rgba(212, 175, 55, 0.25); /* Gold border glow */
  
  /* Primary Accent: Rich Classic Gold */
  --primary: #D4AF37;
  --primary-hover: #B8860B; /* Dark Goldenrod hover */
  --primary-gradient: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
  --accent-blue: #0B1F3A; /* Deep Navy Blue */
  --accent-blue-gradient: linear-gradient(135deg, #05101E 0%, #0B1F3A 100%);
  
  /* Status Colors */
  --color-performing: #059669; /* Warm green */
  --color-non-performing: #d97706; /* Amber orange */
  --color-danger: #dc2626;
  --color-info: #0B1F3A;
  
  /* Text Colors */
  --text-main: #0F172A; /* Deep slate for high readability */
  --text-secondary: #475569; /* Slate grey */
  --text-muted: #64748b; /* Muted slate */
  
  /* Typography */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows & Blur */
  --glass-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --glow-shadow-emerald: 0 0 20px rgba(5, 150, 105, 0.15);
  --glow-shadow-blue: 0 0 25px rgba(212, 175, 55, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* ==========================================
   RESET & SYSTEM STYLES
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(11, 31, 58, 0.02) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.01) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Live indicator pulse animation */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--text-main);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #0B1F3A 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--text-main);
}

p {
  color: var(--text-secondary);
}

/* ==========================================
   APP SHELL / LAYOUT
   ========================================== */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex-grow: 1;
  padding-top: 80px; /* offset for fixed header */
}

/* Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Section spacing */
.section {
  padding: 80px 0;
  position: relative;
}

/* Header Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(11, 31, 58, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  background-color: rgba(11, 31, 58, 0.95);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  -webkit-text-fill-color: white;
  box-shadow: var(--glow-shadow-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}

/* Ensure navigation links inside the dark navy header are always highly visible (white) */
.header .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
}

.header .nav-link:hover,
.header .nav-link.active {
  color: #ffffff !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-main);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-header);
  transition: all var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #1a1a1a; /* Dark charcoal text for contract on gold */
  box-shadow: var(--glow-shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(184, 134, 11, 0.35);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent-blue-gradient);
  color: white;
  box-shadow: var(--glow-shadow-blue);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.3);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* ==========================================
   PAGE / VIEW PANELS (Tab Routing)
   ========================================== */
.view-panel {
  display: none;
  animation: fadeIn var(--transition-slow);
}

.view-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   HOME VIEW
   ========================================== */

/* Hero Section */
.hero {
  position: relative;
  padding: 120px 0 100px 0;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-family: var(--font-header);
  color: var(--text-main);
}

.hero-feature-item svg {
  color: var(--primary);
}

/* Trusted Partner Section */
.trusted-partner {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);
}

.partner-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

/* Services Cards */
.card-glass {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card-glass:hover {
  transform: translateY(-5px);
  background: var(--bg-surface);
  border-color: var(--border-color-glow);
  box-shadow: var(--glass-shadow);
}

.card-glass:hover::before {
  opacity: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.card-glass:hover .card-icon {
  background: var(--primary);
  color: white;
}

.card-glass h3 {
  margin-bottom: 12px;
  color: var(--text-main);
}

.card-glass p {
  font-size: 0.95rem;
}

/* Why Choose Section & Badges */
.badge-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.01);
}

.badge-icon {
  color: var(--color-performing);
  flex-shrink: 0;
}

/* Process Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.process-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.01);
}

.process-card:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  box-shadow: var(--glass-shadow);
}

.process-step-num {
  font-family: var(--font-header);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.01) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: 16px;
  right: 24px;
}

.process-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.process-card p {
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* Industries We Serve Section */
.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tag-bubble {
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.01);
}

.tag-bubble:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================
   MARKETPLACE VIEW
   ========================================== */
.marketplace-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar Filters */
.marketplace-filters {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 104px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.filter-group {
  margin-bottom: 24px;
}

.filter-label {
  display: block;
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-input-wrapper {
  position: relative;
}

.search-input {
  width: 100%;
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px 12px 40px;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-select {
  width: 100%;
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.filter-select:focus {
  border-color: var(--primary);
}

/* Custom Range Slider */
.slider-container {
  padding-top: 10px;
}
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
  transition: transform var(--transition-fast);
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.slider-value {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Listings Grid */
.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.listings-count {
  font-weight: 600;
  font-family: var(--font-header);
}

.listings-count span {
  color: var(--primary);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Note Card Details */
.note-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.note-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--glass-shadow);
}

.note-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.note-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.note-badge.performing {
  background: rgba(5, 150, 105, 0.08);
  color: var(--color-performing);
  border: 1px solid rgba(5, 150, 105, 0.15);
}

.note-badge.non-performing {
  background: rgba(217, 119, 6, 0.08);
  color: var(--color-non-performing);
  border: 1px solid rgba(217, 119, 6, 0.15);
}

.note-badge.sold {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

/* Sold listings stay visible but are clearly marked and de-emphasised */
.note-card.sold-card {
  opacity: 0.72;
}
.note-card.sold-card .btn-sold {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.25);
  cursor: default;
  font-weight: 700;
}

.note-location {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.1rem;
}

.note-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.note-metrics {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: rgba(15, 23, 42, 0.01);
  flex-grow: 1;
}

.metric-box {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-value {
  font-family: var(--font-header);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.metric-value.highlight {
  color: var(--primary);
}

/* Document Checklist */
.note-docs-status {
  padding: 12px 24px;
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.doc-dots {
  display: flex;
  gap: 6px;
}

.doc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  position: relative;
}

.doc-dot.active {
  background: var(--color-performing);
}

.doc-dot[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: #0f172a;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 5;
}

.doc-dot:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.docs-count-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Card Actions */
.note-card-actions {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
}

.note-card-actions button {
  flex: 1;
}

/* Empty Marketplace State */
.no-results {
  text-align: center;
  padding: 60px 0;
  grid-column: 1 / -1;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.no-results-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ==========================================
   NOTE CALCULATOR VIEW
   ========================================== */
.calc-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: start;
}

.calc-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.calc-panel h3 {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.input-suffix {
  position: absolute;
  right: 14px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.input-field {
  width: 100%;
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
}

.input-group .input-field {
  padding-left: 28px;
}

.input-group.has-suffix .input-field {
  padding-right: 32px;
}

/* Solve Mode Switcher */
.solve-switch {
  display: flex;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.solve-btn {
  flex: 1;
  padding: 10px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.solve-btn.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--glow-shadow-blue);
}

/* Calculator Results Display */
.calc-results {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.result-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.result-card .value {
  font-family: var(--font-header);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 8px;
}

.result-card .value.blue {
  color: var(--accent-blue);
}

/* Visualization Graph (SVG representation) */
.visualization-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.visual-title {
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.chart-placeholder {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding-top: 20px;
}

.chart-bar-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.chart-bar {
  width: 100%;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.85));
  border-radius: 4px 4px 0 0;
  transition: height var(--transition-slow);
}

.chart-bar.interest {
  background: linear-gradient(to top, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.85));
}

.chart-bar-container:hover .chart-bar {
  opacity: 0.9;
}

.chart-bar-tooltip {
  position: absolute;
  bottom: calc(100% + 5px);
  background: #0f172a;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

.chart-bar-container:hover .chart-bar-tooltip {
  opacity: 1;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
}

/* ==========================================
   SELL OPPORTUNITY WIZARD VIEW
   ========================================== */
.wizard-layout {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

/* Progress Tracker */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 48px;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.wizard-progress-bar {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  z-index: 2;
  transition: width var(--transition-normal);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-header);
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
  white-space: nowrap;
  transition: color var(--transition-normal);
}

.progress-step.active .step-circle {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--glow-shadow-blue);
  background: var(--bg-surface);
}

.progress-step.active .step-label {
  color: var(--primary);
}

.progress-step.completed .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.progress-step.completed .step-label {
  color: var(--text-main);
}

/* Wizard Form Sections */
.wizard-section {
  display: none;
}

.wizard-section.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

.wizard-section h3 {
  margin-bottom: 24px;
}

/* File Upload Box */
.file-upload-drag {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 24px;
}

.file-upload-drag:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.02);
}

.upload-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.file-list {
  margin-top: 16px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.file-remove {
  color: var(--color-danger);
  cursor: pointer;
}

/* Wizard Actions Buttons */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

/* Success Wizard State */
.wizard-success {
  text-align: center;
  padding: 40px 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--color-performing);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 24px;
  box-shadow: var(--glow-shadow-emerald);
}

.success-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* ==========================================
   CONTACT VIEW
   ========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.contact-item-content p {
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
}

.contact-form h3 {
  margin-bottom: 24px;
}

.contact-form textarea.input-field {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #0B1F3A;
  color: #94a3b8;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-about .logo {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 40%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-about p {
  margin-bottom: 24px;
  max-width: 320px;
  color: #cbd5e1;
}

.footer-heading {
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================
   MODAL WINDOWS
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  padding: 40px;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
  color: var(--text-main);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

/* Bidding Dialog inside Modal */
.bidding-box {
  display: flex;
  flex-direction: column;
  height: 350px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-top: 24px;
  background: #f8fafc;
}

.bidding-messages {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.message-bubble.broker {
  background: #ffffff;
  color: #0f172a;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid #e2e8f0;
}

.message-bubble.user {
  background: #fef08a; /* Soft light gold */
  color: #854d0e; /* Deep golden text */
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.message-meta {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.bidding-input-area {
  display: flex;
  padding: 12px;
  border-top: 1px solid var(--border-color);
  gap: 10px;
}

.bidding-input-area input {
  flex-grow: 1;
}

/* ==========================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
  .marketplace-layout {
    grid-template-columns: 1fr;
  }
  .marketplace-filters {
    position: static;
    margin-bottom: 24px;
  }
  .calc-layout {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-cta button {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-features {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .process-steps::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .wizard-layout {
    padding: 24px;
  }
  .wizard-progress {
    margin-bottom: 32px;
  }
  .step-label {
    display: none;
  }
}

/* ==========================================
   TOAST NOTIFICATION STYLES
   ========================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast-notification {
  pointer-events: auto;
  background: #0f172a;
  color: white;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 300px;
  max-width: 400px;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  font-size: 0.9rem;
}

@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-title {
  font-weight: 700;
  font-family: var(--font-header);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-msg {
  color: #94a3b8;
  line-height: 1.4;
}

.toast-link {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 4px;
  align-self: flex-start;
  font-size: 0.85rem;
}

.toast-link:hover {
  color: #7dd3fc;
}

/* ==========================================
   ADMIN CONSOLE DASHBOARD STYLES (Paperstac Inspired)
   ========================================== */
.admin-dashboard-container {
  display: flex;
  height: calc(100vh - 80px);
  min-height: 600px;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-color);
}

.admin-sidebar {
  width: 360px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  flex-shrink: 0;
}

.admin-sidebar-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}
.admin-sidebar-header h3 {
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 700;
}
.admin-sidebar-header p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.admin-feed-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(0,0,0,0.01);
}
.feed-tab {
  flex: 1;
  padding: 14px 6px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.feed-tab:hover {
  color: var(--text-main);
}
.feed-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

.admin-feed-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-item-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.feed-item-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}
.feed-item-card.active {
  border-color: var(--primary);
  background-color: rgba(37, 99, 235, 0.03);
  box-shadow: 0 0 0 1px var(--primary);
}

.feed-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.feed-card-address {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.feed-card-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}
.feed-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.admin-workspace {
  flex-grow: 1;
  overflow-y: auto;
  background-color: #f8fafc;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.workspace-empty-state {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  text-align: center;
  padding: 40px;
}
.workspace-empty-state h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}
.workspace-empty-state p {
  max-width: 400px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.workspace-detail-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.workspace-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}
.workspace-header-title h2 {
  font-family: var(--font-header);
  font-size: 1.35rem;
  font-weight: 700;
}
.workspace-header-title p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.workspace-detail-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-color);
}
.workspace-tab {
  padding: 10px 0;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}
.workspace-tab:hover {
  color: var(--text-main);
}
.workspace-tab.active {
  color: var(--text-main);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

/* Closing terms metadata table */
.closing-breakdown {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.9rem;
}
.closing-breakdown th, .closing-breakdown td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.closing-breakdown th {
  color: var(--text-secondary);
  font-weight: 600;
}
.closing-breakdown tr.total-row td {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  border-top: 2px solid var(--border-color);
}

.transaction-id-box {
  background-color: #f1f5f9;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-main);
  border: 1px dashed var(--border-color);
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.date-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-sm);
}
.date-box-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}
.date-box-value {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
}

/* ==========================================
   USER PORTAL / DASHBOARD SYSTEM
   ========================================== */
.portal-metric-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.portal-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.portal-metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-header);
  color: var(--primary);
  margin-top: 8px;
}
.portal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.88rem;
}
.portal-table th, .portal-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.portal-table th {
  font-weight: 700;
  color: var(--text-secondary);
  background-color: var(--bg-main);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}
.portal-table tbody tr:hover {
  background-color: rgba(29, 78, 216, 0.02);
}
.portal-status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}
.portal-status-badge.active { background-color: rgba(16, 185, 129, 0.1); color: var(--color-performing); }
.portal-status-badge.pending { background-color: rgba(245, 158, 11, 0.1); color: #d97706; }
.portal-status-badge.negotiating { background-color: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.portal-status-badge.closed { background-color: rgba(107, 114, 128, 0.1); color: var(--text-secondary); }
.portal-status-badge.sold { background-color: rgba(220, 38, 38, 0.12); color: #dc2626; }

@media (max-width: 900px) {
  .portal-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .portal-workspace-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Pricing SaaS Cards */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow);
}
.recommended-plan {
  border: 2px solid var(--primary) !important;
}
.recommended-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-header {
  margin-bottom: 24px;
}
.plan-header h3 {
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 8px;
}
.price-amount {
  font-family: var(--font-header);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
}
.price-amount span:first-child {
  font-size: 1.5rem;
  font-weight: 600;
}
.price-amount span:last-child {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.plan-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.plan-features {
  margin-bottom: 32px;
}
.plan-features ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
  text-align: left;
}
.plan-features li svg {
  color: var(--color-performing);
  flex-shrink: 0;
}
.plan-features li.muted-feature {
  color: var(--text-muted);
  text-decoration: line-through;
}
.plan-features li.muted-feature svg {
  color: var(--color-danger);
}
.btn-pricing {
  width: 100%;
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 14px !important;
  }
  .nav-link {
    font-size: 0.9rem !important;
  }
  .nav-cta {
    gap: 12px !important;
  }
}
@media (max-width: 1100px) {
  .nav-menu {
    gap: 10px !important;
  }
  .nav-link {
    font-size: 0.85rem !important;
  }
  .nav-cta {
    gap: 8px !important;
  }
  .nav-cta button {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
}

/* Statistics Section */
.stats-section {
  background-color: var(--primary);
  padding: 40px 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-header);
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-section {
    padding: 30px 0;
    margin-top: 0;
  }
  .stat-number {
    font-size: 2.5rem;
  }
}
