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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    line-height: 1.4;
    background: #f0f2f5;
}

/* ============================= */
/* Keyword highlight              */
/* ============================= */
.keyword { color: inherit; }

/* ============================= */
/* Header                        */
/* ============================= */
header {
    background: linear-gradient(135deg, #1a252f, #2c3e50);
    color: #fff;
    padding: 25px 20px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

header a {
    text-decoration: none;
    color: #fff;
}

.header-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.08;
}

.shape-circle {
    width: 150px;
    top: -60px;
    right: -20px;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape-dot {
    width: 100px;
    bottom: -20px;
    right: 30px;
    animation: float 6s ease-in-out infinite reverse;
}


@keyframes float-circle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

/* ============================= */
/* Hamburger Menu Toggle          */
/* ============================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 20px;
    z-index: 10;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================= */
/* Navigation                     */
/* ============================= */
nav {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin: 0 7px;
    font-size: 1.2rem;
    padding: 8px 18px;
    border-radius: 6px;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: #fff;
    border-bottom-color: #93c5fd;
}

nav a.active {
    color: #fff;
    border-bottom-color: #fff;
    font-weight: 600;
}

/* ============================= */
/* Policy Strip                   */
/* ============================= */
.policy-strip {
    background: #fff;
    padding: 18px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
}

.policy-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 40px;
    padding: 0 20px;
}

.policy-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-item img {
    width: 28px;
    height: 28px;
}

.policy-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

/* ============================= */
/* Footer                        */
/* ============================= */
footer {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 35px 25px;
    color: #fff;
    font-size: 14px;
    background: linear-gradient(135deg, rgba(26,37,47,0.95), rgba(44,62,80,0.95));
    margin-top: 0;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #93c5fd;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-links a.active {
    color: #fff;
}

footer p {
    color: #94a3b8;
    margin: 0;
}

/* ============================= */
/* Responsive                     */
/* ============================= */
@media (max-width: 768px) {
    .policy-strip {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
        padding-right: 50px;
    }

    /* Show hamburger */
    .menu-toggle {
        display: flex;
    }

    /* Hide nav by default on mobile */
    nav {
        display: none;
        flex-direction: column;
        gap: 8px;
        margin-top: 15px;
        padding: 10px 0;
    }

    nav.open {
        display: flex;
    }

    nav a {
        margin: 0;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 10px;
        display: block;
    }


    /* Policy strip mobile */
    .policy-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px 20px;
    }

    .policy-item span {
        font-size: 0.8rem;
    }

    .shape-circle, .shape-dot {
        display: none;
    }

    /* Footer mobile */
    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 320px) {
    .policy-strip {
        grid-template-columns: 1fr;
    }
}
