/* ── Section wrapper ──────────────────────────────────────── */
.curd-section {
    background: transparent;
    position: relative;
    isolation: isolate;
}

.curd-container {
    max-width: 75rem; /* 1200px */
    margin: 0 auto;
    padding: 5rem 2rem;
}

/* ── Two-column grid ─────────────────────────────────────── */
.curd-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* =========================================================
   LEFT COLUMN
   ========================================================= */
.curd-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* -- Badge ------------------------------------------------ */
.curd-badge {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(168, 85, 247, 0.08);
    border: 0.0625rem solid rgba(168, 85, 247, 0.45);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0.8rem rgba(168, 85, 247, 0.18), 0 0 2rem rgba(168, 85, 247, 0.09);

    /* animation start */
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.curd-badge.in-view {
    opacity: 1;
}

.curd-badge__dot {
    flex-shrink: 0;
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.95);
    box-shadow: 0 0 0 0.25rem rgba(168, 85, 247, 0.2), 0 0 0.5rem rgba(168, 85, 247, 0.55);
}

/* -- Headline -------------------------------------------- */
.curd-headline {
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.curd-headline.in-view {
    opacity: 1;
    transform: translateY(0);
}

.curd-headline__line1 {
    display: block;
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 3.3rem);
    line-height: 1.15;
}

.curd-headline__line2 {
    display: block;
    font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.15;
    background: var(--soxy-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 26px rgba(var(--soxy-global-accent-rgb), 0.18);
}

/* -- Description ----------------------------------------- */
.curd-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.75;
    margin: 0;

    opacity: 0;
    transform: translateY(0.75rem);
    transition: opacity 0.5s ease-out 0.1s, transform 0.5s ease-out 0.1s;
}

.curd-desc.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* -- Telegram row ---------------------------------------- */
.curd-tg-row {
    display: flex;
    align-items: center;
    gap: 1rem;

    opacity: 0;
    transform: translateX(-1rem);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.curd-tg-row.in-view {
    opacity: 1;
    transform: translateX(0);
}

.curd-tg-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #229ED9;
    border: none;
    box-shadow: 0 0.25rem 1rem rgba(34, 158, 217, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.curd-tg-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.curd-tg-text__label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.curd-tg-text__handle {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* -- Infrastructure card --------------------------------- */
.curd-infra-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(17, 10, 46, 0.4);
    border: 0.0625rem solid rgba(255, 255, 255, 0.075);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 1.2rem 2.8rem rgba(3, 2, 12, 0.18);
    /* Push to the bottom of the left flex column so its
       bottom edge aligns with the form-card's bottom edge */
    margin-top: auto;

    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.curd-infra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.75rem;
    background: linear-gradient(180deg, rgba(77, 217, 192, 0.045), transparent);
    pointer-events: none;
}

.curd-infra-card:hover {
    border-color: rgba(76, 215, 196, 0.3);
    box-shadow:
        0 2rem 5rem rgba(2, 0, 14, 0.28),
        0 0 2rem rgba(76, 215, 196, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.curd-infra-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.curd-infra-card__header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.curd-infra-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

/* Feature rows inside card */
.curd-infra-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.curd-infra-row--last {
    margin-bottom: 0;
}

.curd-infra-row__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.curd-infra-row__icon--teal {
    background: rgba(77, 217, 192, 0.1);
}

.curd-infra-row__icon--purple {
    background: rgba(192, 132, 252, 0.1);
}

.curd-infra-row__icon--pink {
    background: rgba(244, 114, 182, 0.1);
}

.curd-infra-row__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.curd-infra-row__desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* =========================================================
   RIGHT COLUMN wrapper — form card + stats
   ========================================================= */
.curd-right-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Form card */
.curd-form-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(17, 10, 46, 0.4);
    border: 0.0625rem solid rgba(255, 255, 255, 0.075);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 1.2rem 2.8rem rgba(3, 2, 12, 0.18);

    opacity: 0;
    transform: translateX(1.25rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.curd-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.75rem;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.045), transparent);
    pointer-events: none;
}

.curd-form-card:hover {
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow:
        0 2rem 5rem rgba(2, 0, 14, 0.28),
        0 0 2rem rgba(168, 85, 247, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.curd-form-card.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Two-column row at top of form */
.curd-form-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Labels */
.curd-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.5rem;
}

/* Inputs & textarea */
.curd-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 0.0625rem solid rgba(255, 255, 255, 0.08);
    border-radius: 0.625rem;
    padding: 0.85rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: inherit;
    margin-bottom: 1.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.curd-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.curd-input:focus {
    border-color: rgba(168, 85, 247, 0.5);
    outline: none;
    box-shadow: 0 0 0 0.1875rem rgba(168, 85, 247, 0.1);
}

.curd-textarea {
    min-height: 8.75rem;
    resize: vertical;
}

/* Submit button */
.curd-submit {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, rgba(158, 107, 255, 0.96) 0%, rgba(139, 92, 246, 0.82) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    padding: 1.1rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.curd-submit:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.625rem 2rem rgba(139, 92, 246, 0.45);
}

/* Privacy note */
.curd-privacy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

.curd-privacy__link {
    color: #a78bfa;
    text-decoration: none;
}

.curd-privacy__link:hover {
    text-decoration: underline;
}

/* =========================================================
   STATS (inside right column, under form card)
   ========================================================= */
.curd-stats {
    display: flex;
    gap: 0.875rem;
}

.curd-stat {
    flex: 1;
    border-radius: 0.875rem;
    padding: 1rem 0.75rem;
    text-align: center;
    border: 0.0625rem solid rgba(255, 255, 255, 0.075);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(17, 10, 46, 0.35);

    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.curd-stat.in-view {
    opacity: 1;
}

/* Stat numbers — base (no color set here, overridden per variant) */
.curd-stat__number {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

/* Stat 1 — Purple */
.curd-stat--1:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 1rem rgba(168, 85, 247, 0.1);
}

.curd-stat--1 .curd-stat__number {
    color: #c084fc;
    -webkit-text-fill-color: #c084fc;
}

/* Stat 2 — Teal */
.curd-stat--2:hover {
    border-color: rgba(77, 217, 192, 0.3);
    box-shadow: 0 0 1rem rgba(77, 217, 192, 0.1);
}

.curd-stat--2 .curd-stat__number {
    color: #4dd9c0;
    -webkit-text-fill-color: #4dd9c0;
}

/* Stat 3 — Rose/Pink */
.curd-stat--3:hover {
    border-color: rgba(244, 114, 182, 0.3);
    box-shadow: 0 0 1rem rgba(244, 114, 182, 0.1);
}

.curd-stat--3 .curd-stat__number {
    color: #f472b6;
    -webkit-text-fill-color: #f472b6;
}

.curd-stat__label {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.4rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 48rem) {
    .curd-container {
        padding: 3rem 1rem;
    }

    .curd-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .curd-infra-card {
        margin-top: 0;
    }

    .curd-form-row2 {
        grid-template-columns: 1fr;
    }

    .curd-stats {
        flex-wrap: wrap;
    }

    .curd-stat {
        min-width: calc(50% - 0.4375rem);
    }

    .curd-stat__number {
        font-size: 1.15rem;
    }

    .curd-stat__label {
        font-size: 0.5rem;
    }
}
