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

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

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

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

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

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

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

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

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

/* Quick Start Section */
.developer-quickstart-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.developer-quickstart-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.developer-quickstart-description {
    color: #6c757d;
    margin-bottom: 40px;
}

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

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

.developer-quickstart-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
}

.developer-quickstart-title-text {
    font-weight: 600;
    color: #060394;
    margin-bottom: 15px;
}

.developer-quickstart-description-text {
    color: #6c757d;
    margin-bottom: 0;
}

/* API Endpoints Section */
.developer-endpoints-section {
    padding: 50px 0;
    background: #fff;
}

.developer-endpoints-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.developer-endpoints-description {
    color: #6c757d;
    margin-bottom: 40px;
}

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

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

.developer-endpoint-title {
    color: #667eea;
    margin-bottom: 15px;
}

.developer-endpoint-description {
    color: #6c757d;
    margin-bottom: 15px;
}

.developer-endpoint-method {
    margin-bottom: 15px;
}

.developer-endpoint-code {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 0;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
}

/* SDK Examples Section */
.developer-sdk-section {
    padding: 50px 0;
    background: #f8f9fa;
}

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

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

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

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

.developer-sdk-header {
    background: #667eea;
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
}

.developer-sdk-body {
    padding: 20px;
}

.developer-sdk-code {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 0;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
}

/* Webhooks Section */
.developer-webhook-section {
    padding: 50px 0;
    background: #fff;
}

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

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

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

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

.developer-webhook-title-text {
    color: #667eea;
    margin-bottom: 15px;
}

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

.developer-webhook-url {
    margin-bottom: 15px;
}

.developer-webhook-events {
    margin-bottom: 15px;
}

