/* ============================================================
   RUBBER GASKETS - Vertex Rubber India | home.css
   Homepage-specific styles: Hero, Stats, Materials, Products,
   Process, CTA Sections
   ============================================================ */

/* ----- Hero Section ----- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.15;
  animation: float-particle 12s infinite;
}

.particle:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; width: 6px; height: 6px; }
.particle:nth-child(2) { top: 20%; left: 30%; animation-delay: 1s; }
.particle:nth-child(3) { top: 40%; left: 15%; animation-delay: 2s; width: 5px; height: 5px; background: var(--accent); }
.particle:nth-child(4) { top: 60%; left: 80%; animation-delay: 0.5s; }
.particle:nth-child(5) { top: 30%; left: 70%; animation-delay: 3s; width: 3px; height: 3px; background: var(--accent); }
.particle:nth-child(6) { top: 70%; left: 10%; animation-delay: 1.5s; }
.particle:nth-child(7) { top: 85%; left: 50%; animation-delay: 4s; width: 5px; height: 5px; }
.particle:nth-child(8) { top: 50%; left: 90%; animation-delay: 2.5s; }
.particle:nth-child(9) { top: 15%; left: 55%; animation-delay: 3.5s; width: 3px; height: 3px; background: var(--accent); }
.particle:nth-child(10) { top: 75%; left: 35%; animation-delay: 0.8s; }

@keyframes float-particle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
  25% { transform: translate(30px, -20px) scale(1.3); opacity: 0.25; }
  50% { transform: translate(-20px, 30px) scale(0.8); opacity: 0.1; }
  75% { transform: translate(20px, -10px) scale(1.1); opacity: 0.2; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text .badge {
  margin-bottom: 1.2rem;
}

.hero-text h1 {
  margin-bottom: 1.2rem;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--text-light-muted);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-stat {
  text-align: center;
}

.hero-stat h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.hero-stat p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.hero-visual-inner {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-rotating-ring {
  position: absolute;
  border: 1.5px dashed rgba(255,107,0,0.1);
  border-radius: 50%;
  animation: spin-ring 20s linear infinite;
}

.hero-rotating-ring:nth-child(1) {
  width: 320px;
  height: 320px;
  border-color: rgba(255,107,0,0.08);
  animation-duration: 25s;
  animation-direction: reverse;
}

.hero-rotating-ring:nth-child(2) {
  width: 280px;
  height: 280px;
  border-color: rgba(0,188,212,0.08);
  animation-duration: 20s;
}

.hero-rotating-ring:nth-child(3) {
  width: 360px;
  height: 360px;
  border-color: rgba(255,107,0,0.05);
  animation-duration: 30s;
  animation-direction: reverse;
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-image-card {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--bg-card);
  border: 3px solid rgba(255,107,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 40px rgba(255,107,0,0.1);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-card i {
  font-size: 3rem;
  color: var(--text-muted);
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(22, 22, 24, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  z-index: 3;
  animation: float-card 4s ease-in-out infinite;
}

.hero-float-card:nth-child(5) { animation-delay: 0s; }
.hero-float-card:nth-child(6) { animation-delay: 2s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-float-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-float-card-text h4 {
  font-size: 0.85rem;
  color: var(--white);
  margin: 0;
}

.hero-float-card-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* ----- Trust Badges ----- */
.trust-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

.trust-badge-icon {
  font-size: 0.9rem;
}

/* ----- Showcase Section ----- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.showcase-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-product-img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ----- Process Timeline (Homepage) ----- */
.process-section {
  overflow: hidden;
}

/* ----- CTA Banner (Homepage) ----- */
.cta-section {
  padding: 5rem 2rem;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,107,0,0.08), transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: var(--text-light-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.cta-section .cta-buttons {
  position: relative;
}

/* ----- Applications Grid (Home) ----- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
}

.app-card:hover {
  border-color: rgba(255,107,0,0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.app-card i {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

.app-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.app-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ----- Responsive Home ----- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 1.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding: 6rem 1.2rem 3rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .hero-stat h3 {
    font-size: 1.3rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stat p {
    font-size: 0.7rem;
  }
}
