@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

:root {
  --primary: #0a1628;
  --primary-light: #152238;
  --secondary: #1e3a5f;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #a07d1a;
  --white: #ffffff;
  --off-white: #f8fafc;
  --light: #f1f5f9;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gold);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,162,39,0.4); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-gold {
  background: var(--gold);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  width: 100%;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  width: 100%;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--primary); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost:hover { color: var(--gold); }

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

.btn-danger { background: var(--danger); color: white; padding: 8px 18px; border-radius: var(--radius-sm); font-weight: 600; border: none; cursor: pointer; transition: var(--transition); }
.btn-success { background: var(--success); color: white; padding: 8px 18px; border-radius: var(--radius-sm); font-weight: 600; border: none; cursor: pointer; transition: var(--transition); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,39,0.2);
  padding: 0 24px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-strong { color: var(--white); }
.logo-ledger { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0a1628 100%);
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.gold-text { color: var(--gold); }

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}
.stat-label {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
}

/* Dashboard Preview */
.dashboard-preview {
  background: var(--primary-light);
  border-radius: 16px;
  border: 1px solid rgba(201,162,39,0.3);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.preview-header {
  background: rgba(0,0,0,0.3);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.preview-dots { display: flex; gap: 6px; }
.preview-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.preview-dots span:first-child { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #28c940; }

.preview-header span { color: rgba(255,255,255,0.6); font-size: 12px; font-weight: 500; }

.preview-content { padding: 20px; }

.preview-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

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

.preview-card-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.preview-card-icon.gold { background: rgba(201,162,39,0.2); color: var(--gold); }
.preview-card-icon.green { background: rgba(16,185,129,0.2); color: #10b981; }

.preview-card-value { color: white; font-weight: 700; font-size: 16px; }
.preview-card-label { color: rgba(255,255,255,0.5); font-size: 11px; }

.preview-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding: 8px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--gold), var(--gold-light));
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.chart-bar:hover { opacity: 1; }

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--off-white);
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--primary);
}

.how-it-works .section-header h2 { color: var(--white); }
.how-it-works .section-header p { color: rgba(255,255,255,0.6); }

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

.step {
  text-align: center;
  max-width: 280px;
  padding: 40px 28px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(201,162,39,0.2);
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}

.step h3 { color: white; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,0.6); font-size: 14px; }

.step-arrow { color: var(--gold); font-size: 24px; opacity: 0.5; }

/* ===== PRICING SECTION ===== */
.pricing-preview { padding: 100px 0; background: var(--white); }

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

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.pricing-card.featured {
  background: var(--primary);
  border-color: var(--gold);
  transform: scale(1.05);
}
.pricing-card.featured:hover { transform: scale(1.05) translateY(-6px); }

.pricing-card.featured .plan-name,
.pricing-card.featured .plan-price,
.pricing-card.featured .plan-features li {
  color: var(--white);
}
.pricing-card.featured .plan-price span { color: rgba(255,255,255,0.6); }
.pricing-card.featured .plan-features li i { color: var(--gold); }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--primary);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-name { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.plan-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 28px;
}
.plan-price span { font-size: 18px; font-weight: 400; color: var(--text-muted); }

.plan-features { margin-bottom: 32px; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: var(--success); font-size: 13px; }

.guarantee-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(10,22,40,0.05), rgba(201,162,39,0.08));
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius);
  padding: 20px 32px;
  font-size: 15px;
  color: var(--text-dark);
}
.guarantee-badge i { color: var(--gold); font-size: 28px; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; background: var(--off-white); }

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.stars { color: var(--gold); margin-bottom: 16px; font-size: 14px; }
.testimonial-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.testimonial-author strong { display: block; color: var(--text-dark); font-size: 14px; }
.testimonial-author span { color: var(--text-muted); font-size: 12px; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  text-align: center;
}
.cta-section h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 17px; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-note { color: rgba(255,255,255,0.5); font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.cta-note i { color: var(--gold); }

/* ===== FOOTER ===== */
.footer {
  background: #060e1a;
  padding: 80px 0 32px;
  border-top: 1px solid rgba(201,162,39,0.2);
}

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

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.footer-tagline { color: var(--gold) !important; font-style: italic; font-size: 13px !important; }

.footer-links h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 13px; }
.footer-bottom a { color: var(--gold); }

/* ===== AUTH PAGE ===== */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
}

.auth-container {
  width: 100%;
  max-width: 480px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
  font-size: 32px;
  font-weight: 800;
}

