* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4361ee;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4361ee;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
    border-radius: 20px 20px 20px 20px;
/*    border-radius: 0 0 20px 20px; */
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.primary {
    background-color: #f72585;
    color: white;
}

.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.api-section, .docs-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.api-section h2, .docs-section h2 {
    color: #3a0ca3;
    margin-bottom: 1.5rem;
    text-align: center;
}

.endpoint-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.endpoint {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4361ee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.endpoint:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.endpoint h3 {
    color: #4361ee;
    margin-bottom: 0.5rem;
}

.endpoint p {
    margin-bottom: 1rem;
    color: #666;
}

.try-btn {
    background-color: #4cc9f0;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.try-btn:hover {
    background-color: #3a86ff;
}

#response-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #2b2d42;
    border-radius: 8px;
    color: #fff;
    overflow-x: auto;
}

#response-container h3 {
    color: #fff;
    margin-bottom: 1rem;
}

#response {
    background: #1e1f30;
    padding: 1rem;
    border-radius: 5px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.docs-content h3 {
    color: #4361ee;
    margin: 1.5rem 0 0.5rem;
}

.docs-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.docs-content li {
    margin-bottom: 0.5rem;
}

.docs-content code {
    background: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

.docs-content pre code {
    display: block;
    padding: 1rem;
    background: #f8f9fa;
    color: #333;
    border-radius: 5px;
    overflow-x: auto;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: white;
    margin-top: 3rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    main {
        padding: 1rem 5%;
    }

    .endpoint-list {
        grid-template-columns: 1fr;
    }
}
