:root {
    --bg: #0d1117;
    --bg2: #161b22;
    --text: #e6edf3;
    --accent: #5865f2;
    --border: #30363d;
}
body.light { --bg: #ffffff; --bg2: #f5f5f5; --text: #111111; --accent: #5865f2; --border: #d0d7de; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: all 0.3s;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}


.profile-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #4752c4;
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: fit-content;
    cursor: pointer;
}


.profile {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}


@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-5px); }
}

.dropdown {
    position: absolute;
    top: 58px;
    right: 0;
    background-color: var(--accent);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    min-width: 129px;
    z-index: 10;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;

}

.dropdown.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.header-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header-links-items {
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
}

.header-links-items:hover {
    color: var(--accent);
}

.none-color-link {
    color: inherit;
    text-decoration: none;
}

footer {
    margin-top: auto;
    background: var(--bg2);
    padding: 50px 20px 40px;
    border-top: 1px solid var(--border);
    text-align: center;

    display: flex;
    flex-direction: column;
    gap: 32px;
}


footer .top {
    display: flex;
    justify-content: center;
    gap: 60px;
}


footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: 0.2s;
}

footer a:hover {
    text-decoration: underline;
    opacity: 0.9;
}


footer p {
    opacity: 0.8;
    font-size: 14px;
}






.dropdown-item {
    padding: 10px 12px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: rgba(0,123,255,0.1);
}


.profile-box:hover .dropdown {
    display: flex;
}

header h1 { font-weight: 700; font-size: 26px; }
#theme-toggle { cursor: pointer; border: 1.5px solid var(--accent); background: transparent; color: var(--accent); padding: 8px 18px; border-radius: 8px; font-weight: 600; transition: all 0.25s; }
#theme-toggle:hover { background: var(--accent); color: white; }

.hero-info { text-align: center; padding: 80px 20px; max-width: 1100px; margin: 0 auto; }
.bot-avatar { width: 140px; height: 140px; border-radius: 50%; border: 6px solid var(--accent); margin-bottom: 20px; }
.bot-name { font-size: 42px; font-weight: 700; margin-bottom: 8px; }
.bot-tag { color: var(--accent); font-size: 18px; margin-bottom: 24px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 40px auto;
}
.stat-card {
    background: var(--bg2);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
}
.stat-number { font-size: 28px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 14px; opacity: 0.8; }

.buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 40px 0; }
.btn { padding: 14px 28px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 16px; transition: all 0.25s; min-width: 170px; text-align: center; }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { opacity: 0.92; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: white; }

.section { padding: 80px 20px; max-width: 1100px; margin: 0 auto; border-radius: 15px;}
.section h2 { font-size: 36px; text-align: center; margin-bottom: 50px; color: var(--accent); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}
.why-card {
    background: var(--bg2);
    padding: 28px;
    border-radius: 14px;
    border: 1px solid var(--border);
    text-align: center;
}
.why-card h3 { font-size: 22px; margin-bottom: 12px; color: var(--accent); }


.features-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;


}


.feature-card,
.team-card {
    background: var(--bg2);
    padding: 32px 24px;
    border-radius: 14px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s cubic-bezier(.16,1,.3,1);
}
.feature-card:hover,
.team-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    border-color: var(--accent);
}
.feature-card h3,
.team-card h3 { color: var(--accent); margin-bottom: 12px; font-size: 22px; }

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}
.team-card .role {
    opacity: 0.8;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

footer {
    margin-top: auto;
    background: var(--bg2);
    padding: 50px 20px 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; margin-bottom: 24px; }
.footer-links a { color: var(--accent); text-decoration: none; font-weight: 500; }
.footer-links a:hover { text-decoration: underline; }


@media (max-width: 992px) {
    .features-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .bot-name { font-size: 36px; }
    .hero-info { padding: 60px 20px; }
    .section h2 { font-size: 30px; }
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}