/* responsive_of.css */

/* Stats 섹션 공통 스타일 */
.stats-section {
    background: #ffffff;
    padding: 80px 0;
  }
  
  .stats-section h1 {
    font-weight: 700;
    color: #191f28;
    text-align: center;
  }
  
  .stats-card {
    border-radius: 24px;
    background: #fafafa;
    transition: all 0.2s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .stats-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(42, 82, 190, 0) 0%, rgba(42, 82, 190, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  
  .stats-card:hover::after {
    opacity: 1;
  }
  
  /* 태블릿 반응형 */
  @media (max-width: 1024px) {
    .stats-section {
      padding: 60px 24px;
    }
  
    .stats-section h1 {
      font-size: 28px;
      margin-bottom: 40px;
      letter-spacing: -0.5px;
    }
  
    .stats-card {
      padding: 32px;
    }
  }
  
  /* 모바일 반응형 */
  @media (max-width: 767px) {
    .hero-section{
        padding:4rem 1rem;
    }
    .rotating-text{
        font-size:2.5rem;
    }

    .stats-section {
      padding: 48px 20px;
      background: #fafafa;
    }
  
    .stats-section h1 {
      font-size: 24px;
      text-align: left;
      margin-bottom: 24px;
      letter-spacing: -0.3px;
    }
  
    .stats-header {
        text-align: left;
        margin-bottom: 40px;
    }

    .stats-header h1 {
        font-size: 22px;
        letter-spacing: -0.5px;
        word-break: keep-all;
    }

    .stats-header .stats-subtitle {
        font-size: 16px;
        word-break: keep-all;
        letter-spacing: -0.3px;
        color: #6b7684;
    }

    .stats-section {
        padding-top: 40px;
    }
    .stats-section .row {
      margin: 0 -8px;
    }
  
    .stats-section .col-md-4 {
      padding: 0 8px;
      margin-bottom: 16px;
    }
  
    .stats-card {
      padding: 24px;
      background: #ffffff;
      border-radius: 16px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      min-height: auto;
    }
  
    .stats-card:active {
      transform: scale(0.98);
    }
  
    .stats-title {
      font-size: 15px;
      color: #4e5968;
      margin-bottom: 16px;
      font-weight: 500;
      letter-spacing: -0.3px;
    }
  
    .stats-counter-container {
      display: flex;
      align-items: baseline;
    }
  
    .stats-counter-value {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.2;
      background: linear-gradient(90deg, #2a52be 0%, #4f75e0 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-feature-settings: "tnum";
      font-variant-numeric: tabular-nums;
    }
  
    .stats-unit {
      font-size: 17px;
      margin-left: 4px;
      color: #2a52be;
      font-weight: 600;
      opacity: 1;
      transform: translateY(0);
    }
  
    /* 각 카드별 커스텀 스타일 */
    .stats-card:nth-child(1) {
      border-left: 4px solid #2a52be;
    }
  
    .stats-card:nth-child(2) {
      border-left: 4px solid #4f75e0;
    }
  
    .stats-card:nth-child(3) {
      border-left: 4px solid #7095ff;
    }

    .benefits-section{
        padding:4rem 1rem;
    }

    .benefits-section {
        padding: 40px 16px;
        background-color: #fafafa;
      }
    
      .stats-header {
        text-align: left;
        margin-bottom: 32px;
      }
    
      .stats-header h1 {
        font-size: 24px;
        font-weight: 700;
        letter-spacing: -0.5px;
        line-height: 1.3;
        margin-bottom: 8px;
      }
    
      .stats-header .stats-subtitle {
        font-size: 15px;
        color: #6b7684;
        letter-spacing: -0.3px;
        line-height: 1.5;
      }
    
      /* 비용 절감 카드 스타일 */
      .benefit-card {
        background: #fff;
        border-radius: 16px;
        padding: 24px 20px;
        margin-bottom: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      }
    
      .card-header {
        margin-bottom: 20px;
      }
    
      .emoji {
        font-size: 24px;
        margin-right: 12px;
      }
    
      .card-header h3 {
        font-size: 17px;
        font-weight: 600;
        letter-spacing: -0.3px;
        color: #191f28;
      }
    
      /* 비용 비교 컴포넌트 */
      .comparison-wrapper {
        padding: 16px 0;
      }
    
      .comparison-item {
        padding: 16px;
        margin-bottom: 8px;
        border-radius: 12px;
        background: #f8f9fa;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
    
      .comparison-item .label {
        font-size: 15px;
        color: #4e5968;
      }
    
      .comparison-item .value {
        font-size: 16px;
        font-weight: 600;
      }
    
      .comparison-item.highlight {
        background: #2a52be;
        color: #fff;
      }
    
      .comparison-item.highlight .label,
      .comparison-item.highlight .value {
        color: #fff;
      }
    
      .saving-amount {
        margin-top: 16px;
        padding: 16px;
        border-radius: 12px;
        background: #f0f4ff;
        font-size: 18px;
        font-weight: 700;
        color: #2a52be;
        text-align: center;
      }
    
      /* 시간 절감 그리드 */
      .time-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
      }
    
      .time-card {
        padding: 20px;
        text-align: left;
      }
    
      .time-card .emoji {
        font-size: 20px;
      }
    
      .time-card h3 {
        font-size: 16px;
      }
    
      .time-comparison {
        margin-top: 16px;
      }
    
      .time-comparison .before,
      .time-comparison .after {
        padding: 8px 12px;
        margin-bottom: 8px;
        background: #f8f9fa;
        border-radius: 8px;
      }
    
      .time-comparison .after {
        background: #f0f4ff;
      }
    
      .time-comparison .label {
        font-size: 14px;
        color: #6b7684;
        margin-bottom: 4px;
      }
    
      .time-comparison .value {
        font-size: 16px;
        font-weight: 600;
      }
    
      .time-comparison .value.highlight {
        color: #2a52be;
        font-weight: 700;
      }
    
      /* 단건 작업 카드 */
      .minimal-card {
        background: #fff;
        text-align: left;
        border-left: 4px solid #2a52be;
      }
    
      .minimal-card .emoji {
        font-size: 20px;
      }
    
      .minimal-card h3 {
        font-size: 16px;
        line-height: 1.4;
        word-break: keep-all;
      }
    
      .minimal-description {
        font-size: 15px;
        line-height: 1.6;
        color: #4e5968;
        word-break: keep-all;
        margin-top: 12px;
      }
    
      .minimal-description strong {
        color: #2a52be;
        font-weight: 600;
      }
    
      /* 호버 효과 제거 및 터치 피드백 */
      .benefit-card:hover {
        transform: none;
      }
    
      .benefit-card:active {
        transform: scale(0.98);
      }

      /*service */
      .services-section {
        padding: 40px 16px;
        background: #fafafa;
      }
    
      .services-header {
        text-align: left;
        margin-bottom: 24px;
      }
    
      .section-title {
        font-size: 24px;
        font-weight: 700;
        color: #191f28;
        letter-spacing: -0.5px;
        margin-bottom: 8px;
      }
    
      .section-subtitle {
        font-size: 15px;
        color: #6b7684;
        letter-spacing: -0.3px;
      }
    
      .services-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
      }
    
      .service-card {
        background: #fff;
        border-radius: 16px;
        padding: 20px;
        margin: 0;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      }
    
      .service-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      }
    
      .service-card:active {
        transform: scale(0.98);
      }
    
      .card-header {
        margin-bottom: 16px;
      }
    
      .icon-wrapper {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        margin-right: 12px;
      }
    
      .icon-wrapper i {
        font-size: 20px;
      }
    
      .card-header h3 {
        font-size: 17px;
        letter-spacing: -0.3px;
      }
    
      .card-content p {
        font-size: 14px;
        color: #6b7684;
        margin-bottom: 12px;
        letter-spacing: -0.2px;
      }
    
      .feature-list li {
        font-size: 14px;
        color: #4e5968;
        margin-bottom: 6px;
        padding-left: 16px;
      }
    
      .feature-list li::before {
        left: 4px;
      }
    
      .card-footer {
        margin-top: 16px;
        padding-top: 12px;
      }
    
      .learn-more {
        font-size: 14px;
      }
  }
  
  /* 작은 모바일 화면 */
  @media (max-width: 374px) {
    .stats-section {
      padding: 40px 16px;
    }
  
    .stats-section h1 {
      font-size: 22px;
      margin-bottom: 20px;
    }
  
    .stats-card {
      padding: 20px;
    }
  
    .stats-title {
      font-size: 14px;
      margin-bottom: 12px;
    }
  
    .stats-counter-value {
      font-size: 32px;
    }
  
    .stats-unit {
      font-size: 15px;
    }
    .benefits-section {
        padding: 32px 12px;
      }
    
      .stats-header h1 {
        font-size: 22px;
      }
    
      .stats-header .stats-subtitle {
        font-size: 14px;
      }
    
      .card-header h3 {
        font-size: 16px;
      }
    
      .comparison-item .label,
      .comparison-item .value {
        font-size: 14px;
      }
    
      .saving-amount {
        font-size: 16px;
      }
    
      .minimal-description {
        font-size: 14px;
      }

      /*service*/
      .section-title {
        font-size: 22px;
      }
    
      .section-subtitle {
        font-size: 14px;
      }
    
      .service-card {
        padding: 16px;
      }
    
      .card-header h3 {
        font-size: 16px;
      }
    
      .card-content p {
        font-size: 13px;
      }
    
      .feature-list li {
        font-size: 13px;
      }
    
      .service-of-modal-title h2 {
        font-size: 16px;
      }
    
      .service-of-feature-list li {
        font-size: 13px;
      }
    }

  /* 애니메이션 효과 */
  @keyframes countUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

      
    /* 모달 애니메이션 */
    @keyframes modalSlideUp {
        from {
          transform: translateY(50px);
          opacity: 0;
        }
        to {
          transform: translateY(0);
          opacity: 1;
        }
      }
  
  .stats-counter-container {
    animation: countUp 0.6s ease-out forwards;
  }