/* VastgoedVinden — Dark Theme */
:root {
  --bg-primary: #0a0f1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59,130,246,0.15);
  --text-primary: #e5e7eb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: #1f2937;
  --border-light: #374151;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all 0.2s; border: none; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(59,130,246,0.3); }
.btn-ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--border-light); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,15,26,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0; transition: all 0.3s;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-primary); }
.logo-icon { font-size: 24px; }
.logo-text { font-size: 20px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-secondary); font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: 0.3s; }

/* Hero */
.hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d1525 50%, var(--bg-primary) 100%);
}
.hero-content { max-width: 720px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.text-accent { color: var(--accent); }
.hero-subtitle { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stats */
.stats { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-number { font-size: 48px; font-weight: 800; color: var(--accent); display: block; }
.stat-label { font-size: 15px; color: var(--text-secondary); }

/* Features */
.features { padding: 100px 0; }
.section-title { font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: var(--text-secondary); font-size: 18px; margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: all 0.3s;
}
.feature-card:hover { border-color: var(--accent); background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--text-secondary); font-size: 15px; }

/* How it works */
.how-it-works { padding: 100px 0; background: var(--bg-card); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.step { text-align: center; }
.step-number { font-size: 64px; font-weight: 900; color: var(--accent); opacity: 0.3; display: block; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 12px; }
.step p { color: var(--text-secondary); font-size: 15px; max-width: 300px; margin: 0 auto; }

/* Testimonials */
.testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
}
.testimonial-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff;
}
.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }

/* FAQ */
.faq { padding: 100px 0; background: var(--bg-card); }
.faq-list { max-width: 720px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; padding: 20px 0; background: none; border: none;
  color: var(--text-primary); font-size: 16px; font-weight: 600;
  text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after { content: '+'; font-size: 24px; color: var(--accent); transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 0 20px; color: var(--text-secondary); font-size: 15px; }

/* CTA */
.cta-section {
  padding: 100px 0; text-align: center;
  background: linear-gradient(135deg, #1e3a5f 0%, var(--bg-primary) 100%);
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); font-size: 18px; margin-bottom: 40px; }

/* Footer */
.footer { padding: 60px 0 24px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-secondary); margin-top: 12px; font-size: 14px; }
.footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.footer-links a { display: block; color: var(--text-secondary); font-size: 14px; margin-bottom: 8px; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom p { color: var(--text-muted); font-size: 13px; text-align: center; }

/* Auth pages */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; }
.auth-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px; width: 100%; max-width: 420px;
}
.auth-card h1 { font-size: 28px; margin-bottom: 8px; }
.auth-card .subtitle { color: var(--text-secondary); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-secondary); }
.form-group input {
  width: 100%; padding: 12px 16px; background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary); font-size: 15px;
  transition: border-color 0.2s;
}
.form-group input:focus { outline: none; border-color: var(--accent); }
.form-group input::placeholder { color: var(--text-muted); }
.auth-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.auth-card .auth-footer { text-align: center; margin-top: 24px; color: var(--text-secondary); font-size: 14px; }
.error-msg { background: rgba(239,68,68,0.1); border: 1px solid var(--danger); color: var(--danger); padding: 12px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; display: none; }

/* Dashboard placeholder */
.dashboard-page { padding: 100px 24px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.dash-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.dash-card h3 { color: var(--text-secondary); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.dash-card .value { font-size: 36px; font-weight: 800; color: var(--accent); }

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg-primary); flex-direction: column; justify-content: center; align-items: center; gap: 32px; z-index: 99; }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; z-index: 101; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