.auth-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.auth-tabs {
  display: flex;
  margin-bottom: 32px;
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  border: none;
  background: transparent;
}
.auth-tab.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.auth-form { display: none; }
.auth-form.active { display: block; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  color: var(--text-dark);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); }

.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.plan-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.plan-option.selected { border-color: var(--gold); background: rgba(201,162,39,0.08); }
.plan-option .plan-o-name { font-weight: 700; font-size: 13px; color: var(--text-dark); }
.plan-option .plan-o-price { font-size: 12px; color: var(--text-muted); }

.auth-divider { text-align: center; color: var(--text-muted); font-size: 13px; margin: 20px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--border); }
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-switch { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 20px; }
.auth-switch a { color: var(--gold); font-weight: 600; cursor: pointer; }

/* ===== DASHBOARD LAYOUT ===== */
.app-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 0;
}

.sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--primary);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  transition: var(--transition);
  border-right: 1px solid rgba(201,162,39,0.15);
}

.sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-logo .nav-logo { font-size: 20px; }

.sidebar-user {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.user-name { color: white; font-weight: 600; font-size: 14px; }
.user-plan { color: var(--gold); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.sidebar-nav { padding: 16px 0; }
.nav-section-title {
  padding: 8px 20px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover { color: white; background: rgba(255,255,255,0.05); }
.sidebar-nav a.active { color: var(--gold); background: rgba(201,162,39,0.1); border-left-color: var(--gold); }
.sidebar-nav a i { width: 18px; text-align: center; font-size: 15px; }

.sidebar-nav a .badge {
  margin-left: auto;
  background: var(--gold);
  color: var(--primary);
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}

.sidebar-bottom {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}
.sidebar-bottom a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  padding: 8px 0;
  transition: var(--transition);
}
.sidebar-bottom a:hover { color: var(--danger); }

.main-content {
  margin-left: 260px;
  flex: 1;
  background: #f0f4f8;
  min-height: 100vh;
}

.topbar {
  background: var(--white);
  padding: 0 32px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-title h2 { font-size: 20px; font-weight: 700; color: var(--text-dark); }
.topbar-title p { font-size: 13px; color: var(--text-muted); }

.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.topbar-icon:hover { background: var(--gold); color: var(--primary); border-color: var(--gold); }

.page-content { padding: 32px; }

/* ===== STAT CARDS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.stat-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.stat-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.stat-card-icon.blue { background: rgba(14,30,64,0.1); color: var(--primary); }
.stat-card-icon.gold { background: rgba(201,162,39,0.15); color: var(--gold); }
.stat-card-icon.green { background: rgba(16,185,129,0.1); color: var(--success); }
.stat-card-icon.red { background: rgba(239,68,68,0.1); color: var(--danger); }

.stat-card-change {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
}
.stat-card-change.up { background: rgba(16,185,129,0.1); color: var(--success); }
.stat-card-change.down { background: rgba(239,68,68,0.1); color: var(--danger); }

.stat-card-value { font-size: 28px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.stat-card-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ===== CHARTS ===== */
.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.chart-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.chart-card h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.chart-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

/* ===== TABLES ===== */
.data-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 28px;
}
.data-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.data-card-header h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 12px 24px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--off-white); }

