:root {
    --bg-color: #f9fafb;
    --box-bg: #ffffff;
    --border-color: #000000;
    --text-color: #000000;
    --link-color: #3b82f6;
    --link-hover: #2563eb;
    --modal-bg: rgba(0, 0, 0, 0.4);
}

body {
    font-family: "Red Hat Display", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;

}

.container {
    background-color: var(--box-bg);
    border: 2px solid var(--border-color);
    width: 100%;
    max-width: 600px;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.1);
    /* Following sketch structure */
}

/* Header matches the box with the logo and text */
.header {
    border-bottom: 2px solid var(--border-color);
    padding: 15px 25px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.box-icon {
    font-size: 2.5rem;
}

.title-area {
    display: flex;
    flex-direction: column;
}

.yapm-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 4px;
}

.yapm-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: -0.2px;
}

/* Main Area */
main {
    padding: 20px 25px;
}

.section-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 800;
}

.package-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.package-list li {
    font-weight: 600;
    font-size: 1.1rem;
}

.package-link {
    color: var(--link-color);
    text-decoration: underline;
    cursor: pointer;
}

.package-link:hover {
    color: var(--link-hover);
}

/* Modal Popup matching sketch */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--modal-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: var(--box-bg);
    border: 2px solid var(--border-color);
    padding: 25px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
}

.modal-title {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.modal-details p {
    margin: 8px 0;
    font-size: 1rem;
}

.modal-details strong {
    font-weight: 700;
    display: inline-block;
    width: 110px;
}

.terminal-box {
    margin-top: 20px;
    background-color: #1f2937;
    color: #34d399;
    padding: 12px;
    border-radius: 4px;
    font-family: monospace;
    text-align: center;
    font-weight: bold;
}

.download-btn {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #4b5563;
    font-size: 0.9rem;
    text-decoration: none;
}

.download-btn:hover {
    text-decoration: underline;
    color: #000;
}
