/* =======================================================
   ZenBiller Custom Styles - Enhanced Design
   ======================================================== */

/* Hero Section Enhancements */
.hero-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  min-height: auto;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.hero-gradient > * {
  position: relative;
  z-index: 1;
}

.hero-title {
  color: #fff !important;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-gradient h1.hero-title,
.hero-gradient .hero-title,
.hero.hero-gradient h1 {
  color: #fff !important;
}

.hero-subtitle {
  color: #fff !important;
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.95;
}

.hero-gradient .hero-subtitle,
.hero.hero-gradient h2,
.hero.hero-gradient p {
  color: #fff !important;
}

/* Button Styles */
.btn-primary-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
  color: #fff;
}

.btn-primary-white {
  background: #fff;
  color: #667eea;
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
  color: #667eea;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  color: #fff;
  border-color: #fff;
}

/* Feature Box Styles */
.feature-box {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-box .icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-box:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

.icon-gradient-1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-gradient-2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.icon-gradient-3 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-gradient-4 {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.icon-gradient-5 {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.icon-gradient-6 {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.feature-box h4 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.feature-box:hover h4 {
  color: #667eea;
}

.feature-box p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

.feature-box i {
  font-size: 2rem;
  color: #fff;
}

/* Benefits/Stats Cards */
.benefit-card {
  background: #fff;
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  height: 100%;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.benefit-card:hover::after {
  transform: scaleX(1);
}

.benefit-number {
  font-size: 3rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-number {
  transform: scale(1.1);
  color: #764ba2;
}

.benefit-card h5 {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.benefit-card p {
  color: #6c757d;
  margin: 0;
  font-size: 0.95rem;
}

/* Section Headings */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.section-title.text-start::after {
  left: 0;
  transform: translateX(0);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto;
}

/* Image Enhancements */
.img-featured {
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.img-featured:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.img-hero {
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.img-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

/* Contact Form Enhancements */
.contact-form-card {
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.contact-form-card:hover {
  box-shadow: 0 15px 60px rgba(0,0,0,0.25);
}

.form-control-custom {
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  outline: none;
}

/* Trust Indicators */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1rem;
  margin-right: 20px;
}

.trust-badge i {
  font-size: 1.5rem;
  color: #4ade80;
}

/* Social Proof Cards */
.social-proof-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.social-proof-card img {
  border-radius: 10px;
  max-height: 200px;
  object-fit: cover;
  width: 100%;
  transition: all 0.3s ease;
}

.social-proof-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.social-proof-card:hover img {
  transform: scale(1.05);
}

.social-proof-card h5 {
  margin-top: 15px;
  font-weight: 600;
  color: #2c3e50;
}

.social-proof-card p {
  color: #6c757d;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-text {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
}

/* Feature List Styles */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: start;
}

.feature-list li i {
  font-size: 1.5rem;
  color: #28a745;
  flex-shrink: 0;
  margin-top: 5px;
  margin-right: 15px;
}

.feature-list h5 {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.feature-list p {
  color: #6c757d;
  margin: 0;
}

/* Hero Glass Effect */
.hero-glass {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .benefit-number {
    font-size: 2.5rem;
  }
  
  .btn-primary-gradient,
  .btn-primary-white,
  .btn-outline-white {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .contact-form-card {
    padding: 30px 20px;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

