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

/* =========================
   Base Layout
========================= */
body {
    font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8vh;
}

/* =========================
   Container
========================= */
.container {
    text-align: center;
    max-width: 720px;
    padding: 40px;
    position: relative;
}

/* =========================
   Logo
========================= */
.logo {
    margin-bottom: 30px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* =========================
   Brand (deprecated - use logo)
========================= */
.brand {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 10px;
}

.brand span {
    color: #800000;
    font-weight: 500;
}

/* =========================
   Title
========================= */
h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 600;
}

h1 span {
    color: #800000;
}

/* =========================
   Description
========================= */
.description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

/* =========================
   Features
========================= */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.features span {
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #555;
    background: #fafafa;
    transition: 0.2s ease;
}

.features span:hover {
    border-color: #800000;
    color: #800000;
}

/* =========================
   Hint
========================= */
.hint {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 25px;
}

/* =========================
   Actions (Buttons)
========================= */
.actions {
    margin-bottom: 30px;
}

.btn-primary {
    background: #800000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #a00000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.15);
}

/* Optional Secondary Button (if needed later) */
.btn-secondary {
    margin-left: 10px;
    border: 1px solid #800000;
    color: #800000;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn-secondary:hover {
    background: #f9eaea;
}

/* =========================
   Meta Info
========================= */
.meta {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}

/* =========================
   Footer
========================= */
.footer {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #999;
}

/* =========================
   Endpoints Preview
========================= */
.endpoints-preview {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    text-align: left;
}

.endpoints-preview h3 {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}

.endpoint-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.endpoint {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.endpoint:hover {
    border-color: #800000;
    box-shadow: 0 2px 8px rgba(128, 0, 0, 0.08);
}

.endpoint .method {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    min-width: 50px;
    text-align: center;
}

.endpoint .method.get {
    background: #e3f2fd;
    color: #1565c0;
}

.endpoint .method.post {
    background: #e8f5e9;
    color: #2e7d32;
}

.endpoint .method.put {
    background: #fff3e0;
    color: #ef6c00;
}

.endpoint .method.delete {
    background: #ffebee;
    color: #c62828;
}

.endpoint .path {
    font-family: "SF Mono", "Fira Code", "Consolas", monospace;
    font-size: 0.85rem;
    color: #555;
}

/* =========================
   Responsive
========================= */
@media (max-width: 600px) {
    body {
        padding-top: 5vh;
    }

    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .description {
        font-size: 1rem;
    }

    .logo img {
        height: 40px;
    }

    .endpoints-preview {
        padding: 16px;
    }

    .endpoint {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .endpoint .path {
        font-size: 0.75rem;
        word-break: break-all;
    }
}