/* ============================================
   OrderFriendly Homepage — Modern Override
   ============================================ */

/* --- Hero Section --- */
.home-banner {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 50%, #fafbff 100%);
}

.home-banner .shape {
  opacity: 0.35;
}

.home-banner .content .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.08);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.home-banner .content .subtitle img {
  width: 18px;
  height: 18px;
}

.home-banner .content .title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.home-banner .content .hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-medium);
  max-width: 520px;
  margin-bottom: 36px;
}

.home-banner .content-botom {
  gap: 16px;
  flex-wrap: wrap;
}

.home-banner .content-botom .btn.primary-btn {
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(var(--color-primary-rgb), 0.3);
  transition: all 0.3s ease;
}

.home-banner .content-botom .btn.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(var(--color-primary-rgb), 0.4);
}

.home-banner .banner-img img {
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

/* Hero theme slider */
.hero-theme-slider {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.hero-theme-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Hero trust badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.hero-trust-item {
  text-align: center;
}

.hero-trust-item .trust-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-trust-item .trust-label {
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 2px;
}

/* --- Section Titles — tighter, modern --- */
.section-title {
  margin-bottom: 50px;
}

.section-title .subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title .title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-title .section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-medium);
  max-width: 600px;
  margin: 16px auto 0;
}

/* --- Process / How it Works --- */
.store-area {
  padding: 100px 0 80px;
  background: #fff;
}

.store-area .card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.35s ease;
  height: 100%;
}

.store-area .card:hover {
  border-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(var(--color-primary-rgb), 0.1);
}

.store-area .card .card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(var(--color-primary-rgb), 0.08);
  margin-bottom: 20px;
  font-size: 26px;
  color: var(--color-primary);
}

.store-area .card .card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.store-area .card .card-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-medium);
}

/* Step numbers on process cards */
.store-area .col-sm-6 {
  counter-increment: step-counter;
}

.store-area .card::before {
  content: counter(step-counter, decimal-leading-zero);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: rgba(var(--color-primary-rgb), 0.06);
  line-height: 1;
}

.store-area .card {
  position: relative;
  overflow: hidden;
}

/* --- Template Preview --- */
.template-area {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
}

.template-area .card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
}

.template-area .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.template-area .card .card-image {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.template-area .card .card-image img {
  transition: transform 0.5s ease;
}

.template-area .card:hover .card-image img {
  transform: scale(1.05);
}

.template-area .theme-name {
  font-size: 16px;
  font-weight: 600;
  padding: 16px 0;
}

/* --- Features / Why Choose Us --- */
.choose-area {
  padding: 100px 0 80px;
}

.choose-area .choose-content .subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.choose-area .choose-content .title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.choose-area .choose-content .text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-medium);
  margin-bottom: 32px;
}

.choose-area .card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.35s ease;
  height: 100%;
}

.choose-area .card:hover {
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.choose-area .card .card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.choose-area .card .card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.choose-area .card .card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.choose-area .card .card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-medium);
}

/* --- Stats / Social Proof Banner --- */
.stats-banner {
  padding: 60px 0;
  background: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.15) 0%, transparent 50%);
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

/* --- Pricing Section --- */
.pricing-area {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
}

.pricing-area .nav-tabs {
  border: none;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  display: inline-flex;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 48px;
}

.pricing-area .nav-tabs .nav-link {
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
  transition: all 0.3s ease;
}

.pricing-area .nav-tabs .nav-link.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.3);
}

.pricing-area .card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.35s ease;
  height: 100%;
}

.pricing-area .card:hover,
.pricing-area .card.active {
  border-color: var(--color-primary);
  box-shadow: 0 20px 60px rgba(var(--color-primary-rgb), 0.1);
  transform: translateY(-8px);
}

.pricing-area .card.active {
  position: relative;
}

.pricing-area .card.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  border-radius: 20px 20px 0 0;
}

.pricing-area .card .price {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-area .card .period {
  font-size: 15px;
  color: var(--text-medium);
}

.pricing-area .card h5 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-medium);
  margin: 24px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.pricing-area .pricing-list li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-area .pricing-list li i {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
}

.pricing-area .pricing-list li i.fal.fa-check {
  background: rgba(25, 216, 115, 0.12);
  color: var(--color-green);
}

.pricing-area .pricing-list li i.fal.fa-times {
  background: rgba(235, 76, 76, 0.1);
  color: var(--color-red);
}

.pricing-area .pricing-list li.disabled {
  opacity: 0.45;
}

.pricing-area .card .btn {
  width: 100%;
  margin-top: 24px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
}

/* --- Featured Users --- */
.user-profile-area {
  padding: 100px 0 80px;
}

.user-profile-area .card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
}

.user-profile-area .card:hover {
  border-color: transparent;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}

.user-profile-area .card .icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
}

.user-profile-area .card .card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 16px 0 12px;
}

/* --- Testimonials --- */
.testimonial-area {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
}

.testimonial-area .image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.testimonial-area .slider-item .quote {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.testimonial-area .slider-item .quote .icon {
  color: var(--color-primary);
  opacity: 0.2;
  font-size: 28px;
  margin-bottom: 12px;
}

.testimonial-area .slider-item .quote .text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-medium);
  font-style: italic;
}

.testimonial-area .client {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-area .client .image {
  flex-shrink: 0;
}

.testimonial-area .client .image img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-area .client .name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-area .client .designation {
  font-size: 13px;
  color: var(--text-medium);
}

/* --- Blog --- */
.blog-area {
  padding: 100px 0 80px;
}

.blog-area .card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  height: 100%;
}

.blog-area .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.blog-area .card .content {
  padding: 24px;
}

.blog-area .card .card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-area .card .card-title a:hover {
  color: var(--color-primary);
}

.blog-area .card .card-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-medium);
}

.blog-area .card .card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 12px;
}

.blog-area .card .card-btn:hover {
  gap: 10px;
}

/* --- Partners --- */
.sponsor {
  padding: 80px 0;
  background: #f8f9fc;
}

.sponsor .sponsor-img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.sponsor .sponsor-img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.sponsor .sponsor-img img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.sponsor .item-single {
  padding: 16px;
  min-height: 80px;
  align-items: center;
}

/* --- CTA Banner (new section) --- */
.cta-banner {
  padding: 80px 0;
  background: var(--text-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.2) 0%, transparent 60%);
}

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

.cta-banner .cta-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner .cta-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-banner .btn.primary-btn {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 30px rgba(var(--color-primary-rgb), 0.4);
}

.cta-banner .btn.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(var(--color-primary-rgb), 0.5);
}

/* --- Global shape toning down --- */
.shape {
  opacity: 0.25;
  pointer-events: none;
}

/* --- Buttons global refinement --- */
.btn.primary-btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 12px 28px;
  transition: all 0.3s ease;
}

.btn.secondary-btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 12px 28px;
}

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

/* --- Counter animation reset for process --- */
.store-area .row.justify-content-center {
  counter-reset: step-counter;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .hero-trust {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-trust-item .trust-number {
    font-size: 22px;
  }

  .stats-banner .stat-item {
    margin-bottom: 24px;
  }
}

@media (max-width: 767.98px) {
  .hero-trust {
    justify-content: center;
    gap: 20px;
  }

  .stat-item .stat-number {
    font-size: 28px;
  }
}
