* {
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --primary: #2563eb;
    --primary-2: #1d4ed8;
    --line-1: rgba(37, 99, 235, 0.12);
    --line-2: rgba(124, 58, 237, 0.08);
    --card-border: rgba(148, 163, 184, 0.28);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: -20% -10%;
    z-index: -2;
    pointer-events: none;
}

body::before {
    background:
        repeating-linear-gradient(120deg,
            transparent 0 70px,
            var(--line-1) 70px 74px,
            transparent 74px 155px),
        radial-gradient(circle at 8% 12%, rgba(59, 130, 246, 0.12), transparent 36%),
        radial-gradient(circle at 88% 16%, rgba(14, 165, 233, 0.1), transparent 34%),
        radial-gradient(circle at 52% 88%, rgba(37, 99, 235, 0.08), transparent 42%);
    transform: rotate(-4deg) scale(1.03);
}

body::after {
    background:
        repeating-linear-gradient(-140deg,
            transparent 0 95px,
            var(--line-2) 95px 99px,
            transparent 99px 192px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.98));
    mix-blend-mode: multiply;
    z-index: -1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 650;
    font-size: 18px;
    letter-spacing: 0.01em;
}

.logo img {
    height: 38px;
    border-radius: 8px;
}

.hero {
    text-align: center;
    padding: 76px 20px 44px;
}

.hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    margin-bottom: 16px;
    line-height: 1.12;
}

.hero p {
    font-size: clamp(17px, 2.2vw, 20px);
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto 26px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.stat {
    background: rgba(255, 255, 255, 0.86);
    padding: 16px 24px;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    font-weight: 650;
    font-size: 16px;
}

.section {
    margin-top: 36px;
}

.card {
    background: rgba(255, 255, 255, 0.88);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(37, 99, 235, 0.05), transparent 45%);
    pointer-events: none;
}

h2 {
    margin-top: 0;
    color: #1e3a8a;
    font-size: clamp(22px, 2.7vw, 28px);
    position: relative;
}

ul {
    line-height: 1.72;
    padding-left: 20px;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 650;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 16px;
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.32);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.36);
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

input,
textarea {
    padding: 13px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.telegram-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: white;
    padding: 14px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 650;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
}

footer {
    text-align: center;
    padding: 25px;
    font-size: 14px;
    color: #64748b;
}

.success {
    color: #15803d;
    font-weight: 650;
    display: none;
}

@media (max-width: 760px) {
    .logo {
        font-size: 16px;
    }

    .hero {
        padding-top: 52px;
    }

    .stat {
        width: 100%;
        text-align: center;
        border-radius: 14px;
    }

    .card {
        padding: 24px;
    }
}