

/* ===== Базовые стили ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0d1117;
    color: #e6edf3;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Шапка ===== */
header {
    padding: 18px 0;
    border-bottom: 1px solid #21262d;
    background: #0d1117;
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    background: linear-gradient(135deg, #f0883e, #f6a85b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    color: #8b949e;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #f6a85b;
}

/* ===== Герой ===== */
.hero {
    padding: 60px 0 50px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #f0883e, #f6a85b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 20px;
    color: #8b949e;
    max-width: 600px;
    margin: 0 auto 28px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    background: #21262d;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #c9d1d9;
    border: 1px solid #30363d;
}

/* ===== Секция IDE ===== */
.ide-section {
    padding: 50px 0 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.ide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.ide-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ide-card:hover {
    transform: translateY(-4px);
    border-color: #f0883e;
}

.ide-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 16px;
}

.ide-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ide-card p {
    color: #8b949e;
    font-size: 15px;
    margin-bottom: 16px;
    flex: 1;
}

.ide-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    background: #21262d;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: #8b949e;
}

.btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #f0883e;
    color: #0d1117;
}

.btn-primary:hover {
    background: #f6a85b;
    transform: scale(1.02);
}

.coming-soon {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #8b949e;
    background: #21262d;
    padding: 2px 14px;
    border-radius: 12px;
}

/* ===== Пожертвования ===== */
.donate-section {
    padding: 50px 0 60px;
    background: #161b22;
    border-top: 1px solid #21262d;
    border-bottom: 1px solid #21262d;
    text-align: center;
}

.donate-text {
    max-width: 560px;
    margin: 0 auto 28px;
    color: #8b949e;
    font-size: 17px;
}

.donate-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.btn-donate {
    background: #21262d;
    color: #e6edf3;
    border: 1px solid #30363d;
    padding: 10px 30px;
}

.btn-donate:hover {
    background: #30363d;
    border-color: #f0883e;
}

.donate-note {
    font-size: 14px;
    color: #8b949e;
}

/* ===== О проекте ===== */
.about-section {
    padding: 50px 0 60px;
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: #c9d1d9;
}

.about-content p {
    margin-bottom: 14px;
}

.about-content a {
    color: #f0883e;
    text-decoration: none;
}

.about-content a:hover {
    text-decoration: underline;
}

.legal-note {
    margin-top: 24px;
    padding: 16px 20px;
    background: #161b22;
    border-radius: 10px;
    border-left: 4px solid #f0883e;
    font-size: 14px;
    color: #8b949e;
    text-align: left;
}

/* ===== Футер ===== */
footer {
    padding: 24px 0;
    border-top: 1px solid #21262d;
    text-align: center;
    color: #8b949e;
    font-size: 14px;
}

/* ===== Адаптивность ===== */
@media (max-width: 700px) {
    .hero h1 {
        font-size: 32px;
    }
    .hero-sub {
        font-size: 17px;
    }
    .header-inner {
        flex-direction: column;
        align-items: center;
    }
    nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .ide-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 26px;
    }
}