.cta {
    margin-top: 48px;
    animation: fadeInUp 0.8s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-box {
    border-radius: 40px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 46px 54px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 26px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.cta-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 420px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 100%;
}

.cta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.cta-form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 26px;
}

.cta-form-input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-form-input::placeholder {
    color: rgba(203, 213, 225, 0.5);
}

.cta-form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(123, 156, 255, 0.15);
}

.cta-form-submit {
    width: 100%;
}

.cta-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.cta-form-submit-success {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: var(--text) !important;
    opacity: 1 !important;
    animation: submitPulse 0.4s ease;
}

@keyframes submitPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.cta-form-group .validation-message {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 13px;
    color: #f87171;
    line-height: 1.2;
}

.cta-form-message {
    margin-top: 4px;
    font-size: 13px;
}

.cta-form-message-success {
    color: #4ade80;
}

.cta-form-message-error {
    color: #f87171;
}

.cta-graphic {
    justify-self: center;
    width: 300px;
    height: 230px;
    border-radius: 999px;
    background: radial-gradient(circle at 15% 20%, var(--accent), transparent 55%), radial-gradient(circle at 80% 80%, var(--card), var(--dark));
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.cta-orbit {
    position: absolute;
    inset: 18% 16%;
    border-radius: 999px;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-panel {
    position: absolute;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 16px;
    font-size: 14px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cta-panel-main {
    top: 28px;
    left: 24px;
    width: 190px;
}

.cta-panel-title {
    font-size: 14px;
    color: rgba(203, 213, 225, 0.8);
    margin-bottom: 6px;
}

.cta-panel-metric {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.cta-panel-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 26px;
}

    .cta-panel-bars span {
        flex: 1;
        border-radius: 999px;
        background: #e8e8e8;
        animation: growBar 0.8s ease-out 0.8s both;
        transform-origin: bottom;
    }

@keyframes growBar {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

        .cta-panel-bars span:nth-child(1) {
            height: 40%;
        }

        .cta-panel-bars span:nth-child(2) {
            height: 70%;
        }

        .cta-panel-bars span:nth-child(3) {
            height: 100%;
        }

.cta-panel-caption {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(203, 213, 225, 0.7);
}

.cta-panel-secondary {
    bottom: 22px;
    right: 26px;
    padding: 10px 14px;
    min-width: 140px;
}

.cta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #15803d;
    font-size: 13px;
    margin-bottom: 6px;
}

.cta-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
}

.cta-panel-secondary-text {
    font-size: 13px;
    color: rgba(203, 213, 225, 0.75);
}

@media (max-width: 960px) {
    .cta-box {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .cta-box {
        padding: 32px 22px;
        border-radius: 28px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-text {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .cta-form {
        gap: 2px;
    }

    .cta-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cta-form-input {
        padding: 11px 13px;
        font-size: 14px;
    }

    .cta-graphic {
        display: none;
    }
}
