* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: #0f172a;
    background:
        radial-gradient(circle at 12% 18%, rgba(239, 68, 68, 0.26), transparent 32%),
        radial-gradient(circle at 82% 20%, rgba(14, 165, 233, 0.24), transparent 30%),
        radial-gradient(circle at 16% 76%, rgba(59, 130, 246, 0.18), transparent 32%),
        radial-gradient(circle at 86% 78%, rgba(239, 68, 68, 0.22), transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.08), transparent 38%),
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.1), transparent 40%),
        linear-gradient(120deg, rgba(239, 68, 68, 0.08), rgba(255, 255, 255, 0.3), rgba(14, 165, 233, 0.08)),
        #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px 16px;
    overflow-x: hidden;
}

.page {
    position: relative;
    width: 100%;
    max-width: 1280px;
    padding: 18px 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 36px 88px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.page::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='200' height='260' viewBox='0 0 200 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23b91c1c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='0.35'%3E%3Cpath d='M30 200 c0 -30 10 -60 20 -60s20 30 20 60 -10 40 -20 40 -20 -10 -20 -40z'/%3E%3Cpath d='M55 152 l-5 -12 10 -6 10 6 -5 12z'/%3E%3Cpath d='M140 52 c0 -12 8 -20 20 -20s20 8 20 20 -8 20 -20 20 -20 -8 -20 -20z'/%3E%3Cpath d='M118 96 l50 12 -34 42 -42 -10z'/%3E%3Cpath d='M92 38 l18 -18 18 18 -18 18z'/%3E%3Cpath d='M24 96 l12 -8 12 8 -12 8z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 260px 320px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

.bg-shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.7;
    z-index: 0;
}

.bg-1 {
    width: 360px;
    height: 360px;
    top: -80px;
    right: -60px;
    background: #fca5a5;
}

.bg-2 {
    width: 280px;
    height: 280px;
    bottom: -50px;
    left: -40px;
    background: #60a5fa;
}

.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.header-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
    padding-bottom: 2px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(248, 113, 113, 0.14);
    color: #b91c1c;
    font-weight: 700;
    font-size: 14px;
    backdrop-filter: blur(6px);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.badge-muted {
    color: #0f172a;
    font-weight: 800;
    display: inline-block;
}

.badge-accent {
    color: #e11d48;
    font-weight: 900;
    font-size: 27px;
    margin-left: -5px;
    display: inline-block;
}

.badge-acronym {
    font-weight: 900;
    color: #0f172a;
    font-size: 30px;
    margin-right: 8px;
    display: inline-block;
}

.badge-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    width: 100%;
}

.badge-outline {
    border: 1px solid rgba(185, 28, 28, 0.35);
    background: rgba(255, 255, 255, 0.9);
    flex-wrap: wrap;
}

.badge-dark {
    background: #ffffff;
    color: #0f172a;
    align-items: flex-start;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    flex-wrap: wrap;
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.18);
    background: rgba(248, 113, 113, 0.18);
}

.hero {
    display: block;
    width: 100%;
}

.hero-image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero-image .img-desktop-only,
.hero-image .img-desktop-with-mobile {
    display: block;
}

.hero-image .img-mobile {
    display: none;
}

.hero-body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 6px;
    align-items: end;
    margin-top: -50px;
}

.hero-textblock {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -2px;
}

.hero-title {
    font-size: 60px;
    font-weight: 900;
    color: #e11d48;
    line-height: 1;
    margin: 0;
}

.hero-subline {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: -20px;
}

.hero-subtext {
    font-size: 42px;
    font-weight: 800;
    color: #3b4bd4;
}

.hero-grade-large {
    font-size: 150px;
    font-weight: 900;
    color: #e11d48;
    line-height: 0.9;
    margin-left: 6px;
    margin-bottom: -28px;
    text-shadow: 0 12px 28px rgba(225, 29, 72, 0.22);
    position: relative;
    top: 10px;
    z-index: 3;
}

.hero-illustration {
    width: 100%;
    min-height: 260px;
    background: url('img/stud.png') center/contain no-repeat, radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.12), transparent 50%);
    filter: drop-shadow(0 16px 38px rgba(0, 0, 0, 0.12));
    position: relative;
    top: 40px;
    z-index: 2;
}

.tg-strip {
    background: #2f7acb;
    border-radius: 14px;
    padding: 22px 22px;
    box-shadow: 0 16px 38px rgba(47, 122, 203, 0.25);
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    margin-bottom: 30px;
    z-index: 1;
}
.conf-note{
    font-size: 25px;
    color: #e11d48 ;
    font-weight: 600;
    margin-top: 80px;
    
}
.tg-strip-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #e0f2ff;
    font-size: 19px;
    font-weight: 700;
    width: 100%;
    padding: 0;
}

.tg-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e0f2ff;
    color: #2f7acb;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
}

.tg-icon img {
    width: 32px;
    height: 32px;
}

.tg-name {
    font-size: 32px;
    font-weight: 900;
}
.tg-text{
    font-size: 30px;
}
.headline-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.headline-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.headline-text .muted {
    color: #0f172a;
    font-size: 42px;
    font-weight: 800;
}

.headline-text .accent {
    color: #b91c1c;
    font-size: 36px;
    font-weight: 800;
}

.grade {
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-weight: 900;
    font-size: 52px;
    box-shadow: 0 12px 32px rgba(239, 68, 68, 0.28);
}

.link-telegram {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff7ed;
    box-shadow: 0 18px 50px rgba(239, 68, 68, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 190px;
}

.link-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 60px rgba(239, 68, 68, 0.42);
}

