/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background: #f8f9fc;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    color: #1a73e8;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
}

/* ===== HEADER ===== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img {
    display: block;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}
.main-nav ul li a {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a2e;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}
.main-nav ul li a:hover {
    border-bottom-color: #1a73e8;
    text-decoration: none;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== MAIN CONTENT ===== */
main {
    padding: 40px 0 60px;
}
main h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #0d0d1a;
}
main h2 {
    font-size: 1.7rem;
    margin: 40px 0 16px;
    color: #0d0d1a;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}
main h3 {
    font-size: 1.3rem;
    margin: 28px 0 12px;
    color: #1a1a2e;
}
main p {
    margin-bottom: 16px;
}
main ul, main ol {
    margin: 12px 0 20px 24px;
}
main li {
    margin-bottom: 6px;
}

/* ===== TABLES ===== */
.table-wrap {
    overflow-x: auto;
    margin: 24px 0;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
table th {
    background: #1a1a2e;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}
table td {
    padding: 10px 16px;
    border-bottom: 1px solid #e9ecef;
}
table tr:last-child td {
    border-bottom: none;
}
table tr:nth-child(even) {
    background: #f8f9fc;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
    margin: 20px 0;
}
.faq-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1a1a2e;
    transition: background 0.2s;
}
.faq-question:hover {
    background: #f1f3f5;
}
.faq-question .icon {
    font-size: 20px;
    transition: transform 0.3s;
}
.faq-item.open .faq-question .icon {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: #2d2d44;
}
.faq-item.open .faq-answer {
    display: block;
}

/* ===== AUTHOR BOX ===== */
.author-box {
    background: #fff;
    border-radius: 10px;
    padding: 24px 28px;
    margin: 40px 0 24px;
    border-left: 4px solid #1a73e8;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.author-box h3 {
    margin-top: 0;
}

/* ===== DISCLAIMER ===== */
.disclaimer-box {
    background: #fff8e7;
    border-radius: 8px;
    padding: 18px 24px;
    margin: 24px 0;
    border-left: 4px solid #f0b400;
    font-size: 14px;
    color: #5a4a1a;
}

/* ===== CTA BUTTONS ===== */
.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0 30px;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s, transform 0.1s;
}
.btn-primary {
    background: #1a73e8;
    color: #fff;
}
.btn-primary:hover {
    background: #1557b0;
    text-decoration: none;
}
.btn-secondary {
    background: #e9ecef;
    color: #1a1a2e;
}
.btn-secondary:hover {
    background: #d0d4d9;
    text-decoration: none;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0d0d1a;
    color: #b0b0c8;
    padding: 50px 0 24px;
    margin-top: 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.footer-brand h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 360px;
}
.footer-links h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 12px;
}
.footer-links ul {
    list-style: none;
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links ul li a {
    color: #b0b0c8;
    font-size: 14px;
}
.footer-links ul li a:hover {
    color: #fff;
    text-decoration: none;
}
.footer-bottom {
    border-top: 1px solid #2a2a44;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    main h1 { font-size: 1.8rem; }
    main h2 { font-size: 1.5rem; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        border-bottom: 1px solid #e9ecef;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }
    .main-nav.open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 12px;
    }
    .main-nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-brand p {
        max-width: 100%;
    }
    table {
        font-size: 14px;
    }
    table th, table td {
        padding: 8px 12px;
    }
}
@media (max-width: 480px) {
    main h1 { font-size: 1.5rem; }
    main h2 { font-size: 1.3rem; }
    .container { padding: 0 14px; }
    .btn { padding: 10px 20px; font-size: 14px; }
}