/* From Uiverse.io by suleymanlaarabidev - Adapted for Mobility Lens */
.info-card {
  width: 280px;
  height: 350px;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(44, 73, 153, 0.1);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ebc217;
  transition: height 0.3s ease;
  z-index: 2;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(44, 73, 153, 0.15);
  border-color: rgba(235, 194, 23, 0.4);
}

.info-card:hover::before {
  height: 6px;
}

.first-content {
  height: 100%;
  width: 100%;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  padding: 2.5rem;
  text-align: center;
  background: #ffffff;
}

.info-icon-new {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.first-content h3 {
  color: #2c4999;
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  padding-bottom: 10px;
}

.first-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #ebc217;
  border-radius: 2px;
}

.info-card:hover .first-content {
  opacity: 0;
  transform: translateY(-20px);
}

.second-content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  padding: 2.5rem;
  text-align: center;
  background: #f8f9fb;
  transform: translateY(20px);
}

.second-content p {
  color: #444;
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
  font-size: 1rem;
}

.info-card:hover .second-content {
  opacity: 1;
  transform: translateY(0);
}

.price-promo-section {
    padding: 3rem 2rem;
    background: white;
}

.explanatory-section {
    padding: 3rem 2rem 6rem;
    background: #f8f9fa;
    text-align: center;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background: #fcfdfe;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 5rem;
}

.how-it-works-content {
    flex: 1.2;
}

.how-it-works-visual {
    flex: 1;
    background: #2c4999;
    padding: 3rem;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.how-it-works-title {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.steps-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-item {
    border-bottom: 1px solid #eef0f5;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-item:last-child {
    border-bottom: none;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c4999;
    min-width: 25px;
}

.step-header h3 {
    flex: 1;
    font-size: 1.25rem;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.step-toggle {
    font-size: 1.5rem;
    color: #999;
}

.step-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding-left: 2.5rem;
}

.step-body p {
    padding-top: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.step-item.active .step-body {
    max-height: 150px;
}

.step-item.active .step-header h3 {
    color: #2c4999;
}

.step-item.active .step-toggle {
    color: #2c4999;
}

/* Mockup Style */
.visual-mockup {
    background: white;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.mockup-header {
    padding: 1rem;
    background: #f8f9fb;
    border-bottom: 1px solid #eee;
}

.mockup-search {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ebc217;
}

.mockup-bar {
    font-size: 0.85rem;
    color: #666;
}

.mockup-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    min-height: 200px;
}

.mockup-card {
    background: #f0f4ff;
    padding: 1.25rem;
    border-radius: 10px;
    border-left: 4px solid #2c4999;
    width: 70%;
}

.mockup-card-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #2c4999;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.mockup-card-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
}

.mockup-card-trend {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 600;
}

.mockup-pin {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    width: 20px;
    height: 20px;
    background: #ebc217;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.mockup-radius {
    position: absolute;
    bottom: 1.5rem;
    right: 2.5rem;
    width: 40px;
    height: 40px;
    background: rgba(235, 194, 23, 0.2);
    border-radius: 50%;
}

@media (max-width: 968px) {
    .how-it-works-container {
        flex-direction: column;
        gap: 3rem;
    }
    .how-it-works-visual {
        width: 100%;
        min-height: auto;
    }
}