/* Main stylesheet - extracted from index.php for better performance */

/* Ensure all interactive elements are clickable */
a, button, .hero-btn, .cta-btn, .product-card {
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}

/* Dynamic Products Showcase */
.products-showcase {
  max-width: 1400px;
  margin: 4em auto;
  padding: 0 1em;
  animation: fadeInUp 1.2s 0.4s both;
}

.products-header {
  text-align: center;
  margin-bottom: 3em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin-top: 0.5em;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dynamic-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  margin-bottom: 3em;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.modern-product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(53, 121, 246, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(53, 121, 246, 0.08);
  position: relative;
}

.modern-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(53, 121, 246, 0.2);
  border-color: rgba(53, 121, 246, 0.2);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modern-product-card:hover .product-image {
  transform: scale(1.05);
}

.product-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3579f6, #2351b3);
  color: white;
  font-size: 2.5rem;
}

.featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.product-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(53, 121, 246, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.product-content {
  padding: 1.5em;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5em;
  line-height: 1.3;
  background: linear-gradient(135deg, #3579f6, #2351b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1em;
  font-size: 0.9rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.5em;
  font-weight: 700;
}

.product-price .currency {
  font-size: 1rem;
  color: #3579f6;
  margin-right: 2px;
}

.product-price .amount {
  font-size: 1.5rem;
  color: #1e293b;
}

.product-actions {
  display: flex;
  gap: 0.75em;
}

.btn-view-product {
  flex: 1;
  padding: 10px 16px;
  background: rgba(53, 121, 246, 0.1);
  color: #3579f6;
  border: 1px solid rgba(53, 121, 246, 0.2);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-view-product:hover {
  background: rgba(53, 121, 246, 0.15);
  border-color: rgba(53, 121, 246, 0.3);
  transform: translateY(-1px);
}

.btn-buy-now {
  flex: 1;
  padding: 10px 16px;
  background: linear-gradient(135deg, #3579f6, #2351b3);
  color: white;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(53, 121, 246, 0.3);
}

.btn-buy-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(53, 121, 246, 0.4);
}

.products-footer {
  text-align: center;
  margin-top: 2em;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #3579f6, #2351b3);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(53, 121, 246, 0.3);
}

.btn-view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(53, 121, 246, 0.4);
}

.no-products {
  text-align: center;
  padding: 4em 2em;
  color: #64748b;
}

.no-products-icon {
  font-size: 4rem;
  color: #cbd5e0;
  margin-bottom: 1em;
}

.no-products h3 {
  color: #3579f6;
  margin-bottom: 0.5em;
}

/* Hero section continued */
.hero-badge {
  background: linear-gradient(90deg, #3579f6 60%, #2351b3 100%);
  color: #fff;
  font-size: 0.9em;
  font-weight: 600;
  padding: 0.4em 1em;
  border-radius: 10px;
  margin-bottom: 0.5em;
  display: inline-block;
  box-shadow: 0 2px 12px #3579f62a;
}

.hero-highlight {
  font-weight: 700;
  font-size: 1.03em;
  color: #254a97;
  margin-bottom: 1.25em;
  display: block;
  letter-spacing: 0.01em;
}

.hero-btn:hover { 
  background: #2351b3; 
  transform: translateY(-2px) scale(1.035);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5em;
  margin: 2em 0 1.5em 0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8em;
  font-weight: 800;
  color: #1c4177;
  margin-bottom: 0.2em;
}

.stat-label {
  font-size: 0.9em;
  color: #406ca5;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
  margin-top: 1.5em;
}

.hero-btn.primary {
  background: linear-gradient(90deg, #3579f6 60%, #2351b3 100%);
}

.hero-btn.secondary {
  background: transparent;
  border: 2px solid #3579f6;
  color: #3579f6;
}

.hero-btn.secondary:hover {
  background: #3579f6;
  color: #fff;
}

.section-title {
  font-size: 1.8em;
  font-weight: 800;
  color: #1c4177;
  text-align: center;
  margin-bottom: 2.5em;
  letter-spacing: 0.01em;
}

.features-section {
  background: #f8fbff;
  padding: 4em 0;
  margin: 3em 0;
  border-radius: 12px;
  animation: fadeInUp 1.2s 0.4s both;
}

.features-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5em;
  padding-left: 1vw;
  padding-right: 1vw;
}

.feature-item {
  text-align: center;
  padding: .1em;
}

.feature-icon {
  font-size: 3em;
  margin-bottom: 0.8em;
  filter: drop-shadow(0 2px 12px #3579f622);
}

.feature-item h3 {
  font-size: 1.2em;
  font-weight: 600;
  color: #1c4177;
  margin-bottom: 0.8em;
  padding: 3px;
}

.feature-item p {
  color: #406ca5;
  line-height: 1.6;
  padding: 8px;
}

.testimonials-section {
  max-width: 1050px;
  margin: 4em auto;
  padding: 0 1em;
  animation: fadeInUp 1.2s 0.6s both;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2em;
  padding-left: 10vw;
  padding-right: 10vw;
}

.testimonial-card {
  background: #fff;
  padding: 2em;
  border-radius: 15px;
  box-shadow: 0 4px 20px #a6d6fa25;
  border-left: 4px solid #3579f6;
}

.testimonial-content {
  font-size: 1.1em;
  color: #1c4177;
  line-height: 1.6;
  margin-bottom: 1.2em;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: #406ca5;
  font-size: 0.95em;
}

.cta-section {
  background: linear-gradient(135deg, #3579f6 0%, #2351b3 100%);
  padding: 4em 0;
  margin: 4em 0;
  animation: fadeInUp 1.2s .8s both;
}

.cta-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em;
  align-items: center;
}

.cta-title {
  font-size: 2.2em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8em;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.1em;
  color: #e8f4ff;
  margin-bottom: 1.8em;
  line-height: 1.6;
}

.cta-content {
  animation: slideInLeft 1.2s 0.8s both;
}

.cta-buttons {
  display: flex;
  gap: 1em;
}

.cta-btn {
  padding: 0.8em 2em;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn.primary {
  background: #fff;
  color: #3579f6;
}

.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-btn.secondary:hover {
  background: #fff;
  color: #3579f6;
}

.cta-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
  animation: slideInRight 1.2s 0.9s both;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.8em;
  color: #fff;
  font-weight: 500;
}

.benefit-icon {
  font-size: 1.2em;
}

.faq-section {
  padding: 4em 0;
  background: #f8fbff;
  animation: fadeInUp 1.2s 1s both;
}

.faq-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1em;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 2.5em;
}

.faq-item {
  background: #fff;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 20px #a6d6fa20;
  animation: fadeInUp 1.2s 1.2s both;
}

.faq-question {
  font-size: 1.2em;
  font-weight: 600;
  color: #1c4177;
  margin-bottom: 1em;
}

.faq-answer {
  color: #406ca5;
  line-height: 1.6;
  margin: 0;
}

.stats-section {
  padding: 4em 0;
  background: #fff;
  animation: fadeInUp 1.2s 1.4s both;
}

.stats-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5em;
}

.stat-item {
  text-align: center;
  padding: 2em 1em;
  background: linear-gradient(135deg, #f8fbff 0%, #e8f4ff 100%);
  border-radius: 15px;
  box-shadow: 0 6px 28px #a6d6fa25;
  animation: bounceIn 1.2s both;
}

.stat-item:nth-child(1) { animation-delay: 1.4s; }
.stat-item:nth-child(2) { animation-delay: 1.5s; }
.stat-item:nth-child(3) { animation-delay: 1.6s; }
.stat-item:nth-child(4) { animation-delay: 1.7s; }

.stat-icon {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  filter: drop-shadow(0 2px 12px #3579f622);
}

.stat-value {
  font-size: 2.5em;
  font-weight: 800;
  color: #1c4177;
  margin-bottom: 0.3em;
}

.stat-text {
  font-size: 1em;
  color: #406ca5;
  font-weight: 500;
}

/* Animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px);}
  to   { opacity: 1; transform: translateX(0);}
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px);}
  to   { opacity: 1; transform: translateX(0);}
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* Responsive Design - optimized for mobile-first */
@media (max-width: 1024px) and (min-width: 769px) {
  .dynamic-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
  }
  
  .modern-product-card {
    border-radius: 18px;
  }
  
  .product-content {
    padding: 1.25em;
  }
  
  .product-name {
    font-size: 1.15rem;
  }
  
  .product-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero-desc {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 1.2em;
  }
  
  .hero-stats { 
    flex-direction: column; 
    gap: 1.5em;
    margin: 1.8em 0 1.5em 0;
  }
  
  .hero-buttons { 
    flex-direction: column; 
    align-items: center;
    gap: 1em;
  }
  
  .hero-btn { 
    width: 220px; 
    text-align: center;
    padding: 0.7em 1.8em;
  }
  
  .section-title { 
    font-size: 1.5em;
    margin-bottom: 1.8em;
  }
  
  .features-grid { 
    grid-template-columns: repeat(2, 2fr);
    gap: 1.5em;
  }
  
  .testimonials-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5em;
  }
  
  .dynamic-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    margin-bottom: 2em;
  }
  
  .modern-product-card {
    border-radius: 16px;
  }
  
  .product-image-container {
    height: 0;
    padding-bottom: 100%;
    position: relative;
  }
  
  .product-image,
  .product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .product-content {
    padding: 1em;
  }
  
  .product-name {
    font-size: 1rem;
    margin-bottom: 0.4em;
  }
  
  .product-description {
    font-size: 0.8rem;
    margin-bottom: 0.8em;
    line-height: 1.4;
  }
  
  .product-price {
    margin-bottom: 1em;
  }
  
  .product-price .amount {
    font-size: 1.2rem;
  }
  
  .product-actions {
    flex-direction: column;
    gap: 0.4em;
  }
  
  .btn-view-product,
  .btn-buy-now {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  .featured-badge,
  .product-category {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  
  .cta-container { 
    grid-template-columns: 1fr; 
    gap: 2em; 
    text-align: center;
  }
  
  .cta-title { 
    font-size: 1.8em;
    line-height: 1.3;
  }
  
  .cta-buttons { 
    justify-content: center;
    gap: 1em;
  }
  
  .cta-benefits { 
    grid-template-columns: 1fr; 
    gap: 1.2em;
  }
  
  .faq-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5em;
  }
  
  .stats-container { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5em;
  }
}

@media (max-width: 500px) {
  .hero-section {
    margin: 1.2em auto 1.5em auto;
    padding: 0 0.8em;
  }
  
  .hero-title { 
    font-size: 1.2em;
    line-height: 1.25;
    margin-bottom: 0.6em;
  }
  
  .hero-desc {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 1em;
  }
  
  .hero-stats { 
    flex-direction: column; 
    gap: 1.2em;
    margin: 1.5em 0 1.2em 0;
  }
  
  .stat-number { 
    font-size: 1.6em;
  }
  
  .stat-label {
    font-size: 0.85em;
  }
  
  .hero-buttons {
    gap: 0.8em;
  }
  
  .hero-btn { 
    width: 100%; 
    padding: 0.65em 1.5em;
    font-size: 0.95em;
  }
  
  .section-title {
    font-size: 1.3em;
    margin-bottom: 1.5em;
  }
  
  .features-section { 
    padding: 2.5em 0;
    margin: 2em 0;
  }
  
  .features-container {
    padding: 0 0.8em;
  }
  
  .feature-item {
    padding: .1;
  }
  
  .dynamic-product-grid {
    gap: 0.8em;
  }
  
  .modern-product-card {
    border-radius: 12px;
  }
  
  .product-image-container {
    height: 0;
    padding-bottom: 100%;
  }
  
  .product-content {
    padding: 0.8em;
  }
  
  .product-name {
    font-size: 0.9rem;
    margin-bottom: 0.3em;
  }
  
  .product-description {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 0.6em;
  }
  
  .product-price .amount {
    font-size: 1.1rem;
  }
  
  .product-price .currency {
    font-size: 0.85rem;
  }
  
  .btn-view-product,
  .btn-buy-now {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  
  .featured-badge,
  .product-category {
    font-size: 0.6rem;
    padding: 2px 4px;
  }
}

/* Prevent horizontal overflow */
.hero-section, .product-grid, .product-card, .hero-buttons, .cta-section, .cta-container, .cta-buttons,
.features-section, .features-container, .testimonials-section, .testimonials-grid,
.faq-section, .faq-container, .stats-section, .stats-container {
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

.hero-buttons, .cta-buttons {
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.hero-btn, .cta-btn, .product-card, button {
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-x: hidden;
} 