* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

nav div a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav div a:hover {
    color: #007bff;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav li {
    margin-left: 2rem;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav li a:hover {
    color: #007bff;
}

nav li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

nav li a:hover::after {
    width: 100%;
}

#menu-toggle {
    display: none;
}

label[for="menu-toggle"] {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

label[for="menu-toggle"] span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

#menu-toggle:checked ~ label span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

#menu-toggle:checked ~ label span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ label span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

main {
    margin-top: 0;
}

section {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

article {
    padding: 80px 20px;
    background: #f8f9fa;
    max-width: 1200px;
    margin: 0 auto;
}

article h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

article p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    nav {
        justify-content: space-between;
        height: 70px;
    }

    label[for="menu-toggle"] {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    #menu-toggle:checked ~ ul {
        right: 0;
    }

    nav li {
        margin: 20px 0;
        opacity: 0;
        transform: translateX(30px);
        animation: none;
    }

    #menu-toggle:checked ~ ul li {
        opacity: 1;
        transform: translateX(0);
        animation: slideInFromRight 0.3s ease forwards;
    }

    #menu-toggle:checked ~ ul li:nth-child(1) {
        animation-delay: 0.1s;
    }

    #menu-toggle:checked ~ ul li:nth-child(2) {
        animation-delay: 0.2s;
    }

    #menu-toggle:checked ~ ul li:nth-child(3) {
        animation-delay: 0.3s;
    }

    #menu-toggle:checked ~ ul li:nth-child(4) {
        animation-delay: 0.4s;
    }

    nav li a {
        font-size: 1.2rem;
        padding: 10px 20px;
    }

    section h1 {
        font-size: 2rem;
    }

    section p {
        font-size: 1rem;
    }

    article h2 {
        font-size: 2rem;
    }

    article {
        padding: 40px 20px;
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
