/* Why Choose Us Section Styles */
.why-choose-section {
  padding: 8rem 0;
  background: #fcfbfe;
  position: relative;
  overflow: hidden;
}

.why-choose-container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Header styling */
.why-choose-section .section-header {
  text-align: center;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: #6366f1;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.brand-badge:hover {
  transform: translateY(-1px);
  background: rgba(99, 102, 241, 0.1);
}

.brand-badge .badge-icon {
  width: 0.95rem;
  height: 0.95rem;
  color: #6366f1;
  flex-shrink: 0;
}

.why-choose-section .section-title {
  font-size: 3.25rem;
  font-weight: 850;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .why-choose-section .section-title {
    font-size: 2.5rem;
  }
}

.highlight-text {
  background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-choose-section .section-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  font-weight: 400;
  max-width: 38rem;
  line-height: 1.5;
  margin: 0 auto;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1.35fr;
  }
}

/* Huge Left Blue Card */
.main-feature-card {
  background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 50%, #6d28d9 100%);
  border-radius: 2rem;
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
  transition: all 0.3s ease;
}

.main-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(79, 70, 229, 0.2);
}

.card-dots-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  pointer-events: none;
  opacity: 0.8;
  mask-image: radial-gradient(circle at top right, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at top right, black, transparent 75%);
}

.card-wave-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  pointer-events: none;
  z-index: 1;
}

.card-wave-accent svg {
  width: 100%;
  height: 100%;
}

.card-top {
  position: relative;
  z-index: 2;
}

.main-feature-card .feature-icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.main-feature-card .feature-icon-wrapper svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ffffff;
}

.main-feature-card .feature-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0;
}

.card-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0;
}

.main-feature-card .feature-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.625;
  max-width: 28rem;
}

.social-proof-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
}

.user-avatars {
  display: flex;
  align-items: center;
}

.user-avatars .avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #4f46e5;
  background: #f1f5f9;
  overflow: hidden;
  margin-left: -10px;
  flex-shrink: 0;
}

.user-avatars .avatar:first-child {
  margin-left: 0;
}

.user-avatars .avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.user-avatars .avatar-plus {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Right Sub-grid Container */
.right-grid-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Top Row */
.top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .top-row {
    grid-template-columns: 1fr 1fr;
  }
}

.small-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 2rem;
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
}

.small-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.06);
}

.small-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.feature-icon-small {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: #f5f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-icon-small svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #6366f1;
}

.small-card:hover .feature-icon-small {
  background: #6366f1;
}

.small-card:hover .feature-icon-small svg {
  color: #ffffff;
}

.card-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.fast-badge {
  background: rgba(99, 102, 241, 0.06);
  color: #6366f1;
}

.reliable-badge {
  background: rgba(99, 102, 241, 0.06);
  color: #6366f1;
}