.badge-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-status.active { background: rgba(16,185,129,0.1); color: var(--success); }
.badge-status.pending { background: rgba(245,158,11,0.1); color: var(--warning); }
.badge-status.vacant { background: rgba(239,68,68,0.1); color: var(--danger); }
.badge-status.rent { background: rgba(59,130,246,0.1); color: #3b82f6; }
.badge-status.sale { background: rgba(139,92,246,0.1); color: #8b5cf6; }

/* ===== PROPERTY CARDS ===== */
.properties-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.search-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-input {
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  width: 240px;
  transition: var(--transition);
}
.search-input:focus { outline: none; border-color: var(--gold); }

.filter-select {
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: white;
  cursor: pointer;
  transition: var(--transition);
}
.filter-select:focus { outline: none; border-color: var(--gold); }

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

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.property-image {
  height: 160px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(201,162,39,0.6);
  position: relative;
}
.property-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.property-body { padding: 20px; }
.property-address { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.property-city { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }

.property-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.prop-stat { background: var(--light); border-radius: var(--radius-sm); padding: 10px 12px; }
.prop-stat-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.prop-stat-value { font-size: 15px; font-weight: 700; color: var(--text-dark); }

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

/* ===== EARNINGS PAGE ===== */
.earnings-tabs {
  display: flex;
  gap: 4px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 6px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  width: fit-content;
}

.e-tab {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: transparent;
  color: var(--text-muted);
}
.e-tab.active { background: var(--primary); color: var(--gold); }

.earnings-section { display: none; }
.earnings-section.active { display: block; }

.tax-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.tax-card h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.tax-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.tax-result {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.tax-result-item { text-align: center; }
.tax-result-item .label { color: rgba(255,255,255,0.6); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.tax-result-item .value { color: var(--gold); font-size: 24px; font-weight: 800; }

.resource-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.resource-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--text-dark);
}
.resource-link:hover { border-color: var(--gold); background: rgba(201,162,39,0.05); }
.resource-link i { font-size: 24px; color: var(--gold); }
.resource-link strong { display: block; font-size: 14px; margin-bottom: 2px; }
.resource-link span { font-size: 12px; color: var(--text-muted); }

/* ===== FIND HOMES ===== */
.find-homes-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.home-site-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: var(--transition);
}
.home-site-card:hover { border-color: var(--gold); transform: translateX(6px); box-shadow: var(--shadow-lg); }

.site-rank {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.site-logo {
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.site-info { flex: 1; }
.site-info h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.site-info p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.site-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.site-tag {
  background: var(--light);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.site-action { flex-shrink: 0; }

/* ===== HELP CENTER ===== */
.help-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  margin-bottom: 28px;
}
.help-hero h2 { color: white; font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.help-hero p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

.help-search {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.help-search input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 15px;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.help-search button {
  padding: 14px 24px;
  background: var(--gold);
  color: var(--primary);
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.help-search button:hover { background: var(--gold-light); }

.help-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.help-cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.help-cat-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.help-cat-card i { font-size: 28px; color: var(--gold); margin-bottom: 12px; }
.help-cat-card h4 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.help-cat-card p { font-size: 12px; color: var(--text-muted); }

.help-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}

.articles-list .article-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.articles-list .article-item:hover { border-color: var(--gold); background: rgba(201,162,39,0.03); }
.article-item i { color: var(--gold); font-size: 16px; width: 20px; }
.article-item h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.article-item p { font-size: 12px; color: var(--text-muted); }
.article-item .arrow { margin-left: auto; color: var(--text-light); }

.videos-section { margin-top: 20px; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.video-card {
  background: var(--primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.2);
  transition: var(--transition);
}
.video-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.video-thumb {
  height: 100px;
  background: linear-gradient(135deg, #1e3a5f, #0a1628);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--gold);
  cursor: pointer;
  text-decoration: none;
}
.video-info { padding: 12px; }
.video-info h5 { color: white; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.video-info span { color: rgba(255,255,255,0.5); font-size: 11px; }

/* ===== CHATBOT ===== */
.chatbot-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 500px;
  position: sticky;
  top: 90px;
}

.chatbot-header {
  padding: 16px 20px;
  background: var(--primary);
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chatbot-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
}
.chatbot-header h4 { color: white; font-size: 14px; font-weight: 700; }
.chatbot-header span { color: rgba(255,255,255,0.6); font-size: 11px; }
.chatbot-status { width: 8px; height: 8px; border-radius: 50%; background: var(--success); margin-left: auto; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.chat-msg.bot {
  background: var(--light);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-input {
  padding: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.chatbot-input input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}
.chatbot-input input:focus { border-color: var(--gold); }
.chatbot-input button {
  padding: 10px 16px;
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.chatbot-input button:hover { background: var(--gold-light); }

/* ===== CLIENTS PAGE ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.client-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.client-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.client-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  flex-shrink: 0;
}
.client-name { font-weight: 700; font-size: 15px; color: var(--text-dark); }
.client-type { font-size: 12px; color: var(--text-muted); }

.client-info { margin-bottom: 16px; }
.client-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.client-info-row i { width: 14px; color: var(--gold); }

.client-actions { display: flex; gap: 8px; }
.btn-icon {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-icon:hover { border-color: var(--gold); color: var(--gold); }
.btn-icon.primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-icon.primary:hover { background: var(--secondary); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: var(--transition);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.modal-overlay.open .modal { transform: scale(1); }

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); }
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light);
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.modal-close:hover { background: var(--danger); color: white; }

.modal-body { padding: 28px; }
.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ===== ALERTS ===== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: rgba(16,185,129,0.1); color: #065f46; border: 1px solid rgba(16,185,129,0.3); }
.alert-danger { background: rgba(239,68,68,0.1); color: #991b1b; border: 1px solid rgba(239,68,68,0.3); }
.alert-info { background: rgba(59,130,246,0.1); color: #1e40af; border: 1px solid rgba(59,130,246,0.3); }
.alert-warning { background: rgba(245,158,11,0.1); color: #92400e; border: 1px solid rgba(245,158,11,0.3); }

/* ===== UPGRADE BANNER ===== */
.upgrade-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(201,162,39,0.3);
}
.upgrade-banner h4 { color: white; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.upgrade-banner p { color: rgba(255,255,255,0.7); font-size: 13px; }

/* ===== QUESTIONNAIRE ===== */
.questionnaire-form { display: flex; flex-direction: column; gap: 16px; }
.question-item { background: var(--light); border-radius: var(--radius-sm); padding: 16px; }
.question-item label { font-weight: 600; font-size: 14px; color: var(--text-dark); margin-bottom: 8px; display: block; }

.shareable-link {
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px dashed var(--border);
}
.shareable-link input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  outline: none;
}
.copy-btn {
  padding: 8px 16px;
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.copy-btn:hover { background: var(--gold-light); }

/* ===== PRICING PAGE ===== */
.pricing-page {
  background: var(--off-white);
  padding-top: 80px;
  min-height: 100vh;
}

.pricing-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 80px 24px;
  text-align: center;
}
.pricing-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: white; margin-bottom: 16px; }
.pricing-hero p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 500px; margin: 0 auto 16px; }
.pricing-hero .guarantee { color: var(--gold); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }

.pricing-main { padding: 60px 24px; max-width: 1200px; margin: 0 auto; }

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.billing-toggle span { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.toggle-switch {
  position: relative;
  width: 52px; height: 28px;
  background: var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-switch.active { background: var(--gold); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: white;
  transition: var(--transition);
}
.toggle-switch.active::after { left: 27px; }
.save-badge { background: var(--success); color: white; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }

.full-pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.full-pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 44px 36px;
  position: relative;
  transition: var(--transition);
}
.full-pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.full-pricing-card.elite {
  background: var(--primary);
  border-color: var(--gold);
}
.full-pricing-card.elite .plan-name,
.full-pricing-card.elite .plan-price,
.full-pricing-card.elite .feature-text { color: white; }
.full-pricing-card.elite .plan-price span { color: rgba(255,255,255,0.5); }
.full-pricing-card.elite .feature-item { border-color: rgba(255,255,255,0.1); }
.full-pricing-card.elite .feature-item i { color: var(--gold); }
.full-pricing-card.elite .feature-text.muted { color: rgba(255,255,255,0.4); }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.feature-item:last-child { border-bottom: none; }
.feature-item i.check { color: var(--success); margin-top: 2px; }
.feature-item i.x { color: var(--text-light); margin-top: 2px; }
.feature-text { color: var(--text-dark); line-height: 1.4; }
.feature-text.muted { color: var(--text-light); }

.comparison-table { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; margin-bottom: 60px; }
.comparison-table table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 16px 20px; text-align: center; font-size: 14px; border-bottom: 1px solid var(--border); }
.comparison-table th { background: var(--primary); color: white; font-weight: 700; }
.comparison-table th:first-child { text-align: left; color: var(--gold); }
.comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--text-dark); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--off-white); }
.comparison-table .check-icon { color: var(--success); font-size: 16px; }
.comparison-table .x-icon { color: var(--text-light); font-size: 16px; }

.faq-section h2 { font-size: 28px; font-weight: 800; color: var(--text-dark); margin-bottom: 28px; text-align: center; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 10px; border: 1px solid var(--border); overflow: hidden; }
.faq-question { padding: 18px 20px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { background: var(--off-white); }
.faq-question.open { color: var(--gold); }
.faq-question i { transition: var(--transition); color: var(--text-muted); }
.faq-question.open i { transform: rotate(180deg); color: var(--gold); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.faq-answer.open { max-height: 200px; padding: 0 20px 18px; }

/* ===== NOTIFICATIONS ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text-dark);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-state i { font-size: 48px; color: var(--text-light); margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .help-categories { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .full-pricing-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-visual { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .properties-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .page-content { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .tax-result { grid-template-columns: 1fr; }
  .resource-links { grid-template-columns: 1fr; }
  .help-categories { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .home-site-card { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .help-categories { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
  .plan-selector { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
}