.developer-webhook-events ul {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.developer-webhook-events li {
    margin-bottom: 5px;
}

.developer-webhook-payload {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 0;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
}

/* Error Handling Section */
.developer-error-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.developer-error-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.developer-error-description {
    color: #6c757d;
    margin-bottom: 40px;
}

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

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

.developer-error-title-text {
    margin-bottom: 15px;
}

.developer-error-4xx {
    color: #dc3545;
}

.developer-error-5xx {
    color: #fd7e14;
}

.developer-error-success {
    color: #28a745;
}

.developer-error-list {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.developer-error-list li {
    margin-bottom: 5px;
}

/* Rate Limiting Section */
.developer-rate-section {
    padding: 50px 0;
    background: #fff;
}

.developer-rate-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.developer-rate-description {
    color: #6c757d;
    margin-bottom: 40px;
}

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

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

.developer-rate-title-text {
    color: #667eea;
    margin-bottom: 15px;
}

.developer-rate-list {
    color: #6c757d;
    margin-bottom: 15px;
}

.developer-rate-list li {
    margin-bottom: 5px;
}

.developer-rate-headers {
    margin-bottom: 15px;
}

.developer-rate-headers code {
    display: block;
    margin-bottom: 5px;
}

.developer-security-title {
    color: #667eea;
    margin-bottom: 15px;
}

.developer-security-list {
    color: #6c757d;
    margin-bottom: 15px;
}

.developer-security-list li {
    margin-bottom: 5px;
}

.developer-security-example {
    margin-bottom: 15px;
}

.developer-security-example code {
    display: block;
    margin-bottom: 5px;
}

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

.developer-faq-title {
    font-weight: 700;
    color: #060394;
    margin-bottom: 20px;
}

.developer-faq-description {
    color: #6c757d;
    margin-bottom: 40px;
}

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

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

.developer-faq-question {
    color: #667eea;
    margin-bottom: 15px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .developer-hero-section,
    .developer-quickstart-section,
    .developer-endpoints-section,
    .developer-sdk-section,
    .developer-webhook-section,
    .developer-error-section,
    .developer-rate-section,
    .developer-faq-section {
        padding: 30px 0 !important;
    }
    
    .developer-hero-title {
        font-size: 1.8rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .developer-hero-description {
        text-align: center !important;
        font-size: 0.95rem !important;
        margin-bottom: 15px !important;
    }
    
    .developer-hero-features {
        text-align: left !important;
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
    }
    
    .developer-hero-buttons {
        text-align: center !important;
        margin-top: 20px !important;
    }
    
    .developer-hero-buttons .btn {
        margin-right: 10px !important;
        margin-bottom: 10px !important;
    }
    
    .developer-quickstart-title,
    .developer-endpoints-title,
    .developer-sdk-title,
    .developer-webhook-title,
    .developer-error-title,
    .developer-rate-title,
    .developer-faq-title {
        font-size: 1.6rem !important;
        text-align: center !important;
    }
    
    .developer-quickstart-description,
    .developer-endpoints-description,
    .developer-sdk-description,
    .developer-webhook-description,
    .developer-error-description,
    .developer-rate-description,
    .developer-faq-description {
        text-align: center !important;
        font-size: 0.9rem !important;
    }
    
    .developer-quickstart-card,
    .developer-endpoint-card,
    .developer-sdk-card,
    .developer-webhook-card,
    .developer-error-card,
    .developer-rate-card,
    .developer-faq-card {
        margin-bottom: 20px !important;
    }
    
    .developer-quickstart-title-text,
    .developer-endpoint-title,
    .developer-webhook-title-text,
    .developer-error-title-text,
    .developer-rate-title-text,
    .developer-faq-question {
        font-size: 1.1rem !important;
        text-align: center !important;
    }
    
    .developer-quickstart-description-text,
    .developer-endpoint-description,
    .developer-webhook-description-text,
    .developer-error-list,
    .developer-rate-list,
    .developer-faq-answer {
        text-align: center !important;
        font-size: 0.9rem !important;
    }
    
    .developer-quickstart-icon {
        font-size: 40px !important;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 480px) {
    .developer-hero-section,
    .developer-quickstart-section,
    .developer-endpoints-section,
    .developer-sdk-section,
    .developer-webhook-section,
    .developer-error-section,
    .developer-rate-section,
    .developer-faq-section {
        padding: 20px 0 !important;
    }
    
    .developer-hero-title {
        font-size: 1.5rem !important;
        text-align: center !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    
    .developer-hero-description {
        font-size: 0.9rem !important;
        text-align: center !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    
    .developer-hero-features {
        font-size: 0.85rem !important;
        text-align: left !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }
    
    .developer-hero-features li {
        margin-bottom: 6px !important;
    }
    
    .developer-quickstart-title,
    .developer-endpoints-title,
    .developer-sdk-title,
    .developer-webhook-title,
    .developer-error-title,
    .developer-rate-title,
    .developer-faq-title {
        font-size: 1.4rem !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .developer-quickstart-icon {
        font-size: 35px !important;
        margin-bottom: 8px !important;
    }
    
    .developer-quickstart-title-text,
    .developer-endpoint-title,
    .developer-webhook-title-text,
    .developer-error-title-text,
    .developer-rate-title-text,
    .developer-faq-question {
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }
    
    .developer-quickstart-description-text,
    .developer-endpoint-description,
    .developer-webhook-description-text,
    .developer-error-list,
    .developer-rate-list,
    .developer-faq-answer {
        font-size: 0.85rem !important;
        text-align: center !important;
        line-height: 1.5 !important;
    }
}

/* Extra Small Devices (360px and down) */
@media (max-width: 360px) {
    .developer-hero-section,
    .developer-quickstart-section,
    .developer-endpoints-section,
    .developer-sdk-section,
    .developer-webhook-section,
    .developer-error-section,
    .developer-rate-section,
    .developer-faq-section {
        padding: 15px 0 !important;
    }
    
    .developer-hero-title {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    
    .developer-hero-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }
    
    .developer-hero-features {
        font-size: 0.8rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    
    .developer-hero-features li {
        margin-bottom: 5px !important;
    }
    
    .developer-quickstart-title,
    .developer-endpoints-title,
    .developer-sdk-title,
    .developer-webhook-title,
    .developer-error-title,
    .developer-rate-title,
    .developer-faq-title {
        font-size: 1.2rem !important;
        margin-bottom: 12px !important;
    }
    
    .developer-quickstart-icon {
        font-size: 30px !important;
        margin-bottom: 6px !important;
    }
    
    .developer-quickstart-title-text,
    .developer-endpoint-title,
    .developer-webhook-title-text,
    .developer-error-title-text,
    .developer-rate-title-text,
    .developer-faq-question {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }
    
    .developer-quickstart-description-text,
    .developer-endpoint-description,
    .developer-webhook-description-text,
    .developer-error-list,
    .developer-rate-list,
    .developer-faq-answer {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
}

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

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .developer-quickstart-card:hover,
    .developer-endpoint-card:hover,
    .developer-sdk-card:hover,
    .developer-webhook-card:hover,
    .developer-error-card:hover,
    .developer-rate-card:hover,
    .developer-faq-card:hover {
        transform: none !important;
    }
}

/* Print Styles */
@media print {
    .developer-hero-section,
    .developer-quickstart-section,
    .developer-endpoints-section,
    .developer-sdk-section,
    .developer-webhook-section,
    .developer-error-section,
    .developer-rate-section,
    .developer-faq-section {
        padding: 20px 0;
    }
    
    .developer-quickstart-card,
    .developer-endpoint-card,
    .developer-sdk-card,
    .developer-webhook-card,
    .developer-error-card,
    .developer-rate-card,
    .developer-faq-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
