@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

.ipromo-page,
.ipromo-page * {
    box-sizing: border-box;
}

.ipromo-page {
    --bg: #f6f8fc;
    --surface: #ffffff;
    --surface-soft: #f3f4f9;
    --text: #171a2b;
    --muted: #636a7c;
    --brand-lime: #cde85e;
    --brand-violet: #9b7bf4;
    --brand-violet-deep: #7654da;
    --line: #e6e8f1;
    --ok: #8ac553;
    --danger: #ff8f8f;
    margin: 0 auto;
    max-width: 1200px;
    padding: 18px 14px 52px;
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(1400px 520px at 92% -12%, rgba(155, 123, 244, 0.16), transparent 60%),
        radial-gradient(900px 460px at 9% 0%, rgba(205, 232, 94, 0.18), transparent 58%),
        var(--bg);
}

.ipromo-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(126deg, #ffffff 10%, #f6f7fd 76%);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(26, 27, 50, 0.08);
}

.ipromo-hero-copy {
    padding: 42px 34px 36px;
}

.ipromo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #4f5873;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
}

.ipromo-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-lime), #b4d54a);
    box-shadow: 0 0 0 5px rgba(205, 232, 94, 0.23);
}

.ipromo-hero-title {
    margin: 18px 0 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(30px, 4.2vw, 56px);
    line-height: 1.03;
    letter-spacing: -0.02em;
}

.ipromo-hero-title .accent {
    color: var(--brand-violet);
}

.ipromo-hero-subtitle {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.45;
}

.ipromo-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ipromo-btn-primary {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(110deg, var(--brand-violet), var(--brand-violet-deep));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 24px;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(126, 93, 227, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ipromo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(126, 93, 227, 0.32);
    color: #fff !important;
}

.ipromo-btn-ghost {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #313a56;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    background: #fff;
}

.ipromo-hero-media {
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

.ipromo-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(246, 248, 252, 0.86) 0%, rgba(246, 248, 252, 0) 34%);
}

.ipromo-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    transform: scale(1.06);
}