.link-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    opacity: 0.85;
}

.link-name {
    font-weight: 800;
    font-size: 19px;
}

.main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.hero-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 18px;
    padding: 24px 26px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.98));
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(8px);
}

.hero-kicker {
    margin: 0;
    font-weight: 800;
    color: #b91c1c;
    font-size: 18px;
}

.hero-text {
    margin: 10px 0 16px;
    color: #111827;
    font-size: 19px;
    line-height: 1.5;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.16);
}

.hero-score {
    justify-self: end;
    text-align: center;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fb923c, #f97316);
    color: #fff7ed;
    box-shadow: 0 22px 60px rgba(249, 115, 22, 0.28);
    display: grid;
    gap: 6px;
    justify-items: center;
}

.score-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    font-weight: 800;
}

.score-note {
    font-size: 13px;
    opacity: 0.85;
}

.hero-score-alt .score-note {
    font-size: 18px;
    font-weight: 800;
    opacity: 1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.grid .card:nth-child(1) { animation-delay: 0.18s; }
.grid .card:nth-child(2) { animation-delay: 0.24s; }

.card {
    padding: 22px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(6px);
    transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.card h2 {
    margin: 0;
    font-size: 26px;
    color: #3b4bd4;
    font-weight: 900;
    letter-spacing: 0px;
    text-transform: uppercase;
}

.grid .card:first-child h2::after {
    content: ":";
    margin-left: 6px;
}

.pill {
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(248, 113, 113, 0.16);
    color: #b91c1c;
    font-size: 12px;
    font-weight: 800;
}

.pill-blue {
    background: rgba(59, 130, 246, 0.16);
    color: #1d4ed8;
}

.list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.list li {
    padding: 14px 14px 14px 18px;
    border-radius: 12px;
    background: rgba(241, 245, 249, 0.9);
    font-weight: 800;
    color: #3b4bd4;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    font-size: 18px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    text-transform: uppercase;
}

.list li::before {
    content: "•";
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    font-size: 16px;
    font-weight: 800;
}

.list.services li:nth-child(1)::before { content: "🎓"; }
.list.services li:nth-child(2)::before { content: "🧠"; }
.list.services li:nth-child(3)::before { content: "📑"; }
.list.services li:nth-child(4)::before { content: "📘"; }
.list.services li:nth-child(5)::before { content: "🎓"; }

.list.benefits li:nth-child(1)::before { content: "🧭"; }
.list.benefits li:nth-child(2)::before { content: "⚡"; }
.list.benefits li:nth-child(3)::before { content: "💯"; }

.hero-card,
.card,
.footer {
    transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.18s ease;
}

.hero-card:hover,
.card:hover,
.footer:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.16);
    border-color: rgba(239, 68, 68, 0.25);
}

.list li:hover {
    transform: translateX(3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.list li::after {
    content: "";
}

.list li:last-child::after {
    content: "";
    margin: 0;
}

.footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 22px;
    border-radius: 18px;
    background: transparent;
    color: #0f172a;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.12);
    justify-items: center;
}

.footer-person {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.hero-image.rounded img {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0ea5e9;
    box-shadow: 0 12px 36px rgba(14, 165, 233, 0.35);
    background: #fff;
}

.avatar.placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 800;
    font-size: 18px;
}

.footer-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 240px;
}

.btn {
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 18px;
    color: #0f172a;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
    width: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.28);
}

.btn.tg {
    background: #38bdf8;
    color: #0f172a;
}

.btn.wa {
    background: #22c55e;
    color: #052e16;
}

.btn.phone {
    background: #979797;
    color: #111827;
}

.footer-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #c5bdbd;
}

.emoji {
    font-size: 18px;
}

@media (max-width: 1100px) {
    body {
        padding: 16px;
    }

    .page {
        padding: 22px 18px;
    }

    .hero-body {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-subtext {
        font-size: 28px;
    }

    .hero-grade-large {
        font-size: 80px;
        margin-bottom: -18px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 18px 16px;
    }

    .list li {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .hero-image .img-mobile {
        display: block;
    }

    .hero-image .img-desktop-with-mobile {
        display: none;
    }
}

@media (max-width: 700px) {
    body {
        padding: 12px;
        align-items: flex-start;
    }

    .page {
        padding: 16px 14px;
        border-radius: 18px;
        max-width: 100%;
    }

    .hero-body {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subline {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-subtext {
        font-size: 22px;
    }

    .hero-grade-large {
        font-size: 58px;
        margin-bottom: -10px;
    }

    .tg-strip-inner {
        flex-wrap: wrap;
    }

    .grid {
        gap: 14px;
    }

    .footer {
        padding: 14px;
    }

    .avatar {
        width: 110px;
        height: 110px;
    }

    .footer-actions {
        max-width: 220px;
    }

    .btn {
        padding: 8px 10px;
        font-size: 13px;
        border-radius: 10px;
    }
}

@media (max-width: 500px) {
    .link-telegram {
        display: none;
    }

    .badge-row {
        gap: 6px;
        
    }

    .badge {
        font-size: 12px;
        padding: 8px 10px;
    }
    .hero-body {
        
        margin-top: 0px;
    }
    .hero-subtext{
        margin-top: 20px;
        margin-bottom: -10px;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.reveal:nth-of-type(1) { animation-delay: 0.05s; }
.reveal:nth-of-type(2) { animation-delay: 0.12s; }
.reveal:nth-of-type(3) { animation-delay: 0.18s; }
.reveal:nth-of-type(4) { animation-delay: 0.24s; }
