* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0e0e0e;
    --bg-dark: #0a0a0a;
    --surface: #181818;
    --surface-hover: #1e1e1e;
    --border: #222;
    --border-light: #2a2a2a;
    --text: #ddd;
    --text-sub: #777;
    --accent: #5865F2;
    --accent-hover: #4a56d4;
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent);
    color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.hero {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 32px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.hero-text p {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-avatar {
    flex-shrink: 0;
}

.hero-avatar img {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--surface);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-white {
    background: #fff;
    color: #111;
}

.btn-white:hover {
    background: #e5e5e5;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: #444;
    background: rgba(255,255,255,0.04);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 12px;
}

section {
    padding: 80px 0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-top {
    margin-bottom: 40px;
}

.section-top h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.section-top p {
    color: var(--text-sub);
    font-size: 0.9rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.project-card,
.bot-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.2s, transform 0.25s;
}

.project-card:hover,
.bot-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.card-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #222;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-meta h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.card-meta .card-tags {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.card-tags span {
    padding: 2px 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    font-size: 0.68rem;
    color: var(--text-sub);
    font-weight: 500;
}

.online-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: var(--text-sub);
    margin-top: 3px;
}

.green-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #43b581;
}

.card-desc {
    font-size: 0.83rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 18px;
}

.bot-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-sub);
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.feat i {
    color: #555;
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s;
}

.contact-box:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
}

.contact-box i {
    font-size: 1.4rem;
    color: var(--text-sub);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.contact-box strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-box span {
    font-size: 0.78rem;
    color: var(--text-sub);
}

footer {
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-sub);
}

.footer-logo {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    object-fit: cover;
}

.footer-right {
    display: flex;
    gap: 14px;
}

.footer-right a {
    color: var(--text-sub);
    font-size: 1.05rem;
    transition: color 0.2s;
}

.footer-right a:hover {
    color: var(--text);
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
        padding-bottom: 70px;
        gap: 40px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-avatar img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .section-inner,
    .hero-inner,
    .footer-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    section {
        padding: 60px 0;
    }

    .hero-avatar img {
        width: 120px;
        height: 120px;
        border-radius: 16px;
    }

    .bot-features {
        grid-template-columns: 1fr;
    }
}