.ipromo-stats {
    margin: 20px 0 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.ipromo-stat {
    text-align: center;
    border-radius: 14px;
    padding: 14px 8px;
    background: #fff;
}

.ipromo-stat-icon {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipromo-stat-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.ipromo-stat-value {
    margin-top: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.ipromo-stat-label {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.ipromo-block {
    margin-top: 24px;
}

.ipromo-block h2 {
    margin: 0 0 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(26px, 3vw, 40px);
    letter-spacing: -0.015em;
}

.ipromo-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ipromo-step {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 18px;
    min-height: 290px;
}

.ipromo-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    background: rgba(155, 123, 244, 0.12);
    color: var(--brand-violet-deep);
}

.ipromo-step h3 {
    margin: 12px 0 8px;
    font-size: 18px;
    line-height: 1.2;
}

.ipromo-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
    font-size: 14px;
}

.ipromo-step-media {
    margin-top: auto;
    padding-top: 14px;
}

.ipromo-step-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    border: 1px solid #e8eaf3;
}

.ipromo-comparison {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr 1.2fr;
}

.ipromo-panel {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 18px;
    padding: 18px;
}

.ipromo-panel h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.ipromo-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.ipromo-list li {
    position: relative;
    padding-left: 28px;
    color: #3b4054;
    font-size: 14px;
    line-height: 1.4;
}

.ipromo-list.bad li::before,
.ipromo-list.good li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

.ipromo-list.bad li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='%23ff8f8f' stroke-width='1.4'/%3E%3Cpath d='M5.7 5.7l4.6 4.6M10.3 5.7l-4.6 4.6' stroke='%23ff8f8f' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ipromo-list.good li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='%238ac553' stroke-width='1.4'/%3E%3Cpath d='M4.9 8.3l2.1 2.1 4-4.3' fill='none' stroke='%238ac553' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ipromo-quote {
    border-radius: 18px;
    background: linear-gradient(130deg, #fff, #f3eefc);
    border: 1px solid #eadfff;
    padding: 20px;
}

.ipromo-quote p {
    margin: 0;
    color: #4a4f63;
    line-height: 1.5;
}

.ipromo-author {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ipromo-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.ipromo-author strong {
    display: block;
    line-height: 1.2;
}

.ipromo-author span {
    color: var(--muted);
    font-size: 13px;
}

.ipromo-instructors-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.ipromo-view-all {
    color: var(--brand-violet-deep);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.ipromo-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ipromo-card {
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 12px;
}

.ipromo-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ipromo-card-top img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.ipromo-card h3 {
    margin: 0;
    font-size: 15px;
}

.ipromo-card small {
    color: var(--muted);
}

.ipromo-card-foot {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #3d435a;
    font-size: 13px;
}

.ipromo-app {
    margin-top: 28px;
    border: 0;
    padding: 0;
    background: transparent;
}

.ipromo-app h2 {
    margin: 0 0 16px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.06;
}

.ipromo-app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ipromo-app-card {
    border-radius: 24px;
    border: 1px solid #e4e8f2;
    padding: 26px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
}

.ipromo-app-card--mint {
    background: linear-gradient(180deg, #edf5f3 0%, #eef5f4 100%);
    border-color: #dde8e5;
}

.ipromo-app-card--violet {
    background: linear-gradient(180deg, #f0eef9 0%, #f2f1fb 100%);
    border-color: #dfdcef;
}

.ipromo-app-card--warm {
    background: linear-gradient(180deg, #f8f4ec 0%, #f7f3eb 100%);
    border-color: #e9e1d5;
}

.ipromo-app-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(35, 43, 72, 0.08);
}

.ipromo-app-icon img {
    width: 28px;
    height: 28px;
    display: block;
}

.ipromo-app-icon--mint {
    background: #dff4ea;
}

.ipromo-app-icon--mint img {
    filter: hue-rotate(94deg) saturate(1.35);
}

.ipromo-app-icon--violet {
    background: #eae4ff;
}

.ipromo-app-icon--warm {
    background: #faefcf;
}

.ipromo-app-icon--warm img {
    filter: hue-rotate(-38deg) saturate(1.45);
}

.ipromo-app-card h3 {
    margin: 20px 0 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 2.2vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.018em;
}

.ipromo-app-card p {
    margin: 0;
    color: #657089;
    font-size: 16px;
    line-height: 1.42;
}

.ipromo-app-preview {
    margin-top: auto;
    border-radius: 20px;
    border: 1px solid rgba(22, 29, 52, 0.08);
    background: #fff;
    padding: 14px;
    box-shadow: 0 10px 24px rgba(22, 29, 52, 0.08);
}

.ipromo-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ipromo-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ecf3ff;
    color: #4d5f86;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}

.ipromo-pill--ok {
    background: #def7ea;
    color: #239d63;
}

.ipromo-preview-time {
    font-size: 13px;
    color: #76839f;
}

.ipromo-preview-title {
    margin-top: 12px;
    color: #232b42;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.16;
}

.ipromo-preview-sub {
    margin-top: 8px;
    color: #66728a;
    font-size: 14px;
}

.ipromo-preview-bottom {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #5f6d86;
    font-size: 14px;
}

.ipromo-app-preview--telegram strong {
    color: #222c47;
    font-size: 17px;
}

.ipromo-telegram-bubble {
    margin-top: 12px;
    max-width: 92%;
    border-radius: 16px;
    background: #eef0f6;
    color: #313b57;
    font-size: 15px;
    line-height: 1.35;
    padding: 14px;
}

.ipromo-telegram-foot {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ipromo-telegram-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(140deg, #3b4f7a, #212944);
}

.ipromo-telegram-dots {
    border-radius: 999px;
    background: #ecedf4;
    color: #9ba4b7;
    font-weight: 800;
    letter-spacing: 0.2em;
    font-size: 13px;
    padding: 5px 11px;
}

.ipromo-rating-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ipromo-rating-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #222d48;
}

.ipromo-rating-stars {
    color: #f0b42a;
    font-size: 26px;
    line-height: 1;
    letter-spacing: 0.04em;
}

.ipromo-rating-stars span {
    color: #e6d5a6;
}

.ipromo-rating-note {
    margin-top: 14px;
    border-radius: 14px;
    background: #f9f1df;
    color: #5d5341;
    font-size: 15px;
    line-height: 1.35;
    padding: 10px 12px;
}

.ipromo-cta {
    margin-top: 26px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #dcd2fb;
    background: linear-gradient(120deg, #a485ff 0%, #7f6ceb 56%, #5969d7 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
}

.ipromo-cta h3 {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    font-family: 'Space Grotesk', sans-serif;
}

.ipromo-cta p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.ipromo-cta .ipromo-btn-primary {
    background: #fff;
    color: #5442be !important;
    box-shadow: none;
}

.ipromo-faq {
    margin-top: 24px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 18px;
}

.ipromo-faq details {
    border-top: 1px solid var(--line);
    padding: 12px 0;
}

.ipromo-faq details:first-of-type {
    border-top: 0;
}

.ipromo-faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    position: relative;
    padding-right: 18px;
}

.ipromo-faq summary::after {
    content: '+';
    position: absolute;
    right: 2px;
    top: 0;
    color: #9aa1ba;
}

.ipromo-faq details[open] summary::after {
    content: '-';
}

.ipromo-faq p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.45;
    font-size: 14px;
}

.ipromo-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.ipromo-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ipromo-float {
    animation: ipromoFloat 5s ease-in-out infinite;
}

@keyframes ipromoFloat {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 1160px) {
    .ipromo-hero {
        grid-template-columns: 1fr;
    }

    .ipromo-hero-media {
        min-height: 300px;
    }

    .ipromo-hero-media::after {
        background: linear-gradient(0deg, rgba(246, 248, 252, 0.8) 0%, rgba(246, 248, 252, 0) 40%);
    }

    .ipromo-comparison {
        grid-template-columns: 1fr;
    }

    .ipromo-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .ipromo-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ipromo-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ipromo-app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ipromo-app-card {
        min-height: 520px;
        padding: 22px;
    }

    .ipromo-app-card:last-child {
        grid-column: 1 / -1;
        max-width: 520px;
        width: 100%;
        justify-self: center;
    }

    .ipromo-app-card h3 {
        font-size: clamp(25px, 4.5vw, 33px);
    }

    .ipromo-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .ipromo-page {
        padding: 12px 10px 42px;
    }

    .ipromo-hero-copy {
        padding: 28px 18px 20px;
    }

    .ipromo-hero-subtitle {
        font-size: 15px;
    }

    .ipromo-btn-primary {
        width: 100%;
        min-width: 0;
    }

    .ipromo-btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .ipromo-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ipromo-stat-value {
        font-size: 24px;
    }

    .ipromo-stat-label {
        font-size: 12px;
    }

    .ipromo-app h2 {
        font-size: clamp(30px, 10vw, 44px);
    }

    .ipromo-app-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ipromo-app-card {
        min-height: 0;
        padding: 18px;
    }

    .ipromo-app-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .ipromo-app-card h3 {
        font-size: clamp(22px, 7vw, 30px);
    }

    .ipromo-app-card p {
        font-size: 15px;
    }

    .ipromo-app-icon {
        width: 62px;
        height: 62px;
    }

    .ipromo-app-icon img {
        width: 24px;
        height: 24px;
    }

    .ipromo-app-preview {
        margin-top: 14px;
    }

    .ipromo-rating-value {
        font-size: 46px;
    }

    .ipromo-rating-stars {
        font-size: 22px;
    }

    .ipromo-steps,
    .ipromo-cards {
        grid-template-columns: 1fr;
    }
}
