/* ============================================================
   MODERN HOMEPAGE STYLES
   ============================================================ */

/* Hero Section - Full Width Animated */
.modern-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: -2rem -2rem 4rem -2rem;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--antique-gold) 0%, var(--dark-burgundy) 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240,147,251,0.4), transparent);
  bottom: -150px;
  left: -100px;
  animation-delay: 5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(79,172,254,0.3), transparent);
  top: 50%;
  left: 50%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  animation: slideInDown 0.6s ease-out;
}

.badge-icon {
  font-size: 1.2rem;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: slideInLeft 0.8s ease-out;
}

.gradient-text {
  display: block;
  background: linear-gradient(to right, #ffd93d, #ff6b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  animation: slideInLeft 1s ease-out;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: slideInUp 1.2s ease-out;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-hero-primary {
  background: white;
  color: var(--antique-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: white;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  animation: fadeIn 1.5s ease-out;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-item strong {
  font-size: 2rem;
  font-weight: 900;
}

.stat-item span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Hero Visual - Product Showcase */
.hero-visual {
  position: relative;
}

.product-showcase {
  display: grid;
  gap: 1.5rem;
}

.showcase-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  animation: slideInRight 0.8s ease-out;
  transition: all 0.3s ease;
}

.showcase-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateX(-10px);
}

.showcase-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-info {
  flex: 1;
  color: white;
}

.showcase-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.showcase-info h4 {
  font-size: 1.1rem;
  margin: 0.25rem 0;
  color: white;
}

.showcase-price {
  font-size: 1.3rem;
  font-weight: 800;
}

/* Features Strip */
.features-strip {
  background: rgba(26, 11, 15, 0.85);
  border-top: 1px solid rgba(198,167,94,0.18);
  border-bottom: 1px solid rgba(198,167,94,0.18);
  padding: 1rem 0;
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 580px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.25rem;
  border-right: 1px solid rgba(198,167,94,0.12);
}
.feature-item:last-child { border-right: none; }

.feature-icon {
  flex-shrink: 0;
  line-height: 1;
  opacity: 0.92;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text strong {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #F5F1E8;
  margin-bottom: 0.1rem;
  white-space: nowrap;
}

.feature-text span {
  font-size: 0.7rem;
  color: rgba(198,167,94,0.75);
  white-space: nowrap;
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-family: var(--font-display);
  margin: 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s;
}

.section-link:hover {
  gap: 0.75rem;
}

/* Category Cards */
.category-section {
  padding: 4rem 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.category-card {
  position: relative;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--antique-gold) 0%, var(--dark-burgundy) 100%);
  transition: all 0.4s ease;
}

.category-1 { background: linear-gradient(135deg, var(--antique-gold), var(--dark-burgundy)); }
.category-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.category-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.category-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}

.category-card:hover .category-overlay {
  background: rgba(0,0,0,0.5);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.category-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: white;
}

.category-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.category-content p {
  opacity: 0.9;
  margin-bottom: 1rem;
}

.category-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: white;
  color: var(--dark);
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
  transform: translateX(10px);
}

/* Modern Product Cards */
.products-section {
  padding: 4rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card-modern {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(102,126,234,0.15);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 300px;
  background: var(--bg-soft);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card-modern:hover .product-image {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.product-badge.new {
  background: rgba(16,185,129,0.9);
  color: white;
}

.product-badge.bestseller {
  background: rgba(245,158,11,0.9);
  color: white;
}

.product-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.product-card-modern:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.quick-view,
.add-wishlist {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.quick-view:hover,
.add-wishlist:hover {
  transform: scale(1.1);
}

.product-info-modern {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  font-weight: 600;
}

.product-name {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.1rem;
}

.product-name a {
  color: var(--dark);
}

.product-name a:hover {
  color: var(--primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  font-size: 0.9rem;
}

.rating-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.add-to-cart-btn-mini {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.add-to-cart-btn-mini:hover {
  transform: scale(1.1) rotate(10deg);
}

/* Testimonials */
.testimonials-section {
  padding: 4rem 0;
  background: var(--bg-soft);
  margin: 4rem -2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(102,126,234,0.15);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.testimonial-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
  background: var(--primary-gradient);
  color: white;
  padding: 4rem 2rem;
  margin: 4rem -2rem;
  border-radius: 24px;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-family: var(--font-display);
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 1rem;
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.newsletter-btn {
  padding: 1rem 2.5rem;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.newsletter-note {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Animations */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    min-width: 100%;
  }
  
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .modern-hero {
    margin: -1rem -1rem 3rem -1rem;
  }
  
  .testimonials-section,
  .cta-banner {
    margin-left: -1rem;
    margin-right: -1rem;
  }
}

@media (max-width: 640px) {
  .modern-hero {
    min-height: 600px;
    margin: -1rem -1rem 2rem -1rem;
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}