/* ============================================================
   HOME PAGE — home.css
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 90vh;
  padding-top: 68px;
  background: var(--page-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.shape-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(37,99,235,0.09), transparent);
  top: -120px; right: -120px;
}
.shape-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(217,119,6,0.07), transparent);
  bottom: 60px; left: -80px;
}
.shape-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(5,150,105,0.06), transparent);
  top: 45%; left: 42%;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
}

.hero-content { position: relative; z-index: 2; }

.hero-title { margin-top: var(--space-md); }
.text-gold { color: var(--accent); }
.text-brand { color: var(--brand); }

.hero-desc { margin-top: var(--space-lg); max-width: 500px; }

.hero-actions { display: flex; gap: var(--space-md); margin-top: var(--space-xl); flex-wrap: wrap; }

.hero-trust {
  display: flex; gap: var(--space-lg);
  margin-top: var(--space-xl); flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-body);
}
.trust-icon {
  width: 20px; height: 20px;
  background: var(--success-light);
  color: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
}
.hero-img-wrap img { width: 100%; height: auto; display: block; }

.hero-badge {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-secondary);
  white-space: nowrap;
  animation: float 3.5s ease-in-out infinite;
}
.badge-refund { bottom: -20px; left: -20px; animation-delay: 0s; }
.badge-pickup { top: -16px; right: 20px; animation-delay: 1.5s; }
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* Stats strip */
.hero-stats {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -1px 0 var(--border-subtle);
}
.stats-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; padding: var(--space-lg) 0; gap: var(--space-xl);
}
.stat-strip-item { text-align: center; }
.stat-strip-item strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.stat-strip-item span  { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; display: block; font-weight: 500; }
.stat-strip-divider { width: 1px; height: 40px; background: var(--border-subtle); }

/* ── How It Works ────────────────────────────────────────── */
.how-visual { text-align: center; margin-bottom: var(--space-2xl); }

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.how-step-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  position: relative; overflow: hidden;
  transition: all var(--dur-mid) var(--ease);
}
.how-step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--border-strong); }
.how-step-num {
  position: absolute; top: 16px; right: 20px;
  font-size: 3.5rem; font-weight: 900;
  color: rgba(37,99,235,0.06);
  line-height: 1; letter-spacing: -0.04em;
}
.how-step-icon { font-size: 2.2rem; margin-bottom: var(--space-md); display: block; }

/* ── Features Grid ───────────────────────────────────────── */
.bg-cream-wave { background: var(--surface-alt); }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg);
}
.feature-card { padding: 0; overflow: hidden; }
.feature-img {
  height: 160px; overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--surface-inset);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.feature-card:hover .feature-img img { transform: scale(1.04); }
.feature-content { padding: var(--space-lg); }
.feature-icon-wrap {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: var(--space-md);
}
.feature-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.875rem; font-weight: 700; color: var(--brand); transition: gap var(--dur-fast) var(--ease); }
.feature-link:hover { gap: 8px; color: var(--brand-hover); }

/* ── Split Section ────────────────────────────────────────── */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl); align-items: center;
}
.reverse-split { direction: rtl; }
.reverse-split > * { direction: ltr; }

.split-img-stack { position: relative; }
.split-img-stack img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.floating-card {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  animation: float 4s ease-in-out infinite;
}
.floating-card-sm { width: 260px; }
.floating-card-sm img { width: 100%; }

/* Milestones */
.track-milestones { display: flex; flex-direction: column; gap: var(--space-md); }
.milestone {
  display: flex; gap: var(--space-md); align-items: flex-start;
  padding: var(--space-md); border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease);
}
.milestone-done   { opacity: 0.65; }
.milestone-active { background: var(--brand-light); border-color: var(--brand-border); }
.milestone-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--border-strong);
  border: 2px solid var(--border-strong);
  flex-shrink: 0; margin-top: 3px;
}
.milestone-dot.done   { background: var(--success);  border-color: var(--success); }
.milestone-dot.active { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-light); animation: pulse 2s infinite; }

/* Mini steps */
.mini-steps { display: flex; flex-direction: column; gap: var(--space-md); }
.mini-step  { display: flex; gap: var(--space-md); align-items: flex-start; }
.mini-num {
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: var(--brand); color: #fff;
  font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

/* ── Trust Grid ───────────────────────────────────────────── */
.trust-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: var(--space-lg);
}
.trust-card { text-align: center; }
.trust-card-img {
  height: 140px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  margin-bottom: var(--space-md);
}
.trust-card-img img { max-height: 120px; width: auto; max-width: 100%; object-fit: contain; }
.center-card { display: flex; flex-direction: column; }
.trust-quote { font-size: 4rem; color: var(--border-strong); font-weight: 700; letter-spacing: -0.04em; line-height: 0.8; margin-bottom: var(--space-md); }
.trust-author { display: flex; align-items: center; gap: var(--space-sm); }
.author-avatar {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: var(--brand-light);
  border: 2px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--brand); font-size: 0.9rem; flex-shrink: 0;
}
.testimonial-stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--footer-bg);
  position: relative; overflow: hidden;
  padding: var(--space-3xl) 0;
}
.cta-banner-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.12), transparent 65%);
}
.cta-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-xl); flex-wrap: wrap;
}
.cta-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { justify-content: center; }
  .hero-desc { margin: var(--space-lg) auto 0; }
  .hero-actions, .hero-trust { justify-content: center; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .split-section, .reverse-split { grid-template-columns: 1fr; direction: ltr; }
  .split-visual { order: -1; }
  .floating-card { display: none; }
}

@media (max-width: 768px) {
  .hero-inner { padding-top: var(--space-xl); }
  .how-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .stats-strip { gap: var(--space-lg); }
  .stat-strip-divider { display: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}
