/* ===========================
   FINDROOM — HOME PAGE CSS
   =========================== */

/* ========================
   HERO SECTION
   ======================== */

.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--orange);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: orbPulse 6s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: #ff8c42;
  bottom: 0;
  right: -100px;
  opacity: 0.08;
  animation: orbPulse 8s ease-in-out infinite reverse;
}

@keyframes orbPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.12; }
  50% { transform: translateX(-50%) scale(1.1); opacity: 0.18; }
}

.hero-orb-2 { transform: none; }
.hero-orb-2:first-child { transform: none; }

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-dim);
  border: 1px solid rgba(232, 81, 10, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtext {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeInUp 0.6s 0.2s ease both;
}

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

/* ========================
   SEARCH BAR
   ======================== */

.search-row {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  transition: var(--transition);
  animation: fadeInUp 0.6s 0.3s ease both;
}

.search-row:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-dim), var(--shadow-orange);
}

.search-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  min-width: 0;
}

.search-row input::placeholder {
  color: var(--text-dim);
}

.search-row button {
  background: var(--orange);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font);
}

.search-row button:hover {
  background: var(--orange-light);
  transform: scale(1.03);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.4s ease both;
}

/* ========================
   STATS BAR
   ======================== */

.stats-section {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(232, 81, 10, 0.03);
}

.stats-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 16px 48px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border);
}

.stat-item .num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-item .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ========================
   HOW IT WORKS
   ======================== */

.how-it-works {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent, var(--orange));
  opacity: 0.3;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition-slow);
}

.step-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 81, 10, 0.15);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--orange-dim);
  border: 2px solid rgba(232, 81, 10, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.step-card:hover .step-number {
  background: var(--orange);
  border-color: var(--orange);
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ========================
   TRUST BADGES
   ======================== */

.trust-section {
  padding: 60px 24px;
  text-align: center;
  background: rgba(232, 81, 10, 0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-section h2 {
  font-size: 1.5rem;
  margin-bottom: 28px;
  color: var(--text);
}

.chips-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========================
   FEATURED AREAS
   ======================== */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.area-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition-slow);
  text-decoration: none;
}

.area-card:hover {
  border-color: var(--orange);
  background: var(--bg-elevated);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 81, 10, 0.1);
}

.area-icon {
  width: 44px;
  height: 44px;
  background: var(--orange-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.area-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

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

/* ========================
   SOCIAL SECTION
   ======================== */

.social-section {
  padding: 60px 24px;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--orange);
  background: var(--bg-elevated);
  transform: translateY(-2px);
  color: var(--text);
}

/* ========================
   RESPONSIVE
   ======================== */

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

  .steps-grid::before { display: none; }

  .stat-item {
    padding: 16px 28px;
  }
}

@media (max-width: 480px) {
  .hero { padding: 60px 16px; }

  .search-row {
    border-radius: var(--radius);
    flex-direction: column;
    padding: 12px;
    gap: 12px;
  }

  .search-row button {
    width: 100%;
    padding: 12px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }

  .stat-item:not(:last-child)::after { display: none; }

  .stats-inner {
    flex-direction: column;
    gap: 0;
  }
}
