/* ==========================================================================
   hostrank - Minimalist Light Pink Palette Design System
   ========================================================================== */

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

:root {
  /* Crisp Pure White Canvas with Emerald Green Accents */
  --bg-main: #ffffff;          /* pure crisp white page canvas */
  --bg-card: #ffffff;          /* pure white elevated cards */
  --bg-card-hover: #f8fafc;
  --bg-input: #ffffff;
  --bg-surface: #f0fdf4;       /* subtle light mint for badges & callouts */

  --border-color: #e2e8f0;     /* crisp subtle border line */
  --border-hover: #86efac;     /* light mint border on hover */
  --border-highlight: #059669;

  --btn-primary-bg: #059669;   /* vibrant emerald green action button */
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #047857;

  --btn-secondary-bg: #ffffff;
  --btn-secondary-text: #047857;
  --btn-secondary-border: #bbf7d0;
  --btn-secondary-hover: #f0fdf4;

  --text-main: #0f172a;        /* deep rich charcoal slate typography */
  --text-muted: #475569;       /* readable slate gray */
  --text-dim: #94a3b8;

  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 14px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  --transition-fast: all 0.15s ease;
}

/* Dark Mode Alternate Theme */
[data-theme="dark"] {
  --bg-main: #09090b;
  --bg-card: #121215;
  --bg-card-hover: #18181b;
  --bg-input: #18181b;
  --bg-surface: #18181b;

  --border-color: #27272a;
  --border-hover: #3f3f46;
  --border-highlight: #52525b;

  --btn-primary-bg: #ffffff;
  --btn-primary-text: #000000;
  --btn-primary-hover: #e4e4e7;

  --btn-secondary-bg: #18181b;
  --btn-secondary-text: #fafafa;
  --btn-secondary-border: #27272a;
  --btn-secondary-hover: #27272a;

  --text-main: #fafafa;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;

  --shadow-subtle: none;
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: var(--bg-main);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

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

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

input, select {
  font-family: inherit;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  height: 65px;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  color: var(--text-main);
  text-decoration: none;
}

.brand-logo {
  width: 30px;
  height: 30px;
  background: var(--btn-primary-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-primary-text);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
}

.brand-accent {
  color: var(--btn-primary-bg);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 450;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.theme-toggle-btn {
  background: var(--btn-secondary-bg);
  border: 1px solid var(--btn-secondary-border);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--border-hover);
}

/* Valkit Clean Vertically-Centered Hero Screen */
.hero {
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  text-align: center;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-subtle);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Search Box & Slider Container */
.filter-bar-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 0.9rem 1.2rem 0.9rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--border-hover);
}

.budget-slider-wrapper {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-subtle);
}

.slider-header {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  gap: 0.4rem;
}

.budget-val {
  color: var(--text-main);
  font-weight: 700;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--border-color);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.35);
  cursor: pointer;
  transition: var(--transition-fast);
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.35);
  cursor: pointer;
}
