/* ===== GOTCHA HOME PAGE STYLES ===== */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(67,56,202,0.12) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  bottom: 0; right: 10%;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s ease forwards;
}

.hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
}

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

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s ease forwards;
}

/* Hero search */
.hero-search {
  width: 100%;
  max-width: 640px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
}

.hero-search-wrap {
  display: flex;
  align-items: center;
  background: rgba(13, 13, 26, 0.9);
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 16px;
  gap: 12px;
  box-shadow: 0 0 40px rgba(99,102,241,0.12);
}

.hero-search-icon { color: var(--text-dim); flex-shrink: 0; }

.hero-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
}
.hero-search-input::placeholder { color: var(--text-dim); }

.hero-search-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s ease forwards;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 28px;
}

.hero-stat-number {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── CATEGORIES ── */
.section-categories { padding: 80px 0; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.cat-icon { font-size: 1.8rem; }

.cat-name {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.cat-count {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

/* ── BOOSTED SECTION ── */
.section-boosted { padding: 0 0 80px; }

.boosted-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(67,56,202,0.12), rgba(99,102,241,0.06));
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  gap: 16px;
}

.boosted-banner-text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.boosted-banner-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── RECENT ── */
.section-recent { padding: 0 0 80px; }

/* ── HOW IT WORKS ── */
.section-how { padding: 80px 0; background: var(--bg-card); }

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.how-step {
  padding: 32px 24px;
  background: var(--bg-card);
  transition: background var(--transition);
  position: relative;
}

.how-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-mid), transparent);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.how-step:hover { background: var(--bg-card-hover); }
.how-step:hover::before { transform: scaleX(1); }

.how-icon { font-size: 1.5rem; margin-bottom: 14px; }

.how-step h3 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.how-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── TRUST ── */
.section-trust { padding: 80px 0; }

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  max-width: 720px;
}

.trust-title {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.trust-title span {
  color: var(--accent-light);
}

.trust-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 400px;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.trust-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-card-demo {
  background: var(--bg);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 0 40px rgba(99,102,241,0.15);
}

.trust-card-demo-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0d0d20, #131330);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-bottom: 1px solid var(--border);
}

.trust-card-demo-body { padding: 18px; }

/* ── CTA ── */
.section-cta { padding: 0 0 80px; }

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(67,56,202,0.15), transparent 70%);
  pointer-events: none;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}

.cta-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(5, 1fr); }
  .trust-card { padding: 40px; gap: 40px; }
}

@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(5, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-card { grid-template-columns: 1fr; gap: 32px; }
  .trust-visual { display: flex !important; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 0; }
  .hero-stat-sep { display: none; }
  .hero-stat { flex: 1 1 45%; border-bottom: 1px solid var(--border); }
  .cta-card { padding: 40px 24px; }
  .boosted-banner { flex-direction: column; align-items: flex-start; }
}
