/* ============================================================
   Practix — Home / Landing Page Styles
   ============================================================ */

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  padding: 80px 24px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  overflow: hidden;
}

.hero-content { max-width: 540px; flex-shrink: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-accent { color: #60a5fa; }

.hero-sub {
  font-size: 18px;
  color: #93c5fd;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }

/* Hero visual — card stack */
.hero-visual {
  position: relative;
  width: 320px;
  height: 340px;
  flex-shrink: 0;
}

.hero-card {
  position: absolute;
  width: 290px;
  background: var(--white);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.hc-back  { top: 0; left: 30px; transform: rotate(6deg); opacity: 0.55; }
.hc-mid   { top: 20px; left: 16px; transform: rotate(3deg); opacity: 0.75; }
.hc-front { top: 44px; left: 0; transform: rotate(0deg); z-index: 3; }

.hc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.tag-sale    { background: #dcfce7; color: #16a34a; }
.tag-sold    { background: #fee2e2; color: #dc2626; }
.tag-pending { background: #fef9c3; color: #92400e; }

.hc-location  { font-size: 17px; font-weight: 800; color: var(--gray-900); margin-bottom: 3px; }
.hc-specialty { font-size: 12px; color: var(--blue-600); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.hc-collections { font-size: 22px; font-weight: 800; color: var(--blue-700); }
.hc-collections span { font-size: 13px; font-weight: 500; color: var(--gray-500); }

.hc-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.hc-stat { display: flex; flex-direction: column; gap: 2px; }
.hc-stat-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); }
.hc-stat-val { font-size: 15px; font-weight: 800; color: var(--gray-900); }

.hc-btn {
  display: block;
  text-align: center;
  background: var(--blue-600);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.hc-btn:hover { background: var(--blue-700); }

/* ---- FREE BANNER ---- */
.free-banner {
  background: var(--blue-50);
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
  padding: 14px 24px;
  text-align: center;
}
.free-banner-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--blue-800);
}
.free-icon { color: var(--blue-600); font-size: 16px; }

/* ---- SHARED SECTION STYLES ---- */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ---- HOW IT WORKS ---- */
.how-section { padding: 80px 24px; background: var(--white); }
.how-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.how-inner h2 { font-size: 34px; font-weight: 800; color: var(--gray-900); margin-bottom: 12px; }

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
  text-align: left;
  margin-top: 8px;
}
.how-divider { background: var(--gray-200); }

.how-col-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.how-col-header h3 { font-size: 22px; font-weight: 800; color: var(--gray-900); }
.how-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.buyer-icon  { background: var(--blue-50); }
.seller-icon { background: #f0fdf4; }

.how-steps { display: flex; flex-direction: column; gap: 20px; }
.how-step { display: flex; align-items: flex-start; gap: 16px; }
.step-num {
  width: 30px; height: 30px;
  background: var(--blue-600);
  color: var(--white);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-text strong { display: block; font-size: 15px; color: var(--gray-900); margin-bottom: 3px; }
.step-text p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin: 0; }

/* ---- WHY Practix ---- */
.why-section { padding: 80px 24px; background: var(--gray-50); }
.why-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.why-inner h2 { font-size: 34px; font-weight: 800; color: var(--gray-900); margin-bottom: 12px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.why-icon { font-size: 26px; margin-bottom: 14px; }
.why-card h4 { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* ---- FOR BROKERS SECTION ---- */
.brokers-section {
  background: var(--blue-900);
  padding: 80px 24px;
}
.brokers-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.brokers-urgency-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.urgency-dot-sm {
  width: 6px; height: 6px;
  background: #f59e0b;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.brokers-text h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.brokers-text p {
  font-size: 16px;
  color: #93c5fd;
  line-height: 1.75;
  margin-bottom: 24px;
}
.brokers-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.brokers-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #bfdbfe;
}
.brokers-list li span { color: #34d399; font-weight: 700; }

/* Broker mini-card */
.brokers-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.bc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--gray-100);
}
.bc-icon { font-size: 24px; }
.bc-title { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.bc-sub { font-size: 12px; color: var(--gray-500); }
.bc-listings { padding: 8px 0; }
.bc-listing-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--gray-50, #f9fafb);
}
.bc-city { font-size: 14px; font-weight: 600; color: var(--gray-900); flex: 1; }
.bc-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.for-sale-dot { background: #16a34a; }
.pending-dot  { background: #d97706; }
.bc-status-text { font-size: 12px; color: var(--gray-500); font-weight: 500; }
.bc-cta {
  display: block;
  padding: 14px 20px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background 0.15s;
}
.bc-cta:hover { background: var(--blue-100); }

/* ---- FIND A PRACTICE CTA ---- */
.find-cta {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
  padding: 80px 24px;
  text-align: center;
}
.find-cta-inner { max-width: 600px; margin: 0 auto; }
.find-cta h2 { font-size: 34px; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.find-cta p { font-size: 17px; color: #93c5fd; line-height: 1.7; margin-bottom: 32px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero { flex-direction: column; padding: 56px 24px 60px; gap: 48px; text-align: center; }
  .hero h1 { font-size: 38px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-visual { width: 290px; height: 310px; }
  .hero-card { width: 260px; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-divider { display: none; }
  .section-sub { margin-bottom: 32px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .why-grid { grid-template-columns: 1fr; }
  .find-cta h2 { font-size: 26px; }
}
