/* Wave Autoscale Mobile Styles */

/* Mobile Layout - 768px and below */
@media (max-width: 768px) {
    /* 모바일에서 줄바꿈 방지 */
    .hero-btn {
        white-space: nowrap;
    }
    /* Overview Section Mobile */
    .overview-section {
        padding: 60px 0;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .overview-text {
        text-align: center;
    }
    
    .overview-text h3 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .overview-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    /* Overview Features - 모바일에서 버튼 스타일로 변경 */
    .overview-features {
        gap: 15px;
        margin-top: 30px;
        display: flex;
        flex-direction: column;
    }
    
    .overview-feature {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        background: #f8f9fa !important;
        border-radius: 15px !important;
        padding: 25px 20px !important;
        gap: 15px !important;
        transition: all 0.3s ease !important;
        border: 1px solid #e9ecef;
        min-height: auto !important;
    }
    
    .overview-feature:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        background: white !important;
        border-color: #007bff;
    }
    
    .overview-feature-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .overview-feature-content {
        text-align: center !important;
    }
    
    .overview-feature-content h4 {
        font-size: 1.125rem !important;
        margin-bottom: 8px !important;
        color: #007bff !important;
        text-align: center !important;
    }
    
    .overview-feature-content p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        text-align: center !important;
        color: #666 !important;
    }
    
    /* Features Section Mobile - 버튼 스타일 */
    .features-section {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
    }
    
    .feature-card {
        padding: 25px 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 15px;
        background: white;
        border: 1px solid #e9ecef;
        min-height: auto;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-color: #007bff;
    }
    
    .feature-card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
        font-size: 24px;
        background: linear-gradient(135deg, #007bff, #4da6ff);
    }
    
    .feature-card h3 {
        font-size: 1.125rem;
        margin-bottom: 10px;
        color: #333;
    }
    
    .feature-card p {
        font-size: 0.875rem;
        line-height: 1.5;
        margin: 0;
        color: #666;
    }
    
    /* Benefits Section Mobile */
    .benefits-section {
        padding: 60px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
        background: #f8f9fa;
        border-radius: 15px;
        transition: all 0.3s ease;
    }
    
    .benefit-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .benefit-icon {
        margin: 0 auto;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-radius: 15px;
    }
    
    .benefit-content h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
        color: #333;
    }
    
    .benefit-content p {
        font-size: 0.875rem;
        line-height: 1.5;
        margin: 0;
    }
    
    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .section-badge {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-desc {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Autoscale Diagram Mobile */
    .overview-visual {
        padding: 30px 20px;
        min-height: auto;
        background: #f8f9fa;
    }
    
    .autoscale-diagram {
        max-width: 300px;
    }
    
    .server-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin: 15px 0;
    }
    
    .server-box {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .traffic-chart {
        margin: 20px 0;
        height: 80px;
    }
    
    .ml-prediction {
        padding: 12px;
    }
    
    .prediction-icon {
        font-size: 20px;
        margin-bottom: 3px;
    }
    
    .prediction-text {
        font-size: 12px;
    }
    
    /* Hero Section Mobile */
    .product-hero {
        min-height: 100vh;
        padding: 20px;
    }
    
    .product-hero-content {
        padding: 0 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 10px 20px;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .hero-subtitle br {
        display: none;
    }
    
    /* Hero Buttons Mobile */
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        align-items: center;
        padding: 0 20px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
        padding: 16px 24px;
        font-size: 1rem;
        justify-content: center;
        text-align: center;
    }
    
    .hero-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* CTA Section Mobile */
    .product-cta {
        padding: 60px 20px;
    }
    
    .cta-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .cta-desc {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 24px;
        font-size: 0.938rem;
        justify-content: center;
        text-align: center;
    }
    
    .cta-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.625rem;
        padding: 8px 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .overview-text h3 {
        font-size: 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .benefit-content h3 {
        font-size: 1.125rem;
    }
    
    .server-box {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prediction-text {
        font-size: 11px;
    }
}
