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

:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-accent: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent: #bb86fc;
    --accent-hover: #9d65d0;
    --border: #333333;
    --shadow: rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

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

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

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

nav {
    transition: all 0.4s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

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

main {
    flex: 1;
    padding: 2rem 0;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px var(--shadow);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--accent), #03dac6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 3rem;
}

.content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.text-block {
    flex: 1;
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
}

.text-block h2 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.text-block p {
    line-height: 1.7;
    color: var(--text-primary);
}

.buttons-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 200px;
}

.action-btn {
    background-color: var(--bg-accent);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.action-btn:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: bottom 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px var(--shadow);
}

.notification.show {
    bottom: 30px;
}

.sidebar {
    background-color: var(--bg-secondary);
    border-radius: 10px;
    padding: 1.5rem;
    height: fit-content;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }

    nav.active {
        max-height: 300px;
        opacity: 1;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border);
        white-space: normal;
        position: relative;
    }

    nav ul li a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--accent);
        transition: width 0.3s ease;
    }

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

    nav ul li:last-child a {
        border-bottom: none;
    }

    main {
        padding: 1.5rem 0;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .buttons-block {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .action-btn {
        flex: 1;
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    main {
        padding: 1rem 0;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    nav ul li a {
        padding: 0.7rem 0;
    }

    .text-block {
        padding: 1.5rem;
    }

    .text-block h2 {
        font-size: 1.5rem;
    }

    .buttons-block {
        flex-direction: column;
    }

    .action-btn {
        margin: 0;
    }
}

html {
    scroll-behavior: smooth;
}
