/* ===============================
   RESET / BASE
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #1e1e2f;
    color: #f0f0f0;
}

/* ===============================
   HEADER (DESKTOP FIRST)
================================ */
header {
    background: #24243d;
    border-bottom: 2px solid #00d9ff;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---------- LOGO ---------- */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    display: block;
}

/* ---------- NAV (DESKTOP) ---------- */
nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;                 /* ✅ ВІДСТУПИ МІЖ ПУНКТАМИ */
}

.nav-links li {
    display: block;
}

.nav-links a {
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #f0f0f0;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00d9ff;
}

/* ---------- BURGER ---------- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #FFD700;
}

/* table */
.table {
    -webkit-box-shadow: 0 0 8rem rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 8rem rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.table:not(:last-child) {
    margin-bottom: 4rem;
}

.table table {
    width: 100%;
    border-radius: inherit;
    background: #00163c00;
    border-collapse: collapse;
}

.table table tbody tr:not(:last-child) {
    border-bottom: 0.1rem solid #e3e4ed;
}

.table table th {
    padding: 1rem 0.5rem;
    border-top: 0.1rem solid #e1e2eb;
    border-right: 0.1rem solid #e3e4ed;
    border-left: 0.1rem solid #e3e4ed;
    border-bottom: 0.1rem solid #e1e2eb;
}

.table table td {
    padding: 1.5rem 0.5rem;
    line-height: 1.4;
    border-right: 0.1rem solid #e3e4ed;
    border-left: 0.1rem solid #e3e4ed;
    border-bottom: 0.1rem solid #e1e2eb;
}

.table table td:first-child {
    background: #fcfcfc00;
}


.table table .button {
    width: 13.5rem;
    margin: 0 auto;
    padding: 1.5rem 0.5rem;
}

.table--alt table th:first-child,
.table--alt table td:first-child {
    width: auto;
}

.table--alt table th {
    padding: 1.65rem 0.5rem;
}

.table--alt table td {
    padding: 1.1rem 0.5rem;
}

.table--alt table td:first-child {
    background: #ffffff;
}

.table--small table {
    min-width: 70rem;
}

.table--info table td {
    text-align: left;
}

.table--info table td:first-child {
    width: 20rem;
    padding-left: 4rem;
    border-right: 0.1rem solid #e3e4ed;
}

.table--info table td:not(:first-child) {
    padding-left: 2.8rem;
}



/* ===============================
   MOBILE HEADER
================================ */
@media (max-width: 768px) {

    .header-container {
        flex-wrap: wrap;
    }

    .hamburger-menu {
        display: flex;
    }

    nav {
        width: 100%;
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1e1e2f;
        padding: 12px 0;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 18px;
        color: #FFD700;
        padding: 10px 0;
    }
}

/* ===============================
   MAIN CONTENT
================================ */
main {
    max-width: 900px;
    margin: 2em auto;
    padding: 1em;
}

/* ===============================
   PROS / CONS
================================ */
.pros-cons {
    display: flex;
    gap: 2em;
    margin: 2em 0;
}

@media (max-width: 768px) {
    .pros-cons {
        flex-direction: column;
    }
}

.pros,
.cons {
    flex: 1;
    background: #24243d;
    border: 2px solid #00d9ff;
    border-radius: 8px;
    padding: 1.5em;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.pros h3,
.cons h3 {
    text-align: center;
    color: #ff9900;
    margin-bottom: 1em;
    border-bottom: 2px solid #ff9900;
    padding-bottom: 0.5em;
}

/* ===============================
   FAQ
================================ */
.faq-section {
    margin: 2em 0;
}

.faq-item {
    border-bottom: 1px solid #00d9ff;
    padding: 1em 0;
}

.faq-question {
    background: none;
    border: none;
    color: #ff9900;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.faq-answer {
    display: none;
    margin-top: 0.5em;
}

.faq-answer.open {
    display: block;
}

/* ===============================
   FOOTER
================================ */
footer {
    background: #24243d;
    border-top: 2px solid #00d9ff;
    padding: 2em 1em;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links a {
    color: #ff9900;
    text-decoration: none;
    margin: 0 8px;
    font-size: 0.9em;
}

/* ===============================
   HEADINGS
================================ */
h1 {
    font-size: 2.3em;
    color: #D1AC52;
    text-align: center;
    margin-bottom: 1em;
}

h2 {
    font-size: 1.9em;
    color: #9E8E6A;
    text-align: center;
    margin-bottom: 1em;
}

h3 {
    font-size: 1.5em;
    color: #f0f0f0;
    margin-bottom: 0.8em;
}
