/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background-color: #ffffff;
    color: #333;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: #333;
    display: inline-block;
}

.logo-img {
    height: auto;
    width: auto;
    max-height: 50px;
    max-width: 250px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
    display: block;
}

.logo a:hover .logo-img {
    opacity: 0.8;
}

/* Navigation Styles */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #f5f5f5;
    color: #333;
    transform: translateY(-2px);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: #5762d5;
}

.nav-menu li a.active {
    color: #5762d5;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #e5e5e5;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        border-radius: 0;
    }

    .nav-menu li a.active::after {
        display: none;
    }

    .logo-img {
        max-height: 40px;
        max-width: 180px;
    }
}

/* Footer Styles */
.main-footer {
    background-color: #5762d5;
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid #4750b8;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.footer-logo {
    margin-bottom: 1rem;
    display: block;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Main Content Area */
main {
    min-height: calc(100vh - 200px);
    padding: 0;
}

/* Link Styles */
a {
    color: #5762d5;
    transition: color 0.3s ease;
}

a:hover {
    color: #4750b8;
}

/* Override untuk link di header (tetap gelap) */
.main-header a,
.nav-menu li a {
    color: #333;
}

.main-header a:hover,
.nav-menu li a:hover {
    color: #5762d5;
}

/* Color Accent Utilities */
.text-primary {
    color: #5762d5;
}

.bg-primary {
    background-color: #5762d5;
}

.border-primary {
    border-color: #5762d5;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #333;
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #333;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: #5762d5;
    color: #ffffff;
    border-color: #5762d5;
    box-shadow: 0 4px 12px rgba(87, 98, 213, 0.3);
}

.btn-primary:hover {
    background-color: #4750b8;
    border-color: #4750b8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 98, 213, 0.4);
}

.btn-secondary {
    background-color: #ffffff;
    color: #5762d5;
    border-color: #5762d5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #4750b8;
    color: #4750b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: #5762d5;
    border-color: #5762d5;
}

.btn-outline:hover {
    background-color: #5762d5;
    color: #ffffff;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.stats-content {
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5762d5;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.stats-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.section-description {
    font-size: 1.125rem;
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #5762d5;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #5762d5 0%, #4750b8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
    font-weight: 500;
}

.about-feature-item i {
    color: #5762d5;
    font-size: 1.25rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5762d5 0%, #4750b8 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

.steps-actions {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background-color: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #5762d5;
}

.pricing-card.featured {
    border-color: #5762d5;
    box-shadow: 0 10px 30px rgba(87, 98, 213, 0.2);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #5762d5 0%, #4750b8 100%);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(87, 98, 213, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.pricing-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5762d5;
    margin-top: 0.5rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #666;
    margin-top: 1.5rem;
    font-weight: 500;
}

.pricing-description {
    color: #666;
    font-size: 1rem;
    margin-top: 1rem;
}

.pricing-features {
    flex: 1;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #555;
    font-size: 1rem;
}

.feature-item i {
    color: #5762d5;
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.feature-item span {
    line-height: 1.5;
}

.pricing-footer {
    margin-top: auto;
}

.btn-block {
    width: 100%;
    text-align: center;
    display: block;
}

/* Pastikan tombol di pricing card memiliki warna text yang benar saat hover */
.pricing-card .btn-primary:hover {
    color: #ffffff !important;
}

/* Comparison Section */
.comparison-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 3rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table thead {
    background-color: #5762d5;
    color: #ffffff;
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.125rem;
}

.comparison-table th:first-child {
    border-top-left-radius: 12px;
}

.comparison-table th:last-child {
    border-top-right-radius: 12px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e5e5e5;
    transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    color: #555;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #333;
}

.comparison-table td i {
    font-size: 1.25rem;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #5762d5;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #5762d5 0%, #4750b8 100%);
    color: #ffffff;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: #ffffff;
    color: #5762d5;
    border-color: #ffffff;
}

.cta-section .btn-primary:hover {
    background-color: #f8f9fa;
    color: #4750b8;
    border-color: #f8f9fa;
}

.cta-section .btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.cta-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

/* Responsive Design untuk Pricing */
@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table-wrapper {
        border-radius: 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.125rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Quick Reference Section */
.quick-ref-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.quick-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quick-ref-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-ref-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: #5762d5;
}

.quick-ref-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #5762d5 0%, #4750b8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.quick-ref-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.quick-ref-content {
    color: #666;
    font-size: 0.95rem;
    word-break: break-all;
}

/* API Documentation Section */
.api-docs-section {
    padding: 3rem 0 5rem;
    background-color: #f8f9fa;
}

.docs-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.docs-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.docs-card-header {
    background: linear-gradient(135deg, #5762d5 0%, #4750b8 100%);
    padding: 1.5rem 2rem;
    color: #ffffff;
}

.docs-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.docs-card-title i {
    font-size: 1.25rem;
}

.docs-card-body {
    padding: 2rem;
}

.docs-card-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.docs-card-body h4:first-child {
    margin-top: 0;
}

.docs-card-body p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.docs-card-body ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: #666;
}

.docs-card-body ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.info-box {
    background-color: #e7f3ff;
    border-left: 4px solid #5762d5;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #5762d5;
    font-size: 1.125rem;
}

.info-box h3 i {
    margin-right: 0.5rem;
}

.info-box ul {
    margin-left: 1.5rem;
    margin-bottom: 0;
}

.note {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    color: #856404;
}

.note i {
    margin-right: 0.5rem;
}

.code-block {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
}

.code-block code {
    color: #d4d4d4;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-block pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.endpoint-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #5762d5;
}

.endpoint-card:last-child {
    margin-bottom: 0;
}

.endpoint-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.endpoint-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.endpoint-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.endpoint-description {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.endpoint-content {
    margin-top: 1rem;
}

.method-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #ffffff;
}

.method-get {
    background-color: #28a745;
}

.method-post {
    background-color: #007bff;
}

.method-put {
    background-color: #ffc107;
    color: #333;
}

.method-delete {
    background-color: #dc3545;
}

.endpoint-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
}

.params-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.params-table thead {
    background-color: #5762d5;
    color: #ffffff;
}

.params-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.params-table tbody tr {
    border-bottom: 1px solid #e5e5e5;
}

.params-table tbody tr:last-child {
    border-bottom: none;
}

.params-table td {
    padding: 1rem;
    color: #555;
}

.params-table td code {
    background-color: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #5762d5;
}

/* Code Examples Tabs */
.code-examples-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e5e5;
    flex-wrap: wrap;
}

.code-tab {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.code-tab:hover {
    color: #5762d5;
    background-color: #f8f9fa;
}

.code-tab.active {
    color: #5762d5;
    border-bottom-color: #5762d5;
    font-weight: 600;
}

.code-tab-content {
    display: none;
}

.code-tab-content.active {
    display: block;
}

/* Rate Limits Grid */
.rate-limits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.rate-limit-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.rate-limit-item:hover {
    border-color: #5762d5;
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(87, 98, 213, 0.2);
}

.rate-limit-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.rate-limit-value {
    font-size: 2rem;
    font-weight: 700;
    color: #5762d5;
    margin: 0.5rem 0;
}

.rate-limit-period {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* Try API Section */
.try-api-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.api-tester {
    max-width: 900px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tester-form {
    margin-bottom: 2rem;
}

.tester-form .form-group {
    margin-bottom: 1.5rem;
}

.tester-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #5762d5;
    box-shadow: 0 0 0 3px rgba(87, 98, 213, 0.1);
}

.tester-result {
    background-color: #1e1e1e;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.tester-result h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.tester-result pre {
    color: #d4d4d4;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
}

.tester-result code {
    color: #d4d4d4;
}

/* Responsive untuk API Docs */
@media (max-width: 768px) {
    .quick-ref-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .quick-ref-card {
        padding: 1.5rem;
    }
    
    .quick-ref-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .docs-card-header {
        padding: 1.25rem 1.5rem;
    }
    
    .docs-card-title {
        font-size: 1.25rem;
    }
    
    .docs-card-body {
        padding: 1.5rem;
    }
    
    .endpoint-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .endpoint-name {
        font-size: 1.125rem;
    }
    
    .params-table {
        font-size: 0.875rem;
    }
    
    .params-table th,
    .params-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .code-examples-tabs {
        gap: 0.25rem;
    }
    
    .code-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .rate-limits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .rate-limit-value {
        font-size: 1.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
    position: relative;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.modal-close {
    color: #999;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #333;
}

.modal-body {
    padding: 2rem;
}

.paket-form .form-group {
    margin-bottom: 1.5rem;
}

.paket-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.paket-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.paket-form .form-control:focus {
    outline: none;
    border-color: #5762d5;
    box-shadow: 0 0 0 3px rgba(87, 98, 213, 0.1);
}

.paket-form select.form-control {
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.form-actions .btn {
    min-width: 100px;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: slideDown 0.3s ease;
}

.form-message i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-success i {
    color: #28a745;
}

.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-error i {
    color: #dc3545;
}

.form-errors {
    margin-top: 0.75rem;
    margin-left: 1.5rem;
    padding-left: 1rem;
    list-style-type: disc;
}

.form-errors li {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.paket-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.paket-form .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

