/* ===============================================
   SMS API PAGE STYLES
   =============================================== */

/* Hero Section */
.sms-api-hero-section {
    padding: 50px 0;
    background: #fff;
}

.sms-api-hero-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.sms-api-hero-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sms-api-hero-features {
    color: #6c757d;
    line-height: 1.9;
    margin-bottom: 0;
}

.sms-api-hero-features li {
    margin-bottom: 8px;
}

.sms-api-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,.08); */
}

.sms-api-hero-buttons {
    margin-top: 30px;
}

.sms-api-hero-buttons .btn {
    margin-right: 15px;
}

/* API Features Section */
.sms-api-features-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.sms-api-features-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.sms-api-features-description {
    color: #6c757d;
    margin-bottom: 40px;
}

.sms-api-feature-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.sms-api-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

.sms-api-feature-icon {
    font-size: 48px;
    color: #212529;
    margin-bottom: 20px;
}

.sms-api-feature-title {
    font-weight: 600;
    color: #060394;
    margin-bottom: 15px;
}

.sms-api-feature-description {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Code Examples Section */
.sms-api-examples-section {
    padding: 50px 0;
    background: #fff;
}

.sms-api-examples-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.sms-api-examples-description {
    color: #6c757d;
    margin-bottom: 40px;
}

.sms-api-code-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    overflow: hidden;
}

.sms-api-code-header {
    background: #ff5b1124;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-weight: 600;
}

.sms-api-code-body {
    padding: 20px;
}

.sms-api-code-pre {
    white-space: pre-wrap;
    font-size: 14px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 0;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
}

/* SDK Languages Section */
.sms-api-sdk-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.sms-api-sdk-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.sms-api-sdk-description {
    color: #6c757d;
    margin-bottom: 40px;
}

.sms-api-sdk-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.sms-api-sdk-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.sms-api-sdk-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.sms-api-sdk-icon.php {
    color: #777bb4;
}

.sms-api-sdk-icon.python {
    color: #3776ab;
}

.sms-api-sdk-icon.nodejs {
    color: #339933;
}

.sms-api-sdk-icon.java {
    color: #f89820;
}

.sms-api-sdk-title-text {
    font-weight: 600;
    color: #060394;
    margin-bottom: 10px;
}

.sms-api-sdk-description-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Webhook Section */
.sms-api-webhook-section {
    padding: 50px 0;
    background: #fff;
}

.sms-api-webhook-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.sms-api-webhook-description {
    color: #6c757d;
    margin-bottom: 40px;
}

.sms-api-webhook-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sms-api-webhook-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.sms-api-webhook-icon {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 15px;
}

.sms-api-webhook-title-text {
    font-weight: 600;
    color: #060394;
    margin-bottom: 15px;
}

.sms-api-webhook-description-text {
    color: #6c757d;
    margin-bottom: 15px;
}

.sms-api-webhook-list {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.sms-api-webhook-list li {
    margin-bottom: 5px;
}

/* FAQ Section */
.sms-api-faq-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.sms-api-faq-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 30px;
}

.sms-api-faq-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.sms-api-faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.sms-api-faq-question {
    font-weight: 600;
    color: #060394;
    margin-bottom: 15px;
}