.small-card .card-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.small-card .card-content p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.arrow-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.arrow-btn svg {
  width: 1.125rem;
  height: 1.125rem;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.small-card:hover .arrow-btn {
  background: #f5f3ff;
  border-color: #dbdaff;
}

.small-card:hover .arrow-btn svg {
  transform: translateX(4px);
  color: #6366f1;
}

/* Results Card */
.results-card {
  background: linear-gradient(135deg, #09090b 0%, #111116 100%);
  border-radius: 2rem;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .results-card {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.results-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  mask-image: radial-gradient(circle at top right, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at top right, black, transparent 75%);
}

.results-left {
  position: relative;
  z-index: 3;
}

.results-card .feature-icon-small {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.results-card .feature-icon-small svg {
  color: #ffffff;
}

.result-value-wrapper {
  margin-bottom: 0.75rem;
}

.result-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.result-label {
  font-size: 0.6875rem;
  font-weight: 750;
  color: #a78bfa;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.results-card .result-description {
  font-size: 0.9375rem;
  color: #a1a1aa;
  line-height: 1.5;
  margin: 0;
}

.results-chart {
  width: 100%;
  height: 120px;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .results-chart {
    height: 140px;
  }
}

.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Pulse animation for chart node */
@keyframes pulseNode {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.6); opacity: 0.1; }
  100% { transform: scale(1); opacity: 0.4; }
}

.pulse-node {
  transform-origin: 300px 10px;
  animation: pulseNode 3s infinite ease-in-out;
}

/* Small Features Footer Row */
.features-footer-row {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .features-footer-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-footer-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: #f5f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-icon-box svg {
  width: 1.35rem;
  height: 1.35rem;
  color: #6366f1;
}

.footer-item:hover .footer-icon-box {
  background: #6366f1;
  transform: translateY(-2px);
}

.footer-item:hover .footer-icon-box svg {
  color: #ffffff;
}

.footer-text h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.footer-text p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* Dark Mode Overrides */
body.dark-mode .why-choose-section {
  background: #09090b;
}

body.dark-mode .brand-badge {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

body.dark-mode .brand-badge .badge-icon {
  color: #a78bfa;
}

body.dark-mode .why-choose-section .section-title {
  color: #f8fafc;
}

body.dark-mode .why-choose-section .section-subtitle {
  color: #94a3b8;
}

body.dark-mode .main-feature-card {
  box-shadow: none;
}

body.dark-mode .user-avatars .avatar {
  border-color: #18181b;
}

body.dark-mode .small-card {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

body.dark-mode .small-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

body.dark-mode .feature-icon-small {
  background: #27272a;
}

body.dark-mode .feature-icon-small svg {
  color: #a78bfa;
}

body.dark-mode .small-card:hover .feature-icon-small {
  background: #8b5cf6;
}

body.dark-mode .small-card:hover .feature-icon-small svg {
  color: #ffffff;
}

body.dark-mode .fast-badge {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
}

body.dark-mode .reliable-badge {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
}

body.dark-mode .small-card .card-content h4 {
  color: #f8fafc;
}

body.dark-mode .small-card .card-content p {
  color: #94a3b8;
}

body.dark-mode .arrow-btn {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .arrow-btn svg {
  color: #94a3b8;
}

body.dark-mode .small-card:hover .arrow-btn {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

body.dark-mode .small-card:hover .arrow-btn svg {
  color: #a78bfa;
}

body.dark-mode .results-card {
  background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

body.dark-mode .results-card .feature-icon-small {
  background: #27272a;
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .results-card .feature-icon-small svg {
  color: #a78bfa;
}

body.dark-mode .result-number {
  color: #f8fafc;
}

body.dark-mode .result-label {
  color: #a78bfa;
}

body.dark-mode .results-card .result-description {
  color: #94a3b8;
}

body.dark-mode .footer-icon-box {
  background: #27272a;
}

body.dark-mode .footer-icon-box svg {
  color: #a78bfa;
}

body.dark-mode .footer-item:hover .footer-icon-box {
  background: #8b5cf6;
}

body.dark-mode .footer-item:hover .footer-icon-box svg {
  color: #ffffff;
}

body.dark-mode .footer-text h4 {
  color: #f8fafc;
}

body.dark-mode .footer-text p {
  color: #94a3b8;
}

@media (max-width: 540px) {
  .why-choose-container {
    padding: 0 1rem !important;
  }
  .main-feature-card {
    padding: 1.75rem 1.25rem 1.25rem 1.25rem !important;
    border-radius: 1.5rem !important;
  }
  .main-feature-card .feature-icon-wrapper {
    margin-bottom: 1.5rem !important;
  }
  .main-feature-card .feature-title {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }
  .card-divider {
    margin: 1.25rem 0 !important;
  }
  .main-feature-card .feature-description {
    font-size: 0.95rem !important;
  }
  .social-proof-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-top: 2rem !important;
  }
  .social-text {
    font-size: 0.85rem !important;
  }
}
@media (max-width: 340px) {
  .why-choose-section {
    padding: 1rem 0;
   
}
    .why-choose-container {
        padding: 0 !important;
    }
  }


