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

/* ---- Hero ---- */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0;
}

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

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
}

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

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,59,92,0.6) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.4) 0%, transparent 70%);
  bottom: -100px;
  left: 20%;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.5) 0%, transparent 70%);
  top: 30%;
  left: -50px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-6);
}

.hero-award {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 165, 0, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: rgba(255, 215, 0, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: var(--space-4);
  backdrop-filter: blur(8px);
  animation: awardPulse 3s ease-in-out infinite;
}

@keyframes awardPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
  50%       { box-shadow: 0 0 14px 2px rgba(255,215,0,0.18); }
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-glow 2s infinite;
  box-shadow: 0 0 8px var(--color-success);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: var(--space-6);
  color: white;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #FF3B5C 0%, #FF6B35 50%, #FFD700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: var(--space-10);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
}

.hero-trust-item svg {
  color: var(--color-success);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sticker-stack {
  position: relative;
  width: 480px;
  height: 480px;
}

.hero-sticker {
  position: absolute;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(255,59,92,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  font-weight: 900;
}

.hero-sticker-main {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  background: conic-gradient(from 0deg, #FF3B5C, #FF6B35, #FFD700, #00D4FF, #8B5CF6, #FF3B5C);
  z-index: 2;
}

.hero-sticker-2 {
  width: 130px;
  height: 130px;
  top: 30px;
  right: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #00D4FF, #8B5CF6);
  animation: float 7s ease-in-out infinite reverse;
  transform: rotate(-15deg);
  z-index: 1;
  font-size: 2.5rem;
}

.hero-sticker-3 {
  width: 100px;
  height: 100px;
  bottom: 60px;
  left: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22C55E, #00D4FF);
  animation: float 8s ease-in-out infinite;
  animation-delay: -2s;
  font-size: 2rem;
}

.hero-sticker-4 {
  width: 90px;
  height: 90px;
  top: 80px;
  left: 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FFD700, #FF6B35);
  animation: float 5s ease-in-out infinite;
  animation-delay: -1s;
  transform: rotate(10deg);
  font-size: 2rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.4);
  font-size: var(--text-xs);
  z-index: 1;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.stat-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,59,92,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.stat-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.stat-text span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border);
}

/* ---- How It Works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-glow-sm);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.step-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- Product Cards ---- */
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-card-image {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

.product-card-image-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  transition: transform var(--transition-base);
}

.product-card:hover .product-card-image-bg {
  transform: scale(1.08);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(4px);
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-body {
  padding: var(--space-4) var(--space-5);
}

.product-card-body h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.product-card-price {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
}

/* ---- Materials Section ---- */
.material-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
}

.material-row:last-child { border-bottom: none; }
.material-row.reverse { direction: rtl; }
.material-row.reverse > * { direction: ltr; }

.material-image {
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  overflow: hidden;
}

.material-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.material-features {
  list-style: none;
  margin: var(--space-6) 0;
}

.material-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.material-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ---- Testimonials ---- */
.testimonials-track {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--space-4);
  -ms-overflow-style: none;
}

.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex-shrink: 0;
  width: 340px;
  scroll-snap-align: start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-top: var(--space-4);
}

/* ---- CTA Banner ---- */
.cta-banner {
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
}

.cta-banner-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,59,92,0.4) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

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

.cta-banner h2 {
  font-size: var(--text-5xl);
  font-weight: 900;
  color: white;
  margin-bottom: var(--space-4);
}

.cta-banner p {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-8);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .material-row { grid-template-columns: 1fr; gap: var(--space-8); }
  .material-row.reverse { direction: ltr; }
}

@media (max-width: 640px) {
  .hero { min-height: 100svh; }
  .stats-inner { gap: var(--space-6); }
  .stat-divider { display: none; }
  .cta-banner h2 { font-size: var(--text-3xl); }
}