.sms-api-faq-answer {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Pricing Section */
.sms-api-pricing-section {
    padding: 50px 0;
    background: #fff;
}

.sms-api-pricing-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.sms-api-pricing-description {
    color: #6c757d;
    margin-bottom: 40px;
}

.sms-api-pricing-card {
    border-radius: 12px;
    border: 2px solid #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

.sms-api-pricing-card-title {
    color: #667eea;
    margin-bottom: 20px;
    font-weight: 600;
}

.sms-api-pricing-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.sms-api-pricing-item-title {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
}

.sms-api-pricing-item-price {
    color: #6c757d;
    margin-bottom: 0;
    font-weight: 500;
}

.sms-api-pricing-button {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sms-api-hero-section,
    .sms-api-features-section,
    .sms-api-examples-section,
    .sms-api-sdk-section,
    .sms-api-webhook-section,
    .sms-api-faq-section,
    .sms-api-pricing-section {
        padding: 30px 0 !important;
    }
    
    .sms-api-hero-title {
        font-size: 1.8rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .sms-api-hero-description {
        text-align: center !important;
        font-size: 0.95rem !important;
        margin-bottom: 15px !important;
    }
    
    .sms-api-hero-features {
        text-align: left !important;
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
    }
    
    .sms-api-hero-buttons {
        text-align: center !important;
        margin-top: 20px !important;
    }
    
    .sms-api-hero-buttons .btn {
        margin-right: 10px !important;
        margin-bottom: 10px !important;
    }
    
    .sms-api-features-title,
    .sms-api-examples-title,
    .sms-api-sdk-title,
    .sms-api-webhook-title,
    .sms-api-faq-title,
    .sms-api-pricing-title {
        font-size: 1.6rem !important;
        text-align: center !important;
    }
    
    .sms-api-features-description,
    .sms-api-examples-description,
    .sms-api-sdk-description,
    .sms-api-webhook-description,
    .sms-api-pricing-description {
        text-align: center !important;
        font-size: 0.9rem !important;
    }
    
    .sms-api-feature-card,
    .sms-api-faq-card {
        margin-bottom: 20px !important;
    }
    
    .sms-api-feature-title,
    .sms-api-sdk-title-text,
    .sms-api-webhook-title-text,
    .sms-api-faq-question {
        font-size: 1.1rem !important;
        text-align: center !important;
    }
    
    .sms-api-feature-description,
    .sms-api-sdk-description-text,
    .sms-api-webhook-description-text,
    .sms-api-faq-answer {
        text-align: center !important;
        font-size: 0.9rem !important;
    }
    
    .sms-api-code-pre {
        font-size: 12px !important;
        padding: 10px !important;
    }
    
    .sms-api-pricing-card {
        margin: 0 15px !important;
    }
}

@media (max-width: 480px) {
    .sms-api-hero-section,
    .sms-api-features-section,
    .sms-api-examples-section,
    .sms-api-sdk-section,
    .sms-api-webhook-section,
    .sms-api-faq-section,
    .sms-api-pricing-section {
        padding: 20px 0 !important;
    }
    
    .sms-api-hero-title {
        font-size: 1.5rem !important;
        text-align: center !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    
    .sms-api-hero-description {
        font-size: 0.9rem !important;
        text-align: center !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    
    .sms-api-hero-features {
        font-size: 0.85rem !important;
        text-align: left !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }
    
    .sms-api-hero-features li {
        margin-bottom: 6px !important;
    }
    
    .sms-api-features-title,
    .sms-api-examples-title,
    .sms-api-sdk-title,
    .sms-api-webhook-title,
    .sms-api-faq-title,
    .sms-api-pricing-title {
        font-size: 1.4rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .sms-api-feature-icon,
    .sms-api-sdk-icon {
        font-size: 40px !important;
        margin-bottom: 10px !important;
    }
    
    .sms-api-webhook-icon {
        font-size: 28px !important;
        margin-bottom: 10px !important;
    }
    
    .sms-api-feature-title,
    .sms-api-sdk-title-text,
    .sms-api-webhook-title-text,
    .sms-api-faq-question {
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }
    
    .sms-api-feature-description,
    .sms-api-sdk-description-text,
    .sms-api-webhook-description-text,
    .sms-api-faq-answer {
        font-size: 0.85rem !important;
        text-align: center !important;
        line-height: 1.5 !important;
    }
    
    .sms-api-code-pre {
        font-size: 11px !important;
        padding: 8px !important;
    }
    
    .sms-api-pricing-item {
        padding: 15px !important;
        margin-bottom: 10px !important;
    }
}

/* Extra Small Devices (360px and down) */
@media (max-width: 360px) {
    .sms-api-hero-section,
    .sms-api-features-section,
    .sms-api-examples-section,
    .sms-api-sdk-section,
    .sms-api-webhook-section,
    .sms-api-faq-section,
    .sms-api-pricing-section {
        padding: 15px 0 !important;
    }
    
    .sms-api-hero-title {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    
    .sms-api-hero-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }
    
    .sms-api-hero-features {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    
    .sms-api-hero-features li {
        margin-bottom: 5px !important;
    }
    
    .sms-api-features-title,
    .sms-api-examples-title,
    .sms-api-sdk-title,
    .sms-api-webhook-title,
    .sms-api-faq-title,
    .sms-api-pricing-title {
        font-size: 1.2rem !important;
        margin-bottom: 12px !important;
    }
    
    .sms-api-feature-icon,
    .sms-api-sdk-icon {
        font-size: 35px !important;
        margin-bottom: 8px !important;
    }
    
    .sms-api-webhook-icon {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }
    
    .sms-api-feature-title,
    .sms-api-sdk-title-text,
    .sms-api-webhook-title-text,
    .sms-api-faq-question {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }
    
    .sms-api-feature-description,
    .sms-api-sdk-description-text,
    .sms-api-webhook-description-text,
    .sms-api-faq-answer {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    .sms-api-code-pre {
        font-size: 10px !important;
        padding: 6px !important;
    }
    
    .sms-api-pricing-item {
        padding: 12px !important;
        margin-bottom: 8px !important;
    }
}

/* Mobile Landscape Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .sms-api-hero-section,
    .sms-api-features-section,
    .sms-api-examples-section,
    .sms-api-sdk-section,
    .sms-api-webhook-section,
    .sms-api-faq-section,
    .sms-api-pricing-section {
        padding: 25px 0 !important;
    }
    
    .sms-api-hero-title,
    .sms-api-features-title,
    .sms-api-examples-title,
    .sms-api-sdk-title,
    .sms-api-webhook-title,
    .sms-api-faq-title,
    .sms-api-pricing-title {
        font-size: 1.4rem !important;
    }
    
    .sms-api-hero-description {
        font-size: 0.9rem !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .sms-api-feature-card:hover,
    .sms-api-sdk-card:hover,
    .sms-api-webhook-card:hover,
    .sms-api-faq-card:hover {
        transform: none !important;
    }
}

/* Print Styles */
@media print {
    .sms-api-hero-section,
    .sms-api-features-section,
    .sms-api-examples-section,
    .sms-api-sdk-section,
    .sms-api-webhook-section,
    .sms-api-faq-section,
    .sms-api-pricing-section {
        padding: 20px 0;
    }
    
    .sms-api-feature-card,
    .sms-api-sdk-card,
    .sms-api-webhook-card,
    .sms-api-faq-card,
    .sms-api-pricing-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
