/* ============================================================
   home.css  —  LeadLinka search landing page (index.html)
   ============================================================ */

/* ── Hero ── */
.ll-hero {
  width: 100%;
  min-height: 480px;
  background:
    linear-gradient(rgba(18, 20, 45, 0.76), rgba(18, 20, 45, 0.76)),
    url('/images/main_heading.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 20px 64px;
  text-align: center;
}

.ll-hero-inner {
  max-width: 760px;
  width: 100%;
}

.ll-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.ll-hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 36px;
  line-height: 1.55;
}

/* ── Search box ── */
.ll-search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto 22px;
  height: 56px;
}

.ll-search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 14px;
  min-width: 0;
}

.ll-search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #888;
  margin-right: 10px;
}

.ll-search-input {
  border: none;
  outline: none;
  font-size: 1rem;
  color: #1a1a2e;
  background: transparent;
  width: 100%;
  min-width: 0;
}

.ll-search-input::placeholder {
  color: #aaa;
}

.ll-search-input.ll-input-error {
  outline: 2px solid #e53935;
  border-radius: 4px;
}

.ll-search-divider {
  width: 1px;
  height: 32px;
  background: #ddd;
  flex-shrink: 0;
}

.ll-radius-wrap {
  padding: 0 12px;
  flex-shrink: 0;
}

.ll-radius-select {
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: #444;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  -webkit-appearance: none;
  padding-right: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.ll-search-btn {
  height: 100%;
  padding: 0 28px;
  background: #5c6bc0;
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.ll-search-btn:hover {
  background: #3f51b5;
}

/* ── Quick links ── */
.ll-quick-links {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.ll-quick-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 0.15s, border-color 0.15s;
}

.ll-quick-links a:hover {
  color: #fff;
  border-color: #fff;
}

/* ── Auth nudge ── */
.ll-auth-nudge {
  background: #f5f7ff;
  border-bottom: 1px solid #e0e4f0;
}

.ll-auth-nudge-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #444;
}

.ll-auth-nudge-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ll-auth-nudge-inner a {
  color: #5c6bc0;
  font-weight: 600;
  text-decoration: none;
}

.ll-auth-nudge-inner a:hover {
  text-decoration: underline;
}

/* ── Stats bar ── */
.ll-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 28px 24px;
  background: #fff;
  border-bottom: 1px solid #e8eaf0;
}

.ll-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  gap: 4px;
}

.ll-stat-item strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: #5c6bc0;
  line-height: 1;
}

.ll-stat-item span {
  font-size: 0.8rem;
  color: #888;
  white-space: nowrap;
}

.ll-stat-divider {
  width: 1px;
  height: 40px;
  background: #e0e4f0;
  flex-shrink: 0;
}

/* ── How it works ── */
.ll-how-section {
  background: #f7f8fb;
  padding: 56px 24px 64px;
}

.ll-how-inner {
  max-width: 960px;
  margin: 0 auto;
}

.ll-how-inner h2 {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 40px;
}

.ll-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ll-how-card {
  background: #fff;
  border: 1px solid #e0e4f0;
  border-radius: 12px;
  padding: 28px 24px;
}

.ll-how-num {
  font-size: 2rem;
  font-weight: 800;
  color: #5c6bc0;
  opacity: 0.22;
  line-height: 1;
  margin-bottom: 12px;
}

.ll-how-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
}

.ll-how-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

/* ── Dark mode ── */
body.dark-mode .ll-hero {
  background:
    linear-gradient(rgba(8, 9, 22, 0.85), rgba(8, 9, 22, 0.85)),
    url('/images/main_heading.jpg') center / cover no-repeat;
}

body.dark-mode .ll-search-box {
  background: #1e2035;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
}

body.dark-mode .ll-search-input {
  color: #e0e2f0;
}

body.dark-mode .ll-search-input::placeholder { color: #666; }
body.dark-mode .ll-search-divider { background: #3a3d55; }
body.dark-mode .ll-radius-select { color: #b0b4cc; }

body.dark-mode .ll-auth-nudge { background: #16182a; border-color: #2a2d45; }
body.dark-mode .ll-auth-nudge-inner { color: #aaa; }

body.dark-mode .ll-stats-bar { background: #12142a; border-color: #2a2d45; }
body.dark-mode .ll-stat-item span { color: #666; }

body.dark-mode .ll-how-section { background: #0e0f1e; }
body.dark-mode .ll-how-inner h2 { color: #e0e2f0; }
body.dark-mode .ll-how-card { background: #16182a; border-color: #2a2d45; }
body.dark-mode .ll-how-card h3 { color: #e0e2f0; }
body.dark-mode .ll-how-card p { color: #888; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .ll-hero h1 { font-size: 1.7rem; }
  .ll-hero-sub { font-size: 0.95rem; }

  .ll-search-box {
    flex-wrap: wrap;
    height: auto;
    border-radius: 10px;
  }

  .ll-search-input-wrap {
    width: 100%;
    border-bottom: 1px solid #eee;
    padding: 12px 14px;
  }

  .ll-search-divider { display: none; }

  .ll-radius-wrap {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    width: 100%;
  }

  .ll-radius-select { width: 100%; }

  .ll-search-btn {
    width: 100%;
    height: 48px;
    border-radius: 0 0 8px 8px;
  }

  .ll-how-grid { grid-template-columns: 1fr; }

  .ll-stat-item { padding: 0 18px; }
  .ll-stat-item strong { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .ll-stats-bar { gap: 8px 0; flex-direction: column; }
  .ll-stat-divider { width: 40px; height: 1px; }
}
