﻿:root {
    --primary: #123b5d;
    --primary-dark: #0b2942;
    --accent: #19a7a0;
    --accent-light: #e8f7f6;
    --background: #f4f7fa;
    --card: #ffffff;
    --text: #172b3a;
    --muted: #71808d;
    --border: #dfe7ed;
    --success: #198754;
    --shadow: 0 10px 30px rgba(18, 59, 93, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
}
/* Hamburger */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    padding: 0;
    margin-left: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
}

    .menu-toggle span {
        display: block;
        width: 27px;
        height: 4px;
        margin: 3px 0;
        border-radius: 3px;
    }
/* =========================
           HEADER
        ========================= */

.header {
    background: linear-gradient( 135deg, var(--primary-dark), var(--primary) );
    color: white;
    padding: 22px 0;
}

.header-container {
    width: min(1200px, 92%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 244px;
    height: 75px;
    border-radius: 10px;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
}

.brand h1 {
    font-size: 20px;
    font-weight: 600;
}

.brand span {
    display: block;
    font-size: 12px;
    opacity: .7;
    letter-spacing: .5px;
}

.header-nav {
    display: flex;
    gap: 25px;
}

    .header-nav a {
        color: white;
        text-decoration: none;
        font-size: 14px;
        opacity: .8;
        transition: .2s;
    }

        .header-nav a:hover {
            opacity: 1;
        }

    .header-nav .active {
        opacity: 1;
    }

/* =========================
           HERO
        ========================= */

.hero {
    background: white;
    padding: 65px 20px 60px;
    border-bottom: 1px solid var(--border);
}

.hero-container {
    width: min(1000px, 92%);
    margin: auto;
    text-align: center;
}

.hero-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.hero h2 {
    color: var(--primary);
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero p {
    max-width: 750px;
    margin: auto;
    color: var(--muted);
    font-size: 16px;
}

/* =========================
           MAIN CONTENT
        ========================= */

.container {
    width: min(1000px, 92%);
    margin: 45px auto 70px;
}

/* =========================
           INTRO CARD
        ========================= */

.intro-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

    .intro-card p {
        color: #536473;
        font-size: 15px;
    }

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* =========================
           SECTION CARD
        ========================= */

.section {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
}

.section-number {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.section-header h3 {
    color: var(--primary);
    font-size: 18px;
}

.section-body {
    padding: 25px;
}

    .section-body p {
        color: #536473;
        font-size: 14px;
        margin-bottom: 15px;
    }

        .section-body p:last-child {
            margin-bottom: 0;
        }

/* =========================
           FEATURE GRID
        ========================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.feature {
    display: flex;
    gap: 13px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fafcfd;
}

.feature-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.feature-content strong {
    display: block;
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 2px;
}

.feature-content span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

/* =========================
           JSON EXAMPLE
        ========================= */

.json-example {
    background: #101923;
    border-radius: 9px;
    padding: 20px;
    overflow-x: auto;
    margin-top: 18px;
}

    .json-example pre {
        font-family: Consolas, "Courier New", monospace;
        color: #d8e4ed;
        font-size: 13px;
        line-height: 1.7;
    }

.json-key {
    color: #70c9c3;
}

.json-string {
    color: #d9c58c;
}

.json-value {
    color: #8db5d1;
}

/* =========================
           STATUS BOX
        ========================= */

.status-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 18px;
    margin-top: 18px;
}

.status-dot {
    width: 11px;
    height: 11px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px #e8f6ef;
}

.status-box strong {
    display: block;
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 3px;
}

.status-box span {
    color: var(--muted);
    font-size: 13px;
}

/* =========================
           INFO BANNER
        ========================= */

.info-banner {
    background: linear-gradient( 135deg, var(--primary), #19577d );
    color: white;
    border-radius: 12px;
    padding: 28px 30px;
    margin-top: 25px;
}

    .info-banner h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .info-banner p {
        color: rgba(255,255,255,.75);
        font-size: 13px;
    }

/* =========================
           FOOTER
        ========================= */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 30px 0;
}

.footer-container {
    width: min(1200px, 92%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    font-size: 12px;
    opacity: .65;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    opacity: .7;
}

    .footer a:hover {
        opacity: 1;
    }

/* =========================
           RESPONSIVE
        ========================= */

@media (max-width: 800px) {

    .header-nav {
        display: none;
    }

    .hero {
        padding: 45px 20px;
    }

        .hero h2 {
            font-size: 29px;
        }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    /* =========================
   MOBILE MENU TOGGLE
========================= */

    .menu-toggle {
        display: none;
        width: 45px;
        height: 45px;
        padding: 0;
        margin-left: 10px;
        background: var(--accent); /* Toggle button color */
        border: none;
        border-radius: 8px;
        cursor: pointer;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        position: relative;
        z-index: 1002;
        transition: background-color 0.2s ease;
    }

        .menu-toggle:hover {
            background: #138f89;
        }

        .menu-toggle span {
            display: block;
            width: 25px;
            height: 3px;
            margin: 3px 0;
            background: #ffffff;
            border-radius: 3px;
            transition: 0.3s ease;
        }


    /* =========================
   MOBILE
========================= */

    @media (max-width: 768px) {

        .header-container {
            position: relative;
            min-height: 90px;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .menu-toggle {
            display: flex;
        }

        /* Mobile navigation */
        .header-nav {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            width: 100%;
            flex-direction: column;
            background: #ffffff;
            border-top: 1px solid var(--border);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
            z-index: 1001;
        }

            .header-nav.active {
                display: flex;
            }

            .header-nav a {
                display: block;
                width: 100%;
                padding: 16px 25px;
                color: var(--primary);
                background: #ffffff;
                text-decoration: none;
                border-bottom: 1px solid #eeeeee;
                font-size: 16px;
            }

                .header-nav a:hover {
                    background: var(--accent-light);
                }
    }


    /* =========================
   SMALL MOBILE
========================= */

    @media (max-width: 480px) {

        .header-container {
            padding: 12px 15px;
            min-height: 80px;
        }

        .brand-logo {
            width: 100px;
            height: 60px;
        }

        .brand h1 {
            font-size: 16px;
        }

        .brand span {
            font-size: 11px;
        }

        .menu-toggle {
            width: 42px;
            height: 42px;
            margin-left: 8px;
            background: var(--accent);
        }

            .menu-toggle span {
                width: 24px;
                height: 3px;
                background: #ffffff;
            }
    }
}


